diff --git a/packages/google-cloud-aiplatform/README.md b/packages/google-cloud-aiplatform/README.md index 0199bd9a10b..c8b5d76fe98 100644 --- a/packages/google-cloud-aiplatform/README.md +++ b/packages/google-cloud-aiplatform/README.md @@ -330,6 +330,13 @@ Samples are in the [`samples/`][homepage_samples] directory. Each sample's `READ | pause schedule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/schedule_service.pause_schedule.js) | | resume schedule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/schedule_service.resume_schedule.js) | | update schedule | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/schedule_service.update_schedule.js) | +| append event | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/session_service.append_event.js) | +| create session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/session_service.create_session.js) | +| delete session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/session_service.delete_session.js) | +| get session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/session_service.get_session.js) | +| list events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/session_service.list_events.js) | +| list sessions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/session_service.list_sessions.js) | +| update session | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/session_service.update_session.js) | | cloud | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/snippet_metadata_google.cloud.aiplatform.v1.json) | | create specialist pool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/specialist_pool_service.create_specialist_pool.js) | | delete specialist pool | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/specialist_pool_service.delete_specialist_pool.js) | @@ -378,6 +385,8 @@ Samples are in the [`samples/`][homepage_samples] directory. Each sample's `READ | update rag corpus | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/vertex_rag_data_service.update_rag_corpus.js) | | update rag engine config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/vertex_rag_data_service.update_rag_engine_config.js) | | upload rag file | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/vertex_rag_data_service.upload_rag_file.js) | +| ask contexts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/vertex_rag_service.ask_contexts.js) | +| async retrieve contexts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/vertex_rag_service.async_retrieve_contexts.js) | | augment prompt | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/vertex_rag_service.augment_prompt.js) | | corroborate content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/vertex_rag_service.corroborate_content.js) | | retrieve contexts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1/vertex_rag_service.retrieve_contexts.js) | @@ -775,6 +784,8 @@ Samples are in the [`samples/`][homepage_samples] directory. Each sample's `READ | update rag corpus | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/vertex_rag_data_service.update_rag_corpus.js) | | update rag engine config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/vertex_rag_data_service.update_rag_engine_config.js) | | upload rag file | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/vertex_rag_data_service.upload_rag_file.js) | +| ask contexts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/vertex_rag_service.ask_contexts.js) | +| async retrieve contexts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/vertex_rag_service.async_retrieve_contexts.js) | | augment prompt | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/vertex_rag_service.augment_prompt.js) | | corroborate content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/vertex_rag_service.corroborate_content.js) | | retrieve contexts | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-aiplatform/samples/generated/v1beta1/vertex_rag_service.retrieve_contexts.js) | diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/reasoning_engine.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/reasoning_engine.proto index 440d1e19484..20fbf27d8ab 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/reasoning_engine.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/reasoning_engine.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -116,6 +116,15 @@ message ReasoningEngineSpec { ]; } + // The image spec for building an image (within a single build step), based + // on the config file (i.e. Dockerfile) in the source directory. + message ImageSpec { + // Optional. Build arguments to be used. They will be passed through + // --build-arg flags. + map build_args = 1 + [(google.api.field_behavior) = OPTIONAL]; + } + // Specifies the configuration for fetching source code from a Git // repository that is managed by Developer Connect. This includes the // repository, revision, and directory to use. @@ -187,6 +196,9 @@ message ReasoningEngineSpec { oneof language_spec { // Configuration for a Python application. PythonSpec python_spec = 2; + + // Optional. Configuration for building an image with custom config file. + ImageSpec image_spec = 5 [(google.api.field_behavior) = OPTIONAL]; } } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/session.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/session.proto new file mode 100644 index 00000000000..e60918e6283 --- /dev/null +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/session.proto @@ -0,0 +1,216 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.cloud.aiplatform.v1; + +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1/content.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/struct.proto"; +import "google/protobuf/timestamp.proto"; + +option csharp_namespace = "Google.Cloud.AIPlatform.V1"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; +option java_multiple_files = true; +option java_outer_classname = "SessionProto"; +option java_package = "com.google.cloud.aiplatform.v1"; +option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; +option ruby_package = "Google::Cloud::AIPlatform::V1"; + +// A session contains a set of actions between users and Vertex agents. +message Session { + option (google.api.resource) = { + type: "aiplatform.googleapis.com/Session" + pattern: "projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}" + plural: "sessions" + singular: "session" + }; + + // The expiration of the session. + oneof expiration { + // Optional. Timestamp of when this session is considered expired. + // This is *always* provided on output, regardless of what was sent + // on input. + // The minimum value is 24 hours from the time of creation. + google.protobuf.Timestamp expire_time = 13 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Input only. The TTL for this session. + // The minimum value is 24 hours. + google.protobuf.Duration ttl = 14 [ + (google.api.field_behavior) = OPTIONAL, + (google.api.field_behavior) = INPUT_ONLY + ]; + } + + // Identifier. The resource name of the session. + // Format: + // 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; + + // Output only. Timestamp when the session was created. + google.protobuf.Timestamp create_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Timestamp when the session was updated. + google.protobuf.Timestamp update_time = 4 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Optional. The display name of the session. + string display_name = 5 [(google.api.field_behavior) = OPTIONAL]; + + // The labels with user-defined metadata to organize your Sessions. + // + // Label keys and values can be no longer than 64 characters + // (Unicode codepoints), can only contain lowercase letters, numeric + // characters, underscores and dashes. International characters are allowed. + // + // See https://goo.gl/xmQnxf for more information and examples of labels. + map labels = 8; + + // Optional. Session specific memory which stores key conversation points. + google.protobuf.Struct session_state = 10 + [(google.api.field_behavior) = OPTIONAL]; + + // Required. Immutable. String id provided by the user + string user_id = 12 [ + (google.api.field_behavior) = IMMUTABLE, + (google.api.field_behavior) = REQUIRED + ]; +} + +// An event represents a message from either the user or agent. +message SessionEvent { + option (google.api.resource) = { + type: "aiplatform.googleapis.com/SessionEvent" + pattern: "projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}" + plural: "sessionEvents" + singular: "sessionEvent" + }; + + // Identifier. The resource name of the event. + // Format:`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}`. + string name = 1 [(google.api.field_behavior) = IDENTIFIER]; + + // Required. The name of the agent that sent the event, or user. + string author = 3 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Content of the event provided by the author. + Content content = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Required. The invocation id of the event, multiple events can have the same + // invocation id. + string invocation_id = 5 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Actions executed by the agent. + EventActions actions = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Required. Timestamp when the event was created on client side. + google.protobuf.Timestamp timestamp = 8 + [(google.api.field_behavior) = REQUIRED]; + + // Optional. Error code if the response is an error. Code varies by model. + string error_code = 9 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Error message if the response is an error. + string error_message = 10 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Metadata relating to this event. + EventMetadata event_metadata = 11 [(google.api.field_behavior) = OPTIONAL]; +} + +// Metadata relating to a LLM response event. +message EventMetadata { + // Optional. Metadata returned to client when grounding is enabled. + GroundingMetadata grounding_metadata = 1 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Indicates whether the text content is part of a unfinished text + // stream. Only used for streaming mode and when the content is plain text. + bool partial = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Indicates whether the response from the model is complete. + // Only used for streaming mode. + bool turn_complete = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Flag indicating that LLM was interrupted when generating the + // content. Usually it's due to user interruption during a bidi streaming. + bool interrupted = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Set of ids of the long running function calls. + // Agent client will know from this field about which function call is long + // running. Only valid for function call event. + repeated string long_running_tool_ids = 5 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The branch of the event. + // The format is like agent_1.agent_2.agent_3, where agent_1 is the parent of + // agent_2, and agent_2 is the parent of agent_3. + // Branch is used when multiple child agents shouldn't see their siblings' + // conversation history. + string branch = 6 [(google.api.field_behavior) = OPTIONAL]; + + // The custom metadata of the LlmResponse. + google.protobuf.Struct custom_metadata = 7; + + // Optional. Audio transcription of user input. + Transcription input_transcription = 10 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Audio transcription of model output. + Transcription output_transcription = 11 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Actions are parts of events that are executed by the agent. +message EventActions { + // Optional. If true, it won't call model to summarize function response. + // Only used for function_response event. + bool skip_summarization = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Indicates that the event is updating the state with the given + // delta. + google.protobuf.Struct state_delta = 2 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Indicates that the event is updating an artifact. key is the + // filename, value is the version. + map artifact_delta = 3 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The agent is escalating to a higher level agent. + bool escalate = 6 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Will only be set by a tool response indicating tool request euc. + // Struct key is the function call id since one function call response (from + // model) could correspond to multiple function calls. Struct value is the + // required auth config, which can be another struct. + google.protobuf.Struct requested_auth_configs = 7 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. If set, the event transfers to the specified agent. + string transfer_agent = 8 [(google.api.field_behavior) = OPTIONAL]; +} + +// Audio transcription in Server Content. +message Transcription { + // Optional. Transcription text. + string text = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The bool indicates the end of the transcription. + bool finished = 2 [(google.api.field_behavior) = OPTIONAL]; +} diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/session_service.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/session_service.proto new file mode 100644 index 00000000000..d3dbd56a464 --- /dev/null +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/session_service.proto @@ -0,0 +1,312 @@ +// Copyright 2026 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.cloud.aiplatform.v1; + +import "google/api/annotations.proto"; +import "google/api/client.proto"; +import "google/api/field_behavior.proto"; +import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1/operation.proto"; +import "google/cloud/aiplatform/v1/session.proto"; +import "google/longrunning/operations.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/field_mask.proto"; + +option csharp_namespace = "Google.Cloud.AIPlatform.V1"; +option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; +option java_multiple_files = true; +option java_outer_classname = "SessionServiceProto"; +option java_package = "com.google.cloud.aiplatform.v1"; +option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; +option ruby_package = "Google::Cloud::AIPlatform::V1"; + +// The service that manages Vertex Session related resources. +service SessionService { + option (google.api.default_host) = "aiplatform.googleapis.com"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; + + // Creates a new [Session][google.cloud.aiplatform.v1.Session]. + rpc CreateSession(CreateSessionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*/reasoningEngines/*}/sessions" + body: "session" + }; + option (google.api.method_signature) = "parent,session"; + option (google.longrunning.operation_info) = { + response_type: "Session" + metadata_type: "CreateSessionOperationMetadata" + }; + } + + // Gets details of the specific [Session][google.cloud.aiplatform.v1.Session]. + rpc GetSession(GetSessionRequest) returns (Session) { + option (google.api.http) = { + get: "/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}" + }; + option (google.api.method_signature) = "name"; + } + + // Lists [Sessions][google.cloud.aiplatform.v1.Session] in a given reasoning + // engine. + rpc ListSessions(ListSessionsRequest) returns (ListSessionsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/reasoningEngines/*}/sessions" + }; + option (google.api.method_signature) = "parent"; + } + + // Updates the specific [Session][google.cloud.aiplatform.v1.Session]. + rpc UpdateSession(UpdateSessionRequest) returns (Session) { + option (google.api.http) = { + patch: "/v1/{session.name=projects/*/locations/*/reasoningEngines/*/sessions/*}" + body: "session" + }; + option (google.api.method_signature) = "session,update_mask"; + } + + // Deletes details of the specific + // [Session][google.cloud.aiplatform.v1.Session]. + rpc DeleteSession(DeleteSessionRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + delete: "/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}" + }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "DeleteOperationMetadata" + }; + } + + // Lists [Events][google.cloud.aiplatform.v1.Event] in a given session. + rpc ListEvents(ListEventsRequest) returns (ListEventsResponse) { + option (google.api.http) = { + get: "/v1/{parent=projects/*/locations/*/reasoningEngines/*/sessions/*}/events" + }; + option (google.api.method_signature) = "parent"; + } + + // Appends an event to a given session. + rpc AppendEvent(AppendEventRequest) returns (AppendEventResponse) { + option (google.api.http) = { + post: "/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}:appendEvent" + body: "event" + }; + option (google.api.method_signature) = "name,event"; + } +} + +// Request message for +// [SessionService.CreateSession][google.cloud.aiplatform.v1.SessionService.CreateSession]. +message CreateSessionRequest { + // Required. The resource name of the location to create the session in. + // Format: + // `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/ReasoningEngine" + } + ]; + + // Required. The session to create. + Session session = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Metadata associated with the +// [SessionService.CreateSession][google.cloud.aiplatform.v1.SessionService.CreateSession] +// operation. +message CreateSessionOperationMetadata { + // The common part of the operation metadata. + GenericOperationMetadata generic_metadata = 1; +} + +// Request message for +// [SessionService.GetSession][google.cloud.aiplatform.v1.SessionService.GetSession]. +message GetSessionRequest { + // Required. The resource name of the session. + // Format: + // `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Session" + } + ]; +} + +// Request message for +// [SessionService.ListSessions][google.cloud.aiplatform.v1.SessionService.ListSessions]. +message ListSessionsRequest { + // Required. The resource name of the location to list sessions from. + // Format: + // `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/ReasoningEngine" + } + ]; + + // Optional. The maximum number of sessions to return. The service may return + // fewer than this value. If unspecified, at most 100 sessions will be + // returned. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The + // [next_page_token][google.cloud.aiplatform.v1.ListSessionsResponse.next_page_token] + // value returned from a previous list + // [SessionService.ListSessions][google.cloud.aiplatform.v1.SessionService.ListSessions] + // call. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The standard list filter. + // Supported fields: + // * `display_name` + // * `user_id` + // * `labels` + // + // Example: `display_name="abc"`, `user_id="123"`, `labels.key="value"`. + string filter = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A comma-separated list of fields to order by, sorted in ascending + // order. Use "desc" after a field name for descending. Supported fields: + // * `create_time` + // * `update_time` + // + // Example: `create_time desc`. + string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for +// [SessionService.ListSessions][google.cloud.aiplatform.v1.SessionService.ListSessions]. +message ListSessionsResponse { + // A list of sessions matching the request. + repeated Session sessions = 1; + + // A token, which can be sent as + // [ListSessionsRequest.page_token][google.cloud.aiplatform.v1.ListSessionsRequest.page_token] + // to retrieve the next page. Absence of this field indicates there are no + // subsequent pages. + string next_page_token = 2; +} + +// Request message for +// [SessionService.UpdateSession][google.cloud.aiplatform.v1.SessionService.UpdateSession]. +message UpdateSessionRequest { + // Required. The session to update. + // Format: + // `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + Session session = 1 [(google.api.field_behavior) = REQUIRED]; + + // Optional. Field mask is used to control which fields get updated. If the + // mask is not present, all fields will be updated. + google.protobuf.FieldMask update_mask = 2 + [(google.api.field_behavior) = OPTIONAL]; +} + +// Request message for +// [SessionService.DeleteSession][google.cloud.aiplatform.v1.SessionService.DeleteSession]. +message DeleteSessionRequest { + // Required. The resource name of the session. + // Format: + // `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Session" + } + ]; +} + +// Request message for +// [SessionService.ListEvents][google.cloud.aiplatform.v1.SessionService.ListEvents]. +message ListEventsRequest { + // Required. The resource name of the session to list events from. + // Format: + // `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Session" + } + ]; + + // Optional. The maximum number of events to return. The service may return + // fewer than this value. If unspecified, at most 100 events will be returned. + // These events are ordered by timestamp in ascending order. + int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The + // [next_page_token][google.cloud.aiplatform.v1.ListEventsResponse.next_page_token] + // value returned from a previous list + // [SessionService.ListEvents][google.cloud.aiplatform.v1.SessionService.ListEvents] + // call. + string page_token = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The standard list filter. + // Supported fields: + // * `timestamp` range (i.e. `timestamp>="2025-01-31T11:30:00-04:00"` where + // the timestamp is in RFC 3339 format) + // + // More detail in [AIP-160](https://google.aip.dev/160). + string filter = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. A comma-separated list of fields to order by, sorted in ascending + // order. Use "desc" after a field name for descending. Supported fields: + // * `timestamp` + // + // Example: `timestamp desc`. + string order_by = 5 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for +// [SessionService.ListEvents][google.cloud.aiplatform.v1.SessionService.ListEvents]. +message ListEventsResponse { + // A list of events matching the request. Ordered by timestamp in ascending + // order. + repeated SessionEvent session_events = 1; + + // A token, which can be sent as + // [ListEventsRequest.page_token][google.cloud.aiplatform.v1.ListEventsRequest.page_token] + // to retrieve the next page. Absence of this field indicates there are no + // subsequent pages. + string next_page_token = 2; +} + +// Request message for +// [SessionService.AppendEvent][google.cloud.aiplatform.v1.SessionService.AppendEvent]. +message AppendEventRequest { + // Required. The resource name of the session to append event to. + // Format: + // `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "aiplatform.googleapis.com/Session" + } + ]; + + // Required. The event to append to the session. + SessionEvent event = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Response message for +// [SessionService.AppendEvent][google.cloud.aiplatform.v1.SessionService.AppendEvent]. +message AppendEventResponse {} diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/vertex_rag_service.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/vertex_rag_service.proto index d7c75c9d238..57e6aabd141 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/vertex_rag_service.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/vertex_rag_service.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,8 +21,10 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1/content.proto"; +import "google/cloud/aiplatform/v1/operation.proto"; import "google/cloud/aiplatform/v1/tool.proto"; import "google/cloud/aiplatform/v1/vertex_rag_data.proto"; +import "google/longrunning/operations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; option go_package = "cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb"; @@ -69,6 +71,29 @@ service VertexRagService { }; option (google.api.method_signature) = "parent,content,facts"; } + + // Agentic Retrieval Ask API for RAG. + rpc AskContexts(AskContextsRequest) returns (AskContextsResponse) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}:askContexts" + body: "*" + }; + option (google.api.method_signature) = "parent,query"; + } + + // Asynchronous API to retrieves relevant contexts for a query. + rpc AsyncRetrieveContexts(AsyncRetrieveContextsRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1/{parent=projects/*/locations/*}:asyncRetrieveContexts" + body: "*" + }; + option (google.api.method_signature) = "parent,query"; + option (google.longrunning.operation_info) = { + response_type: "AsyncRetrieveContextsResponse" + metadata_type: "AsyncRetrieveContextsOperationMetadata" + }; + } } // A query to retrieve relevant contexts. @@ -316,3 +341,69 @@ message Claim { // Confidence score of this corroboration. optional float score = 4; } + +// Agentic Retrieval Ask API for RAG. +// Request message for +// [VertexRagService.AskContexts][google.cloud.aiplatform.v1.VertexRagService.AskContexts]. +message AskContextsRequest { + // Required. The resource name of the Location from which to retrieve + // RagContexts. The users must have permission to make a call in the project. + // Format: + // `projects/{project}/locations/{location}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. Single RAG retrieve query. + RagQuery query = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The tools to use for AskContexts. + repeated Tool tools = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for +// [VertexRagService.AskContexts][google.cloud.aiplatform.v1.VertexRagService.AskContexts]. +message AskContextsResponse { + // The Retrieval Response. + string response = 1; + + // The contexts of the query. + RagContexts contexts = 2; +} + +// Request message for +// [VertexRagService.AsyncRetrieveContexts][google.cloud.aiplatform.v1.VertexRagService.AsyncRetrieveContexts]. +message AsyncRetrieveContextsRequest { + // Required. The resource name of the Location from which to retrieve + // RagContexts. The users must have permission to make a call in the project. + // Format: + // `projects/{project}/locations/{location}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. Single RAG retrieve query. + RagQuery query = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The tools to use for AskContexts. + repeated Tool tools = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for +// [VertexRagService.AsyncRetrieveContexts][google.cloud.aiplatform.v1.VertexRagService.AsyncRetrieveContexts]. +message AsyncRetrieveContextsResponse { + // The contexts of the query. + RagContexts contexts = 1; +} + +// Metadata for AsyncRetrieveContextsOperation. +message AsyncRetrieveContextsOperationMetadata { + // The operation generic information. + GenericOperationMetadata generic_metadata = 1; +} diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/reasoning_engine.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/reasoning_engine.proto index 85b43672ca7..2edf93b6fd7 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/reasoning_engine.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/reasoning_engine.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -118,6 +118,15 @@ message ReasoningEngineSpec { ]; } + // The image spec for building an image (within a single build step), based + // on the config file (i.e. Dockerfile) in the source directory. + message ImageSpec { + // Optional. Build arguments to be used. They will be passed through + // --build-arg flags. + map build_args = 1 + [(google.api.field_behavior) = OPTIONAL]; + } + // Specifies the configuration for fetching source code from a Git // repository that is managed by Developer Connect. This includes the // repository, revision, and directory to use. @@ -189,6 +198,9 @@ message ReasoningEngineSpec { oneof language_spec { // Configuration for a Python application. PythonSpec python_spec = 2; + + // Optional. Configuration for building an image with custom config file. + ImageSpec image_spec = 5 [(google.api.field_behavior) = OPTIONAL]; } } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/session.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/session.proto index 8e3a7f7049e..f973d5a5433 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/session.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/session.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -45,10 +45,12 @@ message Session { // Optional. Timestamp of when this session is considered expired. // This is *always* provided on output, regardless of what was sent // on input. + // The minimum value is 24 hours from the time of creation. google.protobuf.Timestamp expire_time = 13 [(google.api.field_behavior) = OPTIONAL]; // Optional. Input only. The TTL for this session. + // The minimum value is 24 hours. google.protobuf.Duration ttl = 14 [ (google.api.field_behavior) = OPTIONAL, (google.api.field_behavior) = INPUT_ONLY @@ -71,6 +73,15 @@ message Session { // Optional. The display name of the session. string display_name = 5 [(google.api.field_behavior) = OPTIONAL]; + // The labels with user-defined metadata to organize your Sessions. + // + // Label keys and values can be no longer than 64 characters + // (Unicode codepoints), can only contain lowercase letters, numeric + // characters, underscores and dashes. International characters are allowed. + // + // See https://goo.gl/xmQnxf for more information and examples of labels. + map labels = 8; + // Optional. Session specific memory which stores key conversation points. google.protobuf.Struct session_state = 10 [(google.api.field_behavior) = OPTIONAL]; @@ -155,6 +166,14 @@ message EventMetadata { // The custom metadata of the LlmResponse. google.protobuf.Struct custom_metadata = 7; + + // Optional. Audio transcription of user input. + Transcription input_transcription = 10 + [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Audio transcription of model output. + Transcription output_transcription = 11 + [(google.api.field_behavior) = OPTIONAL]; } // Actions are parts of events that are executed by the agent. @@ -186,3 +205,12 @@ message EventActions { // Optional. If set, the event transfers to the specified agent. string transfer_agent = 8 [(google.api.field_behavior) = OPTIONAL]; } + +// Audio transcription in Server Content. +message Transcription { + // Optional. Transcription text. + string text = 1 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The bool indicates the end of the transcription. + bool finished = 2 [(google.api.field_behavior) = OPTIONAL]; +} diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/session_service.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/session_service.proto index bc29ed611af..2f9384ec37e 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/session_service.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/session_service.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -205,8 +205,9 @@ message ListSessionsRequest { // Supported fields: // * `display_name` // * `user_id` + // * `labels` // - // Example: `display_name="abc"`, `user_id="123"`. + // Example: `display_name="abc"`, `user_id="123"`, `labels.key="value"`. string filter = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. A comma-separated list of fields to order by, sorted in ascending diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/tuning_job.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/tuning_job.proto index 62ba33a7b50..b530dc78cb8 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/tuning_job.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/tuning_job.proto @@ -1,4 +1,4 @@ -// Copyright 2025 Google LLC +// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -644,6 +644,11 @@ message EvaluationConfig { // Optional. Autorater config for evaluation. AutoraterConfig autorater_config = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Configuration options for inference generation and outputs. + // If not set, default generation parameters are used. + GenerationConfig inference_generation_config = 5 + [(google.api.field_behavior) = OPTIONAL]; } // Evaluate Dataset Run Result for Tuning Job. @@ -652,11 +657,15 @@ message EvaluateDatasetRun { // `projects/{project}/locations/{location}/operations/{operation_id}`. string operation_name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The resource name of the evaluation run. Format: + // `projects/{project}/locations/{location}/evaluationRuns/{evaluation_run_id}`. + string evaluation_run = 5 [(google.api.field_behavior) = OUTPUT_ONLY]; + // Output only. The checkpoint id used in the evaluation run. Only populated // when evaluating checkpoints. string checkpoint_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. Results for EvaluationService.EvaluateDataset. + // Output only. Results for EvaluationService. EvaluateDatasetResponse evaluate_dataset_response = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/vertex_rag_service.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/vertex_rag_service.proto index 7644f557e98..b82fad0ce27 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/vertex_rag_service.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/vertex_rag_service.proto @@ -21,8 +21,10 @@ import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/content.proto"; +import "google/cloud/aiplatform/v1beta1/operation.proto"; import "google/cloud/aiplatform/v1beta1/tool.proto"; import "google/cloud/aiplatform/v1beta1/vertex_rag_data.proto"; +import "google/longrunning/operations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "cloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb"; @@ -69,6 +71,29 @@ service VertexRagService { }; option (google.api.method_signature) = "parent,content,facts"; } + + // Agentic Retrieval Ask API for RAG. + rpc AskContexts(AskContextsRequest) returns (AskContextsResponse) { + option (google.api.http) = { + post: "/v1beta1/{parent=projects/*/locations/*}:askContexts" + body: "*" + }; + option (google.api.method_signature) = "parent,query"; + } + + // Asynchronous API to retrieves relevant contexts for a query. + rpc AsyncRetrieveContexts(AsyncRetrieveContextsRequest) + returns (google.longrunning.Operation) { + option (google.api.http) = { + post: "/v1beta1/{parent=projects/*/locations/*}:asyncRetrieveContexts" + body: "*" + }; + option (google.api.method_signature) = "parent,query"; + option (google.longrunning.operation_info) = { + response_type: "AsyncRetrieveContextsResponse" + metadata_type: "AsyncRetrieveContextsOperationMetadata" + }; + } } // A query to retrieve relevant contexts. @@ -346,3 +371,69 @@ message Claim { // Confidence score of this corroboration. optional float score = 4; } + +// Agentic Retrieval Ask API for RAG. +// Request message for +// [VertexRagService.AskContexts][google.cloud.aiplatform.v1beta1.VertexRagService.AskContexts]. +message AskContextsRequest { + // Required. The resource name of the Location from which to retrieve + // RagContexts. The users must have permission to make a call in the project. + // Format: + // `projects/{project}/locations/{location}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. Single RAG retrieve query. + RagQuery query = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The tools to use for AskContexts. + repeated Tool tools = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for +// [VertexRagService.AskContexts][google.cloud.aiplatform.v1beta1.VertexRagService.AskContexts]. +message AskContextsResponse { + // The Retrieval Response. + string response = 1; + + // The contexts of the query. + RagContexts contexts = 2; +} + +// Request message for +// [VertexRagService.AsyncRetrieveContexts][google.cloud.aiplatform.v1beta1.VertexRagService.AsyncRetrieveContexts]. +message AsyncRetrieveContextsRequest { + // Required. The resource name of the Location from which to retrieve + // RagContexts. The users must have permission to make a call in the project. + // Format: + // `projects/{project}/locations/{location}`. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. Single RAG retrieve query. + RagQuery query = 2 [(google.api.field_behavior) = REQUIRED]; + + // Optional. The tools to use for AskContexts. + repeated Tool tools = 3 [(google.api.field_behavior) = OPTIONAL]; +} + +// Response message for +// [VertexRagService.AsyncRetrieveContexts][google.cloud.aiplatform.v1beta1.VertexRagService.AsyncRetrieveContexts]. +message AsyncRetrieveContextsResponse { + // The contexts of the query. + RagContexts contexts = 1; +} + +// Metadata for AsyncRetrieveContextsOperation. +message AsyncRetrieveContextsOperationMetadata { + // The operation generic information. + GenericOperationMetadata generic_metadata = 1; +} diff --git a/packages/google-cloud-aiplatform/protos/protos.d.ts b/packages/google-cloud-aiplatform/protos/protos.d.ts index 7131642a347..7ce86c66bdf 100644 --- a/packages/google-cloud-aiplatform/protos/protos.d.ts +++ b/packages/google-cloud-aiplatform/protos/protos.d.ts @@ -120256,6 +120256,9 @@ export namespace google { /** SourceCodeSpec pythonSpec */ pythonSpec?: (google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IPythonSpec|null); + + /** SourceCodeSpec imageSpec */ + imageSpec?: (google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec|null); } /** Represents a SourceCodeSpec. */ @@ -120276,11 +120279,14 @@ export namespace google { /** SourceCodeSpec pythonSpec. */ public pythonSpec?: (google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IPythonSpec|null); + /** SourceCodeSpec imageSpec. */ + public imageSpec?: (google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec|null); + /** SourceCodeSpec source. */ public source?: ("inlineSource"|"developerConnectSource"); /** SourceCodeSpec languageSpec. */ - public languageSpec?: "pythonSpec"; + public languageSpec?: ("pythonSpec"|"imageSpec"); /** * Creates a new SourceCodeSpec instance using the specified properties. @@ -120459,6 +120465,103 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } + /** Properties of an ImageSpec. */ + interface IImageSpec { + + /** ImageSpec buildArgs */ + buildArgs?: ({ [k: string]: string }|null); + } + + /** Represents an ImageSpec. */ + class ImageSpec implements IImageSpec { + + /** + * Constructs a new ImageSpec. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec); + + /** ImageSpec buildArgs. */ + public buildArgs: { [k: string]: string }; + + /** + * Creates a new ImageSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns ImageSpec instance + */ + public static create(properties?: google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec): google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec; + + /** + * Encodes the specified ImageSpec message. Does not implicitly {@link google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.verify|verify} messages. + * @param message ImageSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ImageSpec message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.verify|verify} messages. + * @param message ImageSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ImageSpec message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ImageSpec + * @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.ReasoningEngineSpec.SourceCodeSpec.ImageSpec; + + /** + * Decodes an ImageSpec message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ImageSpec + * @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.ReasoningEngineSpec.SourceCodeSpec.ImageSpec; + + /** + * Verifies an ImageSpec 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 an ImageSpec message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ImageSpec + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec; + + /** + * Creates a plain object from an ImageSpec message. Also converts values to other types if specified. + * @param message ImageSpec + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ImageSpec to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ImageSpec + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + /** Properties of a DeveloperConnectConfig. */ interface IDeveloperConnectConfig { @@ -130099,6 +130202,1984 @@ export namespace google { } } + /** Properties of a Session. */ + interface ISession { + + /** Session expireTime */ + expireTime?: (google.protobuf.ITimestamp|null); + + /** Session ttl */ + ttl?: (google.protobuf.IDuration|null); + + /** Session name */ + name?: (string|null); + + /** Session createTime */ + createTime?: (google.protobuf.ITimestamp|null); + + /** Session updateTime */ + updateTime?: (google.protobuf.ITimestamp|null); + + /** Session displayName */ + displayName?: (string|null); + + /** Session labels */ + labels?: ({ [k: string]: string }|null); + + /** Session sessionState */ + sessionState?: (google.protobuf.IStruct|null); + + /** Session userId */ + userId?: (string|null); + } + + /** Represents a Session. */ + class Session implements ISession { + + /** + * Constructs a new Session. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.ISession); + + /** Session expireTime. */ + public expireTime?: (google.protobuf.ITimestamp|null); + + /** Session ttl. */ + public ttl?: (google.protobuf.IDuration|null); + + /** Session name. */ + public name: string; + + /** Session createTime. */ + public createTime?: (google.protobuf.ITimestamp|null); + + /** Session updateTime. */ + public updateTime?: (google.protobuf.ITimestamp|null); + + /** Session displayName. */ + public displayName: string; + + /** Session labels. */ + public labels: { [k: string]: string }; + + /** Session sessionState. */ + public sessionState?: (google.protobuf.IStruct|null); + + /** Session userId. */ + public userId: string; + + /** Session expiration. */ + public expiration?: ("expireTime"|"ttl"); + + /** + * Creates a new Session instance using the specified properties. + * @param [properties] Properties to set + * @returns Session instance + */ + public static create(properties?: google.cloud.aiplatform.v1.ISession): google.cloud.aiplatform.v1.Session; + + /** + * Encodes the specified Session message. Does not implicitly {@link google.cloud.aiplatform.v1.Session.verify|verify} messages. + * @param message Session message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.ISession, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Session message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Session.verify|verify} messages. + * @param message Session message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.ISession, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Session message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Session + * @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.Session; + + /** + * Decodes a Session message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Session + * @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.Session; + + /** + * Verifies a Session 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 Session message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Session + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.Session; + + /** + * Creates a plain object from a Session message. Also converts values to other types if specified. + * @param message Session + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.Session, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Session to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Session + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a SessionEvent. */ + interface ISessionEvent { + + /** SessionEvent name */ + name?: (string|null); + + /** SessionEvent author */ + author?: (string|null); + + /** SessionEvent content */ + content?: (google.cloud.aiplatform.v1.IContent|null); + + /** SessionEvent invocationId */ + invocationId?: (string|null); + + /** SessionEvent actions */ + actions?: (google.cloud.aiplatform.v1.IEventActions|null); + + /** SessionEvent timestamp */ + timestamp?: (google.protobuf.ITimestamp|null); + + /** SessionEvent errorCode */ + errorCode?: (string|null); + + /** SessionEvent errorMessage */ + errorMessage?: (string|null); + + /** SessionEvent eventMetadata */ + eventMetadata?: (google.cloud.aiplatform.v1.IEventMetadata|null); + } + + /** Represents a SessionEvent. */ + class SessionEvent implements ISessionEvent { + + /** + * Constructs a new SessionEvent. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.ISessionEvent); + + /** SessionEvent name. */ + public name: string; + + /** SessionEvent author. */ + public author: string; + + /** SessionEvent content. */ + public content?: (google.cloud.aiplatform.v1.IContent|null); + + /** SessionEvent invocationId. */ + public invocationId: string; + + /** SessionEvent actions. */ + public actions?: (google.cloud.aiplatform.v1.IEventActions|null); + + /** SessionEvent timestamp. */ + public timestamp?: (google.protobuf.ITimestamp|null); + + /** SessionEvent errorCode. */ + public errorCode: string; + + /** SessionEvent errorMessage. */ + public errorMessage: string; + + /** SessionEvent eventMetadata. */ + public eventMetadata?: (google.cloud.aiplatform.v1.IEventMetadata|null); + + /** + * Creates a new SessionEvent instance using the specified properties. + * @param [properties] Properties to set + * @returns SessionEvent instance + */ + public static create(properties?: google.cloud.aiplatform.v1.ISessionEvent): google.cloud.aiplatform.v1.SessionEvent; + + /** + * Encodes the specified SessionEvent message. Does not implicitly {@link google.cloud.aiplatform.v1.SessionEvent.verify|verify} messages. + * @param message SessionEvent message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.ISessionEvent, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SessionEvent message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.SessionEvent.verify|verify} messages. + * @param message SessionEvent message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.ISessionEvent, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SessionEvent message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SessionEvent + * @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.SessionEvent; + + /** + * Decodes a SessionEvent message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SessionEvent + * @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.SessionEvent; + + /** + * Verifies a SessionEvent 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 SessionEvent message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SessionEvent + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.SessionEvent; + + /** + * Creates a plain object from a SessionEvent message. Also converts values to other types if specified. + * @param message SessionEvent + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.SessionEvent, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SessionEvent to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for SessionEvent + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an EventMetadata. */ + interface IEventMetadata { + + /** EventMetadata groundingMetadata */ + groundingMetadata?: (google.cloud.aiplatform.v1.IGroundingMetadata|null); + + /** EventMetadata partial */ + partial?: (boolean|null); + + /** EventMetadata turnComplete */ + turnComplete?: (boolean|null); + + /** EventMetadata interrupted */ + interrupted?: (boolean|null); + + /** EventMetadata longRunningToolIds */ + longRunningToolIds?: (string[]|null); + + /** EventMetadata branch */ + branch?: (string|null); + + /** EventMetadata customMetadata */ + customMetadata?: (google.protobuf.IStruct|null); + + /** EventMetadata inputTranscription */ + inputTranscription?: (google.cloud.aiplatform.v1.ITranscription|null); + + /** EventMetadata outputTranscription */ + outputTranscription?: (google.cloud.aiplatform.v1.ITranscription|null); + } + + /** Represents an EventMetadata. */ + class EventMetadata implements IEventMetadata { + + /** + * Constructs a new EventMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IEventMetadata); + + /** EventMetadata groundingMetadata. */ + public groundingMetadata?: (google.cloud.aiplatform.v1.IGroundingMetadata|null); + + /** EventMetadata partial. */ + public partial: boolean; + + /** EventMetadata turnComplete. */ + public turnComplete: boolean; + + /** EventMetadata interrupted. */ + public interrupted: boolean; + + /** EventMetadata longRunningToolIds. */ + public longRunningToolIds: string[]; + + /** EventMetadata branch. */ + public branch: string; + + /** EventMetadata customMetadata. */ + public customMetadata?: (google.protobuf.IStruct|null); + + /** EventMetadata inputTranscription. */ + public inputTranscription?: (google.cloud.aiplatform.v1.ITranscription|null); + + /** EventMetadata outputTranscription. */ + public outputTranscription?: (google.cloud.aiplatform.v1.ITranscription|null); + + /** + * Creates a new EventMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns EventMetadata instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IEventMetadata): google.cloud.aiplatform.v1.EventMetadata; + + /** + * Encodes the specified EventMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.EventMetadata.verify|verify} messages. + * @param message EventMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IEventMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified EventMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.EventMetadata.verify|verify} messages. + * @param message EventMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IEventMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EventMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EventMetadata + * @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.EventMetadata; + + /** + * Decodes an EventMetadata message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns EventMetadata + * @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.EventMetadata; + + /** + * Verifies an EventMetadata 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 an EventMetadata message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns EventMetadata + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.EventMetadata; + + /** + * Creates a plain object from an EventMetadata message. Also converts values to other types if specified. + * @param message EventMetadata + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.EventMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this EventMetadata to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EventMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an EventActions. */ + interface IEventActions { + + /** EventActions skipSummarization */ + skipSummarization?: (boolean|null); + + /** EventActions stateDelta */ + stateDelta?: (google.protobuf.IStruct|null); + + /** EventActions artifactDelta */ + artifactDelta?: ({ [k: string]: number }|null); + + /** EventActions escalate */ + escalate?: (boolean|null); + + /** EventActions requestedAuthConfigs */ + requestedAuthConfigs?: (google.protobuf.IStruct|null); + + /** EventActions transferAgent */ + transferAgent?: (string|null); + } + + /** Represents an EventActions. */ + class EventActions implements IEventActions { + + /** + * Constructs a new EventActions. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IEventActions); + + /** EventActions skipSummarization. */ + public skipSummarization: boolean; + + /** EventActions stateDelta. */ + public stateDelta?: (google.protobuf.IStruct|null); + + /** EventActions artifactDelta. */ + public artifactDelta: { [k: string]: number }; + + /** EventActions escalate. */ + public escalate: boolean; + + /** EventActions requestedAuthConfigs. */ + public requestedAuthConfigs?: (google.protobuf.IStruct|null); + + /** EventActions transferAgent. */ + public transferAgent: string; + + /** + * Creates a new EventActions instance using the specified properties. + * @param [properties] Properties to set + * @returns EventActions instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IEventActions): google.cloud.aiplatform.v1.EventActions; + + /** + * Encodes the specified EventActions message. Does not implicitly {@link google.cloud.aiplatform.v1.EventActions.verify|verify} messages. + * @param message EventActions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IEventActions, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified EventActions message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.EventActions.verify|verify} messages. + * @param message EventActions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IEventActions, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EventActions message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns EventActions + * @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.EventActions; + + /** + * Decodes an EventActions message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns EventActions + * @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.EventActions; + + /** + * Verifies an EventActions 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 an EventActions message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns EventActions + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.EventActions; + + /** + * Creates a plain object from an EventActions message. Also converts values to other types if specified. + * @param message EventActions + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.EventActions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this EventActions to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for EventActions + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a Transcription. */ + interface ITranscription { + + /** Transcription text */ + text?: (string|null); + + /** Transcription finished */ + finished?: (boolean|null); + } + + /** Represents a Transcription. */ + class Transcription implements ITranscription { + + /** + * Constructs a new Transcription. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.ITranscription); + + /** Transcription text. */ + public text: string; + + /** Transcription finished. */ + public finished: boolean; + + /** + * Creates a new Transcription instance using the specified properties. + * @param [properties] Properties to set + * @returns Transcription instance + */ + public static create(properties?: google.cloud.aiplatform.v1.ITranscription): google.cloud.aiplatform.v1.Transcription; + + /** + * Encodes the specified Transcription message. Does not implicitly {@link google.cloud.aiplatform.v1.Transcription.verify|verify} messages. + * @param message Transcription message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.ITranscription, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Transcription message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Transcription.verify|verify} messages. + * @param message Transcription message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.ITranscription, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Transcription message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Transcription + * @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.Transcription; + + /** + * Decodes a Transcription message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Transcription + * @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.Transcription; + + /** + * Verifies a Transcription 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 Transcription message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Transcription + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.Transcription; + + /** + * Creates a plain object from a Transcription message. Also converts values to other types if specified. + * @param message Transcription + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.Transcription, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Transcription to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Transcription + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Represents a SessionService */ + class SessionService extends $protobuf.rpc.Service { + + /** + * Constructs a new SessionService service. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + */ + constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean); + + /** + * Creates new SessionService service using the specified rpc implementation. + * @param rpcImpl RPC implementation + * @param [requestDelimited=false] Whether requests are length-delimited + * @param [responseDelimited=false] Whether responses are length-delimited + * @returns RPC service. Useful where requests and/or responses are streamed. + */ + public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): SessionService; + + /** + * Calls CreateSession. + * @param request CreateSessionRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Operation + */ + public createSession(request: google.cloud.aiplatform.v1.ICreateSessionRequest, callback: google.cloud.aiplatform.v1.SessionService.CreateSessionCallback): void; + + /** + * Calls CreateSession. + * @param request CreateSessionRequest message or plain object + * @returns Promise + */ + public createSession(request: google.cloud.aiplatform.v1.ICreateSessionRequest): Promise; + + /** + * Calls GetSession. + * @param request GetSessionRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Session + */ + public getSession(request: google.cloud.aiplatform.v1.IGetSessionRequest, callback: google.cloud.aiplatform.v1.SessionService.GetSessionCallback): void; + + /** + * Calls GetSession. + * @param request GetSessionRequest message or plain object + * @returns Promise + */ + public getSession(request: google.cloud.aiplatform.v1.IGetSessionRequest): Promise; + + /** + * Calls ListSessions. + * @param request ListSessionsRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ListSessionsResponse + */ + public listSessions(request: google.cloud.aiplatform.v1.IListSessionsRequest, callback: google.cloud.aiplatform.v1.SessionService.ListSessionsCallback): void; + + /** + * Calls ListSessions. + * @param request ListSessionsRequest message or plain object + * @returns Promise + */ + public listSessions(request: google.cloud.aiplatform.v1.IListSessionsRequest): Promise; + + /** + * Calls UpdateSession. + * @param request UpdateSessionRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Session + */ + public updateSession(request: google.cloud.aiplatform.v1.IUpdateSessionRequest, callback: google.cloud.aiplatform.v1.SessionService.UpdateSessionCallback): void; + + /** + * Calls UpdateSession. + * @param request UpdateSessionRequest message or plain object + * @returns Promise + */ + public updateSession(request: google.cloud.aiplatform.v1.IUpdateSessionRequest): Promise; + + /** + * Calls DeleteSession. + * @param request DeleteSessionRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Operation + */ + public deleteSession(request: google.cloud.aiplatform.v1.IDeleteSessionRequest, callback: google.cloud.aiplatform.v1.SessionService.DeleteSessionCallback): void; + + /** + * Calls DeleteSession. + * @param request DeleteSessionRequest message or plain object + * @returns Promise + */ + public deleteSession(request: google.cloud.aiplatform.v1.IDeleteSessionRequest): Promise; + + /** + * Calls ListEvents. + * @param request ListEventsRequest message or plain object + * @param callback Node-style callback called with the error, if any, and ListEventsResponse + */ + public listEvents(request: google.cloud.aiplatform.v1.IListEventsRequest, callback: google.cloud.aiplatform.v1.SessionService.ListEventsCallback): void; + + /** + * Calls ListEvents. + * @param request ListEventsRequest message or plain object + * @returns Promise + */ + public listEvents(request: google.cloud.aiplatform.v1.IListEventsRequest): Promise; + + /** + * Calls AppendEvent. + * @param request AppendEventRequest message or plain object + * @param callback Node-style callback called with the error, if any, and AppendEventResponse + */ + public appendEvent(request: google.cloud.aiplatform.v1.IAppendEventRequest, callback: google.cloud.aiplatform.v1.SessionService.AppendEventCallback): void; + + /** + * Calls AppendEvent. + * @param request AppendEventRequest message or plain object + * @returns Promise + */ + public appendEvent(request: google.cloud.aiplatform.v1.IAppendEventRequest): Promise; + } + + namespace SessionService { + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.SessionService|createSession}. + * @param error Error, if any + * @param [response] Operation + */ + type CreateSessionCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.SessionService|getSession}. + * @param error Error, if any + * @param [response] Session + */ + type GetSessionCallback = (error: (Error|null), response?: google.cloud.aiplatform.v1.Session) => void; + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.SessionService|listSessions}. + * @param error Error, if any + * @param [response] ListSessionsResponse + */ + type ListSessionsCallback = (error: (Error|null), response?: google.cloud.aiplatform.v1.ListSessionsResponse) => void; + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.SessionService|updateSession}. + * @param error Error, if any + * @param [response] Session + */ + type UpdateSessionCallback = (error: (Error|null), response?: google.cloud.aiplatform.v1.Session) => void; + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.SessionService|deleteSession}. + * @param error Error, if any + * @param [response] Operation + */ + type DeleteSessionCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.SessionService|listEvents}. + * @param error Error, if any + * @param [response] ListEventsResponse + */ + type ListEventsCallback = (error: (Error|null), response?: google.cloud.aiplatform.v1.ListEventsResponse) => void; + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.SessionService|appendEvent}. + * @param error Error, if any + * @param [response] AppendEventResponse + */ + type AppendEventCallback = (error: (Error|null), response?: google.cloud.aiplatform.v1.AppendEventResponse) => void; + } + + /** Properties of a CreateSessionRequest. */ + interface ICreateSessionRequest { + + /** CreateSessionRequest parent */ + parent?: (string|null); + + /** CreateSessionRequest session */ + session?: (google.cloud.aiplatform.v1.ISession|null); + } + + /** Represents a CreateSessionRequest. */ + class CreateSessionRequest implements ICreateSessionRequest { + + /** + * Constructs a new CreateSessionRequest. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.ICreateSessionRequest); + + /** CreateSessionRequest parent. */ + public parent: string; + + /** CreateSessionRequest session. */ + public session?: (google.cloud.aiplatform.v1.ISession|null); + + /** + * Creates a new CreateSessionRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateSessionRequest instance + */ + public static create(properties?: google.cloud.aiplatform.v1.ICreateSessionRequest): google.cloud.aiplatform.v1.CreateSessionRequest; + + /** + * Encodes the specified CreateSessionRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.CreateSessionRequest.verify|verify} messages. + * @param message CreateSessionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.ICreateSessionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CreateSessionRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.CreateSessionRequest.verify|verify} messages. + * @param message CreateSessionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.ICreateSessionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateSessionRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateSessionRequest + * @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.CreateSessionRequest; + + /** + * Decodes a CreateSessionRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CreateSessionRequest + * @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.CreateSessionRequest; + + /** + * Verifies a CreateSessionRequest 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 CreateSessionRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CreateSessionRequest + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.CreateSessionRequest; + + /** + * Creates a plain object from a CreateSessionRequest message. Also converts values to other types if specified. + * @param message CreateSessionRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.CreateSessionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CreateSessionRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateSessionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a CreateSessionOperationMetadata. */ + interface ICreateSessionOperationMetadata { + + /** CreateSessionOperationMetadata genericMetadata */ + genericMetadata?: (google.cloud.aiplatform.v1.IGenericOperationMetadata|null); + } + + /** Represents a CreateSessionOperationMetadata. */ + class CreateSessionOperationMetadata implements ICreateSessionOperationMetadata { + + /** + * Constructs a new CreateSessionOperationMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.ICreateSessionOperationMetadata); + + /** CreateSessionOperationMetadata genericMetadata. */ + public genericMetadata?: (google.cloud.aiplatform.v1.IGenericOperationMetadata|null); + + /** + * Creates a new CreateSessionOperationMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns CreateSessionOperationMetadata instance + */ + public static create(properties?: google.cloud.aiplatform.v1.ICreateSessionOperationMetadata): google.cloud.aiplatform.v1.CreateSessionOperationMetadata; + + /** + * Encodes the specified CreateSessionOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.CreateSessionOperationMetadata.verify|verify} messages. + * @param message CreateSessionOperationMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.ICreateSessionOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified CreateSessionOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.CreateSessionOperationMetadata.verify|verify} messages. + * @param message CreateSessionOperationMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.ICreateSessionOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a CreateSessionOperationMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns CreateSessionOperationMetadata + * @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.CreateSessionOperationMetadata; + + /** + * Decodes a CreateSessionOperationMetadata message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns CreateSessionOperationMetadata + * @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.CreateSessionOperationMetadata; + + /** + * Verifies a CreateSessionOperationMetadata 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 CreateSessionOperationMetadata message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns CreateSessionOperationMetadata + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.CreateSessionOperationMetadata; + + /** + * Creates a plain object from a CreateSessionOperationMetadata message. Also converts values to other types if specified. + * @param message CreateSessionOperationMetadata + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.CreateSessionOperationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this CreateSessionOperationMetadata to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for CreateSessionOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a GetSessionRequest. */ + interface IGetSessionRequest { + + /** GetSessionRequest name */ + name?: (string|null); + } + + /** Represents a GetSessionRequest. */ + class GetSessionRequest implements IGetSessionRequest { + + /** + * Constructs a new GetSessionRequest. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IGetSessionRequest); + + /** GetSessionRequest name. */ + public name: string; + + /** + * Creates a new GetSessionRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns GetSessionRequest instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IGetSessionRequest): google.cloud.aiplatform.v1.GetSessionRequest; + + /** + * Encodes the specified GetSessionRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.GetSessionRequest.verify|verify} messages. + * @param message GetSessionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IGetSessionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified GetSessionRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.GetSessionRequest.verify|verify} messages. + * @param message GetSessionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IGetSessionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a GetSessionRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns GetSessionRequest + * @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.GetSessionRequest; + + /** + * Decodes a GetSessionRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns GetSessionRequest + * @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.GetSessionRequest; + + /** + * Verifies a GetSessionRequest 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 GetSessionRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns GetSessionRequest + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.GetSessionRequest; + + /** + * Creates a plain object from a GetSessionRequest message. Also converts values to other types if specified. + * @param message GetSessionRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.GetSessionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this GetSessionRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for GetSessionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ListSessionsRequest. */ + interface IListSessionsRequest { + + /** ListSessionsRequest parent */ + parent?: (string|null); + + /** ListSessionsRequest pageSize */ + pageSize?: (number|null); + + /** ListSessionsRequest pageToken */ + pageToken?: (string|null); + + /** ListSessionsRequest filter */ + filter?: (string|null); + + /** ListSessionsRequest orderBy */ + orderBy?: (string|null); + } + + /** Represents a ListSessionsRequest. */ + class ListSessionsRequest implements IListSessionsRequest { + + /** + * Constructs a new ListSessionsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IListSessionsRequest); + + /** ListSessionsRequest parent. */ + public parent: string; + + /** ListSessionsRequest pageSize. */ + public pageSize: number; + + /** ListSessionsRequest pageToken. */ + public pageToken: string; + + /** ListSessionsRequest filter. */ + public filter: string; + + /** ListSessionsRequest orderBy. */ + public orderBy: string; + + /** + * Creates a new ListSessionsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ListSessionsRequest instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IListSessionsRequest): google.cloud.aiplatform.v1.ListSessionsRequest; + + /** + * Encodes the specified ListSessionsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.ListSessionsRequest.verify|verify} messages. + * @param message ListSessionsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IListSessionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ListSessionsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ListSessionsRequest.verify|verify} messages. + * @param message ListSessionsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IListSessionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ListSessionsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ListSessionsRequest + * @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.ListSessionsRequest; + + /** + * Decodes a ListSessionsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ListSessionsRequest + * @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.ListSessionsRequest; + + /** + * Verifies a ListSessionsRequest 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 ListSessionsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ListSessionsRequest + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.ListSessionsRequest; + + /** + * Creates a plain object from a ListSessionsRequest message. Also converts values to other types if specified. + * @param message ListSessionsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.ListSessionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ListSessionsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListSessionsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ListSessionsResponse. */ + interface IListSessionsResponse { + + /** ListSessionsResponse sessions */ + sessions?: (google.cloud.aiplatform.v1.ISession[]|null); + + /** ListSessionsResponse nextPageToken */ + nextPageToken?: (string|null); + } + + /** Represents a ListSessionsResponse. */ + class ListSessionsResponse implements IListSessionsResponse { + + /** + * Constructs a new ListSessionsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IListSessionsResponse); + + /** ListSessionsResponse sessions. */ + public sessions: google.cloud.aiplatform.v1.ISession[]; + + /** ListSessionsResponse nextPageToken. */ + public nextPageToken: string; + + /** + * Creates a new ListSessionsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ListSessionsResponse instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IListSessionsResponse): google.cloud.aiplatform.v1.ListSessionsResponse; + + /** + * Encodes the specified ListSessionsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.ListSessionsResponse.verify|verify} messages. + * @param message ListSessionsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IListSessionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ListSessionsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ListSessionsResponse.verify|verify} messages. + * @param message ListSessionsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IListSessionsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ListSessionsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ListSessionsResponse + * @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.ListSessionsResponse; + + /** + * Decodes a ListSessionsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ListSessionsResponse + * @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.ListSessionsResponse; + + /** + * Verifies a ListSessionsResponse 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 ListSessionsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ListSessionsResponse + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.ListSessionsResponse; + + /** + * Creates a plain object from a ListSessionsResponse message. Also converts values to other types if specified. + * @param message ListSessionsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.ListSessionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ListSessionsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListSessionsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an UpdateSessionRequest. */ + interface IUpdateSessionRequest { + + /** UpdateSessionRequest session */ + session?: (google.cloud.aiplatform.v1.ISession|null); + + /** UpdateSessionRequest updateMask */ + updateMask?: (google.protobuf.IFieldMask|null); + } + + /** Represents an UpdateSessionRequest. */ + class UpdateSessionRequest implements IUpdateSessionRequest { + + /** + * Constructs a new UpdateSessionRequest. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IUpdateSessionRequest); + + /** UpdateSessionRequest session. */ + public session?: (google.cloud.aiplatform.v1.ISession|null); + + /** UpdateSessionRequest updateMask. */ + public updateMask?: (google.protobuf.IFieldMask|null); + + /** + * Creates a new UpdateSessionRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns UpdateSessionRequest instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IUpdateSessionRequest): google.cloud.aiplatform.v1.UpdateSessionRequest; + + /** + * Encodes the specified UpdateSessionRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateSessionRequest.verify|verify} messages. + * @param message UpdateSessionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IUpdateSessionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified UpdateSessionRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateSessionRequest.verify|verify} messages. + * @param message UpdateSessionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IUpdateSessionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an UpdateSessionRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns UpdateSessionRequest + * @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.UpdateSessionRequest; + + /** + * Decodes an UpdateSessionRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns UpdateSessionRequest + * @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.UpdateSessionRequest; + + /** + * Verifies an UpdateSessionRequest 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 an UpdateSessionRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns UpdateSessionRequest + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.UpdateSessionRequest; + + /** + * Creates a plain object from an UpdateSessionRequest message. Also converts values to other types if specified. + * @param message UpdateSessionRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.UpdateSessionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this UpdateSessionRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for UpdateSessionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a DeleteSessionRequest. */ + interface IDeleteSessionRequest { + + /** DeleteSessionRequest name */ + name?: (string|null); + } + + /** Represents a DeleteSessionRequest. */ + class DeleteSessionRequest implements IDeleteSessionRequest { + + /** + * Constructs a new DeleteSessionRequest. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IDeleteSessionRequest); + + /** DeleteSessionRequest name. */ + public name: string; + + /** + * Creates a new DeleteSessionRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns DeleteSessionRequest instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IDeleteSessionRequest): google.cloud.aiplatform.v1.DeleteSessionRequest; + + /** + * Encodes the specified DeleteSessionRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.DeleteSessionRequest.verify|verify} messages. + * @param message DeleteSessionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IDeleteSessionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified DeleteSessionRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.DeleteSessionRequest.verify|verify} messages. + * @param message DeleteSessionRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IDeleteSessionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a DeleteSessionRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns DeleteSessionRequest + * @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.DeleteSessionRequest; + + /** + * Decodes a DeleteSessionRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns DeleteSessionRequest + * @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.DeleteSessionRequest; + + /** + * Verifies a DeleteSessionRequest 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 DeleteSessionRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns DeleteSessionRequest + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.DeleteSessionRequest; + + /** + * Creates a plain object from a DeleteSessionRequest message. Also converts values to other types if specified. + * @param message DeleteSessionRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.DeleteSessionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this DeleteSessionRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for DeleteSessionRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ListEventsRequest. */ + interface IListEventsRequest { + + /** ListEventsRequest parent */ + parent?: (string|null); + + /** ListEventsRequest pageSize */ + pageSize?: (number|null); + + /** ListEventsRequest pageToken */ + pageToken?: (string|null); + + /** ListEventsRequest filter */ + filter?: (string|null); + + /** ListEventsRequest orderBy */ + orderBy?: (string|null); + } + + /** Represents a ListEventsRequest. */ + class ListEventsRequest implements IListEventsRequest { + + /** + * Constructs a new ListEventsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IListEventsRequest); + + /** ListEventsRequest parent. */ + public parent: string; + + /** ListEventsRequest pageSize. */ + public pageSize: number; + + /** ListEventsRequest pageToken. */ + public pageToken: string; + + /** ListEventsRequest filter. */ + public filter: string; + + /** ListEventsRequest orderBy. */ + public orderBy: string; + + /** + * Creates a new ListEventsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns ListEventsRequest instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IListEventsRequest): google.cloud.aiplatform.v1.ListEventsRequest; + + /** + * Encodes the specified ListEventsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.ListEventsRequest.verify|verify} messages. + * @param message ListEventsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IListEventsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ListEventsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ListEventsRequest.verify|verify} messages. + * @param message ListEventsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IListEventsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ListEventsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ListEventsRequest + * @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.ListEventsRequest; + + /** + * Decodes a ListEventsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ListEventsRequest + * @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.ListEventsRequest; + + /** + * Verifies a ListEventsRequest 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 ListEventsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ListEventsRequest + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.ListEventsRequest; + + /** + * Creates a plain object from a ListEventsRequest message. Also converts values to other types if specified. + * @param message ListEventsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.ListEventsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ListEventsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListEventsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of a ListEventsResponse. */ + interface IListEventsResponse { + + /** ListEventsResponse sessionEvents */ + sessionEvents?: (google.cloud.aiplatform.v1.ISessionEvent[]|null); + + /** ListEventsResponse nextPageToken */ + nextPageToken?: (string|null); + } + + /** Represents a ListEventsResponse. */ + class ListEventsResponse implements IListEventsResponse { + + /** + * Constructs a new ListEventsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IListEventsResponse); + + /** ListEventsResponse sessionEvents. */ + public sessionEvents: google.cloud.aiplatform.v1.ISessionEvent[]; + + /** ListEventsResponse nextPageToken. */ + public nextPageToken: string; + + /** + * Creates a new ListEventsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns ListEventsResponse instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IListEventsResponse): google.cloud.aiplatform.v1.ListEventsResponse; + + /** + * Encodes the specified ListEventsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.ListEventsResponse.verify|verify} messages. + * @param message ListEventsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IListEventsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ListEventsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ListEventsResponse.verify|verify} messages. + * @param message ListEventsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IListEventsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ListEventsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ListEventsResponse + * @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.ListEventsResponse; + + /** + * Decodes a ListEventsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ListEventsResponse + * @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.ListEventsResponse; + + /** + * Verifies a ListEventsResponse 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 ListEventsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ListEventsResponse + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.ListEventsResponse; + + /** + * Creates a plain object from a ListEventsResponse message. Also converts values to other types if specified. + * @param message ListEventsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.ListEventsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ListEventsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ListEventsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an AppendEventRequest. */ + interface IAppendEventRequest { + + /** AppendEventRequest name */ + name?: (string|null); + + /** AppendEventRequest event */ + event?: (google.cloud.aiplatform.v1.ISessionEvent|null); + } + + /** Represents an AppendEventRequest. */ + class AppendEventRequest implements IAppendEventRequest { + + /** + * Constructs a new AppendEventRequest. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IAppendEventRequest); + + /** AppendEventRequest name. */ + public name: string; + + /** AppendEventRequest event. */ + public event?: (google.cloud.aiplatform.v1.ISessionEvent|null); + + /** + * Creates a new AppendEventRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns AppendEventRequest instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IAppendEventRequest): google.cloud.aiplatform.v1.AppendEventRequest; + + /** + * Encodes the specified AppendEventRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.AppendEventRequest.verify|verify} messages. + * @param message AppendEventRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IAppendEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AppendEventRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AppendEventRequest.verify|verify} messages. + * @param message AppendEventRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IAppendEventRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AppendEventRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AppendEventRequest + * @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.AppendEventRequest; + + /** + * Decodes an AppendEventRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AppendEventRequest + * @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.AppendEventRequest; + + /** + * Verifies an AppendEventRequest 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 an AppendEventRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AppendEventRequest + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.AppendEventRequest; + + /** + * Creates a plain object from an AppendEventRequest message. Also converts values to other types if specified. + * @param message AppendEventRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.AppendEventRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AppendEventRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AppendEventRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an AppendEventResponse. */ + interface IAppendEventResponse { + } + + /** Represents an AppendEventResponse. */ + class AppendEventResponse implements IAppendEventResponse { + + /** + * Constructs a new AppendEventResponse. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IAppendEventResponse); + + /** + * Creates a new AppendEventResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns AppendEventResponse instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IAppendEventResponse): google.cloud.aiplatform.v1.AppendEventResponse; + + /** + * Encodes the specified AppendEventResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.AppendEventResponse.verify|verify} messages. + * @param message AppendEventResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IAppendEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AppendEventResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AppendEventResponse.verify|verify} messages. + * @param message AppendEventResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IAppendEventResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AppendEventResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AppendEventResponse + * @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.AppendEventResponse; + + /** + * Decodes an AppendEventResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AppendEventResponse + * @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.AppendEventResponse; + + /** + * Verifies an AppendEventResponse 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 an AppendEventResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AppendEventResponse + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.AppendEventResponse; + + /** + * Creates a plain object from an AppendEventResponse message. Also converts values to other types if specified. + * @param message AppendEventResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.AppendEventResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AppendEventResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AppendEventResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + /** Properties of a SpecialistPool. */ interface ISpecialistPool { @@ -140516,6 +142597,34 @@ export namespace google { * @returns Promise */ public corroborateContent(request: google.cloud.aiplatform.v1.ICorroborateContentRequest): Promise; + + /** + * Calls AskContexts. + * @param request AskContextsRequest message or plain object + * @param callback Node-style callback called with the error, if any, and AskContextsResponse + */ + public askContexts(request: google.cloud.aiplatform.v1.IAskContextsRequest, callback: google.cloud.aiplatform.v1.VertexRagService.AskContextsCallback): void; + + /** + * Calls AskContexts. + * @param request AskContextsRequest message or plain object + * @returns Promise + */ + public askContexts(request: google.cloud.aiplatform.v1.IAskContextsRequest): Promise; + + /** + * Calls AsyncRetrieveContexts. + * @param request AsyncRetrieveContextsRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Operation + */ + public asyncRetrieveContexts(request: google.cloud.aiplatform.v1.IAsyncRetrieveContextsRequest, callback: google.cloud.aiplatform.v1.VertexRagService.AsyncRetrieveContextsCallback): void; + + /** + * Calls AsyncRetrieveContexts. + * @param request AsyncRetrieveContextsRequest message or plain object + * @returns Promise + */ + public asyncRetrieveContexts(request: google.cloud.aiplatform.v1.IAsyncRetrieveContextsRequest): Promise; } namespace VertexRagService { @@ -140540,6 +142649,20 @@ export namespace google { * @param [response] CorroborateContentResponse */ type CorroborateContentCallback = (error: (Error|null), response?: google.cloud.aiplatform.v1.CorroborateContentResponse) => void; + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.VertexRagService|askContexts}. + * @param error Error, if any + * @param [response] AskContextsResponse + */ + type AskContextsCallback = (error: (Error|null), response?: google.cloud.aiplatform.v1.AskContextsResponse) => void; + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.VertexRagService|asyncRetrieveContexts}. + * @param error Error, if any + * @param [response] Operation + */ + type AsyncRetrieveContextsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; } /** Properties of a RagQuery. */ @@ -142183,6 +144306,521 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } + /** Properties of an AskContextsRequest. */ + interface IAskContextsRequest { + + /** AskContextsRequest parent */ + parent?: (string|null); + + /** AskContextsRequest query */ + query?: (google.cloud.aiplatform.v1.IRagQuery|null); + + /** AskContextsRequest tools */ + tools?: (google.cloud.aiplatform.v1.ITool[]|null); + } + + /** Represents an AskContextsRequest. */ + class AskContextsRequest implements IAskContextsRequest { + + /** + * Constructs a new AskContextsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IAskContextsRequest); + + /** AskContextsRequest parent. */ + public parent: string; + + /** AskContextsRequest query. */ + public query?: (google.cloud.aiplatform.v1.IRagQuery|null); + + /** AskContextsRequest tools. */ + public tools: google.cloud.aiplatform.v1.ITool[]; + + /** + * Creates a new AskContextsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns AskContextsRequest instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IAskContextsRequest): google.cloud.aiplatform.v1.AskContextsRequest; + + /** + * Encodes the specified AskContextsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.AskContextsRequest.verify|verify} messages. + * @param message AskContextsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IAskContextsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AskContextsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AskContextsRequest.verify|verify} messages. + * @param message AskContextsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IAskContextsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AskContextsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AskContextsRequest + * @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.AskContextsRequest; + + /** + * Decodes an AskContextsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AskContextsRequest + * @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.AskContextsRequest; + + /** + * Verifies an AskContextsRequest 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 an AskContextsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AskContextsRequest + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.AskContextsRequest; + + /** + * Creates a plain object from an AskContextsRequest message. Also converts values to other types if specified. + * @param message AskContextsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.AskContextsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AskContextsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AskContextsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an AskContextsResponse. */ + interface IAskContextsResponse { + + /** AskContextsResponse response */ + response?: (string|null); + + /** AskContextsResponse contexts */ + contexts?: (google.cloud.aiplatform.v1.IRagContexts|null); + } + + /** Represents an AskContextsResponse. */ + class AskContextsResponse implements IAskContextsResponse { + + /** + * Constructs a new AskContextsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IAskContextsResponse); + + /** AskContextsResponse response. */ + public response: string; + + /** AskContextsResponse contexts. */ + public contexts?: (google.cloud.aiplatform.v1.IRagContexts|null); + + /** + * Creates a new AskContextsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns AskContextsResponse instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IAskContextsResponse): google.cloud.aiplatform.v1.AskContextsResponse; + + /** + * Encodes the specified AskContextsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.AskContextsResponse.verify|verify} messages. + * @param message AskContextsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IAskContextsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AskContextsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AskContextsResponse.verify|verify} messages. + * @param message AskContextsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IAskContextsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AskContextsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AskContextsResponse + * @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.AskContextsResponse; + + /** + * Decodes an AskContextsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AskContextsResponse + * @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.AskContextsResponse; + + /** + * Verifies an AskContextsResponse 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 an AskContextsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AskContextsResponse + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.AskContextsResponse; + + /** + * Creates a plain object from an AskContextsResponse message. Also converts values to other types if specified. + * @param message AskContextsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.AskContextsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AskContextsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AskContextsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an AsyncRetrieveContextsRequest. */ + interface IAsyncRetrieveContextsRequest { + + /** AsyncRetrieveContextsRequest parent */ + parent?: (string|null); + + /** AsyncRetrieveContextsRequest query */ + query?: (google.cloud.aiplatform.v1.IRagQuery|null); + + /** AsyncRetrieveContextsRequest tools */ + tools?: (google.cloud.aiplatform.v1.ITool[]|null); + } + + /** Represents an AsyncRetrieveContextsRequest. */ + class AsyncRetrieveContextsRequest implements IAsyncRetrieveContextsRequest { + + /** + * Constructs a new AsyncRetrieveContextsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IAsyncRetrieveContextsRequest); + + /** AsyncRetrieveContextsRequest parent. */ + public parent: string; + + /** AsyncRetrieveContextsRequest query. */ + public query?: (google.cloud.aiplatform.v1.IRagQuery|null); + + /** AsyncRetrieveContextsRequest tools. */ + public tools: google.cloud.aiplatform.v1.ITool[]; + + /** + * Creates a new AsyncRetrieveContextsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns AsyncRetrieveContextsRequest instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IAsyncRetrieveContextsRequest): google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest; + + /** + * Encodes the specified AsyncRetrieveContextsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest.verify|verify} messages. + * @param message AsyncRetrieveContextsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IAsyncRetrieveContextsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AsyncRetrieveContextsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest.verify|verify} messages. + * @param message AsyncRetrieveContextsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IAsyncRetrieveContextsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AsyncRetrieveContextsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AsyncRetrieveContextsRequest + * @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.AsyncRetrieveContextsRequest; + + /** + * Decodes an AsyncRetrieveContextsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AsyncRetrieveContextsRequest + * @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.AsyncRetrieveContextsRequest; + + /** + * Verifies an AsyncRetrieveContextsRequest 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 an AsyncRetrieveContextsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AsyncRetrieveContextsRequest + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest; + + /** + * Creates a plain object from an AsyncRetrieveContextsRequest message. Also converts values to other types if specified. + * @param message AsyncRetrieveContextsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AsyncRetrieveContextsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AsyncRetrieveContextsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an AsyncRetrieveContextsResponse. */ + interface IAsyncRetrieveContextsResponse { + + /** AsyncRetrieveContextsResponse contexts */ + contexts?: (google.cloud.aiplatform.v1.IRagContexts|null); + } + + /** Represents an AsyncRetrieveContextsResponse. */ + class AsyncRetrieveContextsResponse implements IAsyncRetrieveContextsResponse { + + /** + * Constructs a new AsyncRetrieveContextsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IAsyncRetrieveContextsResponse); + + /** AsyncRetrieveContextsResponse contexts. */ + public contexts?: (google.cloud.aiplatform.v1.IRagContexts|null); + + /** + * Creates a new AsyncRetrieveContextsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns AsyncRetrieveContextsResponse instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IAsyncRetrieveContextsResponse): google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse; + + /** + * Encodes the specified AsyncRetrieveContextsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse.verify|verify} messages. + * @param message AsyncRetrieveContextsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IAsyncRetrieveContextsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AsyncRetrieveContextsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse.verify|verify} messages. + * @param message AsyncRetrieveContextsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IAsyncRetrieveContextsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AsyncRetrieveContextsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AsyncRetrieveContextsResponse + * @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.AsyncRetrieveContextsResponse; + + /** + * Decodes an AsyncRetrieveContextsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AsyncRetrieveContextsResponse + * @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.AsyncRetrieveContextsResponse; + + /** + * Verifies an AsyncRetrieveContextsResponse 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 an AsyncRetrieveContextsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AsyncRetrieveContextsResponse + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse; + + /** + * Creates a plain object from an AsyncRetrieveContextsResponse message. Also converts values to other types if specified. + * @param message AsyncRetrieveContextsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AsyncRetrieveContextsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AsyncRetrieveContextsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an AsyncRetrieveContextsOperationMetadata. */ + interface IAsyncRetrieveContextsOperationMetadata { + + /** AsyncRetrieveContextsOperationMetadata genericMetadata */ + genericMetadata?: (google.cloud.aiplatform.v1.IGenericOperationMetadata|null); + } + + /** Represents an AsyncRetrieveContextsOperationMetadata. */ + class AsyncRetrieveContextsOperationMetadata implements IAsyncRetrieveContextsOperationMetadata { + + /** + * Constructs a new AsyncRetrieveContextsOperationMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IAsyncRetrieveContextsOperationMetadata); + + /** AsyncRetrieveContextsOperationMetadata genericMetadata. */ + public genericMetadata?: (google.cloud.aiplatform.v1.IGenericOperationMetadata|null); + + /** + * Creates a new AsyncRetrieveContextsOperationMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns AsyncRetrieveContextsOperationMetadata instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IAsyncRetrieveContextsOperationMetadata): google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata; + + /** + * Encodes the specified AsyncRetrieveContextsOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata.verify|verify} messages. + * @param message AsyncRetrieveContextsOperationMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IAsyncRetrieveContextsOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AsyncRetrieveContextsOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata.verify|verify} messages. + * @param message AsyncRetrieveContextsOperationMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IAsyncRetrieveContextsOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AsyncRetrieveContextsOperationMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AsyncRetrieveContextsOperationMetadata + * @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.AsyncRetrieveContextsOperationMetadata; + + /** + * Decodes an AsyncRetrieveContextsOperationMetadata message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AsyncRetrieveContextsOperationMetadata + * @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.AsyncRetrieveContextsOperationMetadata; + + /** + * Verifies an AsyncRetrieveContextsOperationMetadata 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 an AsyncRetrieveContextsOperationMetadata message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AsyncRetrieveContextsOperationMetadata + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata; + + /** + * Creates a plain object from an AsyncRetrieveContextsOperationMetadata message. Also converts values to other types if specified. + * @param message AsyncRetrieveContextsOperationMetadata + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AsyncRetrieveContextsOperationMetadata to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AsyncRetrieveContextsOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + /** Represents a VizierService */ class VizierService extends $protobuf.rpc.Service { @@ -237494,6 +240132,9 @@ export namespace google { /** EvaluationConfig autoraterConfig */ autoraterConfig?: (google.cloud.aiplatform.v1beta1.IAutoraterConfig|null); + + /** EvaluationConfig inferenceGenerationConfig */ + inferenceGenerationConfig?: (google.cloud.aiplatform.v1beta1.IGenerationConfig|null); } /** Represents an EvaluationConfig. */ @@ -237514,6 +240155,9 @@ export namespace google { /** EvaluationConfig autoraterConfig. */ public autoraterConfig?: (google.cloud.aiplatform.v1beta1.IAutoraterConfig|null); + /** EvaluationConfig inferenceGenerationConfig. */ + public inferenceGenerationConfig?: (google.cloud.aiplatform.v1beta1.IGenerationConfig|null); + /** * Creates a new EvaluationConfig instance using the specified properties. * @param [properties] Properties to set @@ -237598,6 +240242,9 @@ export namespace google { /** EvaluateDatasetRun operationName */ operationName?: (string|null); + /** EvaluateDatasetRun evaluationRun */ + evaluationRun?: (string|null); + /** EvaluateDatasetRun checkpointId */ checkpointId?: (string|null); @@ -237620,6 +240267,9 @@ export namespace google { /** EvaluateDatasetRun operationName. */ public operationName: string; + /** EvaluateDatasetRun evaluationRun. */ + public evaluationRun: string; + /** EvaluateDatasetRun checkpointId. */ public checkpointId: string; @@ -299053,6 +301703,9 @@ export namespace google { /** SourceCodeSpec pythonSpec */ pythonSpec?: (google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IPythonSpec|null); + + /** SourceCodeSpec imageSpec */ + imageSpec?: (google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec|null); } /** Represents a SourceCodeSpec. */ @@ -299073,11 +301726,14 @@ export namespace google { /** SourceCodeSpec pythonSpec. */ public pythonSpec?: (google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IPythonSpec|null); + /** SourceCodeSpec imageSpec. */ + public imageSpec?: (google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec|null); + /** SourceCodeSpec source. */ public source?: ("inlineSource"|"developerConnectSource"); /** SourceCodeSpec languageSpec. */ - public languageSpec?: "pythonSpec"; + public languageSpec?: ("pythonSpec"|"imageSpec"); /** * Creates a new SourceCodeSpec instance using the specified properties. @@ -299256,6 +301912,103 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } + /** Properties of an ImageSpec. */ + interface IImageSpec { + + /** ImageSpec buildArgs */ + buildArgs?: ({ [k: string]: string }|null); + } + + /** Represents an ImageSpec. */ + class ImageSpec implements IImageSpec { + + /** + * Constructs a new ImageSpec. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec); + + /** ImageSpec buildArgs. */ + public buildArgs: { [k: string]: string }; + + /** + * Creates a new ImageSpec instance using the specified properties. + * @param [properties] Properties to set + * @returns ImageSpec instance + */ + public static create(properties?: google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec): google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec; + + /** + * Encodes the specified ImageSpec message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.verify|verify} messages. + * @param message ImageSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ImageSpec message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.verify|verify} messages. + * @param message ImageSpec message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ImageSpec message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ImageSpec + * @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.ReasoningEngineSpec.SourceCodeSpec.ImageSpec; + + /** + * Decodes an ImageSpec message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ImageSpec + * @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.ReasoningEngineSpec.SourceCodeSpec.ImageSpec; + + /** + * Verifies an ImageSpec 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 an ImageSpec message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ImageSpec + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec; + + /** + * Creates a plain object from an ImageSpec message. Also converts values to other types if specified. + * @param message ImageSpec + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ImageSpec to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for ImageSpec + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + /** Properties of a DeveloperConnectConfig. */ interface IDeveloperConnectConfig { @@ -313965,6 +316718,9 @@ export namespace google { /** Session displayName */ displayName?: (string|null); + /** Session labels */ + labels?: ({ [k: string]: string }|null); + /** Session sessionState */ sessionState?: (google.protobuf.IStruct|null); @@ -313999,6 +316755,9 @@ export namespace google { /** Session displayName. */ public displayName: string; + /** Session labels. */ + public labels: { [k: string]: string }; + /** Session sessionState. */ public sessionState?: (google.protobuf.IStruct|null); @@ -314254,6 +317013,12 @@ export namespace google { /** EventMetadata customMetadata */ customMetadata?: (google.protobuf.IStruct|null); + + /** EventMetadata inputTranscription */ + inputTranscription?: (google.cloud.aiplatform.v1beta1.ITranscription|null); + + /** EventMetadata outputTranscription */ + outputTranscription?: (google.cloud.aiplatform.v1beta1.ITranscription|null); } /** Represents an EventMetadata. */ @@ -314286,6 +317051,12 @@ export namespace google { /** EventMetadata customMetadata. */ public customMetadata?: (google.protobuf.IStruct|null); + /** EventMetadata inputTranscription. */ + public inputTranscription?: (google.cloud.aiplatform.v1beta1.ITranscription|null); + + /** EventMetadata outputTranscription. */ + public outputTranscription?: (google.cloud.aiplatform.v1beta1.ITranscription|null); + /** * Creates a new EventMetadata instance using the specified properties. * @param [properties] Properties to set @@ -314491,6 +317262,109 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } + /** Properties of a Transcription. */ + interface ITranscription { + + /** Transcription text */ + text?: (string|null); + + /** Transcription finished */ + finished?: (boolean|null); + } + + /** Represents a Transcription. */ + class Transcription implements ITranscription { + + /** + * Constructs a new Transcription. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1beta1.ITranscription); + + /** Transcription text. */ + public text: string; + + /** Transcription finished. */ + public finished: boolean; + + /** + * Creates a new Transcription instance using the specified properties. + * @param [properties] Properties to set + * @returns Transcription instance + */ + public static create(properties?: google.cloud.aiplatform.v1beta1.ITranscription): google.cloud.aiplatform.v1beta1.Transcription; + + /** + * Encodes the specified Transcription message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.Transcription.verify|verify} messages. + * @param message Transcription message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1beta1.ITranscription, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Transcription message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.Transcription.verify|verify} messages. + * @param message Transcription message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1beta1.ITranscription, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Transcription message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Transcription + * @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.Transcription; + + /** + * Decodes a Transcription message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Transcription + * @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.Transcription; + + /** + * Verifies a Transcription 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 Transcription message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Transcription + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1beta1.Transcription; + + /** + * Creates a plain object from a Transcription message. Also converts values to other types if specified. + * @param message Transcription + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1beta1.Transcription, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Transcription to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for Transcription + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + /** Represents a SessionService */ class SessionService extends $protobuf.rpc.Service { @@ -326230,6 +329104,34 @@ export namespace google { * @returns Promise */ public corroborateContent(request: google.cloud.aiplatform.v1beta1.ICorroborateContentRequest): Promise; + + /** + * Calls AskContexts. + * @param request AskContextsRequest message or plain object + * @param callback Node-style callback called with the error, if any, and AskContextsResponse + */ + public askContexts(request: google.cloud.aiplatform.v1beta1.IAskContextsRequest, callback: google.cloud.aiplatform.v1beta1.VertexRagService.AskContextsCallback): void; + + /** + * Calls AskContexts. + * @param request AskContextsRequest message or plain object + * @returns Promise + */ + public askContexts(request: google.cloud.aiplatform.v1beta1.IAskContextsRequest): Promise; + + /** + * Calls AsyncRetrieveContexts. + * @param request AsyncRetrieveContextsRequest message or plain object + * @param callback Node-style callback called with the error, if any, and Operation + */ + public asyncRetrieveContexts(request: google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsRequest, callback: google.cloud.aiplatform.v1beta1.VertexRagService.AsyncRetrieveContextsCallback): void; + + /** + * Calls AsyncRetrieveContexts. + * @param request AsyncRetrieveContextsRequest message or plain object + * @returns Promise + */ + public asyncRetrieveContexts(request: google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsRequest): Promise; } namespace VertexRagService { @@ -326254,6 +329156,20 @@ export namespace google { * @param [response] CorroborateContentResponse */ type CorroborateContentCallback = (error: (Error|null), response?: google.cloud.aiplatform.v1beta1.CorroborateContentResponse) => void; + + /** + * Callback as used by {@link google.cloud.aiplatform.v1beta1.VertexRagService|askContexts}. + * @param error Error, if any + * @param [response] AskContextsResponse + */ + type AskContextsCallback = (error: (Error|null), response?: google.cloud.aiplatform.v1beta1.AskContextsResponse) => void; + + /** + * Callback as used by {@link google.cloud.aiplatform.v1beta1.VertexRagService|asyncRetrieveContexts}. + * @param error Error, if any + * @param [response] Operation + */ + type AsyncRetrieveContextsCallback = (error: (Error|null), response?: google.longrunning.Operation) => void; } /** Properties of a RagQuery. */ @@ -328027,6 +330943,521 @@ export namespace google { public static getTypeUrl(typeUrlPrefix?: string): string; } + /** Properties of an AskContextsRequest. */ + interface IAskContextsRequest { + + /** AskContextsRequest parent */ + parent?: (string|null); + + /** AskContextsRequest query */ + query?: (google.cloud.aiplatform.v1beta1.IRagQuery|null); + + /** AskContextsRequest tools */ + tools?: (google.cloud.aiplatform.v1beta1.ITool[]|null); + } + + /** Represents an AskContextsRequest. */ + class AskContextsRequest implements IAskContextsRequest { + + /** + * Constructs a new AskContextsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1beta1.IAskContextsRequest); + + /** AskContextsRequest parent. */ + public parent: string; + + /** AskContextsRequest query. */ + public query?: (google.cloud.aiplatform.v1beta1.IRagQuery|null); + + /** AskContextsRequest tools. */ + public tools: google.cloud.aiplatform.v1beta1.ITool[]; + + /** + * Creates a new AskContextsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns AskContextsRequest instance + */ + public static create(properties?: google.cloud.aiplatform.v1beta1.IAskContextsRequest): google.cloud.aiplatform.v1beta1.AskContextsRequest; + + /** + * Encodes the specified AskContextsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AskContextsRequest.verify|verify} messages. + * @param message AskContextsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1beta1.IAskContextsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AskContextsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AskContextsRequest.verify|verify} messages. + * @param message AskContextsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1beta1.IAskContextsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AskContextsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AskContextsRequest + * @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.AskContextsRequest; + + /** + * Decodes an AskContextsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AskContextsRequest + * @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.AskContextsRequest; + + /** + * Verifies an AskContextsRequest 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 an AskContextsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AskContextsRequest + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1beta1.AskContextsRequest; + + /** + * Creates a plain object from an AskContextsRequest message. Also converts values to other types if specified. + * @param message AskContextsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1beta1.AskContextsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AskContextsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AskContextsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an AskContextsResponse. */ + interface IAskContextsResponse { + + /** AskContextsResponse response */ + response?: (string|null); + + /** AskContextsResponse contexts */ + contexts?: (google.cloud.aiplatform.v1beta1.IRagContexts|null); + } + + /** Represents an AskContextsResponse. */ + class AskContextsResponse implements IAskContextsResponse { + + /** + * Constructs a new AskContextsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1beta1.IAskContextsResponse); + + /** AskContextsResponse response. */ + public response: string; + + /** AskContextsResponse contexts. */ + public contexts?: (google.cloud.aiplatform.v1beta1.IRagContexts|null); + + /** + * Creates a new AskContextsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns AskContextsResponse instance + */ + public static create(properties?: google.cloud.aiplatform.v1beta1.IAskContextsResponse): google.cloud.aiplatform.v1beta1.AskContextsResponse; + + /** + * Encodes the specified AskContextsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AskContextsResponse.verify|verify} messages. + * @param message AskContextsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1beta1.IAskContextsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AskContextsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AskContextsResponse.verify|verify} messages. + * @param message AskContextsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1beta1.IAskContextsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AskContextsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AskContextsResponse + * @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.AskContextsResponse; + + /** + * Decodes an AskContextsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AskContextsResponse + * @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.AskContextsResponse; + + /** + * Verifies an AskContextsResponse 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 an AskContextsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AskContextsResponse + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1beta1.AskContextsResponse; + + /** + * Creates a plain object from an AskContextsResponse message. Also converts values to other types if specified. + * @param message AskContextsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1beta1.AskContextsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AskContextsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AskContextsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an AsyncRetrieveContextsRequest. */ + interface IAsyncRetrieveContextsRequest { + + /** AsyncRetrieveContextsRequest parent */ + parent?: (string|null); + + /** AsyncRetrieveContextsRequest query */ + query?: (google.cloud.aiplatform.v1beta1.IRagQuery|null); + + /** AsyncRetrieveContextsRequest tools */ + tools?: (google.cloud.aiplatform.v1beta1.ITool[]|null); + } + + /** Represents an AsyncRetrieveContextsRequest. */ + class AsyncRetrieveContextsRequest implements IAsyncRetrieveContextsRequest { + + /** + * Constructs a new AsyncRetrieveContextsRequest. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsRequest); + + /** AsyncRetrieveContextsRequest parent. */ + public parent: string; + + /** AsyncRetrieveContextsRequest query. */ + public query?: (google.cloud.aiplatform.v1beta1.IRagQuery|null); + + /** AsyncRetrieveContextsRequest tools. */ + public tools: google.cloud.aiplatform.v1beta1.ITool[]; + + /** + * Creates a new AsyncRetrieveContextsRequest instance using the specified properties. + * @param [properties] Properties to set + * @returns AsyncRetrieveContextsRequest instance + */ + public static create(properties?: google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsRequest): google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest; + + /** + * Encodes the specified AsyncRetrieveContextsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest.verify|verify} messages. + * @param message AsyncRetrieveContextsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AsyncRetrieveContextsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest.verify|verify} messages. + * @param message AsyncRetrieveContextsRequest message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AsyncRetrieveContextsRequest message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AsyncRetrieveContextsRequest + * @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.AsyncRetrieveContextsRequest; + + /** + * Decodes an AsyncRetrieveContextsRequest message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AsyncRetrieveContextsRequest + * @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.AsyncRetrieveContextsRequest; + + /** + * Verifies an AsyncRetrieveContextsRequest 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 an AsyncRetrieveContextsRequest message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AsyncRetrieveContextsRequest + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest; + + /** + * Creates a plain object from an AsyncRetrieveContextsRequest message. Also converts values to other types if specified. + * @param message AsyncRetrieveContextsRequest + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AsyncRetrieveContextsRequest to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AsyncRetrieveContextsRequest + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an AsyncRetrieveContextsResponse. */ + interface IAsyncRetrieveContextsResponse { + + /** AsyncRetrieveContextsResponse contexts */ + contexts?: (google.cloud.aiplatform.v1beta1.IRagContexts|null); + } + + /** Represents an AsyncRetrieveContextsResponse. */ + class AsyncRetrieveContextsResponse implements IAsyncRetrieveContextsResponse { + + /** + * Constructs a new AsyncRetrieveContextsResponse. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsResponse); + + /** AsyncRetrieveContextsResponse contexts. */ + public contexts?: (google.cloud.aiplatform.v1beta1.IRagContexts|null); + + /** + * Creates a new AsyncRetrieveContextsResponse instance using the specified properties. + * @param [properties] Properties to set + * @returns AsyncRetrieveContextsResponse instance + */ + public static create(properties?: google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsResponse): google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse; + + /** + * Encodes the specified AsyncRetrieveContextsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse.verify|verify} messages. + * @param message AsyncRetrieveContextsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AsyncRetrieveContextsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse.verify|verify} messages. + * @param message AsyncRetrieveContextsResponse message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsResponse, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AsyncRetrieveContextsResponse message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AsyncRetrieveContextsResponse + * @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.AsyncRetrieveContextsResponse; + + /** + * Decodes an AsyncRetrieveContextsResponse message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AsyncRetrieveContextsResponse + * @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.AsyncRetrieveContextsResponse; + + /** + * Verifies an AsyncRetrieveContextsResponse 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 an AsyncRetrieveContextsResponse message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AsyncRetrieveContextsResponse + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse; + + /** + * Creates a plain object from an AsyncRetrieveContextsResponse message. Also converts values to other types if specified. + * @param message AsyncRetrieveContextsResponse + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AsyncRetrieveContextsResponse to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AsyncRetrieveContextsResponse + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + + /** Properties of an AsyncRetrieveContextsOperationMetadata. */ + interface IAsyncRetrieveContextsOperationMetadata { + + /** AsyncRetrieveContextsOperationMetadata genericMetadata */ + genericMetadata?: (google.cloud.aiplatform.v1beta1.IGenericOperationMetadata|null); + } + + /** Represents an AsyncRetrieveContextsOperationMetadata. */ + class AsyncRetrieveContextsOperationMetadata implements IAsyncRetrieveContextsOperationMetadata { + + /** + * Constructs a new AsyncRetrieveContextsOperationMetadata. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsOperationMetadata); + + /** AsyncRetrieveContextsOperationMetadata genericMetadata. */ + public genericMetadata?: (google.cloud.aiplatform.v1beta1.IGenericOperationMetadata|null); + + /** + * Creates a new AsyncRetrieveContextsOperationMetadata instance using the specified properties. + * @param [properties] Properties to set + * @returns AsyncRetrieveContextsOperationMetadata instance + */ + public static create(properties?: google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsOperationMetadata): google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata; + + /** + * Encodes the specified AsyncRetrieveContextsOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata.verify|verify} messages. + * @param message AsyncRetrieveContextsOperationMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified AsyncRetrieveContextsOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata.verify|verify} messages. + * @param message AsyncRetrieveContextsOperationMetadata message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an AsyncRetrieveContextsOperationMetadata message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns AsyncRetrieveContextsOperationMetadata + * @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.AsyncRetrieveContextsOperationMetadata; + + /** + * Decodes an AsyncRetrieveContextsOperationMetadata message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns AsyncRetrieveContextsOperationMetadata + * @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.AsyncRetrieveContextsOperationMetadata; + + /** + * Verifies an AsyncRetrieveContextsOperationMetadata 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 an AsyncRetrieveContextsOperationMetadata message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns AsyncRetrieveContextsOperationMetadata + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata; + + /** + * Creates a plain object from an AsyncRetrieveContextsOperationMetadata message. Also converts values to other types if specified. + * @param message AsyncRetrieveContextsOperationMetadata + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this AsyncRetrieveContextsOperationMetadata to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + + /** + * Gets the default type url for AsyncRetrieveContextsOperationMetadata + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns The default type url + */ + public static getTypeUrl(typeUrlPrefix?: string): string; + } + /** Represents a VizierService */ class VizierService extends $protobuf.rpc.Service { diff --git a/packages/google-cloud-aiplatform/protos/protos.js b/packages/google-cloud-aiplatform/protos/protos.js index 74f8ed07901..472cfb83b82 100644 --- a/packages/google-cloud-aiplatform/protos/protos.js +++ b/packages/google-cloud-aiplatform/protos/protos.js @@ -298057,6 +298057,7 @@ * @property {google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IInlineSource|null} [inlineSource] SourceCodeSpec inlineSource * @property {google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IDeveloperConnectSource|null} [developerConnectSource] SourceCodeSpec developerConnectSource * @property {google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IPythonSpec|null} [pythonSpec] SourceCodeSpec pythonSpec + * @property {google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec|null} [imageSpec] SourceCodeSpec imageSpec */ /** @@ -298098,6 +298099,14 @@ */ SourceCodeSpec.prototype.pythonSpec = null; + /** + * SourceCodeSpec imageSpec. + * @member {google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec|null|undefined} imageSpec + * @memberof google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + * @instance + */ + SourceCodeSpec.prototype.imageSpec = null; + // OneOf field names bound to virtual getters and setters var $oneOfFields; @@ -298114,12 +298123,12 @@ /** * SourceCodeSpec languageSpec. - * @member {"pythonSpec"|undefined} languageSpec + * @member {"pythonSpec"|"imageSpec"|undefined} languageSpec * @memberof google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec * @instance */ Object.defineProperty(SourceCodeSpec.prototype, "languageSpec", { - get: $util.oneOfGetter($oneOfFields = ["pythonSpec"]), + get: $util.oneOfGetter($oneOfFields = ["pythonSpec", "imageSpec"]), set: $util.oneOfSetter($oneOfFields) }); @@ -298153,6 +298162,8 @@ $root.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec.encode(message.pythonSpec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.developerConnectSource != null && Object.hasOwnProperty.call(message, "developerConnectSource")) $root.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.DeveloperConnectSource.encode(message.developerConnectSource, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.imageSpec != null && Object.hasOwnProperty.call(message, "imageSpec")) + $root.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.encode(message.imageSpec, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; @@ -298201,6 +298212,10 @@ message.pythonSpec = $root.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec.decode(reader, reader.uint32()); break; } + case 5: { + message.imageSpec = $root.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -298263,6 +298278,16 @@ return "pythonSpec." + error; } } + if (message.imageSpec != null && message.hasOwnProperty("imageSpec")) { + if (properties.languageSpec === 1) + return "languageSpec: multiple values"; + properties.languageSpec = 1; + { + var error = $root.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.verify(message.imageSpec); + if (error) + return "imageSpec." + error; + } + } return null; }; @@ -298293,6 +298318,11 @@ throw TypeError(".google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.pythonSpec: object expected"); message.pythonSpec = $root.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec.fromObject(object.pythonSpec); } + if (object.imageSpec != null) { + if (typeof object.imageSpec !== "object") + throw TypeError(".google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.imageSpec: object expected"); + message.imageSpec = $root.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.fromObject(object.imageSpec); + } return message; }; @@ -298324,6 +298354,11 @@ if (options.oneofs) object.source = "developerConnectSource"; } + if (message.imageSpec != null && message.hasOwnProperty("imageSpec")) { + object.imageSpec = $root.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.toObject(message.imageSpec, options); + if (options.oneofs) + object.languageSpec = "imageSpec"; + } return object; }; @@ -298567,6 +298602,246 @@ return InlineSource; })(); + SourceCodeSpec.ImageSpec = (function() { + + /** + * Properties of an ImageSpec. + * @memberof google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + * @interface IImageSpec + * @property {Object.|null} [buildArgs] ImageSpec buildArgs + */ + + /** + * Constructs a new ImageSpec. + * @memberof google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec + * @classdesc Represents an ImageSpec. + * @implements IImageSpec + * @constructor + * @param {google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec=} [properties] Properties to set + */ + function ImageSpec(properties) { + this.buildArgs = {}; + 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]]; + } + + /** + * ImageSpec buildArgs. + * @member {Object.} buildArgs + * @memberof google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @instance + */ + ImageSpec.prototype.buildArgs = $util.emptyObject; + + /** + * Creates a new ImageSpec instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @static + * @param {google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec} ImageSpec instance + */ + ImageSpec.create = function create(properties) { + return new ImageSpec(properties); + }; + + /** + * Encodes the specified ImageSpec message. Does not implicitly {@link google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @static + * @param {google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec} message ImageSpec message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ImageSpec.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.buildArgs != null && Object.hasOwnProperty.call(message, "buildArgs")) + for (var keys = Object.keys(message.buildArgs), i = 0; i < keys.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.buildArgs[keys[i]]).ldelim(); + return writer; + }; + + /** + * Encodes the specified ImageSpec message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @static + * @param {google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec} message ImageSpec message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ImageSpec.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an ImageSpec message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @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.ReasoningEngineSpec.SourceCodeSpec.ImageSpec} ImageSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ImageSpec.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec(), key, value; + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + if (message.buildArgs === $util.emptyObject) + message.buildArgs = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } + } + message.buildArgs[key] = value; + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an ImageSpec message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec} ImageSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ImageSpec.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an ImageSpec message. + * @function verify + * @memberof google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ImageSpec.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.buildArgs != null && message.hasOwnProperty("buildArgs")) { + if (!$util.isObject(message.buildArgs)) + return "buildArgs: object expected"; + var key = Object.keys(message.buildArgs); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.buildArgs[key[i]])) + return "buildArgs: string{k:string} expected"; + } + return null; + }; + + /** + * Creates an ImageSpec message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec} ImageSpec + */ + ImageSpec.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec) + return object; + var message = new $root.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec(); + if (object.buildArgs) { + if (typeof object.buildArgs !== "object") + throw TypeError(".google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.buildArgs: object expected"); + message.buildArgs = {}; + for (var keys = Object.keys(object.buildArgs), i = 0; i < keys.length; ++i) + message.buildArgs[keys[i]] = String(object.buildArgs[keys[i]]); + } + return message; + }; + + /** + * Creates a plain object from an ImageSpec message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @static + * @param {google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec} message ImageSpec + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ImageSpec.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.objects || options.defaults) + object.buildArgs = {}; + var keys2; + if (message.buildArgs && (keys2 = Object.keys(message.buildArgs)).length) { + object.buildArgs = {}; + for (var j = 0; j < keys2.length; ++j) + object.buildArgs[keys2[j]] = message.buildArgs[keys2[j]]; + } + return object; + }; + + /** + * Converts this ImageSpec to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @instance + * @returns {Object.} JSON object + */ + ImageSpec.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ImageSpec + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ImageSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec"; + }; + + return ImageSpec; + })(); + SourceCodeSpec.DeveloperConnectConfig = (function() { /** @@ -321623,32 +321898,33 @@ return schema; })(); - v1.SpecialistPool = (function() { + v1.Session = (function() { /** - * Properties of a SpecialistPool. + * Properties of a Session. * @memberof google.cloud.aiplatform.v1 - * @interface ISpecialistPool - * @property {string|null} [name] SpecialistPool name - * @property {string|null} [displayName] SpecialistPool displayName - * @property {number|null} [specialistManagersCount] SpecialistPool specialistManagersCount - * @property {Array.|null} [specialistManagerEmails] SpecialistPool specialistManagerEmails - * @property {Array.|null} [pendingDataLabelingJobs] SpecialistPool pendingDataLabelingJobs - * @property {Array.|null} [specialistWorkerEmails] SpecialistPool specialistWorkerEmails + * @interface ISession + * @property {google.protobuf.ITimestamp|null} [expireTime] Session expireTime + * @property {google.protobuf.IDuration|null} [ttl] Session ttl + * @property {string|null} [name] Session name + * @property {google.protobuf.ITimestamp|null} [createTime] Session createTime + * @property {google.protobuf.ITimestamp|null} [updateTime] Session updateTime + * @property {string|null} [displayName] Session displayName + * @property {Object.|null} [labels] Session labels + * @property {google.protobuf.IStruct|null} [sessionState] Session sessionState + * @property {string|null} [userId] Session userId */ /** - * Constructs a new SpecialistPool. + * Constructs a new Session. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a SpecialistPool. - * @implements ISpecialistPool + * @classdesc Represents a Session. + * @implements ISession * @constructor - * @param {google.cloud.aiplatform.v1.ISpecialistPool=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.ISession=} [properties] Properties to set */ - function SpecialistPool(properties) { - this.specialistManagerEmails = []; - this.pendingDataLabelingJobs = []; - this.specialistWorkerEmails = []; + function Session(properties) { + this.labels = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -321656,156 +321932,223 @@ } /** - * SpecialistPool name. + * Session expireTime. + * @member {google.protobuf.ITimestamp|null|undefined} expireTime + * @memberof google.cloud.aiplatform.v1.Session + * @instance + */ + Session.prototype.expireTime = null; + + /** + * Session ttl. + * @member {google.protobuf.IDuration|null|undefined} ttl + * @memberof google.cloud.aiplatform.v1.Session + * @instance + */ + Session.prototype.ttl = null; + + /** + * Session name. * @member {string} name - * @memberof google.cloud.aiplatform.v1.SpecialistPool + * @memberof google.cloud.aiplatform.v1.Session * @instance */ - SpecialistPool.prototype.name = ""; + Session.prototype.name = ""; /** - * SpecialistPool displayName. + * Session createTime. + * @member {google.protobuf.ITimestamp|null|undefined} createTime + * @memberof google.cloud.aiplatform.v1.Session + * @instance + */ + Session.prototype.createTime = null; + + /** + * Session updateTime. + * @member {google.protobuf.ITimestamp|null|undefined} updateTime + * @memberof google.cloud.aiplatform.v1.Session + * @instance + */ + Session.prototype.updateTime = null; + + /** + * Session displayName. * @member {string} displayName - * @memberof google.cloud.aiplatform.v1.SpecialistPool + * @memberof google.cloud.aiplatform.v1.Session * @instance */ - SpecialistPool.prototype.displayName = ""; + Session.prototype.displayName = ""; /** - * SpecialistPool specialistManagersCount. - * @member {number} specialistManagersCount - * @memberof google.cloud.aiplatform.v1.SpecialistPool + * Session labels. + * @member {Object.} labels + * @memberof google.cloud.aiplatform.v1.Session * @instance */ - SpecialistPool.prototype.specialistManagersCount = 0; + Session.prototype.labels = $util.emptyObject; /** - * SpecialistPool specialistManagerEmails. - * @member {Array.} specialistManagerEmails - * @memberof google.cloud.aiplatform.v1.SpecialistPool + * Session sessionState. + * @member {google.protobuf.IStruct|null|undefined} sessionState + * @memberof google.cloud.aiplatform.v1.Session * @instance */ - SpecialistPool.prototype.specialistManagerEmails = $util.emptyArray; + Session.prototype.sessionState = null; /** - * SpecialistPool pendingDataLabelingJobs. - * @member {Array.} pendingDataLabelingJobs - * @memberof google.cloud.aiplatform.v1.SpecialistPool + * Session userId. + * @member {string} userId + * @memberof google.cloud.aiplatform.v1.Session * @instance */ - SpecialistPool.prototype.pendingDataLabelingJobs = $util.emptyArray; + Session.prototype.userId = ""; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * SpecialistPool specialistWorkerEmails. - * @member {Array.} specialistWorkerEmails - * @memberof google.cloud.aiplatform.v1.SpecialistPool + * Session expiration. + * @member {"expireTime"|"ttl"|undefined} expiration + * @memberof google.cloud.aiplatform.v1.Session * @instance */ - SpecialistPool.prototype.specialistWorkerEmails = $util.emptyArray; + Object.defineProperty(Session.prototype, "expiration", { + get: $util.oneOfGetter($oneOfFields = ["expireTime", "ttl"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new SpecialistPool instance using the specified properties. + * Creates a new Session instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.SpecialistPool + * @memberof google.cloud.aiplatform.v1.Session * @static - * @param {google.cloud.aiplatform.v1.ISpecialistPool=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.SpecialistPool} SpecialistPool instance + * @param {google.cloud.aiplatform.v1.ISession=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.Session} Session instance */ - SpecialistPool.create = function create(properties) { - return new SpecialistPool(properties); + Session.create = function create(properties) { + return new Session(properties); }; /** - * Encodes the specified SpecialistPool message. Does not implicitly {@link google.cloud.aiplatform.v1.SpecialistPool.verify|verify} messages. + * Encodes the specified Session message. Does not implicitly {@link google.cloud.aiplatform.v1.Session.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.SpecialistPool + * @memberof google.cloud.aiplatform.v1.Session * @static - * @param {google.cloud.aiplatform.v1.ISpecialistPool} message SpecialistPool message or plain object to encode + * @param {google.cloud.aiplatform.v1.ISession} message Session message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SpecialistPool.encode = function encode(message, writer) { + Session.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); if (message.name != null && Object.hasOwnProperty.call(message, "name")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime")) + $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime")) + $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName); - if (message.specialistManagersCount != null && Object.hasOwnProperty.call(message, "specialistManagersCount")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.specialistManagersCount); - if (message.specialistManagerEmails != null && message.specialistManagerEmails.length) - for (var i = 0; i < message.specialistManagerEmails.length; ++i) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.specialistManagerEmails[i]); - if (message.pendingDataLabelingJobs != null && message.pendingDataLabelingJobs.length) - for (var i = 0; i < message.pendingDataLabelingJobs.length; ++i) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.pendingDataLabelingJobs[i]); - if (message.specialistWorkerEmails != null && message.specialistWorkerEmails.length) - for (var i = 0; i < message.specialistWorkerEmails.length; ++i) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.specialistWorkerEmails[i]); + writer.uint32(/* id 5, wireType 2 =*/42).string(message.displayName); + if (message.labels != null && Object.hasOwnProperty.call(message, "labels")) + for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i) + writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); + if (message.sessionState != null && Object.hasOwnProperty.call(message, "sessionState")) + $root.google.protobuf.Struct.encode(message.sessionState, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); + if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) + writer.uint32(/* id 12, wireType 2 =*/98).string(message.userId); + if (message.expireTime != null && Object.hasOwnProperty.call(message, "expireTime")) + $root.google.protobuf.Timestamp.encode(message.expireTime, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim(); + if (message.ttl != null && Object.hasOwnProperty.call(message, "ttl")) + $root.google.protobuf.Duration.encode(message.ttl, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim(); return writer; }; /** - * Encodes the specified SpecialistPool message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.SpecialistPool.verify|verify} messages. + * Encodes the specified Session message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Session.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.SpecialistPool + * @memberof google.cloud.aiplatform.v1.Session * @static - * @param {google.cloud.aiplatform.v1.ISpecialistPool} message SpecialistPool message or plain object to encode + * @param {google.cloud.aiplatform.v1.ISession} message Session message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SpecialistPool.encodeDelimited = function encodeDelimited(message, writer) { + Session.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a SpecialistPool message from the specified reader or buffer. + * Decodes a Session message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.SpecialistPool + * @memberof google.cloud.aiplatform.v1.Session * @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.SpecialistPool} SpecialistPool + * @returns {google.cloud.aiplatform.v1.Session} Session * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SpecialistPool.decode = function decode(reader, length, error) { + Session.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.SpecialistPool(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.Session(), key, value; while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { - case 1: { - message.name = reader.string(); + case 13: { + message.expireTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; } - case 2: { - message.displayName = reader.string(); + case 14: { + message.ttl = $root.google.protobuf.Duration.decode(reader, reader.uint32()); + break; + } + case 1: { + message.name = reader.string(); break; } case 3: { - message.specialistManagersCount = reader.int32(); + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; } case 4: { - if (!(message.specialistManagerEmails && message.specialistManagerEmails.length)) - message.specialistManagerEmails = []; - message.specialistManagerEmails.push(reader.string()); + message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); break; } case 5: { - if (!(message.pendingDataLabelingJobs && message.pendingDataLabelingJobs.length)) - message.pendingDataLabelingJobs = []; - message.pendingDataLabelingJobs.push(reader.string()); + message.displayName = reader.string(); break; } - case 7: { - if (!(message.specialistWorkerEmails && message.specialistWorkerEmails.length)) - message.specialistWorkerEmails = []; - message.specialistWorkerEmails.push(reader.string()); + case 8: { + if (message.labels === $util.emptyObject) + message.labels = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } + } + message.labels[key] = value; + break; + } + case 10: { + message.sessionState = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 12: { + message.userId = reader.string(); break; } default: @@ -321817,494 +322160,438 @@ }; /** - * Decodes a SpecialistPool message from the specified reader or buffer, length delimited. + * Decodes a Session message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.SpecialistPool + * @memberof google.cloud.aiplatform.v1.Session * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.SpecialistPool} SpecialistPool + * @returns {google.cloud.aiplatform.v1.Session} Session * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SpecialistPool.decodeDelimited = function decodeDelimited(reader) { + Session.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a SpecialistPool message. + * Verifies a Session message. * @function verify - * @memberof google.cloud.aiplatform.v1.SpecialistPool + * @memberof google.cloud.aiplatform.v1.Session * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SpecialistPool.verify = function verify(message) { + Session.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; + var properties = {}; + if (message.expireTime != null && message.hasOwnProperty("expireTime")) { + properties.expiration = 1; + { + var error = $root.google.protobuf.Timestamp.verify(message.expireTime); + if (error) + return "expireTime." + error; + } + } + if (message.ttl != null && message.hasOwnProperty("ttl")) { + if (properties.expiration === 1) + return "expiration: multiple values"; + properties.expiration = 1; + { + var error = $root.google.protobuf.Duration.verify(message.ttl); + if (error) + return "ttl." + error; + } + } if (message.name != null && message.hasOwnProperty("name")) if (!$util.isString(message.name)) return "name: string expected"; + if (message.createTime != null && message.hasOwnProperty("createTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.createTime); + if (error) + return "createTime." + error; + } + if (message.updateTime != null && message.hasOwnProperty("updateTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.updateTime); + if (error) + return "updateTime." + error; + } if (message.displayName != null && message.hasOwnProperty("displayName")) if (!$util.isString(message.displayName)) return "displayName: string expected"; - if (message.specialistManagersCount != null && message.hasOwnProperty("specialistManagersCount")) - if (!$util.isInteger(message.specialistManagersCount)) - return "specialistManagersCount: integer expected"; - if (message.specialistManagerEmails != null && message.hasOwnProperty("specialistManagerEmails")) { - if (!Array.isArray(message.specialistManagerEmails)) - return "specialistManagerEmails: array expected"; - for (var i = 0; i < message.specialistManagerEmails.length; ++i) - if (!$util.isString(message.specialistManagerEmails[i])) - return "specialistManagerEmails: string[] expected"; - } - if (message.pendingDataLabelingJobs != null && message.hasOwnProperty("pendingDataLabelingJobs")) { - if (!Array.isArray(message.pendingDataLabelingJobs)) - return "pendingDataLabelingJobs: array expected"; - for (var i = 0; i < message.pendingDataLabelingJobs.length; ++i) - if (!$util.isString(message.pendingDataLabelingJobs[i])) - return "pendingDataLabelingJobs: string[] expected"; + if (message.labels != null && message.hasOwnProperty("labels")) { + if (!$util.isObject(message.labels)) + return "labels: object expected"; + var key = Object.keys(message.labels); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.labels[key[i]])) + return "labels: string{k:string} expected"; } - if (message.specialistWorkerEmails != null && message.hasOwnProperty("specialistWorkerEmails")) { - if (!Array.isArray(message.specialistWorkerEmails)) - return "specialistWorkerEmails: array expected"; - for (var i = 0; i < message.specialistWorkerEmails.length; ++i) - if (!$util.isString(message.specialistWorkerEmails[i])) - return "specialistWorkerEmails: string[] expected"; + if (message.sessionState != null && message.hasOwnProperty("sessionState")) { + var error = $root.google.protobuf.Struct.verify(message.sessionState); + if (error) + return "sessionState." + error; } + if (message.userId != null && message.hasOwnProperty("userId")) + if (!$util.isString(message.userId)) + return "userId: string expected"; return null; }; /** - * Creates a SpecialistPool message from a plain object. Also converts values to their respective internal types. + * Creates a Session message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.SpecialistPool + * @memberof google.cloud.aiplatform.v1.Session * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.SpecialistPool} SpecialistPool + * @returns {google.cloud.aiplatform.v1.Session} Session */ - SpecialistPool.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.SpecialistPool) + Session.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.Session) return object; - var message = new $root.google.cloud.aiplatform.v1.SpecialistPool(); + var message = new $root.google.cloud.aiplatform.v1.Session(); + if (object.expireTime != null) { + if (typeof object.expireTime !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Session.expireTime: object expected"); + message.expireTime = $root.google.protobuf.Timestamp.fromObject(object.expireTime); + } + if (object.ttl != null) { + if (typeof object.ttl !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Session.ttl: object expected"); + message.ttl = $root.google.protobuf.Duration.fromObject(object.ttl); + } if (object.name != null) message.name = String(object.name); + if (object.createTime != null) { + if (typeof object.createTime !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Session.createTime: object expected"); + message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime); + } + if (object.updateTime != null) { + if (typeof object.updateTime !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Session.updateTime: object expected"); + message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime); + } if (object.displayName != null) message.displayName = String(object.displayName); - if (object.specialistManagersCount != null) - message.specialistManagersCount = object.specialistManagersCount | 0; - if (object.specialistManagerEmails) { - if (!Array.isArray(object.specialistManagerEmails)) - throw TypeError(".google.cloud.aiplatform.v1.SpecialistPool.specialistManagerEmails: array expected"); - message.specialistManagerEmails = []; - for (var i = 0; i < object.specialistManagerEmails.length; ++i) - message.specialistManagerEmails[i] = String(object.specialistManagerEmails[i]); - } - if (object.pendingDataLabelingJobs) { - if (!Array.isArray(object.pendingDataLabelingJobs)) - throw TypeError(".google.cloud.aiplatform.v1.SpecialistPool.pendingDataLabelingJobs: array expected"); - message.pendingDataLabelingJobs = []; - for (var i = 0; i < object.pendingDataLabelingJobs.length; ++i) - message.pendingDataLabelingJobs[i] = String(object.pendingDataLabelingJobs[i]); + if (object.labels) { + if (typeof object.labels !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Session.labels: object expected"); + message.labels = {}; + for (var keys = Object.keys(object.labels), i = 0; i < keys.length; ++i) + message.labels[keys[i]] = String(object.labels[keys[i]]); } - if (object.specialistWorkerEmails) { - if (!Array.isArray(object.specialistWorkerEmails)) - throw TypeError(".google.cloud.aiplatform.v1.SpecialistPool.specialistWorkerEmails: array expected"); - message.specialistWorkerEmails = []; - for (var i = 0; i < object.specialistWorkerEmails.length; ++i) - message.specialistWorkerEmails[i] = String(object.specialistWorkerEmails[i]); + if (object.sessionState != null) { + if (typeof object.sessionState !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Session.sessionState: object expected"); + message.sessionState = $root.google.protobuf.Struct.fromObject(object.sessionState); } + if (object.userId != null) + message.userId = String(object.userId); return message; }; /** - * Creates a plain object from a SpecialistPool message. Also converts values to other types if specified. + * Creates a plain object from a Session message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.SpecialistPool + * @memberof google.cloud.aiplatform.v1.Session * @static - * @param {google.cloud.aiplatform.v1.SpecialistPool} message SpecialistPool + * @param {google.cloud.aiplatform.v1.Session} message Session * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - SpecialistPool.toObject = function toObject(message, options) { + Session.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.arrays || options.defaults) { - object.specialistManagerEmails = []; - object.pendingDataLabelingJobs = []; - object.specialistWorkerEmails = []; - } + if (options.objects || options.defaults) + object.labels = {}; if (options.defaults) { object.name = ""; + object.createTime = null; + object.updateTime = null; object.displayName = ""; - object.specialistManagersCount = 0; + object.sessionState = null; + object.userId = ""; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; + if (message.createTime != null && message.hasOwnProperty("createTime")) + object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options); + 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.specialistManagersCount != null && message.hasOwnProperty("specialistManagersCount")) - object.specialistManagersCount = message.specialistManagersCount; - if (message.specialistManagerEmails && message.specialistManagerEmails.length) { - object.specialistManagerEmails = []; - for (var j = 0; j < message.specialistManagerEmails.length; ++j) - object.specialistManagerEmails[j] = message.specialistManagerEmails[j]; + var keys2; + if (message.labels && (keys2 = Object.keys(message.labels)).length) { + object.labels = {}; + for (var j = 0; j < keys2.length; ++j) + object.labels[keys2[j]] = message.labels[keys2[j]]; } - if (message.pendingDataLabelingJobs && message.pendingDataLabelingJobs.length) { - object.pendingDataLabelingJobs = []; - for (var j = 0; j < message.pendingDataLabelingJobs.length; ++j) - object.pendingDataLabelingJobs[j] = message.pendingDataLabelingJobs[j]; + if (message.sessionState != null && message.hasOwnProperty("sessionState")) + object.sessionState = $root.google.protobuf.Struct.toObject(message.sessionState, options); + if (message.userId != null && message.hasOwnProperty("userId")) + object.userId = message.userId; + if (message.expireTime != null && message.hasOwnProperty("expireTime")) { + object.expireTime = $root.google.protobuf.Timestamp.toObject(message.expireTime, options); + if (options.oneofs) + object.expiration = "expireTime"; } - if (message.specialistWorkerEmails && message.specialistWorkerEmails.length) { - object.specialistWorkerEmails = []; - for (var j = 0; j < message.specialistWorkerEmails.length; ++j) - object.specialistWorkerEmails[j] = message.specialistWorkerEmails[j]; + if (message.ttl != null && message.hasOwnProperty("ttl")) { + object.ttl = $root.google.protobuf.Duration.toObject(message.ttl, options); + if (options.oneofs) + object.expiration = "ttl"; } return object; }; /** - * Converts this SpecialistPool to JSON. + * Converts this Session to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.SpecialistPool + * @memberof google.cloud.aiplatform.v1.Session * @instance * @returns {Object.} JSON object */ - SpecialistPool.prototype.toJSON = function toJSON() { + Session.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for SpecialistPool + * Gets the default type url for Session * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.SpecialistPool + * @memberof google.cloud.aiplatform.v1.Session * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - SpecialistPool.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + Session.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.SpecialistPool"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.Session"; }; - return SpecialistPool; + return Session; })(); - v1.SpecialistPoolService = (function() { + v1.SessionEvent = (function() { /** - * Constructs a new SpecialistPoolService service. + * Properties of a SessionEvent. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a SpecialistPoolService - * @extends $protobuf.rpc.Service - * @constructor - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - */ - function SpecialistPoolService(rpcImpl, requestDelimited, responseDelimited) { - $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); - } - - (SpecialistPoolService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = SpecialistPoolService; - - /** - * Creates new SpecialistPoolService service using the specified rpc implementation. - * @function create - * @memberof google.cloud.aiplatform.v1.SpecialistPoolService - * @static - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - * @returns {SpecialistPoolService} RPC service. Useful where requests and/or responses are streamed. - */ - SpecialistPoolService.create = function create(rpcImpl, requestDelimited, responseDelimited) { - return new this(rpcImpl, requestDelimited, responseDelimited); - }; - - /** - * Callback as used by {@link google.cloud.aiplatform.v1.SpecialistPoolService|createSpecialistPool}. - * @memberof google.cloud.aiplatform.v1.SpecialistPoolService - * @typedef CreateSpecialistPoolCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {google.longrunning.Operation} [response] Operation - */ - - /** - * Calls CreateSpecialistPool. - * @function createSpecialistPool - * @memberof google.cloud.aiplatform.v1.SpecialistPoolService - * @instance - * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolRequest} request CreateSpecialistPoolRequest message or plain object - * @param {google.cloud.aiplatform.v1.SpecialistPoolService.CreateSpecialistPoolCallback} callback Node-style callback called with the error, if any, and Operation - * @returns {undefined} - * @variation 1 - */ - Object.defineProperty(SpecialistPoolService.prototype.createSpecialistPool = function createSpecialistPool(request, callback) { - return this.rpcCall(createSpecialistPool, $root.google.cloud.aiplatform.v1.CreateSpecialistPoolRequest, $root.google.longrunning.Operation, request, callback); - }, "name", { value: "CreateSpecialistPool" }); - - /** - * Calls CreateSpecialistPool. - * @function createSpecialistPool - * @memberof google.cloud.aiplatform.v1.SpecialistPoolService - * @instance - * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolRequest} request CreateSpecialistPoolRequest message or plain object - * @returns {Promise} Promise - * @variation 2 - */ - - /** - * Callback as used by {@link google.cloud.aiplatform.v1.SpecialistPoolService|getSpecialistPool}. - * @memberof google.cloud.aiplatform.v1.SpecialistPoolService - * @typedef GetSpecialistPoolCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {google.cloud.aiplatform.v1.SpecialistPool} [response] SpecialistPool + * @interface ISessionEvent + * @property {string|null} [name] SessionEvent name + * @property {string|null} [author] SessionEvent author + * @property {google.cloud.aiplatform.v1.IContent|null} [content] SessionEvent content + * @property {string|null} [invocationId] SessionEvent invocationId + * @property {google.cloud.aiplatform.v1.IEventActions|null} [actions] SessionEvent actions + * @property {google.protobuf.ITimestamp|null} [timestamp] SessionEvent timestamp + * @property {string|null} [errorCode] SessionEvent errorCode + * @property {string|null} [errorMessage] SessionEvent errorMessage + * @property {google.cloud.aiplatform.v1.IEventMetadata|null} [eventMetadata] SessionEvent eventMetadata */ /** - * Calls GetSpecialistPool. - * @function getSpecialistPool - * @memberof google.cloud.aiplatform.v1.SpecialistPoolService - * @instance - * @param {google.cloud.aiplatform.v1.IGetSpecialistPoolRequest} request GetSpecialistPoolRequest message or plain object - * @param {google.cloud.aiplatform.v1.SpecialistPoolService.GetSpecialistPoolCallback} callback Node-style callback called with the error, if any, and SpecialistPool - * @returns {undefined} - * @variation 1 + * Constructs a new SessionEvent. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a SessionEvent. + * @implements ISessionEvent + * @constructor + * @param {google.cloud.aiplatform.v1.ISessionEvent=} [properties] Properties to set */ - Object.defineProperty(SpecialistPoolService.prototype.getSpecialistPool = function getSpecialistPool(request, callback) { - return this.rpcCall(getSpecialistPool, $root.google.cloud.aiplatform.v1.GetSpecialistPoolRequest, $root.google.cloud.aiplatform.v1.SpecialistPool, request, callback); - }, "name", { value: "GetSpecialistPool" }); + function SessionEvent(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]]; + } /** - * Calls GetSpecialistPool. - * @function getSpecialistPool - * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * SessionEvent name. + * @member {string} name + * @memberof google.cloud.aiplatform.v1.SessionEvent * @instance - * @param {google.cloud.aiplatform.v1.IGetSpecialistPoolRequest} request GetSpecialistPoolRequest message or plain object - * @returns {Promise} Promise - * @variation 2 - */ - - /** - * Callback as used by {@link google.cloud.aiplatform.v1.SpecialistPoolService|listSpecialistPools}. - * @memberof google.cloud.aiplatform.v1.SpecialistPoolService - * @typedef ListSpecialistPoolsCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {google.cloud.aiplatform.v1.ListSpecialistPoolsResponse} [response] ListSpecialistPoolsResponse */ + SessionEvent.prototype.name = ""; /** - * Calls ListSpecialistPools. - * @function listSpecialistPools - * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * SessionEvent author. + * @member {string} author + * @memberof google.cloud.aiplatform.v1.SessionEvent * @instance - * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsRequest} request ListSpecialistPoolsRequest message or plain object - * @param {google.cloud.aiplatform.v1.SpecialistPoolService.ListSpecialistPoolsCallback} callback Node-style callback called with the error, if any, and ListSpecialistPoolsResponse - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(SpecialistPoolService.prototype.listSpecialistPools = function listSpecialistPools(request, callback) { - return this.rpcCall(listSpecialistPools, $root.google.cloud.aiplatform.v1.ListSpecialistPoolsRequest, $root.google.cloud.aiplatform.v1.ListSpecialistPoolsResponse, request, callback); - }, "name", { value: "ListSpecialistPools" }); + SessionEvent.prototype.author = ""; /** - * Calls ListSpecialistPools. - * @function listSpecialistPools - * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * SessionEvent content. + * @member {google.cloud.aiplatform.v1.IContent|null|undefined} content + * @memberof google.cloud.aiplatform.v1.SessionEvent * @instance - * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsRequest} request ListSpecialistPoolsRequest message or plain object - * @returns {Promise} Promise - * @variation 2 - */ - - /** - * Callback as used by {@link google.cloud.aiplatform.v1.SpecialistPoolService|deleteSpecialistPool}. - * @memberof google.cloud.aiplatform.v1.SpecialistPoolService - * @typedef DeleteSpecialistPoolCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {google.longrunning.Operation} [response] Operation */ + SessionEvent.prototype.content = null; /** - * Calls DeleteSpecialistPool. - * @function deleteSpecialistPool - * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * SessionEvent invocationId. + * @member {string} invocationId + * @memberof google.cloud.aiplatform.v1.SessionEvent * @instance - * @param {google.cloud.aiplatform.v1.IDeleteSpecialistPoolRequest} request DeleteSpecialistPoolRequest message or plain object - * @param {google.cloud.aiplatform.v1.SpecialistPoolService.DeleteSpecialistPoolCallback} callback Node-style callback called with the error, if any, and Operation - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(SpecialistPoolService.prototype.deleteSpecialistPool = function deleteSpecialistPool(request, callback) { - return this.rpcCall(deleteSpecialistPool, $root.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest, $root.google.longrunning.Operation, request, callback); - }, "name", { value: "DeleteSpecialistPool" }); + SessionEvent.prototype.invocationId = ""; /** - * Calls DeleteSpecialistPool. - * @function deleteSpecialistPool - * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * SessionEvent actions. + * @member {google.cloud.aiplatform.v1.IEventActions|null|undefined} actions + * @memberof google.cloud.aiplatform.v1.SessionEvent * @instance - * @param {google.cloud.aiplatform.v1.IDeleteSpecialistPoolRequest} request DeleteSpecialistPoolRequest message or plain object - * @returns {Promise} Promise - * @variation 2 - */ - - /** - * Callback as used by {@link google.cloud.aiplatform.v1.SpecialistPoolService|updateSpecialistPool}. - * @memberof google.cloud.aiplatform.v1.SpecialistPoolService - * @typedef UpdateSpecialistPoolCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {google.longrunning.Operation} [response] Operation */ + SessionEvent.prototype.actions = null; /** - * Calls UpdateSpecialistPool. - * @function updateSpecialistPool - * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * SessionEvent timestamp. + * @member {google.protobuf.ITimestamp|null|undefined} timestamp + * @memberof google.cloud.aiplatform.v1.SessionEvent * @instance - * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolRequest} request UpdateSpecialistPoolRequest message or plain object - * @param {google.cloud.aiplatform.v1.SpecialistPoolService.UpdateSpecialistPoolCallback} callback Node-style callback called with the error, if any, and Operation - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(SpecialistPoolService.prototype.updateSpecialistPool = function updateSpecialistPool(request, callback) { - return this.rpcCall(updateSpecialistPool, $root.google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest, $root.google.longrunning.Operation, request, callback); - }, "name", { value: "UpdateSpecialistPool" }); + SessionEvent.prototype.timestamp = null; /** - * Calls UpdateSpecialistPool. - * @function updateSpecialistPool - * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * SessionEvent errorCode. + * @member {string} errorCode + * @memberof google.cloud.aiplatform.v1.SessionEvent * @instance - * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolRequest} request UpdateSpecialistPoolRequest message or plain object - * @returns {Promise} Promise - * @variation 2 - */ - - return SpecialistPoolService; - })(); - - v1.CreateSpecialistPoolRequest = (function() { - - /** - * Properties of a CreateSpecialistPoolRequest. - * @memberof google.cloud.aiplatform.v1 - * @interface ICreateSpecialistPoolRequest - * @property {string|null} [parent] CreateSpecialistPoolRequest parent - * @property {google.cloud.aiplatform.v1.ISpecialistPool|null} [specialistPool] CreateSpecialistPoolRequest specialistPool - */ - - /** - * Constructs a new CreateSpecialistPoolRequest. - * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a CreateSpecialistPoolRequest. - * @implements ICreateSpecialistPoolRequest - * @constructor - * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolRequest=} [properties] Properties to set */ - function CreateSpecialistPoolRequest(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]]; - } + SessionEvent.prototype.errorCode = ""; /** - * CreateSpecialistPoolRequest parent. - * @member {string} parent - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * SessionEvent errorMessage. + * @member {string} errorMessage + * @memberof google.cloud.aiplatform.v1.SessionEvent * @instance */ - CreateSpecialistPoolRequest.prototype.parent = ""; + SessionEvent.prototype.errorMessage = ""; /** - * CreateSpecialistPoolRequest specialistPool. - * @member {google.cloud.aiplatform.v1.ISpecialistPool|null|undefined} specialistPool - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * SessionEvent eventMetadata. + * @member {google.cloud.aiplatform.v1.IEventMetadata|null|undefined} eventMetadata + * @memberof google.cloud.aiplatform.v1.SessionEvent * @instance */ - CreateSpecialistPoolRequest.prototype.specialistPool = null; + SessionEvent.prototype.eventMetadata = null; /** - * Creates a new CreateSpecialistPoolRequest instance using the specified properties. + * Creates a new SessionEvent instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.SessionEvent * @static - * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolRequest=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.CreateSpecialistPoolRequest} CreateSpecialistPoolRequest instance + * @param {google.cloud.aiplatform.v1.ISessionEvent=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.SessionEvent} SessionEvent instance */ - CreateSpecialistPoolRequest.create = function create(properties) { - return new CreateSpecialistPoolRequest(properties); + SessionEvent.create = function create(properties) { + return new SessionEvent(properties); }; /** - * Encodes the specified CreateSpecialistPoolRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.CreateSpecialistPoolRequest.verify|verify} messages. + * Encodes the specified SessionEvent message. Does not implicitly {@link google.cloud.aiplatform.v1.SessionEvent.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.SessionEvent * @static - * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolRequest} message CreateSpecialistPoolRequest message or plain object to encode + * @param {google.cloud.aiplatform.v1.ISessionEvent} message SessionEvent message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CreateSpecialistPoolRequest.encode = function encode(message, writer) { + SessionEvent.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.specialistPool != null && Object.hasOwnProperty.call(message, "specialistPool")) - $root.google.cloud.aiplatform.v1.SpecialistPool.encode(message.specialistPool, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.name != null && Object.hasOwnProperty.call(message, "name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.author != null && Object.hasOwnProperty.call(message, "author")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.author); + if (message.content != null && Object.hasOwnProperty.call(message, "content")) + $root.google.cloud.aiplatform.v1.Content.encode(message.content, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.invocationId != null && Object.hasOwnProperty.call(message, "invocationId")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.invocationId); + if (message.actions != null && Object.hasOwnProperty.call(message, "actions")) + $root.google.cloud.aiplatform.v1.EventActions.encode(message.actions, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.timestamp != null && Object.hasOwnProperty.call(message, "timestamp")) + $root.google.protobuf.Timestamp.encode(message.timestamp, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + if (message.errorCode != null && Object.hasOwnProperty.call(message, "errorCode")) + writer.uint32(/* id 9, wireType 2 =*/74).string(message.errorCode); + if (message.errorMessage != null && Object.hasOwnProperty.call(message, "errorMessage")) + writer.uint32(/* id 10, wireType 2 =*/82).string(message.errorMessage); + if (message.eventMetadata != null && Object.hasOwnProperty.call(message, "eventMetadata")) + $root.google.cloud.aiplatform.v1.EventMetadata.encode(message.eventMetadata, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); return writer; }; /** - * Encodes the specified CreateSpecialistPoolRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.CreateSpecialistPoolRequest.verify|verify} messages. + * Encodes the specified SessionEvent message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.SessionEvent.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.SessionEvent * @static - * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolRequest} message CreateSpecialistPoolRequest message or plain object to encode + * @param {google.cloud.aiplatform.v1.ISessionEvent} message SessionEvent message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CreateSpecialistPoolRequest.encodeDelimited = function encodeDelimited(message, writer) { + SessionEvent.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a CreateSpecialistPoolRequest message from the specified reader or buffer. + * Decodes a SessionEvent message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.SessionEvent * @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.CreateSpecialistPoolRequest} CreateSpecialistPoolRequest + * @returns {google.cloud.aiplatform.v1.SessionEvent} SessionEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CreateSpecialistPoolRequest.decode = function decode(reader, length, error) { + SessionEvent.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.CreateSpecialistPoolRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.SessionEvent(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.parent = reader.string(); + message.name = reader.string(); break; } - case 2: { - message.specialistPool = $root.google.cloud.aiplatform.v1.SpecialistPool.decode(reader, reader.uint32()); + case 3: { + message.author = reader.string(); + break; + } + case 4: { + message.content = $root.google.cloud.aiplatform.v1.Content.decode(reader, reader.uint32()); + break; + } + case 5: { + message.invocationId = reader.string(); + break; + } + case 6: { + message.actions = $root.google.cloud.aiplatform.v1.EventActions.decode(reader, reader.uint32()); + break; + } + case 8: { + message.timestamp = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 9: { + message.errorCode = reader.string(); + break; + } + case 10: { + message.errorMessage = reader.string(); + break; + } + case 11: { + message.eventMetadata = $root.google.cloud.aiplatform.v1.EventMetadata.decode(reader, reader.uint32()); break; } default: @@ -322316,136 +322603,216 @@ }; /** - * Decodes a CreateSpecialistPoolRequest message from the specified reader or buffer, length delimited. + * Decodes a SessionEvent message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.SessionEvent * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.CreateSpecialistPoolRequest} CreateSpecialistPoolRequest + * @returns {google.cloud.aiplatform.v1.SessionEvent} SessionEvent * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CreateSpecialistPoolRequest.decodeDelimited = function decodeDelimited(reader) { + SessionEvent.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a CreateSpecialistPoolRequest message. + * Verifies a SessionEvent message. * @function verify - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.SessionEvent * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CreateSpecialistPoolRequest.verify = function verify(message) { + SessionEvent.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.specialistPool != null && message.hasOwnProperty("specialistPool")) { - var error = $root.google.cloud.aiplatform.v1.SpecialistPool.verify(message.specialistPool); + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.author != null && message.hasOwnProperty("author")) + if (!$util.isString(message.author)) + return "author: string expected"; + if (message.content != null && message.hasOwnProperty("content")) { + var error = $root.google.cloud.aiplatform.v1.Content.verify(message.content); if (error) - return "specialistPool." + error; + return "content." + error; + } + if (message.invocationId != null && message.hasOwnProperty("invocationId")) + if (!$util.isString(message.invocationId)) + return "invocationId: string expected"; + if (message.actions != null && message.hasOwnProperty("actions")) { + var error = $root.google.cloud.aiplatform.v1.EventActions.verify(message.actions); + if (error) + return "actions." + error; + } + if (message.timestamp != null && message.hasOwnProperty("timestamp")) { + var error = $root.google.protobuf.Timestamp.verify(message.timestamp); + if (error) + return "timestamp." + error; + } + if (message.errorCode != null && message.hasOwnProperty("errorCode")) + if (!$util.isString(message.errorCode)) + return "errorCode: string expected"; + if (message.errorMessage != null && message.hasOwnProperty("errorMessage")) + if (!$util.isString(message.errorMessage)) + return "errorMessage: string expected"; + if (message.eventMetadata != null && message.hasOwnProperty("eventMetadata")) { + var error = $root.google.cloud.aiplatform.v1.EventMetadata.verify(message.eventMetadata); + if (error) + return "eventMetadata." + error; } return null; }; /** - * Creates a CreateSpecialistPoolRequest message from a plain object. Also converts values to their respective internal types. + * Creates a SessionEvent message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.SessionEvent * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.CreateSpecialistPoolRequest} CreateSpecialistPoolRequest + * @returns {google.cloud.aiplatform.v1.SessionEvent} SessionEvent */ - CreateSpecialistPoolRequest.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.CreateSpecialistPoolRequest) + SessionEvent.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.SessionEvent) return object; - var message = new $root.google.cloud.aiplatform.v1.CreateSpecialistPoolRequest(); - if (object.parent != null) - message.parent = String(object.parent); - if (object.specialistPool != null) { - if (typeof object.specialistPool !== "object") - throw TypeError(".google.cloud.aiplatform.v1.CreateSpecialistPoolRequest.specialistPool: object expected"); - message.specialistPool = $root.google.cloud.aiplatform.v1.SpecialistPool.fromObject(object.specialistPool); + var message = new $root.google.cloud.aiplatform.v1.SessionEvent(); + if (object.name != null) + message.name = String(object.name); + if (object.author != null) + message.author = String(object.author); + if (object.content != null) { + if (typeof object.content !== "object") + throw TypeError(".google.cloud.aiplatform.v1.SessionEvent.content: object expected"); + message.content = $root.google.cloud.aiplatform.v1.Content.fromObject(object.content); + } + if (object.invocationId != null) + message.invocationId = String(object.invocationId); + if (object.actions != null) { + if (typeof object.actions !== "object") + throw TypeError(".google.cloud.aiplatform.v1.SessionEvent.actions: object expected"); + message.actions = $root.google.cloud.aiplatform.v1.EventActions.fromObject(object.actions); + } + if (object.timestamp != null) { + if (typeof object.timestamp !== "object") + throw TypeError(".google.cloud.aiplatform.v1.SessionEvent.timestamp: object expected"); + message.timestamp = $root.google.protobuf.Timestamp.fromObject(object.timestamp); + } + if (object.errorCode != null) + message.errorCode = String(object.errorCode); + if (object.errorMessage != null) + message.errorMessage = String(object.errorMessage); + if (object.eventMetadata != null) { + if (typeof object.eventMetadata !== "object") + throw TypeError(".google.cloud.aiplatform.v1.SessionEvent.eventMetadata: object expected"); + message.eventMetadata = $root.google.cloud.aiplatform.v1.EventMetadata.fromObject(object.eventMetadata); } return message; }; /** - * Creates a plain object from a CreateSpecialistPoolRequest message. Also converts values to other types if specified. + * Creates a plain object from a SessionEvent message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.SessionEvent * @static - * @param {google.cloud.aiplatform.v1.CreateSpecialistPoolRequest} message CreateSpecialistPoolRequest + * @param {google.cloud.aiplatform.v1.SessionEvent} message SessionEvent * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CreateSpecialistPoolRequest.toObject = function toObject(message, options) { + SessionEvent.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { - object.parent = ""; - object.specialistPool = null; + object.name = ""; + object.author = ""; + object.content = null; + object.invocationId = ""; + object.actions = null; + object.timestamp = null; + object.errorCode = ""; + object.errorMessage = ""; + object.eventMetadata = null; } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = message.parent; - if (message.specialistPool != null && message.hasOwnProperty("specialistPool")) - object.specialistPool = $root.google.cloud.aiplatform.v1.SpecialistPool.toObject(message.specialistPool, options); + if (message.name != null && message.hasOwnProperty("name")) + object.name = message.name; + if (message.author != null && message.hasOwnProperty("author")) + object.author = message.author; + if (message.content != null && message.hasOwnProperty("content")) + object.content = $root.google.cloud.aiplatform.v1.Content.toObject(message.content, options); + if (message.invocationId != null && message.hasOwnProperty("invocationId")) + object.invocationId = message.invocationId; + if (message.actions != null && message.hasOwnProperty("actions")) + object.actions = $root.google.cloud.aiplatform.v1.EventActions.toObject(message.actions, options); + if (message.timestamp != null && message.hasOwnProperty("timestamp")) + object.timestamp = $root.google.protobuf.Timestamp.toObject(message.timestamp, options); + if (message.errorCode != null && message.hasOwnProperty("errorCode")) + object.errorCode = message.errorCode; + if (message.errorMessage != null && message.hasOwnProperty("errorMessage")) + object.errorMessage = message.errorMessage; + if (message.eventMetadata != null && message.hasOwnProperty("eventMetadata")) + object.eventMetadata = $root.google.cloud.aiplatform.v1.EventMetadata.toObject(message.eventMetadata, options); return object; }; /** - * Converts this CreateSpecialistPoolRequest to JSON. + * Converts this SessionEvent to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.SessionEvent * @instance * @returns {Object.} JSON object */ - CreateSpecialistPoolRequest.prototype.toJSON = function toJSON() { + SessionEvent.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CreateSpecialistPoolRequest + * Gets the default type url for SessionEvent * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.SessionEvent * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - CreateSpecialistPoolRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + SessionEvent.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.CreateSpecialistPoolRequest"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.SessionEvent"; }; - return CreateSpecialistPoolRequest; + return SessionEvent; })(); - v1.CreateSpecialistPoolOperationMetadata = (function() { + v1.EventMetadata = (function() { /** - * Properties of a CreateSpecialistPoolOperationMetadata. + * Properties of an EventMetadata. * @memberof google.cloud.aiplatform.v1 - * @interface ICreateSpecialistPoolOperationMetadata - * @property {google.cloud.aiplatform.v1.IGenericOperationMetadata|null} [genericMetadata] CreateSpecialistPoolOperationMetadata genericMetadata + * @interface IEventMetadata + * @property {google.cloud.aiplatform.v1.IGroundingMetadata|null} [groundingMetadata] EventMetadata groundingMetadata + * @property {boolean|null} [partial] EventMetadata partial + * @property {boolean|null} [turnComplete] EventMetadata turnComplete + * @property {boolean|null} [interrupted] EventMetadata interrupted + * @property {Array.|null} [longRunningToolIds] EventMetadata longRunningToolIds + * @property {string|null} [branch] EventMetadata branch + * @property {google.protobuf.IStruct|null} [customMetadata] EventMetadata customMetadata + * @property {google.cloud.aiplatform.v1.ITranscription|null} [inputTranscription] EventMetadata inputTranscription + * @property {google.cloud.aiplatform.v1.ITranscription|null} [outputTranscription] EventMetadata outputTranscription */ /** - * Constructs a new CreateSpecialistPoolOperationMetadata. + * Constructs a new EventMetadata. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a CreateSpecialistPoolOperationMetadata. - * @implements ICreateSpecialistPoolOperationMetadata + * @classdesc Represents an EventMetadata. + * @implements IEventMetadata * @constructor - * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolOperationMetadata=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IEventMetadata=} [properties] Properties to set */ - function CreateSpecialistPoolOperationMetadata(properties) { + function EventMetadata(properties) { + this.longRunningToolIds = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -322453,77 +322820,192 @@ } /** - * CreateSpecialistPoolOperationMetadata genericMetadata. - * @member {google.cloud.aiplatform.v1.IGenericOperationMetadata|null|undefined} genericMetadata - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata + * EventMetadata groundingMetadata. + * @member {google.cloud.aiplatform.v1.IGroundingMetadata|null|undefined} groundingMetadata + * @memberof google.cloud.aiplatform.v1.EventMetadata * @instance */ - CreateSpecialistPoolOperationMetadata.prototype.genericMetadata = null; + EventMetadata.prototype.groundingMetadata = null; /** - * Creates a new CreateSpecialistPoolOperationMetadata instance using the specified properties. + * EventMetadata partial. + * @member {boolean} partial + * @memberof google.cloud.aiplatform.v1.EventMetadata + * @instance + */ + EventMetadata.prototype.partial = false; + + /** + * EventMetadata turnComplete. + * @member {boolean} turnComplete + * @memberof google.cloud.aiplatform.v1.EventMetadata + * @instance + */ + EventMetadata.prototype.turnComplete = false; + + /** + * EventMetadata interrupted. + * @member {boolean} interrupted + * @memberof google.cloud.aiplatform.v1.EventMetadata + * @instance + */ + EventMetadata.prototype.interrupted = false; + + /** + * EventMetadata longRunningToolIds. + * @member {Array.} longRunningToolIds + * @memberof google.cloud.aiplatform.v1.EventMetadata + * @instance + */ + EventMetadata.prototype.longRunningToolIds = $util.emptyArray; + + /** + * EventMetadata branch. + * @member {string} branch + * @memberof google.cloud.aiplatform.v1.EventMetadata + * @instance + */ + EventMetadata.prototype.branch = ""; + + /** + * EventMetadata customMetadata. + * @member {google.protobuf.IStruct|null|undefined} customMetadata + * @memberof google.cloud.aiplatform.v1.EventMetadata + * @instance + */ + EventMetadata.prototype.customMetadata = null; + + /** + * EventMetadata inputTranscription. + * @member {google.cloud.aiplatform.v1.ITranscription|null|undefined} inputTranscription + * @memberof google.cloud.aiplatform.v1.EventMetadata + * @instance + */ + EventMetadata.prototype.inputTranscription = null; + + /** + * EventMetadata outputTranscription. + * @member {google.cloud.aiplatform.v1.ITranscription|null|undefined} outputTranscription + * @memberof google.cloud.aiplatform.v1.EventMetadata + * @instance + */ + EventMetadata.prototype.outputTranscription = null; + + /** + * Creates a new EventMetadata instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.EventMetadata * @static - * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolOperationMetadata=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata} CreateSpecialistPoolOperationMetadata instance + * @param {google.cloud.aiplatform.v1.IEventMetadata=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.EventMetadata} EventMetadata instance */ - CreateSpecialistPoolOperationMetadata.create = function create(properties) { - return new CreateSpecialistPoolOperationMetadata(properties); + EventMetadata.create = function create(properties) { + return new EventMetadata(properties); }; /** - * Encodes the specified CreateSpecialistPoolOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata.verify|verify} messages. + * Encodes the specified EventMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.EventMetadata.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.EventMetadata * @static - * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolOperationMetadata} message CreateSpecialistPoolOperationMetadata message or plain object to encode + * @param {google.cloud.aiplatform.v1.IEventMetadata} message EventMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CreateSpecialistPoolOperationMetadata.encode = function encode(message, writer) { + EventMetadata.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(); + if (message.groundingMetadata != null && Object.hasOwnProperty.call(message, "groundingMetadata")) + $root.google.cloud.aiplatform.v1.GroundingMetadata.encode(message.groundingMetadata, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.partial != null && Object.hasOwnProperty.call(message, "partial")) + writer.uint32(/* id 2, wireType 0 =*/16).bool(message.partial); + if (message.turnComplete != null && Object.hasOwnProperty.call(message, "turnComplete")) + writer.uint32(/* id 3, wireType 0 =*/24).bool(message.turnComplete); + if (message.interrupted != null && Object.hasOwnProperty.call(message, "interrupted")) + writer.uint32(/* id 4, wireType 0 =*/32).bool(message.interrupted); + if (message.longRunningToolIds != null && message.longRunningToolIds.length) + for (var i = 0; i < message.longRunningToolIds.length; ++i) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.longRunningToolIds[i]); + if (message.branch != null && Object.hasOwnProperty.call(message, "branch")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.branch); + if (message.customMetadata != null && Object.hasOwnProperty.call(message, "customMetadata")) + $root.google.protobuf.Struct.encode(message.customMetadata, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.inputTranscription != null && Object.hasOwnProperty.call(message, "inputTranscription")) + $root.google.cloud.aiplatform.v1.Transcription.encode(message.inputTranscription, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); + if (message.outputTranscription != null && Object.hasOwnProperty.call(message, "outputTranscription")) + $root.google.cloud.aiplatform.v1.Transcription.encode(message.outputTranscription, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); return writer; }; /** - * Encodes the specified CreateSpecialistPoolOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata.verify|verify} messages. + * Encodes the specified EventMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.EventMetadata.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.EventMetadata * @static - * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolOperationMetadata} message CreateSpecialistPoolOperationMetadata message or plain object to encode + * @param {google.cloud.aiplatform.v1.IEventMetadata} message EventMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CreateSpecialistPoolOperationMetadata.encodeDelimited = function encodeDelimited(message, writer) { + EventMetadata.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a CreateSpecialistPoolOperationMetadata message from the specified reader or buffer. + * Decodes an EventMetadata message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.EventMetadata * @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.CreateSpecialistPoolOperationMetadata} CreateSpecialistPoolOperationMetadata + * @returns {google.cloud.aiplatform.v1.EventMetadata} EventMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CreateSpecialistPoolOperationMetadata.decode = function decode(reader, length, error) { + EventMetadata.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.EventMetadata(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.decode(reader, reader.uint32()); + message.groundingMetadata = $root.google.cloud.aiplatform.v1.GroundingMetadata.decode(reader, reader.uint32()); + break; + } + case 2: { + message.partial = reader.bool(); + break; + } + case 3: { + message.turnComplete = reader.bool(); + break; + } + case 4: { + message.interrupted = reader.bool(); + break; + } + case 5: { + if (!(message.longRunningToolIds && message.longRunningToolIds.length)) + message.longRunningToolIds = []; + message.longRunningToolIds.push(reader.string()); + break; + } + case 6: { + message.branch = reader.string(); + break; + } + case 7: { + message.customMetadata = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 10: { + message.inputTranscription = $root.google.cloud.aiplatform.v1.Transcription.decode(reader, reader.uint32()); + break; + } + case 11: { + message.outputTranscription = $root.google.cloud.aiplatform.v1.Transcription.decode(reader, reader.uint32()); break; } default: @@ -322535,127 +323017,226 @@ }; /** - * Decodes a CreateSpecialistPoolOperationMetadata message from the specified reader or buffer, length delimited. + * Decodes an EventMetadata message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.EventMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata} CreateSpecialistPoolOperationMetadata + * @returns {google.cloud.aiplatform.v1.EventMetadata} EventMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CreateSpecialistPoolOperationMetadata.decodeDelimited = function decodeDelimited(reader) { + EventMetadata.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a CreateSpecialistPoolOperationMetadata message. + * Verifies an EventMetadata message. * @function verify - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.EventMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CreateSpecialistPoolOperationMetadata.verify = function verify(message) { + EventMetadata.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 (message.groundingMetadata != null && message.hasOwnProperty("groundingMetadata")) { + var error = $root.google.cloud.aiplatform.v1.GroundingMetadata.verify(message.groundingMetadata); if (error) - return "genericMetadata." + error; + return "groundingMetadata." + error; + } + if (message.partial != null && message.hasOwnProperty("partial")) + if (typeof message.partial !== "boolean") + return "partial: boolean expected"; + if (message.turnComplete != null && message.hasOwnProperty("turnComplete")) + if (typeof message.turnComplete !== "boolean") + return "turnComplete: boolean expected"; + if (message.interrupted != null && message.hasOwnProperty("interrupted")) + if (typeof message.interrupted !== "boolean") + return "interrupted: boolean expected"; + if (message.longRunningToolIds != null && message.hasOwnProperty("longRunningToolIds")) { + if (!Array.isArray(message.longRunningToolIds)) + return "longRunningToolIds: array expected"; + for (var i = 0; i < message.longRunningToolIds.length; ++i) + if (!$util.isString(message.longRunningToolIds[i])) + return "longRunningToolIds: string[] expected"; + } + if (message.branch != null && message.hasOwnProperty("branch")) + if (!$util.isString(message.branch)) + return "branch: string expected"; + if (message.customMetadata != null && message.hasOwnProperty("customMetadata")) { + var error = $root.google.protobuf.Struct.verify(message.customMetadata); + if (error) + return "customMetadata." + error; + } + if (message.inputTranscription != null && message.hasOwnProperty("inputTranscription")) { + var error = $root.google.cloud.aiplatform.v1.Transcription.verify(message.inputTranscription); + if (error) + return "inputTranscription." + error; + } + if (message.outputTranscription != null && message.hasOwnProperty("outputTranscription")) { + var error = $root.google.cloud.aiplatform.v1.Transcription.verify(message.outputTranscription); + if (error) + return "outputTranscription." + error; } return null; }; /** - * Creates a CreateSpecialistPoolOperationMetadata message from a plain object. Also converts values to their respective internal types. + * Creates an EventMetadata message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.EventMetadata * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata} CreateSpecialistPoolOperationMetadata + * @returns {google.cloud.aiplatform.v1.EventMetadata} EventMetadata */ - CreateSpecialistPoolOperationMetadata.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata) + EventMetadata.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.EventMetadata) return object; - var message = new $root.google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata(); - if (object.genericMetadata != null) { - if (typeof object.genericMetadata !== "object") - throw TypeError(".google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata.genericMetadata: object expected"); - message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.fromObject(object.genericMetadata); + var message = new $root.google.cloud.aiplatform.v1.EventMetadata(); + if (object.groundingMetadata != null) { + if (typeof object.groundingMetadata !== "object") + throw TypeError(".google.cloud.aiplatform.v1.EventMetadata.groundingMetadata: object expected"); + message.groundingMetadata = $root.google.cloud.aiplatform.v1.GroundingMetadata.fromObject(object.groundingMetadata); + } + if (object.partial != null) + message.partial = Boolean(object.partial); + if (object.turnComplete != null) + message.turnComplete = Boolean(object.turnComplete); + if (object.interrupted != null) + message.interrupted = Boolean(object.interrupted); + if (object.longRunningToolIds) { + if (!Array.isArray(object.longRunningToolIds)) + throw TypeError(".google.cloud.aiplatform.v1.EventMetadata.longRunningToolIds: array expected"); + message.longRunningToolIds = []; + for (var i = 0; i < object.longRunningToolIds.length; ++i) + message.longRunningToolIds[i] = String(object.longRunningToolIds[i]); + } + if (object.branch != null) + message.branch = String(object.branch); + if (object.customMetadata != null) { + if (typeof object.customMetadata !== "object") + throw TypeError(".google.cloud.aiplatform.v1.EventMetadata.customMetadata: object expected"); + message.customMetadata = $root.google.protobuf.Struct.fromObject(object.customMetadata); + } + if (object.inputTranscription != null) { + if (typeof object.inputTranscription !== "object") + throw TypeError(".google.cloud.aiplatform.v1.EventMetadata.inputTranscription: object expected"); + message.inputTranscription = $root.google.cloud.aiplatform.v1.Transcription.fromObject(object.inputTranscription); + } + if (object.outputTranscription != null) { + if (typeof object.outputTranscription !== "object") + throw TypeError(".google.cloud.aiplatform.v1.EventMetadata.outputTranscription: object expected"); + message.outputTranscription = $root.google.cloud.aiplatform.v1.Transcription.fromObject(object.outputTranscription); } return message; }; /** - * Creates a plain object from a CreateSpecialistPoolOperationMetadata message. Also converts values to other types if specified. + * Creates a plain object from an EventMetadata message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.EventMetadata * @static - * @param {google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata} message CreateSpecialistPoolOperationMetadata + * @param {google.cloud.aiplatform.v1.EventMetadata} message EventMetadata * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CreateSpecialistPoolOperationMetadata.toObject = function toObject(message, options) { + EventMetadata.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); + if (options.arrays || options.defaults) + object.longRunningToolIds = []; + if (options.defaults) { + object.groundingMetadata = null; + object.partial = false; + object.turnComplete = false; + object.interrupted = false; + object.branch = ""; + object.customMetadata = null; + object.inputTranscription = null; + object.outputTranscription = null; + } + if (message.groundingMetadata != null && message.hasOwnProperty("groundingMetadata")) + object.groundingMetadata = $root.google.cloud.aiplatform.v1.GroundingMetadata.toObject(message.groundingMetadata, options); + if (message.partial != null && message.hasOwnProperty("partial")) + object.partial = message.partial; + if (message.turnComplete != null && message.hasOwnProperty("turnComplete")) + object.turnComplete = message.turnComplete; + if (message.interrupted != null && message.hasOwnProperty("interrupted")) + object.interrupted = message.interrupted; + if (message.longRunningToolIds && message.longRunningToolIds.length) { + object.longRunningToolIds = []; + for (var j = 0; j < message.longRunningToolIds.length; ++j) + object.longRunningToolIds[j] = message.longRunningToolIds[j]; + } + if (message.branch != null && message.hasOwnProperty("branch")) + object.branch = message.branch; + if (message.customMetadata != null && message.hasOwnProperty("customMetadata")) + object.customMetadata = $root.google.protobuf.Struct.toObject(message.customMetadata, options); + if (message.inputTranscription != null && message.hasOwnProperty("inputTranscription")) + object.inputTranscription = $root.google.cloud.aiplatform.v1.Transcription.toObject(message.inputTranscription, options); + if (message.outputTranscription != null && message.hasOwnProperty("outputTranscription")) + object.outputTranscription = $root.google.cloud.aiplatform.v1.Transcription.toObject(message.outputTranscription, options); return object; }; /** - * Converts this CreateSpecialistPoolOperationMetadata to JSON. + * Converts this EventMetadata to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.EventMetadata * @instance * @returns {Object.} JSON object */ - CreateSpecialistPoolOperationMetadata.prototype.toJSON = function toJSON() { + EventMetadata.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CreateSpecialistPoolOperationMetadata + * Gets the default type url for EventMetadata * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.EventMetadata * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - CreateSpecialistPoolOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + EventMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.EventMetadata"; }; - return CreateSpecialistPoolOperationMetadata; + return EventMetadata; })(); - v1.GetSpecialistPoolRequest = (function() { + v1.EventActions = (function() { /** - * Properties of a GetSpecialistPoolRequest. + * Properties of an EventActions. * @memberof google.cloud.aiplatform.v1 - * @interface IGetSpecialistPoolRequest - * @property {string|null} [name] GetSpecialistPoolRequest name + * @interface IEventActions + * @property {boolean|null} [skipSummarization] EventActions skipSummarization + * @property {google.protobuf.IStruct|null} [stateDelta] EventActions stateDelta + * @property {Object.|null} [artifactDelta] EventActions artifactDelta + * @property {boolean|null} [escalate] EventActions escalate + * @property {google.protobuf.IStruct|null} [requestedAuthConfigs] EventActions requestedAuthConfigs + * @property {string|null} [transferAgent] EventActions transferAgent */ /** - * Constructs a new GetSpecialistPoolRequest. + * Constructs a new EventActions. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a GetSpecialistPoolRequest. - * @implements IGetSpecialistPoolRequest + * @classdesc Represents an EventActions. + * @implements IEventActions * @constructor - * @param {google.cloud.aiplatform.v1.IGetSpecialistPoolRequest=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IEventActions=} [properties] Properties to set */ - function GetSpecialistPoolRequest(properties) { + function EventActions(properties) { + this.artifactDelta = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -322663,77 +323244,167 @@ } /** - * GetSpecialistPoolRequest name. - * @member {string} name - * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * EventActions skipSummarization. + * @member {boolean} skipSummarization + * @memberof google.cloud.aiplatform.v1.EventActions * @instance */ - GetSpecialistPoolRequest.prototype.name = ""; + EventActions.prototype.skipSummarization = false; /** - * Creates a new GetSpecialistPoolRequest instance using the specified properties. + * EventActions stateDelta. + * @member {google.protobuf.IStruct|null|undefined} stateDelta + * @memberof google.cloud.aiplatform.v1.EventActions + * @instance + */ + EventActions.prototype.stateDelta = null; + + /** + * EventActions artifactDelta. + * @member {Object.} artifactDelta + * @memberof google.cloud.aiplatform.v1.EventActions + * @instance + */ + EventActions.prototype.artifactDelta = $util.emptyObject; + + /** + * EventActions escalate. + * @member {boolean} escalate + * @memberof google.cloud.aiplatform.v1.EventActions + * @instance + */ + EventActions.prototype.escalate = false; + + /** + * EventActions requestedAuthConfigs. + * @member {google.protobuf.IStruct|null|undefined} requestedAuthConfigs + * @memberof google.cloud.aiplatform.v1.EventActions + * @instance + */ + EventActions.prototype.requestedAuthConfigs = null; + + /** + * EventActions transferAgent. + * @member {string} transferAgent + * @memberof google.cloud.aiplatform.v1.EventActions + * @instance + */ + EventActions.prototype.transferAgent = ""; + + /** + * Creates a new EventActions instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.EventActions * @static - * @param {google.cloud.aiplatform.v1.IGetSpecialistPoolRequest=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.GetSpecialistPoolRequest} GetSpecialistPoolRequest instance + * @param {google.cloud.aiplatform.v1.IEventActions=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.EventActions} EventActions instance */ - GetSpecialistPoolRequest.create = function create(properties) { - return new GetSpecialistPoolRequest(properties); + EventActions.create = function create(properties) { + return new EventActions(properties); }; /** - * Encodes the specified GetSpecialistPoolRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.GetSpecialistPoolRequest.verify|verify} messages. + * Encodes the specified EventActions message. Does not implicitly {@link google.cloud.aiplatform.v1.EventActions.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.EventActions * @static - * @param {google.cloud.aiplatform.v1.IGetSpecialistPoolRequest} message GetSpecialistPoolRequest message or plain object to encode + * @param {google.cloud.aiplatform.v1.IEventActions} message EventActions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GetSpecialistPoolRequest.encode = function encode(message, writer) { + EventActions.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.skipSummarization != null && Object.hasOwnProperty.call(message, "skipSummarization")) + writer.uint32(/* id 1, wireType 0 =*/8).bool(message.skipSummarization); + if (message.stateDelta != null && Object.hasOwnProperty.call(message, "stateDelta")) + $root.google.protobuf.Struct.encode(message.stateDelta, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.artifactDelta != null && Object.hasOwnProperty.call(message, "artifactDelta")) + for (var keys = Object.keys(message.artifactDelta), i = 0; i < keys.length; ++i) + writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 0 =*/16).int32(message.artifactDelta[keys[i]]).ldelim(); + if (message.escalate != null && Object.hasOwnProperty.call(message, "escalate")) + writer.uint32(/* id 6, wireType 0 =*/48).bool(message.escalate); + if (message.requestedAuthConfigs != null && Object.hasOwnProperty.call(message, "requestedAuthConfigs")) + $root.google.protobuf.Struct.encode(message.requestedAuthConfigs, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.transferAgent != null && Object.hasOwnProperty.call(message, "transferAgent")) + writer.uint32(/* id 8, wireType 2 =*/66).string(message.transferAgent); return writer; }; /** - * Encodes the specified GetSpecialistPoolRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.GetSpecialistPoolRequest.verify|verify} messages. + * Encodes the specified EventActions message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.EventActions.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.EventActions * @static - * @param {google.cloud.aiplatform.v1.IGetSpecialistPoolRequest} message GetSpecialistPoolRequest message or plain object to encode + * @param {google.cloud.aiplatform.v1.IEventActions} message EventActions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GetSpecialistPoolRequest.encodeDelimited = function encodeDelimited(message, writer) { + EventActions.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a GetSpecialistPoolRequest message from the specified reader or buffer. + * Decodes an EventActions message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.EventActions * @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.GetSpecialistPoolRequest} GetSpecialistPoolRequest + * @returns {google.cloud.aiplatform.v1.EventActions} EventActions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GetSpecialistPoolRequest.decode = function decode(reader, length, error) { + EventActions.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.GetSpecialistPoolRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.EventActions(), key, value; while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.name = reader.string(); + message.skipSummarization = reader.bool(); + break; + } + case 2: { + message.stateDelta = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 3: { + if (message.artifactDelta === $util.emptyObject) + message.artifactDelta = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = 0; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.int32(); + break; + default: + reader.skipType(tag2 & 7); + break; + } + } + message.artifactDelta[key] = value; + break; + } + case 6: { + message.escalate = reader.bool(); + break; + } + case 7: { + message.requestedAuthConfigs = $root.google.protobuf.Struct.decode(reader, reader.uint32()); + break; + } + case 8: { + message.transferAgent = reader.string(); break; } default: @@ -322745,125 +323416,189 @@ }; /** - * Decodes a GetSpecialistPoolRequest message from the specified reader or buffer, length delimited. + * Decodes an EventActions message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.EventActions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.GetSpecialistPoolRequest} GetSpecialistPoolRequest + * @returns {google.cloud.aiplatform.v1.EventActions} EventActions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GetSpecialistPoolRequest.decodeDelimited = function decodeDelimited(reader) { + EventActions.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a GetSpecialistPoolRequest message. + * Verifies an EventActions message. * @function verify - * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.EventActions * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - GetSpecialistPoolRequest.verify = function verify(message) { + EventActions.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; + if (message.skipSummarization != null && message.hasOwnProperty("skipSummarization")) + if (typeof message.skipSummarization !== "boolean") + return "skipSummarization: boolean expected"; + if (message.stateDelta != null && message.hasOwnProperty("stateDelta")) { + var error = $root.google.protobuf.Struct.verify(message.stateDelta); + if (error) + return "stateDelta." + error; + } + if (message.artifactDelta != null && message.hasOwnProperty("artifactDelta")) { + if (!$util.isObject(message.artifactDelta)) + return "artifactDelta: object expected"; + var key = Object.keys(message.artifactDelta); + for (var i = 0; i < key.length; ++i) + if (!$util.isInteger(message.artifactDelta[key[i]])) + return "artifactDelta: integer{k:string} expected"; + } + if (message.escalate != null && message.hasOwnProperty("escalate")) + if (typeof message.escalate !== "boolean") + return "escalate: boolean expected"; + if (message.requestedAuthConfigs != null && message.hasOwnProperty("requestedAuthConfigs")) { + var error = $root.google.protobuf.Struct.verify(message.requestedAuthConfigs); + if (error) + return "requestedAuthConfigs." + error; + } + if (message.transferAgent != null && message.hasOwnProperty("transferAgent")) + if (!$util.isString(message.transferAgent)) + return "transferAgent: string expected"; return null; }; /** - * Creates a GetSpecialistPoolRequest message from a plain object. Also converts values to their respective internal types. + * Creates an EventActions message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.EventActions * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.GetSpecialistPoolRequest} GetSpecialistPoolRequest + * @returns {google.cloud.aiplatform.v1.EventActions} EventActions */ - GetSpecialistPoolRequest.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.GetSpecialistPoolRequest) + EventActions.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.EventActions) return object; - var message = new $root.google.cloud.aiplatform.v1.GetSpecialistPoolRequest(); - if (object.name != null) - message.name = String(object.name); + var message = new $root.google.cloud.aiplatform.v1.EventActions(); + if (object.skipSummarization != null) + message.skipSummarization = Boolean(object.skipSummarization); + if (object.stateDelta != null) { + if (typeof object.stateDelta !== "object") + throw TypeError(".google.cloud.aiplatform.v1.EventActions.stateDelta: object expected"); + message.stateDelta = $root.google.protobuf.Struct.fromObject(object.stateDelta); + } + if (object.artifactDelta) { + if (typeof object.artifactDelta !== "object") + throw TypeError(".google.cloud.aiplatform.v1.EventActions.artifactDelta: object expected"); + message.artifactDelta = {}; + for (var keys = Object.keys(object.artifactDelta), i = 0; i < keys.length; ++i) + message.artifactDelta[keys[i]] = object.artifactDelta[keys[i]] | 0; + } + if (object.escalate != null) + message.escalate = Boolean(object.escalate); + if (object.requestedAuthConfigs != null) { + if (typeof object.requestedAuthConfigs !== "object") + throw TypeError(".google.cloud.aiplatform.v1.EventActions.requestedAuthConfigs: object expected"); + message.requestedAuthConfigs = $root.google.protobuf.Struct.fromObject(object.requestedAuthConfigs); + } + if (object.transferAgent != null) + message.transferAgent = String(object.transferAgent); return message; }; /** - * Creates a plain object from a GetSpecialistPoolRequest message. Also converts values to other types if specified. + * Creates a plain object from an EventActions message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.EventActions * @static - * @param {google.cloud.aiplatform.v1.GetSpecialistPoolRequest} message GetSpecialistPoolRequest + * @param {google.cloud.aiplatform.v1.EventActions} message EventActions * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - GetSpecialistPoolRequest.toObject = function toObject(message, options) { + EventActions.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.defaults) - object.name = ""; - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; + if (options.objects || options.defaults) + object.artifactDelta = {}; + if (options.defaults) { + object.skipSummarization = false; + object.stateDelta = null; + object.escalate = false; + object.requestedAuthConfigs = null; + object.transferAgent = ""; + } + if (message.skipSummarization != null && message.hasOwnProperty("skipSummarization")) + object.skipSummarization = message.skipSummarization; + if (message.stateDelta != null && message.hasOwnProperty("stateDelta")) + object.stateDelta = $root.google.protobuf.Struct.toObject(message.stateDelta, options); + var keys2; + if (message.artifactDelta && (keys2 = Object.keys(message.artifactDelta)).length) { + object.artifactDelta = {}; + for (var j = 0; j < keys2.length; ++j) + object.artifactDelta[keys2[j]] = message.artifactDelta[keys2[j]]; + } + if (message.escalate != null && message.hasOwnProperty("escalate")) + object.escalate = message.escalate; + if (message.requestedAuthConfigs != null && message.hasOwnProperty("requestedAuthConfigs")) + object.requestedAuthConfigs = $root.google.protobuf.Struct.toObject(message.requestedAuthConfigs, options); + if (message.transferAgent != null && message.hasOwnProperty("transferAgent")) + object.transferAgent = message.transferAgent; return object; }; /** - * Converts this GetSpecialistPoolRequest to JSON. + * Converts this EventActions to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.EventActions * @instance * @returns {Object.} JSON object */ - GetSpecialistPoolRequest.prototype.toJSON = function toJSON() { + EventActions.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for GetSpecialistPoolRequest + * Gets the default type url for EventActions * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.EventActions * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - GetSpecialistPoolRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + EventActions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.GetSpecialistPoolRequest"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.EventActions"; }; - return GetSpecialistPoolRequest; + return EventActions; })(); - v1.ListSpecialistPoolsRequest = (function() { + v1.Transcription = (function() { /** - * Properties of a ListSpecialistPoolsRequest. + * Properties of a Transcription. * @memberof google.cloud.aiplatform.v1 - * @interface IListSpecialistPoolsRequest - * @property {string|null} [parent] ListSpecialistPoolsRequest parent - * @property {number|null} [pageSize] ListSpecialistPoolsRequest pageSize - * @property {string|null} [pageToken] ListSpecialistPoolsRequest pageToken - * @property {google.protobuf.IFieldMask|null} [readMask] ListSpecialistPoolsRequest readMask + * @interface ITranscription + * @property {string|null} [text] Transcription text + * @property {boolean|null} [finished] Transcription finished */ /** - * Constructs a new ListSpecialistPoolsRequest. + * Constructs a new Transcription. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a ListSpecialistPoolsRequest. - * @implements IListSpecialistPoolsRequest + * @classdesc Represents a Transcription. + * @implements ITranscription * @constructor - * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsRequest=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.ITranscription=} [properties] Properties to set */ - function ListSpecialistPoolsRequest(properties) { + function Transcription(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -322871,119 +323606,91 @@ } /** - * ListSpecialistPoolsRequest parent. - * @member {string} parent - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest - * @instance - */ - ListSpecialistPoolsRequest.prototype.parent = ""; - - /** - * ListSpecialistPoolsRequest pageSize. - * @member {number} pageSize - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest - * @instance - */ - ListSpecialistPoolsRequest.prototype.pageSize = 0; - - /** - * ListSpecialistPoolsRequest pageToken. - * @member {string} pageToken - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * Transcription text. + * @member {string} text + * @memberof google.cloud.aiplatform.v1.Transcription * @instance */ - ListSpecialistPoolsRequest.prototype.pageToken = ""; + Transcription.prototype.text = ""; /** - * ListSpecialistPoolsRequest readMask. - * @member {google.protobuf.IFieldMask|null|undefined} readMask - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * Transcription finished. + * @member {boolean} finished + * @memberof google.cloud.aiplatform.v1.Transcription * @instance */ - ListSpecialistPoolsRequest.prototype.readMask = null; + Transcription.prototype.finished = false; /** - * Creates a new ListSpecialistPoolsRequest instance using the specified properties. + * Creates a new Transcription instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @memberof google.cloud.aiplatform.v1.Transcription * @static - * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsRequest=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.ListSpecialistPoolsRequest} ListSpecialistPoolsRequest instance + * @param {google.cloud.aiplatform.v1.ITranscription=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.Transcription} Transcription instance */ - ListSpecialistPoolsRequest.create = function create(properties) { - return new ListSpecialistPoolsRequest(properties); + Transcription.create = function create(properties) { + return new Transcription(properties); }; /** - * Encodes the specified ListSpecialistPoolsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.ListSpecialistPoolsRequest.verify|verify} messages. + * Encodes the specified Transcription message. Does not implicitly {@link google.cloud.aiplatform.v1.Transcription.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @memberof google.cloud.aiplatform.v1.Transcription * @static - * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsRequest} message ListSpecialistPoolsRequest message or plain object to encode + * @param {google.cloud.aiplatform.v1.ITranscription} message Transcription message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ListSpecialistPoolsRequest.encode = function encode(message, writer) { + Transcription.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.pageSize != null && Object.hasOwnProperty.call(message, "pageSize")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize); - if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken); - if (message.readMask != null && Object.hasOwnProperty.call(message, "readMask")) - $root.google.protobuf.FieldMask.encode(message.readMask, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.text != null && Object.hasOwnProperty.call(message, "text")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.text); + if (message.finished != null && Object.hasOwnProperty.call(message, "finished")) + writer.uint32(/* id 2, wireType 0 =*/16).bool(message.finished); return writer; }; /** - * Encodes the specified ListSpecialistPoolsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ListSpecialistPoolsRequest.verify|verify} messages. + * Encodes the specified Transcription message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Transcription.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @memberof google.cloud.aiplatform.v1.Transcription * @static - * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsRequest} message ListSpecialistPoolsRequest message or plain object to encode + * @param {google.cloud.aiplatform.v1.ITranscription} message Transcription message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ListSpecialistPoolsRequest.encodeDelimited = function encodeDelimited(message, writer) { + Transcription.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a ListSpecialistPoolsRequest message from the specified reader or buffer. + * Decodes a Transcription message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @memberof google.cloud.aiplatform.v1.Transcription * @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.ListSpecialistPoolsRequest} ListSpecialistPoolsRequest + * @returns {google.cloud.aiplatform.v1.Transcription} Transcription * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ListSpecialistPoolsRequest.decode = function decode(reader, length, error) { + Transcription.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.ListSpecialistPoolsRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.Transcription(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.parent = reader.string(); + message.text = reader.string(); break; } case 2: { - message.pageSize = reader.int32(); - break; - } - case 3: { - message.pageToken = reader.string(); - break; - } - case 4: { - message.readMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + message.finished = reader.bool(); break; } default: @@ -322995,154 +323702,398 @@ }; /** - * Decodes a ListSpecialistPoolsRequest message from the specified reader or buffer, length delimited. + * Decodes a Transcription message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @memberof google.cloud.aiplatform.v1.Transcription * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.ListSpecialistPoolsRequest} ListSpecialistPoolsRequest + * @returns {google.cloud.aiplatform.v1.Transcription} Transcription * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ListSpecialistPoolsRequest.decodeDelimited = function decodeDelimited(reader) { + Transcription.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a ListSpecialistPoolsRequest message. + * Verifies a Transcription message. * @function verify - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @memberof google.cloud.aiplatform.v1.Transcription * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ListSpecialistPoolsRequest.verify = function verify(message) { + Transcription.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.pageSize != null && message.hasOwnProperty("pageSize")) - if (!$util.isInteger(message.pageSize)) - return "pageSize: integer expected"; - if (message.pageToken != null && message.hasOwnProperty("pageToken")) - if (!$util.isString(message.pageToken)) - return "pageToken: string expected"; - if (message.readMask != null && message.hasOwnProperty("readMask")) { - var error = $root.google.protobuf.FieldMask.verify(message.readMask); - if (error) - return "readMask." + error; - } + if (message.text != null && message.hasOwnProperty("text")) + if (!$util.isString(message.text)) + return "text: string expected"; + if (message.finished != null && message.hasOwnProperty("finished")) + if (typeof message.finished !== "boolean") + return "finished: boolean expected"; return null; }; /** - * Creates a ListSpecialistPoolsRequest message from a plain object. Also converts values to their respective internal types. + * Creates a Transcription message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @memberof google.cloud.aiplatform.v1.Transcription * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.ListSpecialistPoolsRequest} ListSpecialistPoolsRequest + * @returns {google.cloud.aiplatform.v1.Transcription} Transcription */ - ListSpecialistPoolsRequest.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.ListSpecialistPoolsRequest) + Transcription.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.Transcription) return object; - var message = new $root.google.cloud.aiplatform.v1.ListSpecialistPoolsRequest(); - if (object.parent != null) - message.parent = String(object.parent); - if (object.pageSize != null) - message.pageSize = object.pageSize | 0; - if (object.pageToken != null) - message.pageToken = String(object.pageToken); - if (object.readMask != null) { - if (typeof object.readMask !== "object") - throw TypeError(".google.cloud.aiplatform.v1.ListSpecialistPoolsRequest.readMask: object expected"); - message.readMask = $root.google.protobuf.FieldMask.fromObject(object.readMask); - } + var message = new $root.google.cloud.aiplatform.v1.Transcription(); + if (object.text != null) + message.text = String(object.text); + if (object.finished != null) + message.finished = Boolean(object.finished); return message; }; /** - * Creates a plain object from a ListSpecialistPoolsRequest message. Also converts values to other types if specified. + * Creates a plain object from a Transcription message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @memberof google.cloud.aiplatform.v1.Transcription * @static - * @param {google.cloud.aiplatform.v1.ListSpecialistPoolsRequest} message ListSpecialistPoolsRequest + * @param {google.cloud.aiplatform.v1.Transcription} message Transcription * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ListSpecialistPoolsRequest.toObject = function toObject(message, options) { + Transcription.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { - object.parent = ""; - object.pageSize = 0; - object.pageToken = ""; - object.readMask = null; + object.text = ""; + object.finished = false; } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = message.parent; - if (message.pageSize != null && message.hasOwnProperty("pageSize")) - object.pageSize = message.pageSize; - if (message.pageToken != null && message.hasOwnProperty("pageToken")) - object.pageToken = message.pageToken; - if (message.readMask != null && message.hasOwnProperty("readMask")) - object.readMask = $root.google.protobuf.FieldMask.toObject(message.readMask, options); + if (message.text != null && message.hasOwnProperty("text")) + object.text = message.text; + if (message.finished != null && message.hasOwnProperty("finished")) + object.finished = message.finished; return object; }; /** - * Converts this ListSpecialistPoolsRequest to JSON. + * Converts this Transcription to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @memberof google.cloud.aiplatform.v1.Transcription * @instance * @returns {Object.} JSON object */ - ListSpecialistPoolsRequest.prototype.toJSON = function toJSON() { + Transcription.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ListSpecialistPoolsRequest + * Gets the default type url for Transcription * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @memberof google.cloud.aiplatform.v1.Transcription * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - ListSpecialistPoolsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + Transcription.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.ListSpecialistPoolsRequest"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.Transcription"; }; - return ListSpecialistPoolsRequest; + return Transcription; })(); - v1.ListSpecialistPoolsResponse = (function() { + v1.SessionService = (function() { /** - * Properties of a ListSpecialistPoolsResponse. + * Constructs a new SessionService service. * @memberof google.cloud.aiplatform.v1 - * @interface IListSpecialistPoolsResponse - * @property {Array.|null} [specialistPools] ListSpecialistPoolsResponse specialistPools - * @property {string|null} [nextPageToken] ListSpecialistPoolsResponse nextPageToken + * @classdesc Represents a SessionService + * @extends $protobuf.rpc.Service + * @constructor + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited */ + function SessionService(rpcImpl, requestDelimited, responseDelimited) { + $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); + } + + (SessionService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = SessionService; /** - * Constructs a new ListSpecialistPoolsResponse. + * Creates new SessionService service using the specified rpc implementation. + * @function create + * @memberof google.cloud.aiplatform.v1.SessionService + * @static + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * @returns {SessionService} RPC service. Useful where requests and/or responses are streamed. + */ + SessionService.create = function create(rpcImpl, requestDelimited, responseDelimited) { + return new this(rpcImpl, requestDelimited, responseDelimited); + }; + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.SessionService|createSession}. + * @memberof google.cloud.aiplatform.v1.SessionService + * @typedef CreateSessionCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.longrunning.Operation} [response] Operation + */ + + /** + * Calls CreateSession. + * @function createSession + * @memberof google.cloud.aiplatform.v1.SessionService + * @instance + * @param {google.cloud.aiplatform.v1.ICreateSessionRequest} request CreateSessionRequest message or plain object + * @param {google.cloud.aiplatform.v1.SessionService.CreateSessionCallback} callback Node-style callback called with the error, if any, and Operation + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(SessionService.prototype.createSession = function createSession(request, callback) { + return this.rpcCall(createSession, $root.google.cloud.aiplatform.v1.CreateSessionRequest, $root.google.longrunning.Operation, request, callback); + }, "name", { value: "CreateSession" }); + + /** + * Calls CreateSession. + * @function createSession + * @memberof google.cloud.aiplatform.v1.SessionService + * @instance + * @param {google.cloud.aiplatform.v1.ICreateSessionRequest} request CreateSessionRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.SessionService|getSession}. + * @memberof google.cloud.aiplatform.v1.SessionService + * @typedef GetSessionCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.cloud.aiplatform.v1.Session} [response] Session + */ + + /** + * Calls GetSession. + * @function getSession + * @memberof google.cloud.aiplatform.v1.SessionService + * @instance + * @param {google.cloud.aiplatform.v1.IGetSessionRequest} request GetSessionRequest message or plain object + * @param {google.cloud.aiplatform.v1.SessionService.GetSessionCallback} callback Node-style callback called with the error, if any, and Session + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(SessionService.prototype.getSession = function getSession(request, callback) { + return this.rpcCall(getSession, $root.google.cloud.aiplatform.v1.GetSessionRequest, $root.google.cloud.aiplatform.v1.Session, request, callback); + }, "name", { value: "GetSession" }); + + /** + * Calls GetSession. + * @function getSession + * @memberof google.cloud.aiplatform.v1.SessionService + * @instance + * @param {google.cloud.aiplatform.v1.IGetSessionRequest} request GetSessionRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.SessionService|listSessions}. + * @memberof google.cloud.aiplatform.v1.SessionService + * @typedef ListSessionsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.cloud.aiplatform.v1.ListSessionsResponse} [response] ListSessionsResponse + */ + + /** + * Calls ListSessions. + * @function listSessions + * @memberof google.cloud.aiplatform.v1.SessionService + * @instance + * @param {google.cloud.aiplatform.v1.IListSessionsRequest} request ListSessionsRequest message or plain object + * @param {google.cloud.aiplatform.v1.SessionService.ListSessionsCallback} callback Node-style callback called with the error, if any, and ListSessionsResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(SessionService.prototype.listSessions = function listSessions(request, callback) { + return this.rpcCall(listSessions, $root.google.cloud.aiplatform.v1.ListSessionsRequest, $root.google.cloud.aiplatform.v1.ListSessionsResponse, request, callback); + }, "name", { value: "ListSessions" }); + + /** + * Calls ListSessions. + * @function listSessions + * @memberof google.cloud.aiplatform.v1.SessionService + * @instance + * @param {google.cloud.aiplatform.v1.IListSessionsRequest} request ListSessionsRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.SessionService|updateSession}. + * @memberof google.cloud.aiplatform.v1.SessionService + * @typedef UpdateSessionCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.cloud.aiplatform.v1.Session} [response] Session + */ + + /** + * Calls UpdateSession. + * @function updateSession + * @memberof google.cloud.aiplatform.v1.SessionService + * @instance + * @param {google.cloud.aiplatform.v1.IUpdateSessionRequest} request UpdateSessionRequest message or plain object + * @param {google.cloud.aiplatform.v1.SessionService.UpdateSessionCallback} callback Node-style callback called with the error, if any, and Session + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(SessionService.prototype.updateSession = function updateSession(request, callback) { + return this.rpcCall(updateSession, $root.google.cloud.aiplatform.v1.UpdateSessionRequest, $root.google.cloud.aiplatform.v1.Session, request, callback); + }, "name", { value: "UpdateSession" }); + + /** + * Calls UpdateSession. + * @function updateSession + * @memberof google.cloud.aiplatform.v1.SessionService + * @instance + * @param {google.cloud.aiplatform.v1.IUpdateSessionRequest} request UpdateSessionRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.SessionService|deleteSession}. + * @memberof google.cloud.aiplatform.v1.SessionService + * @typedef DeleteSessionCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.longrunning.Operation} [response] Operation + */ + + /** + * Calls DeleteSession. + * @function deleteSession + * @memberof google.cloud.aiplatform.v1.SessionService + * @instance + * @param {google.cloud.aiplatform.v1.IDeleteSessionRequest} request DeleteSessionRequest message or plain object + * @param {google.cloud.aiplatform.v1.SessionService.DeleteSessionCallback} callback Node-style callback called with the error, if any, and Operation + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(SessionService.prototype.deleteSession = function deleteSession(request, callback) { + return this.rpcCall(deleteSession, $root.google.cloud.aiplatform.v1.DeleteSessionRequest, $root.google.longrunning.Operation, request, callback); + }, "name", { value: "DeleteSession" }); + + /** + * Calls DeleteSession. + * @function deleteSession + * @memberof google.cloud.aiplatform.v1.SessionService + * @instance + * @param {google.cloud.aiplatform.v1.IDeleteSessionRequest} request DeleteSessionRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.SessionService|listEvents}. + * @memberof google.cloud.aiplatform.v1.SessionService + * @typedef ListEventsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.cloud.aiplatform.v1.ListEventsResponse} [response] ListEventsResponse + */ + + /** + * Calls ListEvents. + * @function listEvents + * @memberof google.cloud.aiplatform.v1.SessionService + * @instance + * @param {google.cloud.aiplatform.v1.IListEventsRequest} request ListEventsRequest message or plain object + * @param {google.cloud.aiplatform.v1.SessionService.ListEventsCallback} callback Node-style callback called with the error, if any, and ListEventsResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(SessionService.prototype.listEvents = function listEvents(request, callback) { + return this.rpcCall(listEvents, $root.google.cloud.aiplatform.v1.ListEventsRequest, $root.google.cloud.aiplatform.v1.ListEventsResponse, request, callback); + }, "name", { value: "ListEvents" }); + + /** + * Calls ListEvents. + * @function listEvents + * @memberof google.cloud.aiplatform.v1.SessionService + * @instance + * @param {google.cloud.aiplatform.v1.IListEventsRequest} request ListEventsRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.SessionService|appendEvent}. + * @memberof google.cloud.aiplatform.v1.SessionService + * @typedef AppendEventCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.cloud.aiplatform.v1.AppendEventResponse} [response] AppendEventResponse + */ + + /** + * Calls AppendEvent. + * @function appendEvent + * @memberof google.cloud.aiplatform.v1.SessionService + * @instance + * @param {google.cloud.aiplatform.v1.IAppendEventRequest} request AppendEventRequest message or plain object + * @param {google.cloud.aiplatform.v1.SessionService.AppendEventCallback} callback Node-style callback called with the error, if any, and AppendEventResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(SessionService.prototype.appendEvent = function appendEvent(request, callback) { + return this.rpcCall(appendEvent, $root.google.cloud.aiplatform.v1.AppendEventRequest, $root.google.cloud.aiplatform.v1.AppendEventResponse, request, callback); + }, "name", { value: "AppendEvent" }); + + /** + * Calls AppendEvent. + * @function appendEvent + * @memberof google.cloud.aiplatform.v1.SessionService + * @instance + * @param {google.cloud.aiplatform.v1.IAppendEventRequest} request AppendEventRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + return SessionService; + })(); + + v1.CreateSessionRequest = (function() { + + /** + * Properties of a CreateSessionRequest. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a ListSpecialistPoolsResponse. - * @implements IListSpecialistPoolsResponse + * @interface ICreateSessionRequest + * @property {string|null} [parent] CreateSessionRequest parent + * @property {google.cloud.aiplatform.v1.ISession|null} [session] CreateSessionRequest session + */ + + /** + * Constructs a new CreateSessionRequest. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a CreateSessionRequest. + * @implements ICreateSessionRequest * @constructor - * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsResponse=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.ICreateSessionRequest=} [properties] Properties to set */ - function ListSpecialistPoolsResponse(properties) { - this.specialistPools = []; + function CreateSessionRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -323150,94 +324101,91 @@ } /** - * ListSpecialistPoolsResponse specialistPools. - * @member {Array.} specialistPools - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * CreateSessionRequest parent. + * @member {string} parent + * @memberof google.cloud.aiplatform.v1.CreateSessionRequest * @instance */ - ListSpecialistPoolsResponse.prototype.specialistPools = $util.emptyArray; + CreateSessionRequest.prototype.parent = ""; /** - * ListSpecialistPoolsResponse nextPageToken. - * @member {string} nextPageToken - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * CreateSessionRequest session. + * @member {google.cloud.aiplatform.v1.ISession|null|undefined} session + * @memberof google.cloud.aiplatform.v1.CreateSessionRequest * @instance */ - ListSpecialistPoolsResponse.prototype.nextPageToken = ""; + CreateSessionRequest.prototype.session = null; /** - * Creates a new ListSpecialistPoolsResponse instance using the specified properties. + * Creates a new CreateSessionRequest instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @memberof google.cloud.aiplatform.v1.CreateSessionRequest * @static - * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsResponse=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.ListSpecialistPoolsResponse} ListSpecialistPoolsResponse instance + * @param {google.cloud.aiplatform.v1.ICreateSessionRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.CreateSessionRequest} CreateSessionRequest instance */ - ListSpecialistPoolsResponse.create = function create(properties) { - return new ListSpecialistPoolsResponse(properties); + CreateSessionRequest.create = function create(properties) { + return new CreateSessionRequest(properties); }; /** - * Encodes the specified ListSpecialistPoolsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.ListSpecialistPoolsResponse.verify|verify} messages. + * Encodes the specified CreateSessionRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.CreateSessionRequest.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @memberof google.cloud.aiplatform.v1.CreateSessionRequest * @static - * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsResponse} message ListSpecialistPoolsResponse message or plain object to encode + * @param {google.cloud.aiplatform.v1.ICreateSessionRequest} message CreateSessionRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ListSpecialistPoolsResponse.encode = function encode(message, writer) { + CreateSessionRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.specialistPools != null && message.specialistPools.length) - for (var i = 0; i < message.specialistPools.length; ++i) - $root.google.cloud.aiplatform.v1.SpecialistPool.encode(message.specialistPools[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken); + if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent); + if (message.session != null && Object.hasOwnProperty.call(message, "session")) + $root.google.cloud.aiplatform.v1.Session.encode(message.session, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Encodes the specified ListSpecialistPoolsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ListSpecialistPoolsResponse.verify|verify} messages. + * Encodes the specified CreateSessionRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.CreateSessionRequest.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @memberof google.cloud.aiplatform.v1.CreateSessionRequest * @static - * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsResponse} message ListSpecialistPoolsResponse message or plain object to encode + * @param {google.cloud.aiplatform.v1.ICreateSessionRequest} message CreateSessionRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ListSpecialistPoolsResponse.encodeDelimited = function encodeDelimited(message, writer) { + CreateSessionRequest.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a ListSpecialistPoolsResponse message from the specified reader or buffer. + * Decodes a CreateSessionRequest message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @memberof google.cloud.aiplatform.v1.CreateSessionRequest * @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.ListSpecialistPoolsResponse} ListSpecialistPoolsResponse + * @returns {google.cloud.aiplatform.v1.CreateSessionRequest} CreateSessionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ListSpecialistPoolsResponse.decode = function decode(reader, length, error) { + CreateSessionRequest.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.ListSpecialistPoolsResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.CreateSessionRequest(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - if (!(message.specialistPools && message.specialistPools.length)) - message.specialistPools = []; - message.specialistPools.push($root.google.cloud.aiplatform.v1.SpecialistPool.decode(reader, reader.uint32())); + message.parent = reader.string(); break; } case 2: { - message.nextPageToken = reader.string(); + message.session = $root.google.cloud.aiplatform.v1.Session.decode(reader, reader.uint32()); break; } default: @@ -323249,149 +324197,136 @@ }; /** - * Decodes a ListSpecialistPoolsResponse message from the specified reader or buffer, length delimited. + * Decodes a CreateSessionRequest message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @memberof google.cloud.aiplatform.v1.CreateSessionRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.ListSpecialistPoolsResponse} ListSpecialistPoolsResponse + * @returns {google.cloud.aiplatform.v1.CreateSessionRequest} CreateSessionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ListSpecialistPoolsResponse.decodeDelimited = function decodeDelimited(reader) { + CreateSessionRequest.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a ListSpecialistPoolsResponse message. + * Verifies a CreateSessionRequest message. * @function verify - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @memberof google.cloud.aiplatform.v1.CreateSessionRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ListSpecialistPoolsResponse.verify = function verify(message) { + CreateSessionRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.specialistPools != null && message.hasOwnProperty("specialistPools")) { - if (!Array.isArray(message.specialistPools)) - return "specialistPools: array expected"; - for (var i = 0; i < message.specialistPools.length; ++i) { - var error = $root.google.cloud.aiplatform.v1.SpecialistPool.verify(message.specialistPools[i]); - if (error) - return "specialistPools." + error; - } + if (message.parent != null && message.hasOwnProperty("parent")) + if (!$util.isString(message.parent)) + return "parent: string expected"; + if (message.session != null && message.hasOwnProperty("session")) { + var error = $root.google.cloud.aiplatform.v1.Session.verify(message.session); + if (error) + return "session." + error; } - if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken")) - if (!$util.isString(message.nextPageToken)) - return "nextPageToken: string expected"; return null; }; /** - * Creates a ListSpecialistPoolsResponse message from a plain object. Also converts values to their respective internal types. + * Creates a CreateSessionRequest message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @memberof google.cloud.aiplatform.v1.CreateSessionRequest * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.ListSpecialistPoolsResponse} ListSpecialistPoolsResponse + * @returns {google.cloud.aiplatform.v1.CreateSessionRequest} CreateSessionRequest */ - ListSpecialistPoolsResponse.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.ListSpecialistPoolsResponse) + CreateSessionRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.CreateSessionRequest) return object; - var message = new $root.google.cloud.aiplatform.v1.ListSpecialistPoolsResponse(); - if (object.specialistPools) { - if (!Array.isArray(object.specialistPools)) - throw TypeError(".google.cloud.aiplatform.v1.ListSpecialistPoolsResponse.specialistPools: array expected"); - message.specialistPools = []; - for (var i = 0; i < object.specialistPools.length; ++i) { - if (typeof object.specialistPools[i] !== "object") - throw TypeError(".google.cloud.aiplatform.v1.ListSpecialistPoolsResponse.specialistPools: object expected"); - message.specialistPools[i] = $root.google.cloud.aiplatform.v1.SpecialistPool.fromObject(object.specialistPools[i]); - } + var message = new $root.google.cloud.aiplatform.v1.CreateSessionRequest(); + if (object.parent != null) + message.parent = String(object.parent); + if (object.session != null) { + if (typeof object.session !== "object") + throw TypeError(".google.cloud.aiplatform.v1.CreateSessionRequest.session: object expected"); + message.session = $root.google.cloud.aiplatform.v1.Session.fromObject(object.session); } - if (object.nextPageToken != null) - message.nextPageToken = String(object.nextPageToken); return message; }; /** - * Creates a plain object from a ListSpecialistPoolsResponse message. Also converts values to other types if specified. + * Creates a plain object from a CreateSessionRequest message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @memberof google.cloud.aiplatform.v1.CreateSessionRequest * @static - * @param {google.cloud.aiplatform.v1.ListSpecialistPoolsResponse} message ListSpecialistPoolsResponse + * @param {google.cloud.aiplatform.v1.CreateSessionRequest} message CreateSessionRequest * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ListSpecialistPoolsResponse.toObject = function toObject(message, options) { + CreateSessionRequest.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.arrays || options.defaults) - object.specialistPools = []; - if (options.defaults) - object.nextPageToken = ""; - if (message.specialistPools && message.specialistPools.length) { - object.specialistPools = []; - for (var j = 0; j < message.specialistPools.length; ++j) - object.specialistPools[j] = $root.google.cloud.aiplatform.v1.SpecialistPool.toObject(message.specialistPools[j], options); + if (options.defaults) { + object.parent = ""; + object.session = null; } - if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken")) - object.nextPageToken = message.nextPageToken; + if (message.parent != null && message.hasOwnProperty("parent")) + object.parent = message.parent; + if (message.session != null && message.hasOwnProperty("session")) + object.session = $root.google.cloud.aiplatform.v1.Session.toObject(message.session, options); return object; }; /** - * Converts this ListSpecialistPoolsResponse to JSON. + * Converts this CreateSessionRequest to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @memberof google.cloud.aiplatform.v1.CreateSessionRequest * @instance * @returns {Object.} JSON object */ - ListSpecialistPoolsResponse.prototype.toJSON = function toJSON() { + CreateSessionRequest.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ListSpecialistPoolsResponse + * Gets the default type url for CreateSessionRequest * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @memberof google.cloud.aiplatform.v1.CreateSessionRequest * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - ListSpecialistPoolsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + CreateSessionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.ListSpecialistPoolsResponse"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.CreateSessionRequest"; }; - return ListSpecialistPoolsResponse; + return CreateSessionRequest; })(); - v1.DeleteSpecialistPoolRequest = (function() { + v1.CreateSessionOperationMetadata = (function() { /** - * Properties of a DeleteSpecialistPoolRequest. + * Properties of a CreateSessionOperationMetadata. * @memberof google.cloud.aiplatform.v1 - * @interface IDeleteSpecialistPoolRequest - * @property {string|null} [name] DeleteSpecialistPoolRequest name - * @property {boolean|null} [force] DeleteSpecialistPoolRequest force + * @interface ICreateSessionOperationMetadata + * @property {google.cloud.aiplatform.v1.IGenericOperationMetadata|null} [genericMetadata] CreateSessionOperationMetadata genericMetadata */ /** - * Constructs a new DeleteSpecialistPoolRequest. + * Constructs a new CreateSessionOperationMetadata. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a DeleteSpecialistPoolRequest. - * @implements IDeleteSpecialistPoolRequest + * @classdesc Represents a CreateSessionOperationMetadata. + * @implements ICreateSessionOperationMetadata * @constructor - * @param {google.cloud.aiplatform.v1.IDeleteSpecialistPoolRequest=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.ICreateSessionOperationMetadata=} [properties] Properties to set */ - function DeleteSpecialistPoolRequest(properties) { + function CreateSessionOperationMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -323399,91 +324334,77 @@ } /** - * DeleteSpecialistPoolRequest name. - * @member {string} name - * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest - * @instance - */ - DeleteSpecialistPoolRequest.prototype.name = ""; - - /** - * DeleteSpecialistPoolRequest force. - * @member {boolean} force - * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * CreateSessionOperationMetadata genericMetadata. + * @member {google.cloud.aiplatform.v1.IGenericOperationMetadata|null|undefined} genericMetadata + * @memberof google.cloud.aiplatform.v1.CreateSessionOperationMetadata * @instance */ - DeleteSpecialistPoolRequest.prototype.force = false; + CreateSessionOperationMetadata.prototype.genericMetadata = null; /** - * Creates a new DeleteSpecialistPoolRequest instance using the specified properties. + * Creates a new CreateSessionOperationMetadata instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.CreateSessionOperationMetadata * @static - * @param {google.cloud.aiplatform.v1.IDeleteSpecialistPoolRequest=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest} DeleteSpecialistPoolRequest instance + * @param {google.cloud.aiplatform.v1.ICreateSessionOperationMetadata=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.CreateSessionOperationMetadata} CreateSessionOperationMetadata instance */ - DeleteSpecialistPoolRequest.create = function create(properties) { - return new DeleteSpecialistPoolRequest(properties); + CreateSessionOperationMetadata.create = function create(properties) { + return new CreateSessionOperationMetadata(properties); }; /** - * Encodes the specified DeleteSpecialistPoolRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest.verify|verify} messages. + * Encodes the specified CreateSessionOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.CreateSessionOperationMetadata.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.CreateSessionOperationMetadata * @static - * @param {google.cloud.aiplatform.v1.IDeleteSpecialistPoolRequest} message DeleteSpecialistPoolRequest message or plain object to encode + * @param {google.cloud.aiplatform.v1.ICreateSessionOperationMetadata} message CreateSessionOperationMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DeleteSpecialistPoolRequest.encode = function encode(message, writer) { + CreateSessionOperationMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.force != null && Object.hasOwnProperty.call(message, "force")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.force); + 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 DeleteSpecialistPoolRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest.verify|verify} messages. + * Encodes the specified CreateSessionOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.CreateSessionOperationMetadata.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.CreateSessionOperationMetadata * @static - * @param {google.cloud.aiplatform.v1.IDeleteSpecialistPoolRequest} message DeleteSpecialistPoolRequest message or plain object to encode + * @param {google.cloud.aiplatform.v1.ICreateSessionOperationMetadata} message CreateSessionOperationMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DeleteSpecialistPoolRequest.encodeDelimited = function encodeDelimited(message, writer) { + CreateSessionOperationMetadata.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a DeleteSpecialistPoolRequest message from the specified reader or buffer. + * Decodes a CreateSessionOperationMetadata message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.CreateSessionOperationMetadata * @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.DeleteSpecialistPoolRequest} DeleteSpecialistPoolRequest + * @returns {google.cloud.aiplatform.v1.CreateSessionOperationMetadata} CreateSessionOperationMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - DeleteSpecialistPoolRequest.decode = function decode(reader, length, error) { + CreateSessionOperationMetadata.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.CreateSessionOperationMetadata(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.name = reader.string(); - break; - } - case 2: { - message.force = reader.bool(); + message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.decode(reader, reader.uint32()); break; } default: @@ -323495,132 +324416,127 @@ }; /** - * Decodes a DeleteSpecialistPoolRequest message from the specified reader or buffer, length delimited. + * Decodes a CreateSessionOperationMetadata message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.CreateSessionOperationMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest} DeleteSpecialistPoolRequest + * @returns {google.cloud.aiplatform.v1.CreateSessionOperationMetadata} CreateSessionOperationMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - DeleteSpecialistPoolRequest.decodeDelimited = function decodeDelimited(reader) { + CreateSessionOperationMetadata.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a DeleteSpecialistPoolRequest message. + * Verifies a CreateSessionOperationMetadata message. * @function verify - * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.CreateSessionOperationMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - DeleteSpecialistPoolRequest.verify = function verify(message) { + CreateSessionOperationMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.force != null && message.hasOwnProperty("force")) - if (typeof message.force !== "boolean") - return "force: boolean 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 DeleteSpecialistPoolRequest message from a plain object. Also converts values to their respective internal types. + * Creates a CreateSessionOperationMetadata message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.CreateSessionOperationMetadata * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest} DeleteSpecialistPoolRequest + * @returns {google.cloud.aiplatform.v1.CreateSessionOperationMetadata} CreateSessionOperationMetadata */ - DeleteSpecialistPoolRequest.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest) + CreateSessionOperationMetadata.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.CreateSessionOperationMetadata) return object; - var message = new $root.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest(); - if (object.name != null) - message.name = String(object.name); - if (object.force != null) - message.force = Boolean(object.force); + var message = new $root.google.cloud.aiplatform.v1.CreateSessionOperationMetadata(); + if (object.genericMetadata != null) { + if (typeof object.genericMetadata !== "object") + throw TypeError(".google.cloud.aiplatform.v1.CreateSessionOperationMetadata.genericMetadata: object expected"); + message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.fromObject(object.genericMetadata); + } return message; }; /** - * Creates a plain object from a DeleteSpecialistPoolRequest message. Also converts values to other types if specified. + * Creates a plain object from a CreateSessionOperationMetadata message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.CreateSessionOperationMetadata * @static - * @param {google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest} message DeleteSpecialistPoolRequest + * @param {google.cloud.aiplatform.v1.CreateSessionOperationMetadata} message CreateSessionOperationMetadata * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - DeleteSpecialistPoolRequest.toObject = function toObject(message, options) { + CreateSessionOperationMetadata.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.defaults) { - object.name = ""; - object.force = false; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.force != null && message.hasOwnProperty("force")) - object.force = message.force; + 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 DeleteSpecialistPoolRequest to JSON. + * Converts this CreateSessionOperationMetadata to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.CreateSessionOperationMetadata * @instance * @returns {Object.} JSON object */ - DeleteSpecialistPoolRequest.prototype.toJSON = function toJSON() { + CreateSessionOperationMetadata.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for DeleteSpecialistPoolRequest + * Gets the default type url for CreateSessionOperationMetadata * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.CreateSessionOperationMetadata * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - DeleteSpecialistPoolRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + CreateSessionOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.CreateSessionOperationMetadata"; }; - return DeleteSpecialistPoolRequest; + return CreateSessionOperationMetadata; })(); - v1.UpdateSpecialistPoolRequest = (function() { + v1.GetSessionRequest = (function() { /** - * Properties of an UpdateSpecialistPoolRequest. + * Properties of a GetSessionRequest. * @memberof google.cloud.aiplatform.v1 - * @interface IUpdateSpecialistPoolRequest - * @property {google.cloud.aiplatform.v1.ISpecialistPool|null} [specialistPool] UpdateSpecialistPoolRequest specialistPool - * @property {google.protobuf.IFieldMask|null} [updateMask] UpdateSpecialistPoolRequest updateMask + * @interface IGetSessionRequest + * @property {string|null} [name] GetSessionRequest name */ /** - * Constructs a new UpdateSpecialistPoolRequest. + * Constructs a new GetSessionRequest. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents an UpdateSpecialistPoolRequest. - * @implements IUpdateSpecialistPoolRequest + * @classdesc Represents a GetSessionRequest. + * @implements IGetSessionRequest * @constructor - * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolRequest=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IGetSessionRequest=} [properties] Properties to set */ - function UpdateSpecialistPoolRequest(properties) { + function GetSessionRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -323628,91 +324544,77 @@ } /** - * UpdateSpecialistPoolRequest specialistPool. - * @member {google.cloud.aiplatform.v1.ISpecialistPool|null|undefined} specialistPool - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest - * @instance - */ - UpdateSpecialistPoolRequest.prototype.specialistPool = null; - - /** - * UpdateSpecialistPoolRequest updateMask. - * @member {google.protobuf.IFieldMask|null|undefined} updateMask - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * GetSessionRequest name. + * @member {string} name + * @memberof google.cloud.aiplatform.v1.GetSessionRequest * @instance */ - UpdateSpecialistPoolRequest.prototype.updateMask = null; + GetSessionRequest.prototype.name = ""; /** - * Creates a new UpdateSpecialistPoolRequest instance using the specified properties. + * Creates a new GetSessionRequest instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.GetSessionRequest * @static - * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolRequest=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest} UpdateSpecialistPoolRequest instance + * @param {google.cloud.aiplatform.v1.IGetSessionRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.GetSessionRequest} GetSessionRequest instance */ - UpdateSpecialistPoolRequest.create = function create(properties) { - return new UpdateSpecialistPoolRequest(properties); + GetSessionRequest.create = function create(properties) { + return new GetSessionRequest(properties); }; /** - * Encodes the specified UpdateSpecialistPoolRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest.verify|verify} messages. + * Encodes the specified GetSessionRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.GetSessionRequest.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.GetSessionRequest * @static - * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolRequest} message UpdateSpecialistPoolRequest message or plain object to encode + * @param {google.cloud.aiplatform.v1.IGetSessionRequest} message GetSessionRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - UpdateSpecialistPoolRequest.encode = function encode(message, writer) { + GetSessionRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.specialistPool != null && Object.hasOwnProperty.call(message, "specialistPool")) - $root.google.cloud.aiplatform.v1.SpecialistPool.encode(message.specialistPool, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.updateMask != null && Object.hasOwnProperty.call(message, "updateMask")) - $root.google.protobuf.FieldMask.encode(message.updateMask, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.name != null && Object.hasOwnProperty.call(message, "name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); return writer; }; /** - * Encodes the specified UpdateSpecialistPoolRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest.verify|verify} messages. + * Encodes the specified GetSessionRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.GetSessionRequest.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.GetSessionRequest * @static - * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolRequest} message UpdateSpecialistPoolRequest message or plain object to encode + * @param {google.cloud.aiplatform.v1.IGetSessionRequest} message GetSessionRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - UpdateSpecialistPoolRequest.encodeDelimited = function encodeDelimited(message, writer) { + GetSessionRequest.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes an UpdateSpecialistPoolRequest message from the specified reader or buffer. + * Decodes a GetSessionRequest message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.GetSessionRequest * @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.UpdateSpecialistPoolRequest} UpdateSpecialistPoolRequest + * @returns {google.cloud.aiplatform.v1.GetSessionRequest} GetSessionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UpdateSpecialistPoolRequest.decode = function decode(reader, length, error) { + GetSessionRequest.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.GetSessionRequest(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.specialistPool = $root.google.cloud.aiplatform.v1.SpecialistPool.decode(reader, reader.uint32()); - break; - } - case 2: { - message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + message.name = reader.string(); break; } default: @@ -323724,142 +324626,126 @@ }; /** - * Decodes an UpdateSpecialistPoolRequest message from the specified reader or buffer, length delimited. + * Decodes a GetSessionRequest message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.GetSessionRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest} UpdateSpecialistPoolRequest + * @returns {google.cloud.aiplatform.v1.GetSessionRequest} GetSessionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UpdateSpecialistPoolRequest.decodeDelimited = function decodeDelimited(reader) { + GetSessionRequest.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies an UpdateSpecialistPoolRequest message. + * Verifies a GetSessionRequest message. * @function verify - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.GetSessionRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - UpdateSpecialistPoolRequest.verify = function verify(message) { + GetSessionRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.specialistPool != null && message.hasOwnProperty("specialistPool")) { - var error = $root.google.cloud.aiplatform.v1.SpecialistPool.verify(message.specialistPool); - if (error) - return "specialistPool." + error; - } - if (message.updateMask != null && message.hasOwnProperty("updateMask")) { - var error = $root.google.protobuf.FieldMask.verify(message.updateMask); - if (error) - return "updateMask." + error; - } + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; return null; }; /** - * Creates an UpdateSpecialistPoolRequest message from a plain object. Also converts values to their respective internal types. + * Creates a GetSessionRequest message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.GetSessionRequest * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest} UpdateSpecialistPoolRequest + * @returns {google.cloud.aiplatform.v1.GetSessionRequest} GetSessionRequest */ - UpdateSpecialistPoolRequest.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest) + GetSessionRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.GetSessionRequest) return object; - var message = new $root.google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest(); - if (object.specialistPool != null) { - if (typeof object.specialistPool !== "object") - throw TypeError(".google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest.specialistPool: object expected"); - message.specialistPool = $root.google.cloud.aiplatform.v1.SpecialistPool.fromObject(object.specialistPool); - } - if (object.updateMask != null) { - if (typeof object.updateMask !== "object") - throw TypeError(".google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest.updateMask: object expected"); - message.updateMask = $root.google.protobuf.FieldMask.fromObject(object.updateMask); - } + var message = new $root.google.cloud.aiplatform.v1.GetSessionRequest(); + if (object.name != null) + message.name = String(object.name); return message; }; /** - * Creates a plain object from an UpdateSpecialistPoolRequest message. Also converts values to other types if specified. + * Creates a plain object from a GetSessionRequest message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.GetSessionRequest * @static - * @param {google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest} message UpdateSpecialistPoolRequest + * @param {google.cloud.aiplatform.v1.GetSessionRequest} message GetSessionRequest * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - UpdateSpecialistPoolRequest.toObject = function toObject(message, options) { + GetSessionRequest.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.defaults) { - object.specialistPool = null; - object.updateMask = null; - } - if (message.specialistPool != null && message.hasOwnProperty("specialistPool")) - object.specialistPool = $root.google.cloud.aiplatform.v1.SpecialistPool.toObject(message.specialistPool, options); - if (message.updateMask != null && message.hasOwnProperty("updateMask")) - object.updateMask = $root.google.protobuf.FieldMask.toObject(message.updateMask, options); + if (options.defaults) + object.name = ""; + if (message.name != null && message.hasOwnProperty("name")) + object.name = message.name; return object; }; /** - * Converts this UpdateSpecialistPoolRequest to JSON. + * Converts this GetSessionRequest to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.GetSessionRequest * @instance * @returns {Object.} JSON object */ - UpdateSpecialistPoolRequest.prototype.toJSON = function toJSON() { + GetSessionRequest.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for UpdateSpecialistPoolRequest + * Gets the default type url for GetSessionRequest * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @memberof google.cloud.aiplatform.v1.GetSessionRequest * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - UpdateSpecialistPoolRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + GetSessionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.GetSessionRequest"; }; - return UpdateSpecialistPoolRequest; + return GetSessionRequest; })(); - v1.UpdateSpecialistPoolOperationMetadata = (function() { + v1.ListSessionsRequest = (function() { /** - * Properties of an UpdateSpecialistPoolOperationMetadata. + * Properties of a ListSessionsRequest. * @memberof google.cloud.aiplatform.v1 - * @interface IUpdateSpecialistPoolOperationMetadata - * @property {string|null} [specialistPool] UpdateSpecialistPoolOperationMetadata specialistPool - * @property {google.cloud.aiplatform.v1.IGenericOperationMetadata|null} [genericMetadata] UpdateSpecialistPoolOperationMetadata genericMetadata + * @interface IListSessionsRequest + * @property {string|null} [parent] ListSessionsRequest parent + * @property {number|null} [pageSize] ListSessionsRequest pageSize + * @property {string|null} [pageToken] ListSessionsRequest pageToken + * @property {string|null} [filter] ListSessionsRequest filter + * @property {string|null} [orderBy] ListSessionsRequest orderBy */ /** - * Constructs a new UpdateSpecialistPoolOperationMetadata. + * Constructs a new ListSessionsRequest. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents an UpdateSpecialistPoolOperationMetadata. - * @implements IUpdateSpecialistPoolOperationMetadata + * @classdesc Represents a ListSessionsRequest. + * @implements IListSessionsRequest * @constructor - * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolOperationMetadata=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IListSessionsRequest=} [properties] Properties to set */ - function UpdateSpecialistPoolOperationMetadata(properties) { + function ListSessionsRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -323867,91 +324753,133 @@ } /** - * UpdateSpecialistPoolOperationMetadata specialistPool. - * @member {string} specialistPool - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * ListSessionsRequest parent. + * @member {string} parent + * @memberof google.cloud.aiplatform.v1.ListSessionsRequest * @instance */ - UpdateSpecialistPoolOperationMetadata.prototype.specialistPool = ""; + ListSessionsRequest.prototype.parent = ""; /** - * UpdateSpecialistPoolOperationMetadata genericMetadata. - * @member {google.cloud.aiplatform.v1.IGenericOperationMetadata|null|undefined} genericMetadata - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * ListSessionsRequest pageSize. + * @member {number} pageSize + * @memberof google.cloud.aiplatform.v1.ListSessionsRequest * @instance */ - UpdateSpecialistPoolOperationMetadata.prototype.genericMetadata = null; + ListSessionsRequest.prototype.pageSize = 0; /** - * Creates a new UpdateSpecialistPoolOperationMetadata instance using the specified properties. + * ListSessionsRequest pageToken. + * @member {string} pageToken + * @memberof google.cloud.aiplatform.v1.ListSessionsRequest + * @instance + */ + ListSessionsRequest.prototype.pageToken = ""; + + /** + * ListSessionsRequest filter. + * @member {string} filter + * @memberof google.cloud.aiplatform.v1.ListSessionsRequest + * @instance + */ + ListSessionsRequest.prototype.filter = ""; + + /** + * ListSessionsRequest orderBy. + * @member {string} orderBy + * @memberof google.cloud.aiplatform.v1.ListSessionsRequest + * @instance + */ + ListSessionsRequest.prototype.orderBy = ""; + + /** + * Creates a new ListSessionsRequest instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.ListSessionsRequest * @static - * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolOperationMetadata=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata} UpdateSpecialistPoolOperationMetadata instance + * @param {google.cloud.aiplatform.v1.IListSessionsRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.ListSessionsRequest} ListSessionsRequest instance */ - UpdateSpecialistPoolOperationMetadata.create = function create(properties) { - return new UpdateSpecialistPoolOperationMetadata(properties); + ListSessionsRequest.create = function create(properties) { + return new ListSessionsRequest(properties); }; /** - * Encodes the specified UpdateSpecialistPoolOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata.verify|verify} messages. + * Encodes the specified ListSessionsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.ListSessionsRequest.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.ListSessionsRequest * @static - * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolOperationMetadata} message UpdateSpecialistPoolOperationMetadata message or plain object to encode + * @param {google.cloud.aiplatform.v1.IListSessionsRequest} message ListSessionsRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - UpdateSpecialistPoolOperationMetadata.encode = function encode(message, writer) { + ListSessionsRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.specialistPool != null && Object.hasOwnProperty.call(message, "specialistPool")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.specialistPool); - if (message.genericMetadata != null && Object.hasOwnProperty.call(message, "genericMetadata")) - $root.google.cloud.aiplatform.v1.GenericOperationMetadata.encode(message.genericMetadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent); + if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize); + if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken); + if (message.filter != null && Object.hasOwnProperty.call(message, "filter")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.filter); + if (message.orderBy != null && Object.hasOwnProperty.call(message, "orderBy")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.orderBy); return writer; }; /** - * Encodes the specified UpdateSpecialistPoolOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata.verify|verify} messages. + * Encodes the specified ListSessionsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ListSessionsRequest.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.ListSessionsRequest * @static - * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolOperationMetadata} message UpdateSpecialistPoolOperationMetadata message or plain object to encode + * @param {google.cloud.aiplatform.v1.IListSessionsRequest} message ListSessionsRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - UpdateSpecialistPoolOperationMetadata.encodeDelimited = function encodeDelimited(message, writer) { + ListSessionsRequest.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes an UpdateSpecialistPoolOperationMetadata message from the specified reader or buffer. + * Decodes a ListSessionsRequest message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.ListSessionsRequest * @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.UpdateSpecialistPoolOperationMetadata} UpdateSpecialistPoolOperationMetadata + * @returns {google.cloud.aiplatform.v1.ListSessionsRequest} ListSessionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UpdateSpecialistPoolOperationMetadata.decode = function decode(reader, length, error) { + ListSessionsRequest.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.ListSessionsRequest(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.specialistPool = reader.string(); + message.parent = reader.string(); break; } case 2: { - message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.decode(reader, reader.uint32()); + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } + case 4: { + message.filter = reader.string(); + break; + } + case 5: { + message.orderBy = reader.string(); break; } default: @@ -323963,149 +324891,157 @@ }; /** - * Decodes an UpdateSpecialistPoolOperationMetadata message from the specified reader or buffer, length delimited. + * Decodes a ListSessionsRequest message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.ListSessionsRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata} UpdateSpecialistPoolOperationMetadata + * @returns {google.cloud.aiplatform.v1.ListSessionsRequest} ListSessionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UpdateSpecialistPoolOperationMetadata.decodeDelimited = function decodeDelimited(reader) { + ListSessionsRequest.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies an UpdateSpecialistPoolOperationMetadata message. + * Verifies a ListSessionsRequest message. * @function verify - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.ListSessionsRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - UpdateSpecialistPoolOperationMetadata.verify = function verify(message) { + ListSessionsRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.specialistPool != null && message.hasOwnProperty("specialistPool")) - if (!$util.isString(message.specialistPool)) - return "specialistPool: string expected"; - if (message.genericMetadata != null && message.hasOwnProperty("genericMetadata")) { - var error = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.verify(message.genericMetadata); - if (error) - return "genericMetadata." + error; - } + if (message.parent != null && message.hasOwnProperty("parent")) + if (!$util.isString(message.parent)) + return "parent: string expected"; + if (message.pageSize != null && message.hasOwnProperty("pageSize")) + if (!$util.isInteger(message.pageSize)) + return "pageSize: integer expected"; + if (message.pageToken != null && message.hasOwnProperty("pageToken")) + if (!$util.isString(message.pageToken)) + return "pageToken: string expected"; + if (message.filter != null && message.hasOwnProperty("filter")) + if (!$util.isString(message.filter)) + return "filter: string expected"; + if (message.orderBy != null && message.hasOwnProperty("orderBy")) + if (!$util.isString(message.orderBy)) + return "orderBy: string expected"; return null; }; /** - * Creates an UpdateSpecialistPoolOperationMetadata message from a plain object. Also converts values to their respective internal types. + * Creates a ListSessionsRequest message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.ListSessionsRequest * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata} UpdateSpecialistPoolOperationMetadata + * @returns {google.cloud.aiplatform.v1.ListSessionsRequest} ListSessionsRequest */ - UpdateSpecialistPoolOperationMetadata.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata) + ListSessionsRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.ListSessionsRequest) return object; - var message = new $root.google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata(); - if (object.specialistPool != null) - message.specialistPool = String(object.specialistPool); - if (object.genericMetadata != null) { - if (typeof object.genericMetadata !== "object") - throw TypeError(".google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata.genericMetadata: object expected"); - message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.fromObject(object.genericMetadata); - } + var message = new $root.google.cloud.aiplatform.v1.ListSessionsRequest(); + if (object.parent != null) + message.parent = String(object.parent); + if (object.pageSize != null) + message.pageSize = object.pageSize | 0; + if (object.pageToken != null) + message.pageToken = String(object.pageToken); + if (object.filter != null) + message.filter = String(object.filter); + if (object.orderBy != null) + message.orderBy = String(object.orderBy); return message; }; /** - * Creates a plain object from an UpdateSpecialistPoolOperationMetadata message. Also converts values to other types if specified. + * Creates a plain object from a ListSessionsRequest message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.ListSessionsRequest * @static - * @param {google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata} message UpdateSpecialistPoolOperationMetadata + * @param {google.cloud.aiplatform.v1.ListSessionsRequest} message ListSessionsRequest * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - UpdateSpecialistPoolOperationMetadata.toObject = function toObject(message, options) { + ListSessionsRequest.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { - object.specialistPool = ""; - object.genericMetadata = null; + object.parent = ""; + object.pageSize = 0; + object.pageToken = ""; + object.filter = ""; + object.orderBy = ""; } - if (message.specialistPool != null && message.hasOwnProperty("specialistPool")) - object.specialistPool = message.specialistPool; - if (message.genericMetadata != null && message.hasOwnProperty("genericMetadata")) - object.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.toObject(message.genericMetadata, options); + if (message.parent != null && message.hasOwnProperty("parent")) + object.parent = message.parent; + if (message.pageSize != null && message.hasOwnProperty("pageSize")) + object.pageSize = message.pageSize; + if (message.pageToken != null && message.hasOwnProperty("pageToken")) + object.pageToken = message.pageToken; + if (message.filter != null && message.hasOwnProperty("filter")) + object.filter = message.filter; + if (message.orderBy != null && message.hasOwnProperty("orderBy")) + object.orderBy = message.orderBy; return object; }; /** - * Converts this UpdateSpecialistPoolOperationMetadata to JSON. + * Converts this ListSessionsRequest to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.ListSessionsRequest * @instance * @returns {Object.} JSON object */ - UpdateSpecialistPoolOperationMetadata.prototype.toJSON = function toJSON() { + ListSessionsRequest.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for UpdateSpecialistPoolOperationMetadata + * Gets the default type url for ListSessionsRequest * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @memberof google.cloud.aiplatform.v1.ListSessionsRequest * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - UpdateSpecialistPoolOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + ListSessionsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.ListSessionsRequest"; }; - return UpdateSpecialistPoolOperationMetadata; + return ListSessionsRequest; })(); - v1.Tensorboard = (function() { + v1.ListSessionsResponse = (function() { /** - * Properties of a Tensorboard. + * Properties of a ListSessionsResponse. * @memberof google.cloud.aiplatform.v1 - * @interface ITensorboard - * @property {string|null} [name] Tensorboard name - * @property {string|null} [displayName] Tensorboard displayName - * @property {string|null} [description] Tensorboard description - * @property {google.cloud.aiplatform.v1.IEncryptionSpec|null} [encryptionSpec] Tensorboard encryptionSpec - * @property {string|null} [blobStoragePathPrefix] Tensorboard blobStoragePathPrefix - * @property {number|null} [runCount] Tensorboard runCount - * @property {google.protobuf.ITimestamp|null} [createTime] Tensorboard createTime - * @property {google.protobuf.ITimestamp|null} [updateTime] Tensorboard updateTime - * @property {Object.|null} [labels] Tensorboard labels - * @property {string|null} [etag] Tensorboard etag - * @property {boolean|null} [isDefault] Tensorboard isDefault - * @property {boolean|null} [satisfiesPzs] Tensorboard satisfiesPzs - * @property {boolean|null} [satisfiesPzi] Tensorboard satisfiesPzi + * @interface IListSessionsResponse + * @property {Array.|null} [sessions] ListSessionsResponse sessions + * @property {string|null} [nextPageToken] ListSessionsResponse nextPageToken */ /** - * Constructs a new Tensorboard. + * Constructs a new ListSessionsResponse. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a Tensorboard. - * @implements ITensorboard + * @classdesc Represents a ListSessionsResponse. + * @implements IListSessionsResponse * @constructor - * @param {google.cloud.aiplatform.v1.ITensorboard=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IListSessionsResponse=} [properties] Properties to set */ - function Tensorboard(properties) { - this.labels = {}; + function ListSessionsResponse(properties) { + this.sessions = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -324113,265 +325049,94 @@ } /** - * Tensorboard name. - * @member {string} name - * @memberof google.cloud.aiplatform.v1.Tensorboard - * @instance - */ - Tensorboard.prototype.name = ""; - - /** - * Tensorboard displayName. - * @member {string} displayName - * @memberof google.cloud.aiplatform.v1.Tensorboard - * @instance - */ - Tensorboard.prototype.displayName = ""; - - /** - * Tensorboard description. - * @member {string} description - * @memberof google.cloud.aiplatform.v1.Tensorboard - * @instance - */ - Tensorboard.prototype.description = ""; - - /** - * Tensorboard encryptionSpec. - * @member {google.cloud.aiplatform.v1.IEncryptionSpec|null|undefined} encryptionSpec - * @memberof google.cloud.aiplatform.v1.Tensorboard - * @instance - */ - Tensorboard.prototype.encryptionSpec = null; - - /** - * Tensorboard blobStoragePathPrefix. - * @member {string} blobStoragePathPrefix - * @memberof google.cloud.aiplatform.v1.Tensorboard - * @instance - */ - Tensorboard.prototype.blobStoragePathPrefix = ""; - - /** - * Tensorboard runCount. - * @member {number} runCount - * @memberof google.cloud.aiplatform.v1.Tensorboard - * @instance - */ - Tensorboard.prototype.runCount = 0; - - /** - * Tensorboard createTime. - * @member {google.protobuf.ITimestamp|null|undefined} createTime - * @memberof google.cloud.aiplatform.v1.Tensorboard - * @instance - */ - Tensorboard.prototype.createTime = null; - - /** - * Tensorboard updateTime. - * @member {google.protobuf.ITimestamp|null|undefined} updateTime - * @memberof google.cloud.aiplatform.v1.Tensorboard - * @instance - */ - Tensorboard.prototype.updateTime = null; - - /** - * Tensorboard labels. - * @member {Object.} labels - * @memberof google.cloud.aiplatform.v1.Tensorboard - * @instance - */ - Tensorboard.prototype.labels = $util.emptyObject; - - /** - * Tensorboard etag. - * @member {string} etag - * @memberof google.cloud.aiplatform.v1.Tensorboard - * @instance - */ - Tensorboard.prototype.etag = ""; - - /** - * Tensorboard isDefault. - * @member {boolean} isDefault - * @memberof google.cloud.aiplatform.v1.Tensorboard - * @instance - */ - Tensorboard.prototype.isDefault = false; - - /** - * Tensorboard satisfiesPzs. - * @member {boolean} satisfiesPzs - * @memberof google.cloud.aiplatform.v1.Tensorboard + * ListSessionsResponse sessions. + * @member {Array.} sessions + * @memberof google.cloud.aiplatform.v1.ListSessionsResponse * @instance */ - Tensorboard.prototype.satisfiesPzs = false; + ListSessionsResponse.prototype.sessions = $util.emptyArray; /** - * Tensorboard satisfiesPzi. - * @member {boolean} satisfiesPzi - * @memberof google.cloud.aiplatform.v1.Tensorboard + * ListSessionsResponse nextPageToken. + * @member {string} nextPageToken + * @memberof google.cloud.aiplatform.v1.ListSessionsResponse * @instance */ - Tensorboard.prototype.satisfiesPzi = false; + ListSessionsResponse.prototype.nextPageToken = ""; /** - * Creates a new Tensorboard instance using the specified properties. + * Creates a new ListSessionsResponse instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.Tensorboard + * @memberof google.cloud.aiplatform.v1.ListSessionsResponse * @static - * @param {google.cloud.aiplatform.v1.ITensorboard=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.Tensorboard} Tensorboard instance + * @param {google.cloud.aiplatform.v1.IListSessionsResponse=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.ListSessionsResponse} ListSessionsResponse instance */ - Tensorboard.create = function create(properties) { - return new Tensorboard(properties); + ListSessionsResponse.create = function create(properties) { + return new ListSessionsResponse(properties); }; /** - * Encodes the specified Tensorboard message. Does not implicitly {@link google.cloud.aiplatform.v1.Tensorboard.verify|verify} messages. + * Encodes the specified ListSessionsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.ListSessionsResponse.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.Tensorboard + * @memberof google.cloud.aiplatform.v1.ListSessionsResponse * @static - * @param {google.cloud.aiplatform.v1.ITensorboard} message Tensorboard message or plain object to encode + * @param {google.cloud.aiplatform.v1.IListSessionsResponse} message ListSessionsResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Tensorboard.encode = function encode(message, writer) { + ListSessionsResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName); - if (message.description != null && Object.hasOwnProperty.call(message, "description")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.description); - if (message.runCount != null && Object.hasOwnProperty.call(message, "runCount")) - writer.uint32(/* id 5, wireType 0 =*/40).int32(message.runCount); - if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime")) - $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime")) - $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.labels != null && Object.hasOwnProperty.call(message, "labels")) - for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i) - writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); - if (message.etag != null && Object.hasOwnProperty.call(message, "etag")) - writer.uint32(/* id 9, wireType 2 =*/74).string(message.etag); - if (message.blobStoragePathPrefix != null && Object.hasOwnProperty.call(message, "blobStoragePathPrefix")) - writer.uint32(/* id 10, wireType 2 =*/82).string(message.blobStoragePathPrefix); - if (message.encryptionSpec != null && Object.hasOwnProperty.call(message, "encryptionSpec")) - $root.google.cloud.aiplatform.v1.EncryptionSpec.encode(message.encryptionSpec, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); - if (message.isDefault != null && Object.hasOwnProperty.call(message, "isDefault")) - writer.uint32(/* id 12, wireType 0 =*/96).bool(message.isDefault); - if (message.satisfiesPzs != null && Object.hasOwnProperty.call(message, "satisfiesPzs")) - writer.uint32(/* id 13, wireType 0 =*/104).bool(message.satisfiesPzs); - if (message.satisfiesPzi != null && Object.hasOwnProperty.call(message, "satisfiesPzi")) - writer.uint32(/* id 14, wireType 0 =*/112).bool(message.satisfiesPzi); + if (message.sessions != null && message.sessions.length) + for (var i = 0; i < message.sessions.length; ++i) + $root.google.cloud.aiplatform.v1.Session.encode(message.sessions[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken); return writer; }; /** - * Encodes the specified Tensorboard message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Tensorboard.verify|verify} messages. + * Encodes the specified ListSessionsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ListSessionsResponse.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.Tensorboard + * @memberof google.cloud.aiplatform.v1.ListSessionsResponse * @static - * @param {google.cloud.aiplatform.v1.ITensorboard} message Tensorboard message or plain object to encode + * @param {google.cloud.aiplatform.v1.IListSessionsResponse} message ListSessionsResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Tensorboard.encodeDelimited = function encodeDelimited(message, writer) { + ListSessionsResponse.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a Tensorboard message from the specified reader or buffer. + * Decodes a ListSessionsResponse message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.Tensorboard + * @memberof google.cloud.aiplatform.v1.ListSessionsResponse * @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.Tensorboard} Tensorboard + * @returns {google.cloud.aiplatform.v1.ListSessionsResponse} ListSessionsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Tensorboard.decode = function decode(reader, length, error) { + ListSessionsResponse.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.Tensorboard(), key, value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.ListSessionsResponse(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.name = reader.string(); + if (!(message.sessions && message.sessions.length)) + message.sessions = []; + message.sessions.push($root.google.cloud.aiplatform.v1.Session.decode(reader, reader.uint32())); break; } case 2: { - message.displayName = reader.string(); - break; - } - case 3: { - message.description = reader.string(); - break; - } - case 11: { - message.encryptionSpec = $root.google.cloud.aiplatform.v1.EncryptionSpec.decode(reader, reader.uint32()); - break; - } - case 10: { - message.blobStoragePathPrefix = reader.string(); - break; - } - case 5: { - message.runCount = reader.int32(); - break; - } - case 6: { - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - } - case 7: { - message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - } - case 8: { - if (message.labels === $util.emptyObject) - message.labels = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; - } - } - message.labels[key] = value; - break; - } - case 9: { - message.etag = reader.string(); - break; - } - case 12: { - message.isDefault = reader.bool(); - break; - } - case 13: { - message.satisfiesPzs = reader.bool(); - break; - } - case 14: { - message.satisfiesPzi = reader.bool(); + message.nextPageToken = reader.string(); break; } default: @@ -324383,252 +325148,149 @@ }; /** - * Decodes a Tensorboard message from the specified reader or buffer, length delimited. + * Decodes a ListSessionsResponse message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.Tensorboard + * @memberof google.cloud.aiplatform.v1.ListSessionsResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.Tensorboard} Tensorboard + * @returns {google.cloud.aiplatform.v1.ListSessionsResponse} ListSessionsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Tensorboard.decodeDelimited = function decodeDelimited(reader) { + ListSessionsResponse.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a Tensorboard message. + * Verifies a ListSessionsResponse message. * @function verify - * @memberof google.cloud.aiplatform.v1.Tensorboard + * @memberof google.cloud.aiplatform.v1.ListSessionsResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Tensorboard.verify = function verify(message) { + ListSessionsResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.displayName != null && message.hasOwnProperty("displayName")) - if (!$util.isString(message.displayName)) - return "displayName: string expected"; - if (message.description != null && message.hasOwnProperty("description")) - if (!$util.isString(message.description)) - return "description: string expected"; - if (message.encryptionSpec != null && message.hasOwnProperty("encryptionSpec")) { - var error = $root.google.cloud.aiplatform.v1.EncryptionSpec.verify(message.encryptionSpec); - if (error) - return "encryptionSpec." + error; - } - if (message.blobStoragePathPrefix != null && message.hasOwnProperty("blobStoragePathPrefix")) - if (!$util.isString(message.blobStoragePathPrefix)) - return "blobStoragePathPrefix: string expected"; - if (message.runCount != null && message.hasOwnProperty("runCount")) - if (!$util.isInteger(message.runCount)) - return "runCount: integer expected"; - if (message.createTime != null && message.hasOwnProperty("createTime")) { - var error = $root.google.protobuf.Timestamp.verify(message.createTime); - if (error) - return "createTime." + error; - } - if (message.updateTime != null && message.hasOwnProperty("updateTime")) { - var error = $root.google.protobuf.Timestamp.verify(message.updateTime); - if (error) - return "updateTime." + error; - } - if (message.labels != null && message.hasOwnProperty("labels")) { - if (!$util.isObject(message.labels)) - return "labels: object expected"; - var key = Object.keys(message.labels); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.labels[key[i]])) - return "labels: string{k:string} expected"; + if (message.sessions != null && message.hasOwnProperty("sessions")) { + if (!Array.isArray(message.sessions)) + return "sessions: array expected"; + for (var i = 0; i < message.sessions.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.Session.verify(message.sessions[i]); + if (error) + return "sessions." + error; + } } - if (message.etag != null && message.hasOwnProperty("etag")) - if (!$util.isString(message.etag)) - return "etag: string expected"; - if (message.isDefault != null && message.hasOwnProperty("isDefault")) - if (typeof message.isDefault !== "boolean") - return "isDefault: boolean expected"; - if (message.satisfiesPzs != null && message.hasOwnProperty("satisfiesPzs")) - if (typeof message.satisfiesPzs !== "boolean") - return "satisfiesPzs: boolean expected"; - if (message.satisfiesPzi != null && message.hasOwnProperty("satisfiesPzi")) - if (typeof message.satisfiesPzi !== "boolean") - return "satisfiesPzi: boolean expected"; + if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken")) + if (!$util.isString(message.nextPageToken)) + return "nextPageToken: string expected"; return null; }; /** - * Creates a Tensorboard message from a plain object. Also converts values to their respective internal types. + * Creates a ListSessionsResponse message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.Tensorboard + * @memberof google.cloud.aiplatform.v1.ListSessionsResponse * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.Tensorboard} Tensorboard + * @returns {google.cloud.aiplatform.v1.ListSessionsResponse} ListSessionsResponse */ - Tensorboard.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.Tensorboard) + ListSessionsResponse.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.ListSessionsResponse) return object; - var message = new $root.google.cloud.aiplatform.v1.Tensorboard(); - if (object.name != null) - message.name = String(object.name); - if (object.displayName != null) - message.displayName = String(object.displayName); - if (object.description != null) - message.description = String(object.description); - if (object.encryptionSpec != null) { - if (typeof object.encryptionSpec !== "object") - throw TypeError(".google.cloud.aiplatform.v1.Tensorboard.encryptionSpec: object expected"); - message.encryptionSpec = $root.google.cloud.aiplatform.v1.EncryptionSpec.fromObject(object.encryptionSpec); - } - if (object.blobStoragePathPrefix != null) - message.blobStoragePathPrefix = String(object.blobStoragePathPrefix); - if (object.runCount != null) - message.runCount = object.runCount | 0; - if (object.createTime != null) { - if (typeof object.createTime !== "object") - throw TypeError(".google.cloud.aiplatform.v1.Tensorboard.createTime: object expected"); - message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime); - } - if (object.updateTime != null) { - if (typeof object.updateTime !== "object") - throw TypeError(".google.cloud.aiplatform.v1.Tensorboard.updateTime: object expected"); - message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime); - } - if (object.labels) { - if (typeof object.labels !== "object") - throw TypeError(".google.cloud.aiplatform.v1.Tensorboard.labels: object expected"); - message.labels = {}; - for (var keys = Object.keys(object.labels), i = 0; i < keys.length; ++i) - message.labels[keys[i]] = String(object.labels[keys[i]]); + var message = new $root.google.cloud.aiplatform.v1.ListSessionsResponse(); + if (object.sessions) { + if (!Array.isArray(object.sessions)) + throw TypeError(".google.cloud.aiplatform.v1.ListSessionsResponse.sessions: array expected"); + message.sessions = []; + for (var i = 0; i < object.sessions.length; ++i) { + if (typeof object.sessions[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.ListSessionsResponse.sessions: object expected"); + message.sessions[i] = $root.google.cloud.aiplatform.v1.Session.fromObject(object.sessions[i]); + } } - if (object.etag != null) - message.etag = String(object.etag); - if (object.isDefault != null) - message.isDefault = Boolean(object.isDefault); - if (object.satisfiesPzs != null) - message.satisfiesPzs = Boolean(object.satisfiesPzs); - if (object.satisfiesPzi != null) - message.satisfiesPzi = Boolean(object.satisfiesPzi); + if (object.nextPageToken != null) + message.nextPageToken = String(object.nextPageToken); return message; }; /** - * Creates a plain object from a Tensorboard message. Also converts values to other types if specified. + * Creates a plain object from a ListSessionsResponse message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.Tensorboard + * @memberof google.cloud.aiplatform.v1.ListSessionsResponse * @static - * @param {google.cloud.aiplatform.v1.Tensorboard} message Tensorboard + * @param {google.cloud.aiplatform.v1.ListSessionsResponse} message ListSessionsResponse * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - Tensorboard.toObject = function toObject(message, options) { + ListSessionsResponse.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.objects || options.defaults) - object.labels = {}; - if (options.defaults) { - object.name = ""; - object.displayName = ""; - object.description = ""; - object.runCount = 0; - object.createTime = null; - object.updateTime = null; - object.etag = ""; - object.blobStoragePathPrefix = ""; - object.encryptionSpec = null; - object.isDefault = false; - object.satisfiesPzs = false; - object.satisfiesPzi = false; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.displayName != null && message.hasOwnProperty("displayName")) - object.displayName = message.displayName; - if (message.description != null && message.hasOwnProperty("description")) - object.description = message.description; - if (message.runCount != null && message.hasOwnProperty("runCount")) - object.runCount = message.runCount; - if (message.createTime != null && message.hasOwnProperty("createTime")) - object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options); - if (message.updateTime != null && message.hasOwnProperty("updateTime")) - object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options); - var keys2; - if (message.labels && (keys2 = Object.keys(message.labels)).length) { - object.labels = {}; - for (var j = 0; j < keys2.length; ++j) - object.labels[keys2[j]] = message.labels[keys2[j]]; + if (options.arrays || options.defaults) + object.sessions = []; + if (options.defaults) + object.nextPageToken = ""; + if (message.sessions && message.sessions.length) { + object.sessions = []; + for (var j = 0; j < message.sessions.length; ++j) + object.sessions[j] = $root.google.cloud.aiplatform.v1.Session.toObject(message.sessions[j], options); } - if (message.etag != null && message.hasOwnProperty("etag")) - object.etag = message.etag; - if (message.blobStoragePathPrefix != null && message.hasOwnProperty("blobStoragePathPrefix")) - object.blobStoragePathPrefix = message.blobStoragePathPrefix; - if (message.encryptionSpec != null && message.hasOwnProperty("encryptionSpec")) - object.encryptionSpec = $root.google.cloud.aiplatform.v1.EncryptionSpec.toObject(message.encryptionSpec, options); - if (message.isDefault != null && message.hasOwnProperty("isDefault")) - object.isDefault = message.isDefault; - if (message.satisfiesPzs != null && message.hasOwnProperty("satisfiesPzs")) - object.satisfiesPzs = message.satisfiesPzs; - if (message.satisfiesPzi != null && message.hasOwnProperty("satisfiesPzi")) - object.satisfiesPzi = message.satisfiesPzi; + if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken")) + object.nextPageToken = message.nextPageToken; return object; }; /** - * Converts this Tensorboard to JSON. + * Converts this ListSessionsResponse to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.Tensorboard + * @memberof google.cloud.aiplatform.v1.ListSessionsResponse * @instance * @returns {Object.} JSON object */ - Tensorboard.prototype.toJSON = function toJSON() { + ListSessionsResponse.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for Tensorboard + * Gets the default type url for ListSessionsResponse * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.Tensorboard + * @memberof google.cloud.aiplatform.v1.ListSessionsResponse * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - Tensorboard.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + ListSessionsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.Tensorboard"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.ListSessionsResponse"; }; - return Tensorboard; + return ListSessionsResponse; })(); - v1.TimeSeriesData = (function() { + v1.UpdateSessionRequest = (function() { /** - * Properties of a TimeSeriesData. + * Properties of an UpdateSessionRequest. * @memberof google.cloud.aiplatform.v1 - * @interface ITimeSeriesData - * @property {string|null} [tensorboardTimeSeriesId] TimeSeriesData tensorboardTimeSeriesId - * @property {google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType|null} [valueType] TimeSeriesData valueType - * @property {Array.|null} [values] TimeSeriesData values + * @interface IUpdateSessionRequest + * @property {google.cloud.aiplatform.v1.ISession|null} [session] UpdateSessionRequest session + * @property {google.protobuf.IFieldMask|null} [updateMask] UpdateSessionRequest updateMask */ /** - * Constructs a new TimeSeriesData. + * Constructs a new UpdateSessionRequest. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a TimeSeriesData. - * @implements ITimeSeriesData + * @classdesc Represents an UpdateSessionRequest. + * @implements IUpdateSessionRequest * @constructor - * @param {google.cloud.aiplatform.v1.ITimeSeriesData=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IUpdateSessionRequest=} [properties] Properties to set */ - function TimeSeriesData(properties) { - this.values = []; + function UpdateSessionRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -324636,108 +325298,91 @@ } /** - * TimeSeriesData tensorboardTimeSeriesId. - * @member {string} tensorboardTimeSeriesId - * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * UpdateSessionRequest session. + * @member {google.cloud.aiplatform.v1.ISession|null|undefined} session + * @memberof google.cloud.aiplatform.v1.UpdateSessionRequest * @instance */ - TimeSeriesData.prototype.tensorboardTimeSeriesId = ""; + UpdateSessionRequest.prototype.session = null; /** - * TimeSeriesData valueType. - * @member {google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType} valueType - * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * UpdateSessionRequest updateMask. + * @member {google.protobuf.IFieldMask|null|undefined} updateMask + * @memberof google.cloud.aiplatform.v1.UpdateSessionRequest * @instance */ - TimeSeriesData.prototype.valueType = 0; + UpdateSessionRequest.prototype.updateMask = null; /** - * TimeSeriesData values. - * @member {Array.} values - * @memberof google.cloud.aiplatform.v1.TimeSeriesData - * @instance + * Creates a new UpdateSessionRequest instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.UpdateSessionRequest + * @static + * @param {google.cloud.aiplatform.v1.IUpdateSessionRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.UpdateSessionRequest} UpdateSessionRequest instance */ - TimeSeriesData.prototype.values = $util.emptyArray; - - /** - * Creates a new TimeSeriesData instance using the specified properties. - * @function create - * @memberof google.cloud.aiplatform.v1.TimeSeriesData - * @static - * @param {google.cloud.aiplatform.v1.ITimeSeriesData=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.TimeSeriesData} TimeSeriesData instance - */ - TimeSeriesData.create = function create(properties) { - return new TimeSeriesData(properties); + UpdateSessionRequest.create = function create(properties) { + return new UpdateSessionRequest(properties); }; /** - * Encodes the specified TimeSeriesData message. Does not implicitly {@link google.cloud.aiplatform.v1.TimeSeriesData.verify|verify} messages. + * Encodes the specified UpdateSessionRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateSessionRequest.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @memberof google.cloud.aiplatform.v1.UpdateSessionRequest * @static - * @param {google.cloud.aiplatform.v1.ITimeSeriesData} message TimeSeriesData message or plain object to encode + * @param {google.cloud.aiplatform.v1.IUpdateSessionRequest} message UpdateSessionRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TimeSeriesData.encode = function encode(message, writer) { + UpdateSessionRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.tensorboardTimeSeriesId != null && Object.hasOwnProperty.call(message, "tensorboardTimeSeriesId")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.tensorboardTimeSeriesId); - if (message.valueType != null && Object.hasOwnProperty.call(message, "valueType")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.valueType); - if (message.values != null && message.values.length) - for (var i = 0; i < message.values.length; ++i) - $root.google.cloud.aiplatform.v1.TimeSeriesDataPoint.encode(message.values[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.session != null && Object.hasOwnProperty.call(message, "session")) + $root.google.cloud.aiplatform.v1.Session.encode(message.session, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.updateMask != null && Object.hasOwnProperty.call(message, "updateMask")) + $root.google.protobuf.FieldMask.encode(message.updateMask, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Encodes the specified TimeSeriesData message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TimeSeriesData.verify|verify} messages. + * Encodes the specified UpdateSessionRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateSessionRequest.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @memberof google.cloud.aiplatform.v1.UpdateSessionRequest * @static - * @param {google.cloud.aiplatform.v1.ITimeSeriesData} message TimeSeriesData message or plain object to encode + * @param {google.cloud.aiplatform.v1.IUpdateSessionRequest} message UpdateSessionRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TimeSeriesData.encodeDelimited = function encodeDelimited(message, writer) { + UpdateSessionRequest.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a TimeSeriesData message from the specified reader or buffer. + * Decodes an UpdateSessionRequest message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @memberof google.cloud.aiplatform.v1.UpdateSessionRequest * @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.TimeSeriesData} TimeSeriesData + * @returns {google.cloud.aiplatform.v1.UpdateSessionRequest} UpdateSessionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TimeSeriesData.decode = function decode(reader, length, error) { + UpdateSessionRequest.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TimeSeriesData(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.UpdateSessionRequest(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.tensorboardTimeSeriesId = reader.string(); + message.session = $root.google.cloud.aiplatform.v1.Session.decode(reader, reader.uint32()); break; } case 2: { - message.valueType = reader.int32(); - break; - } - case 3: { - if (!(message.values && message.values.length)) - message.values = []; - message.values.push($root.google.cloud.aiplatform.v1.TimeSeriesDataPoint.decode(reader, reader.uint32())); + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); break; } default: @@ -324749,190 +325394,141 @@ }; /** - * Decodes a TimeSeriesData message from the specified reader or buffer, length delimited. + * Decodes an UpdateSessionRequest message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @memberof google.cloud.aiplatform.v1.UpdateSessionRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.TimeSeriesData} TimeSeriesData + * @returns {google.cloud.aiplatform.v1.UpdateSessionRequest} UpdateSessionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TimeSeriesData.decodeDelimited = function decodeDelimited(reader) { + UpdateSessionRequest.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a TimeSeriesData message. + * Verifies an UpdateSessionRequest message. * @function verify - * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @memberof google.cloud.aiplatform.v1.UpdateSessionRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TimeSeriesData.verify = function verify(message) { + UpdateSessionRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.tensorboardTimeSeriesId != null && message.hasOwnProperty("tensorboardTimeSeriesId")) - if (!$util.isString(message.tensorboardTimeSeriesId)) - return "tensorboardTimeSeriesId: string expected"; - if (message.valueType != null && message.hasOwnProperty("valueType")) - switch (message.valueType) { - default: - return "valueType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } - if (message.values != null && message.hasOwnProperty("values")) { - if (!Array.isArray(message.values)) - return "values: array expected"; - for (var i = 0; i < message.values.length; ++i) { - var error = $root.google.cloud.aiplatform.v1.TimeSeriesDataPoint.verify(message.values[i]); - if (error) - return "values." + error; - } + if (message.session != null && message.hasOwnProperty("session")) { + var error = $root.google.cloud.aiplatform.v1.Session.verify(message.session); + if (error) + return "session." + error; + } + if (message.updateMask != null && message.hasOwnProperty("updateMask")) { + var error = $root.google.protobuf.FieldMask.verify(message.updateMask); + if (error) + return "updateMask." + error; } return null; }; /** - * Creates a TimeSeriesData message from a plain object. Also converts values to their respective internal types. + * Creates an UpdateSessionRequest message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @memberof google.cloud.aiplatform.v1.UpdateSessionRequest * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.TimeSeriesData} TimeSeriesData + * @returns {google.cloud.aiplatform.v1.UpdateSessionRequest} UpdateSessionRequest */ - TimeSeriesData.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.TimeSeriesData) + UpdateSessionRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.UpdateSessionRequest) return object; - var message = new $root.google.cloud.aiplatform.v1.TimeSeriesData(); - if (object.tensorboardTimeSeriesId != null) - message.tensorboardTimeSeriesId = String(object.tensorboardTimeSeriesId); - switch (object.valueType) { - default: - if (typeof object.valueType === "number") { - message.valueType = object.valueType; - break; - } - break; - case "VALUE_TYPE_UNSPECIFIED": - case 0: - message.valueType = 0; - break; - case "SCALAR": - case 1: - message.valueType = 1; - break; - case "TENSOR": - case 2: - message.valueType = 2; - break; - case "BLOB_SEQUENCE": - case 3: - message.valueType = 3; - break; + var message = new $root.google.cloud.aiplatform.v1.UpdateSessionRequest(); + if (object.session != null) { + if (typeof object.session !== "object") + throw TypeError(".google.cloud.aiplatform.v1.UpdateSessionRequest.session: object expected"); + message.session = $root.google.cloud.aiplatform.v1.Session.fromObject(object.session); } - if (object.values) { - if (!Array.isArray(object.values)) - throw TypeError(".google.cloud.aiplatform.v1.TimeSeriesData.values: array expected"); - message.values = []; - for (var i = 0; i < object.values.length; ++i) { - if (typeof object.values[i] !== "object") - throw TypeError(".google.cloud.aiplatform.v1.TimeSeriesData.values: object expected"); - message.values[i] = $root.google.cloud.aiplatform.v1.TimeSeriesDataPoint.fromObject(object.values[i]); - } + if (object.updateMask != null) { + if (typeof object.updateMask !== "object") + throw TypeError(".google.cloud.aiplatform.v1.UpdateSessionRequest.updateMask: object expected"); + message.updateMask = $root.google.protobuf.FieldMask.fromObject(object.updateMask); } return message; }; /** - * Creates a plain object from a TimeSeriesData message. Also converts values to other types if specified. + * Creates a plain object from an UpdateSessionRequest message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @memberof google.cloud.aiplatform.v1.UpdateSessionRequest * @static - * @param {google.cloud.aiplatform.v1.TimeSeriesData} message TimeSeriesData + * @param {google.cloud.aiplatform.v1.UpdateSessionRequest} message UpdateSessionRequest * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - TimeSeriesData.toObject = function toObject(message, options) { + UpdateSessionRequest.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.arrays || options.defaults) - object.values = []; if (options.defaults) { - object.tensorboardTimeSeriesId = ""; - object.valueType = options.enums === String ? "VALUE_TYPE_UNSPECIFIED" : 0; - } - if (message.tensorboardTimeSeriesId != null && message.hasOwnProperty("tensorboardTimeSeriesId")) - object.tensorboardTimeSeriesId = message.tensorboardTimeSeriesId; - if (message.valueType != null && message.hasOwnProperty("valueType")) - object.valueType = options.enums === String ? $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType[message.valueType] === undefined ? message.valueType : $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType[message.valueType] : message.valueType; - if (message.values && message.values.length) { - object.values = []; - for (var j = 0; j < message.values.length; ++j) - object.values[j] = $root.google.cloud.aiplatform.v1.TimeSeriesDataPoint.toObject(message.values[j], options); + object.session = null; + object.updateMask = null; } + if (message.session != null && message.hasOwnProperty("session")) + object.session = $root.google.cloud.aiplatform.v1.Session.toObject(message.session, options); + if (message.updateMask != null && message.hasOwnProperty("updateMask")) + object.updateMask = $root.google.protobuf.FieldMask.toObject(message.updateMask, options); return object; }; /** - * Converts this TimeSeriesData to JSON. + * Converts this UpdateSessionRequest to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @memberof google.cloud.aiplatform.v1.UpdateSessionRequest * @instance * @returns {Object.} JSON object */ - TimeSeriesData.prototype.toJSON = function toJSON() { + UpdateSessionRequest.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for TimeSeriesData + * Gets the default type url for UpdateSessionRequest * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @memberof google.cloud.aiplatform.v1.UpdateSessionRequest * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - TimeSeriesData.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + UpdateSessionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.TimeSeriesData"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.UpdateSessionRequest"; }; - return TimeSeriesData; + return UpdateSessionRequest; })(); - v1.TimeSeriesDataPoint = (function() { + v1.DeleteSessionRequest = (function() { /** - * Properties of a TimeSeriesDataPoint. + * Properties of a DeleteSessionRequest. * @memberof google.cloud.aiplatform.v1 - * @interface ITimeSeriesDataPoint - * @property {google.cloud.aiplatform.v1.IScalar|null} [scalar] TimeSeriesDataPoint scalar - * @property {google.cloud.aiplatform.v1.ITensorboardTensor|null} [tensor] TimeSeriesDataPoint tensor - * @property {google.cloud.aiplatform.v1.ITensorboardBlobSequence|null} [blobs] TimeSeriesDataPoint blobs - * @property {google.protobuf.ITimestamp|null} [wallTime] TimeSeriesDataPoint wallTime - * @property {number|Long|null} [step] TimeSeriesDataPoint step + * @interface IDeleteSessionRequest + * @property {string|null} [name] DeleteSessionRequest name */ /** - * Constructs a new TimeSeriesDataPoint. + * Constructs a new DeleteSessionRequest. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a TimeSeriesDataPoint. - * @implements ITimeSeriesDataPoint + * @classdesc Represents a DeleteSessionRequest. + * @implements IDeleteSessionRequest * @constructor - * @param {google.cloud.aiplatform.v1.ITimeSeriesDataPoint=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IDeleteSessionRequest=} [properties] Properties to set */ - function TimeSeriesDataPoint(properties) { + function DeleteSessionRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -324940,147 +325536,77 @@ } /** - * TimeSeriesDataPoint scalar. - * @member {google.cloud.aiplatform.v1.IScalar|null|undefined} scalar - * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint - * @instance - */ - TimeSeriesDataPoint.prototype.scalar = null; - - /** - * TimeSeriesDataPoint tensor. - * @member {google.cloud.aiplatform.v1.ITensorboardTensor|null|undefined} tensor - * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint - * @instance - */ - TimeSeriesDataPoint.prototype.tensor = null; - - /** - * TimeSeriesDataPoint blobs. - * @member {google.cloud.aiplatform.v1.ITensorboardBlobSequence|null|undefined} blobs - * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint - * @instance - */ - TimeSeriesDataPoint.prototype.blobs = null; - - /** - * TimeSeriesDataPoint wallTime. - * @member {google.protobuf.ITimestamp|null|undefined} wallTime - * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint - * @instance - */ - TimeSeriesDataPoint.prototype.wallTime = null; - - /** - * TimeSeriesDataPoint step. - * @member {number|Long} step - * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint - * @instance - */ - TimeSeriesDataPoint.prototype.step = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * TimeSeriesDataPoint value. - * @member {"scalar"|"tensor"|"blobs"|undefined} value - * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * DeleteSessionRequest name. + * @member {string} name + * @memberof google.cloud.aiplatform.v1.DeleteSessionRequest * @instance */ - Object.defineProperty(TimeSeriesDataPoint.prototype, "value", { - get: $util.oneOfGetter($oneOfFields = ["scalar", "tensor", "blobs"]), - set: $util.oneOfSetter($oneOfFields) - }); + DeleteSessionRequest.prototype.name = ""; /** - * Creates a new TimeSeriesDataPoint instance using the specified properties. + * Creates a new DeleteSessionRequest instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @memberof google.cloud.aiplatform.v1.DeleteSessionRequest * @static - * @param {google.cloud.aiplatform.v1.ITimeSeriesDataPoint=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.TimeSeriesDataPoint} TimeSeriesDataPoint instance + * @param {google.cloud.aiplatform.v1.IDeleteSessionRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.DeleteSessionRequest} DeleteSessionRequest instance */ - TimeSeriesDataPoint.create = function create(properties) { - return new TimeSeriesDataPoint(properties); + DeleteSessionRequest.create = function create(properties) { + return new DeleteSessionRequest(properties); }; /** - * Encodes the specified TimeSeriesDataPoint message. Does not implicitly {@link google.cloud.aiplatform.v1.TimeSeriesDataPoint.verify|verify} messages. + * Encodes the specified DeleteSessionRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.DeleteSessionRequest.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @memberof google.cloud.aiplatform.v1.DeleteSessionRequest * @static - * @param {google.cloud.aiplatform.v1.ITimeSeriesDataPoint} message TimeSeriesDataPoint message or plain object to encode + * @param {google.cloud.aiplatform.v1.IDeleteSessionRequest} message DeleteSessionRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TimeSeriesDataPoint.encode = function encode(message, writer) { + DeleteSessionRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.wallTime != null && Object.hasOwnProperty.call(message, "wallTime")) - $root.google.protobuf.Timestamp.encode(message.wallTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.step != null && Object.hasOwnProperty.call(message, "step")) - writer.uint32(/* id 2, wireType 0 =*/16).int64(message.step); - if (message.scalar != null && Object.hasOwnProperty.call(message, "scalar")) - $root.google.cloud.aiplatform.v1.Scalar.encode(message.scalar, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.tensor != null && Object.hasOwnProperty.call(message, "tensor")) - $root.google.cloud.aiplatform.v1.TensorboardTensor.encode(message.tensor, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.blobs != null && Object.hasOwnProperty.call(message, "blobs")) - $root.google.cloud.aiplatform.v1.TensorboardBlobSequence.encode(message.blobs, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.name != null && Object.hasOwnProperty.call(message, "name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); return writer; }; /** - * Encodes the specified TimeSeriesDataPoint message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TimeSeriesDataPoint.verify|verify} messages. + * Encodes the specified DeleteSessionRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.DeleteSessionRequest.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @memberof google.cloud.aiplatform.v1.DeleteSessionRequest * @static - * @param {google.cloud.aiplatform.v1.ITimeSeriesDataPoint} message TimeSeriesDataPoint message or plain object to encode + * @param {google.cloud.aiplatform.v1.IDeleteSessionRequest} message DeleteSessionRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TimeSeriesDataPoint.encodeDelimited = function encodeDelimited(message, writer) { + DeleteSessionRequest.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a TimeSeriesDataPoint message from the specified reader or buffer. + * Decodes a DeleteSessionRequest message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @memberof google.cloud.aiplatform.v1.DeleteSessionRequest * @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.TimeSeriesDataPoint} TimeSeriesDataPoint + * @returns {google.cloud.aiplatform.v1.DeleteSessionRequest} DeleteSessionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TimeSeriesDataPoint.decode = function decode(reader, length, error) { + DeleteSessionRequest.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TimeSeriesDataPoint(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.DeleteSessionRequest(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { - case 3: { - message.scalar = $root.google.cloud.aiplatform.v1.Scalar.decode(reader, reader.uint32()); - break; - } - case 4: { - message.tensor = $root.google.cloud.aiplatform.v1.TensorboardTensor.decode(reader, reader.uint32()); - break; - } - case 5: { - message.blobs = $root.google.cloud.aiplatform.v1.TensorboardBlobSequence.decode(reader, reader.uint32()); - break; - } case 1: { - message.wallTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - } - case 2: { - message.step = reader.int64(); + message.name = reader.string(); break; } default: @@ -325092,209 +325618,126 @@ }; /** - * Decodes a TimeSeriesDataPoint message from the specified reader or buffer, length delimited. + * Decodes a DeleteSessionRequest message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @memberof google.cloud.aiplatform.v1.DeleteSessionRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.TimeSeriesDataPoint} TimeSeriesDataPoint + * @returns {google.cloud.aiplatform.v1.DeleteSessionRequest} DeleteSessionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TimeSeriesDataPoint.decodeDelimited = function decodeDelimited(reader) { + DeleteSessionRequest.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a TimeSeriesDataPoint message. + * Verifies a DeleteSessionRequest message. * @function verify - * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @memberof google.cloud.aiplatform.v1.DeleteSessionRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TimeSeriesDataPoint.verify = function verify(message) { + DeleteSessionRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.scalar != null && message.hasOwnProperty("scalar")) { - properties.value = 1; - { - var error = $root.google.cloud.aiplatform.v1.Scalar.verify(message.scalar); - if (error) - return "scalar." + error; - } - } - if (message.tensor != null && message.hasOwnProperty("tensor")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.google.cloud.aiplatform.v1.TensorboardTensor.verify(message.tensor); - if (error) - return "tensor." + error; - } - } - if (message.blobs != null && message.hasOwnProperty("blobs")) { - if (properties.value === 1) - return "value: multiple values"; - properties.value = 1; - { - var error = $root.google.cloud.aiplatform.v1.TensorboardBlobSequence.verify(message.blobs); - if (error) - return "blobs." + error; - } - } - if (message.wallTime != null && message.hasOwnProperty("wallTime")) { - var error = $root.google.protobuf.Timestamp.verify(message.wallTime); - if (error) - return "wallTime." + error; - } - if (message.step != null && message.hasOwnProperty("step")) - if (!$util.isInteger(message.step) && !(message.step && $util.isInteger(message.step.low) && $util.isInteger(message.step.high))) - return "step: integer|Long expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; return null; }; /** - * Creates a TimeSeriesDataPoint message from a plain object. Also converts values to their respective internal types. + * Creates a DeleteSessionRequest message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @memberof google.cloud.aiplatform.v1.DeleteSessionRequest * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.TimeSeriesDataPoint} TimeSeriesDataPoint + * @returns {google.cloud.aiplatform.v1.DeleteSessionRequest} DeleteSessionRequest */ - TimeSeriesDataPoint.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.TimeSeriesDataPoint) + DeleteSessionRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.DeleteSessionRequest) return object; - var message = new $root.google.cloud.aiplatform.v1.TimeSeriesDataPoint(); - if (object.scalar != null) { - if (typeof object.scalar !== "object") - throw TypeError(".google.cloud.aiplatform.v1.TimeSeriesDataPoint.scalar: object expected"); - message.scalar = $root.google.cloud.aiplatform.v1.Scalar.fromObject(object.scalar); - } - if (object.tensor != null) { - if (typeof object.tensor !== "object") - throw TypeError(".google.cloud.aiplatform.v1.TimeSeriesDataPoint.tensor: object expected"); - message.tensor = $root.google.cloud.aiplatform.v1.TensorboardTensor.fromObject(object.tensor); - } - if (object.blobs != null) { - if (typeof object.blobs !== "object") - throw TypeError(".google.cloud.aiplatform.v1.TimeSeriesDataPoint.blobs: object expected"); - message.blobs = $root.google.cloud.aiplatform.v1.TensorboardBlobSequence.fromObject(object.blobs); - } - if (object.wallTime != null) { - if (typeof object.wallTime !== "object") - throw TypeError(".google.cloud.aiplatform.v1.TimeSeriesDataPoint.wallTime: object expected"); - message.wallTime = $root.google.protobuf.Timestamp.fromObject(object.wallTime); - } - if (object.step != null) - if ($util.Long) - (message.step = $util.Long.fromValue(object.step)).unsigned = false; - else if (typeof object.step === "string") - message.step = parseInt(object.step, 10); - else if (typeof object.step === "number") - message.step = object.step; - else if (typeof object.step === "object") - message.step = new $util.LongBits(object.step.low >>> 0, object.step.high >>> 0).toNumber(); + var message = new $root.google.cloud.aiplatform.v1.DeleteSessionRequest(); + if (object.name != null) + message.name = String(object.name); return message; }; /** - * Creates a plain object from a TimeSeriesDataPoint message. Also converts values to other types if specified. + * Creates a plain object from a DeleteSessionRequest message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @memberof google.cloud.aiplatform.v1.DeleteSessionRequest * @static - * @param {google.cloud.aiplatform.v1.TimeSeriesDataPoint} message TimeSeriesDataPoint + * @param {google.cloud.aiplatform.v1.DeleteSessionRequest} message DeleteSessionRequest * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - TimeSeriesDataPoint.toObject = function toObject(message, options) { + DeleteSessionRequest.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.defaults) { - object.wallTime = null; - if ($util.Long) { - var long = new $util.Long(0, 0, false); - object.step = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.step = options.longs === String ? "0" : 0; - } - if (message.wallTime != null && message.hasOwnProperty("wallTime")) - object.wallTime = $root.google.protobuf.Timestamp.toObject(message.wallTime, options); - if (message.step != null && message.hasOwnProperty("step")) - if (typeof message.step === "number") - object.step = options.longs === String ? String(message.step) : message.step; - else - object.step = options.longs === String ? $util.Long.prototype.toString.call(message.step) : options.longs === Number ? new $util.LongBits(message.step.low >>> 0, message.step.high >>> 0).toNumber() : message.step; - if (message.scalar != null && message.hasOwnProperty("scalar")) { - object.scalar = $root.google.cloud.aiplatform.v1.Scalar.toObject(message.scalar, options); - if (options.oneofs) - object.value = "scalar"; - } - if (message.tensor != null && message.hasOwnProperty("tensor")) { - object.tensor = $root.google.cloud.aiplatform.v1.TensorboardTensor.toObject(message.tensor, options); - if (options.oneofs) - object.value = "tensor"; - } - if (message.blobs != null && message.hasOwnProperty("blobs")) { - object.blobs = $root.google.cloud.aiplatform.v1.TensorboardBlobSequence.toObject(message.blobs, options); - if (options.oneofs) - object.value = "blobs"; - } + if (options.defaults) + object.name = ""; + if (message.name != null && message.hasOwnProperty("name")) + object.name = message.name; return object; }; /** - * Converts this TimeSeriesDataPoint to JSON. + * Converts this DeleteSessionRequest to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @memberof google.cloud.aiplatform.v1.DeleteSessionRequest * @instance * @returns {Object.} JSON object */ - TimeSeriesDataPoint.prototype.toJSON = function toJSON() { + DeleteSessionRequest.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for TimeSeriesDataPoint + * Gets the default type url for DeleteSessionRequest * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @memberof google.cloud.aiplatform.v1.DeleteSessionRequest * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - TimeSeriesDataPoint.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + DeleteSessionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.TimeSeriesDataPoint"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.DeleteSessionRequest"; }; - return TimeSeriesDataPoint; + return DeleteSessionRequest; })(); - v1.Scalar = (function() { + v1.ListEventsRequest = (function() { /** - * Properties of a Scalar. + * Properties of a ListEventsRequest. * @memberof google.cloud.aiplatform.v1 - * @interface IScalar - * @property {number|null} [value] Scalar value + * @interface IListEventsRequest + * @property {string|null} [parent] ListEventsRequest parent + * @property {number|null} [pageSize] ListEventsRequest pageSize + * @property {string|null} [pageToken] ListEventsRequest pageToken + * @property {string|null} [filter] ListEventsRequest filter + * @property {string|null} [orderBy] ListEventsRequest orderBy */ /** - * Constructs a new Scalar. + * Constructs a new ListEventsRequest. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a Scalar. - * @implements IScalar + * @classdesc Represents a ListEventsRequest. + * @implements IListEventsRequest * @constructor - * @param {google.cloud.aiplatform.v1.IScalar=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IListEventsRequest=} [properties] Properties to set */ - function Scalar(properties) { + function ListEventsRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -325302,77 +325745,133 @@ } /** - * Scalar value. - * @member {number} value - * @memberof google.cloud.aiplatform.v1.Scalar + * ListEventsRequest parent. + * @member {string} parent + * @memberof google.cloud.aiplatform.v1.ListEventsRequest * @instance */ - Scalar.prototype.value = 0; + ListEventsRequest.prototype.parent = ""; /** - * Creates a new Scalar instance using the specified properties. + * ListEventsRequest pageSize. + * @member {number} pageSize + * @memberof google.cloud.aiplatform.v1.ListEventsRequest + * @instance + */ + ListEventsRequest.prototype.pageSize = 0; + + /** + * ListEventsRequest pageToken. + * @member {string} pageToken + * @memberof google.cloud.aiplatform.v1.ListEventsRequest + * @instance + */ + ListEventsRequest.prototype.pageToken = ""; + + /** + * ListEventsRequest filter. + * @member {string} filter + * @memberof google.cloud.aiplatform.v1.ListEventsRequest + * @instance + */ + ListEventsRequest.prototype.filter = ""; + + /** + * ListEventsRequest orderBy. + * @member {string} orderBy + * @memberof google.cloud.aiplatform.v1.ListEventsRequest + * @instance + */ + ListEventsRequest.prototype.orderBy = ""; + + /** + * Creates a new ListEventsRequest instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.Scalar + * @memberof google.cloud.aiplatform.v1.ListEventsRequest * @static - * @param {google.cloud.aiplatform.v1.IScalar=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.Scalar} Scalar instance + * @param {google.cloud.aiplatform.v1.IListEventsRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.ListEventsRequest} ListEventsRequest instance */ - Scalar.create = function create(properties) { - return new Scalar(properties); + ListEventsRequest.create = function create(properties) { + return new ListEventsRequest(properties); }; /** - * Encodes the specified Scalar message. Does not implicitly {@link google.cloud.aiplatform.v1.Scalar.verify|verify} messages. + * Encodes the specified ListEventsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.ListEventsRequest.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.Scalar + * @memberof google.cloud.aiplatform.v1.ListEventsRequest * @static - * @param {google.cloud.aiplatform.v1.IScalar} message Scalar message or plain object to encode + * @param {google.cloud.aiplatform.v1.IListEventsRequest} message ListEventsRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Scalar.encode = function encode(message, writer) { + ListEventsRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 1, wireType 1 =*/9).double(message.value); + if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent); + if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize); + if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken); + if (message.filter != null && Object.hasOwnProperty.call(message, "filter")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.filter); + if (message.orderBy != null && Object.hasOwnProperty.call(message, "orderBy")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.orderBy); return writer; }; /** - * Encodes the specified Scalar message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Scalar.verify|verify} messages. + * Encodes the specified ListEventsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ListEventsRequest.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.Scalar + * @memberof google.cloud.aiplatform.v1.ListEventsRequest * @static - * @param {google.cloud.aiplatform.v1.IScalar} message Scalar message or plain object to encode + * @param {google.cloud.aiplatform.v1.IListEventsRequest} message ListEventsRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Scalar.encodeDelimited = function encodeDelimited(message, writer) { + ListEventsRequest.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a Scalar message from the specified reader or buffer. + * Decodes a ListEventsRequest message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.Scalar + * @memberof google.cloud.aiplatform.v1.ListEventsRequest * @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.Scalar} Scalar + * @returns {google.cloud.aiplatform.v1.ListEventsRequest} ListEventsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Scalar.decode = function decode(reader, length, error) { + ListEventsRequest.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.Scalar(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.ListEventsRequest(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.value = reader.double(); + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } + case 4: { + message.filter = reader.string(); + break; + } + case 5: { + message.orderBy = reader.string(); break; } default: @@ -325384,123 +325883,157 @@ }; /** - * Decodes a Scalar message from the specified reader or buffer, length delimited. + * Decodes a ListEventsRequest message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.Scalar + * @memberof google.cloud.aiplatform.v1.ListEventsRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.Scalar} Scalar + * @returns {google.cloud.aiplatform.v1.ListEventsRequest} ListEventsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Scalar.decodeDelimited = function decodeDelimited(reader) { + ListEventsRequest.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a Scalar message. + * Verifies a ListEventsRequest message. * @function verify - * @memberof google.cloud.aiplatform.v1.Scalar + * @memberof google.cloud.aiplatform.v1.ListEventsRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Scalar.verify = function verify(message) { + ListEventsRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (typeof message.value !== "number") - return "value: number expected"; + if (message.parent != null && message.hasOwnProperty("parent")) + if (!$util.isString(message.parent)) + return "parent: string expected"; + if (message.pageSize != null && message.hasOwnProperty("pageSize")) + if (!$util.isInteger(message.pageSize)) + return "pageSize: integer expected"; + if (message.pageToken != null && message.hasOwnProperty("pageToken")) + if (!$util.isString(message.pageToken)) + return "pageToken: string expected"; + if (message.filter != null && message.hasOwnProperty("filter")) + if (!$util.isString(message.filter)) + return "filter: string expected"; + if (message.orderBy != null && message.hasOwnProperty("orderBy")) + if (!$util.isString(message.orderBy)) + return "orderBy: string expected"; return null; }; /** - * Creates a Scalar message from a plain object. Also converts values to their respective internal types. + * Creates a ListEventsRequest message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.Scalar + * @memberof google.cloud.aiplatform.v1.ListEventsRequest * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.Scalar} Scalar + * @returns {google.cloud.aiplatform.v1.ListEventsRequest} ListEventsRequest */ - Scalar.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.Scalar) + ListEventsRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.ListEventsRequest) return object; - var message = new $root.google.cloud.aiplatform.v1.Scalar(); - if (object.value != null) - message.value = Number(object.value); + var message = new $root.google.cloud.aiplatform.v1.ListEventsRequest(); + if (object.parent != null) + message.parent = String(object.parent); + if (object.pageSize != null) + message.pageSize = object.pageSize | 0; + if (object.pageToken != null) + message.pageToken = String(object.pageToken); + if (object.filter != null) + message.filter = String(object.filter); + if (object.orderBy != null) + message.orderBy = String(object.orderBy); return message; }; /** - * Creates a plain object from a Scalar message. Also converts values to other types if specified. + * Creates a plain object from a ListEventsRequest message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.Scalar + * @memberof google.cloud.aiplatform.v1.ListEventsRequest * @static - * @param {google.cloud.aiplatform.v1.Scalar} message Scalar + * @param {google.cloud.aiplatform.v1.ListEventsRequest} message ListEventsRequest * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - Scalar.toObject = function toObject(message, options) { + ListEventsRequest.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.defaults) - object.value = 0; - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.json && !isFinite(message.value) ? String(message.value) : message.value; + if (options.defaults) { + object.parent = ""; + object.pageSize = 0; + object.pageToken = ""; + object.filter = ""; + object.orderBy = ""; + } + if (message.parent != null && message.hasOwnProperty("parent")) + object.parent = message.parent; + if (message.pageSize != null && message.hasOwnProperty("pageSize")) + object.pageSize = message.pageSize; + if (message.pageToken != null && message.hasOwnProperty("pageToken")) + object.pageToken = message.pageToken; + if (message.filter != null && message.hasOwnProperty("filter")) + object.filter = message.filter; + if (message.orderBy != null && message.hasOwnProperty("orderBy")) + object.orderBy = message.orderBy; return object; }; /** - * Converts this Scalar to JSON. + * Converts this ListEventsRequest to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.Scalar + * @memberof google.cloud.aiplatform.v1.ListEventsRequest * @instance * @returns {Object.} JSON object */ - Scalar.prototype.toJSON = function toJSON() { + ListEventsRequest.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for Scalar + * Gets the default type url for ListEventsRequest * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.Scalar + * @memberof google.cloud.aiplatform.v1.ListEventsRequest * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - Scalar.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + ListEventsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.Scalar"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.ListEventsRequest"; }; - return Scalar; + return ListEventsRequest; })(); - v1.TensorboardTensor = (function() { + v1.ListEventsResponse = (function() { /** - * Properties of a TensorboardTensor. + * Properties of a ListEventsResponse. * @memberof google.cloud.aiplatform.v1 - * @interface ITensorboardTensor - * @property {Uint8Array|null} [value] TensorboardTensor value - * @property {number|null} [versionNumber] TensorboardTensor versionNumber + * @interface IListEventsResponse + * @property {Array.|null} [sessionEvents] ListEventsResponse sessionEvents + * @property {string|null} [nextPageToken] ListEventsResponse nextPageToken */ /** - * Constructs a new TensorboardTensor. + * Constructs a new ListEventsResponse. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a TensorboardTensor. - * @implements ITensorboardTensor + * @classdesc Represents a ListEventsResponse. + * @implements IListEventsResponse * @constructor - * @param {google.cloud.aiplatform.v1.ITensorboardTensor=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IListEventsResponse=} [properties] Properties to set */ - function TensorboardTensor(properties) { + function ListEventsResponse(properties) { + this.sessionEvents = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -325508,91 +326041,94 @@ } /** - * TensorboardTensor value. - * @member {Uint8Array} value - * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * ListEventsResponse sessionEvents. + * @member {Array.} sessionEvents + * @memberof google.cloud.aiplatform.v1.ListEventsResponse * @instance */ - TensorboardTensor.prototype.value = $util.newBuffer([]); + ListEventsResponse.prototype.sessionEvents = $util.emptyArray; /** - * TensorboardTensor versionNumber. - * @member {number} versionNumber - * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * ListEventsResponse nextPageToken. + * @member {string} nextPageToken + * @memberof google.cloud.aiplatform.v1.ListEventsResponse * @instance */ - TensorboardTensor.prototype.versionNumber = 0; + ListEventsResponse.prototype.nextPageToken = ""; /** - * Creates a new TensorboardTensor instance using the specified properties. + * Creates a new ListEventsResponse instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @memberof google.cloud.aiplatform.v1.ListEventsResponse * @static - * @param {google.cloud.aiplatform.v1.ITensorboardTensor=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.TensorboardTensor} TensorboardTensor instance + * @param {google.cloud.aiplatform.v1.IListEventsResponse=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.ListEventsResponse} ListEventsResponse instance */ - TensorboardTensor.create = function create(properties) { - return new TensorboardTensor(properties); + ListEventsResponse.create = function create(properties) { + return new ListEventsResponse(properties); }; /** - * Encodes the specified TensorboardTensor message. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardTensor.verify|verify} messages. + * Encodes the specified ListEventsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.ListEventsResponse.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @memberof google.cloud.aiplatform.v1.ListEventsResponse * @static - * @param {google.cloud.aiplatform.v1.ITensorboardTensor} message TensorboardTensor message or plain object to encode + * @param {google.cloud.aiplatform.v1.IListEventsResponse} message ListEventsResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TensorboardTensor.encode = function encode(message, writer) { + ListEventsResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) - writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.value); - if (message.versionNumber != null && Object.hasOwnProperty.call(message, "versionNumber")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.versionNumber); + if (message.sessionEvents != null && message.sessionEvents.length) + for (var i = 0; i < message.sessionEvents.length; ++i) + $root.google.cloud.aiplatform.v1.SessionEvent.encode(message.sessionEvents[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken); return writer; }; /** - * Encodes the specified TensorboardTensor message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardTensor.verify|verify} messages. + * Encodes the specified ListEventsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ListEventsResponse.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @memberof google.cloud.aiplatform.v1.ListEventsResponse * @static - * @param {google.cloud.aiplatform.v1.ITensorboardTensor} message TensorboardTensor message or plain object to encode + * @param {google.cloud.aiplatform.v1.IListEventsResponse} message ListEventsResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TensorboardTensor.encodeDelimited = function encodeDelimited(message, writer) { + ListEventsResponse.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a TensorboardTensor message from the specified reader or buffer. + * Decodes a ListEventsResponse message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @memberof google.cloud.aiplatform.v1.ListEventsResponse * @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.TensorboardTensor} TensorboardTensor + * @returns {google.cloud.aiplatform.v1.ListEventsResponse} ListEventsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TensorboardTensor.decode = function decode(reader, length, error) { + ListEventsResponse.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TensorboardTensor(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.ListEventsResponse(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.value = reader.bytes(); + if (!(message.sessionEvents && message.sessionEvents.length)) + message.sessionEvents = []; + message.sessionEvents.push($root.google.cloud.aiplatform.v1.SessionEvent.decode(reader, reader.uint32())); break; } case 2: { - message.versionNumber = reader.int32(); + message.nextPageToken = reader.string(); break; } default: @@ -325604,141 +326140,149 @@ }; /** - * Decodes a TensorboardTensor message from the specified reader or buffer, length delimited. + * Decodes a ListEventsResponse message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @memberof google.cloud.aiplatform.v1.ListEventsResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.TensorboardTensor} TensorboardTensor + * @returns {google.cloud.aiplatform.v1.ListEventsResponse} ListEventsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TensorboardTensor.decodeDelimited = function decodeDelimited(reader) { + ListEventsResponse.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a TensorboardTensor message. + * Verifies a ListEventsResponse message. * @function verify - * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @memberof google.cloud.aiplatform.v1.ListEventsResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TensorboardTensor.verify = function verify(message) { + ListEventsResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - if (!(message.value && typeof message.value.length === "number" || $util.isString(message.value))) - return "value: buffer expected"; - if (message.versionNumber != null && message.hasOwnProperty("versionNumber")) - if (!$util.isInteger(message.versionNumber)) - return "versionNumber: integer expected"; + if (message.sessionEvents != null && message.hasOwnProperty("sessionEvents")) { + if (!Array.isArray(message.sessionEvents)) + return "sessionEvents: array expected"; + for (var i = 0; i < message.sessionEvents.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.SessionEvent.verify(message.sessionEvents[i]); + if (error) + return "sessionEvents." + error; + } + } + if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken")) + if (!$util.isString(message.nextPageToken)) + return "nextPageToken: string expected"; return null; }; /** - * Creates a TensorboardTensor message from a plain object. Also converts values to their respective internal types. + * Creates a ListEventsResponse message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @memberof google.cloud.aiplatform.v1.ListEventsResponse * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.TensorboardTensor} TensorboardTensor + * @returns {google.cloud.aiplatform.v1.ListEventsResponse} ListEventsResponse */ - TensorboardTensor.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.TensorboardTensor) + ListEventsResponse.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.ListEventsResponse) return object; - var message = new $root.google.cloud.aiplatform.v1.TensorboardTensor(); - if (object.value != null) - if (typeof object.value === "string") - $util.base64.decode(object.value, message.value = $util.newBuffer($util.base64.length(object.value)), 0); - else if (object.value.length >= 0) - message.value = object.value; - if (object.versionNumber != null) - message.versionNumber = object.versionNumber | 0; + var message = new $root.google.cloud.aiplatform.v1.ListEventsResponse(); + if (object.sessionEvents) { + if (!Array.isArray(object.sessionEvents)) + throw TypeError(".google.cloud.aiplatform.v1.ListEventsResponse.sessionEvents: array expected"); + message.sessionEvents = []; + for (var i = 0; i < object.sessionEvents.length; ++i) { + if (typeof object.sessionEvents[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.ListEventsResponse.sessionEvents: object expected"); + message.sessionEvents[i] = $root.google.cloud.aiplatform.v1.SessionEvent.fromObject(object.sessionEvents[i]); + } + } + if (object.nextPageToken != null) + message.nextPageToken = String(object.nextPageToken); return message; }; /** - * Creates a plain object from a TensorboardTensor message. Also converts values to other types if specified. + * Creates a plain object from a ListEventsResponse message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @memberof google.cloud.aiplatform.v1.ListEventsResponse * @static - * @param {google.cloud.aiplatform.v1.TensorboardTensor} message TensorboardTensor + * @param {google.cloud.aiplatform.v1.ListEventsResponse} message ListEventsResponse * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - TensorboardTensor.toObject = function toObject(message, options) { + ListEventsResponse.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.defaults) { - if (options.bytes === String) - object.value = ""; - else { - object.value = []; - if (options.bytes !== Array) - object.value = $util.newBuffer(object.value); - } - object.versionNumber = 0; + if (options.arrays || options.defaults) + object.sessionEvents = []; + if (options.defaults) + object.nextPageToken = ""; + if (message.sessionEvents && message.sessionEvents.length) { + object.sessionEvents = []; + for (var j = 0; j < message.sessionEvents.length; ++j) + object.sessionEvents[j] = $root.google.cloud.aiplatform.v1.SessionEvent.toObject(message.sessionEvents[j], options); } - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.bytes === String ? $util.base64.encode(message.value, 0, message.value.length) : options.bytes === Array ? Array.prototype.slice.call(message.value) : message.value; - if (message.versionNumber != null && message.hasOwnProperty("versionNumber")) - object.versionNumber = message.versionNumber; + if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken")) + object.nextPageToken = message.nextPageToken; return object; }; /** - * Converts this TensorboardTensor to JSON. + * Converts this ListEventsResponse to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @memberof google.cloud.aiplatform.v1.ListEventsResponse * @instance * @returns {Object.} JSON object */ - TensorboardTensor.prototype.toJSON = function toJSON() { + ListEventsResponse.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for TensorboardTensor + * Gets the default type url for ListEventsResponse * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @memberof google.cloud.aiplatform.v1.ListEventsResponse * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - TensorboardTensor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + ListEventsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.TensorboardTensor"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.ListEventsResponse"; }; - return TensorboardTensor; + return ListEventsResponse; })(); - v1.TensorboardBlobSequence = (function() { + v1.AppendEventRequest = (function() { /** - * Properties of a TensorboardBlobSequence. + * Properties of an AppendEventRequest. * @memberof google.cloud.aiplatform.v1 - * @interface ITensorboardBlobSequence - * @property {Array.|null} [values] TensorboardBlobSequence values + * @interface IAppendEventRequest + * @property {string|null} [name] AppendEventRequest name + * @property {google.cloud.aiplatform.v1.ISessionEvent|null} [event] AppendEventRequest event */ /** - * Constructs a new TensorboardBlobSequence. + * Constructs a new AppendEventRequest. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a TensorboardBlobSequence. - * @implements ITensorboardBlobSequence + * @classdesc Represents an AppendEventRequest. + * @implements IAppendEventRequest * @constructor - * @param {google.cloud.aiplatform.v1.ITensorboardBlobSequence=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IAppendEventRequest=} [properties] Properties to set */ - function TensorboardBlobSequence(properties) { - this.values = []; + function AppendEventRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -325746,80 +326290,91 @@ } /** - * TensorboardBlobSequence values. - * @member {Array.} values - * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * AppendEventRequest name. + * @member {string} name + * @memberof google.cloud.aiplatform.v1.AppendEventRequest * @instance */ - TensorboardBlobSequence.prototype.values = $util.emptyArray; + AppendEventRequest.prototype.name = ""; /** - * Creates a new TensorboardBlobSequence instance using the specified properties. + * AppendEventRequest event. + * @member {google.cloud.aiplatform.v1.ISessionEvent|null|undefined} event + * @memberof google.cloud.aiplatform.v1.AppendEventRequest + * @instance + */ + AppendEventRequest.prototype.event = null; + + /** + * Creates a new AppendEventRequest instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @memberof google.cloud.aiplatform.v1.AppendEventRequest * @static - * @param {google.cloud.aiplatform.v1.ITensorboardBlobSequence=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.TensorboardBlobSequence} TensorboardBlobSequence instance + * @param {google.cloud.aiplatform.v1.IAppendEventRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.AppendEventRequest} AppendEventRequest instance */ - TensorboardBlobSequence.create = function create(properties) { - return new TensorboardBlobSequence(properties); + AppendEventRequest.create = function create(properties) { + return new AppendEventRequest(properties); }; /** - * Encodes the specified TensorboardBlobSequence message. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardBlobSequence.verify|verify} messages. + * Encodes the specified AppendEventRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.AppendEventRequest.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @memberof google.cloud.aiplatform.v1.AppendEventRequest * @static - * @param {google.cloud.aiplatform.v1.ITensorboardBlobSequence} message TensorboardBlobSequence message or plain object to encode + * @param {google.cloud.aiplatform.v1.IAppendEventRequest} message AppendEventRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TensorboardBlobSequence.encode = function encode(message, writer) { + AppendEventRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.values != null && message.values.length) - for (var i = 0; i < message.values.length; ++i) - $root.google.cloud.aiplatform.v1.TensorboardBlob.encode(message.values[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.name != null && Object.hasOwnProperty.call(message, "name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.event != null && Object.hasOwnProperty.call(message, "event")) + $root.google.cloud.aiplatform.v1.SessionEvent.encode(message.event, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Encodes the specified TensorboardBlobSequence message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardBlobSequence.verify|verify} messages. + * Encodes the specified AppendEventRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AppendEventRequest.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @memberof google.cloud.aiplatform.v1.AppendEventRequest * @static - * @param {google.cloud.aiplatform.v1.ITensorboardBlobSequence} message TensorboardBlobSequence message or plain object to encode + * @param {google.cloud.aiplatform.v1.IAppendEventRequest} message AppendEventRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TensorboardBlobSequence.encodeDelimited = function encodeDelimited(message, writer) { + AppendEventRequest.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a TensorboardBlobSequence message from the specified reader or buffer. + * Decodes an AppendEventRequest message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @memberof google.cloud.aiplatform.v1.AppendEventRequest * @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.TensorboardBlobSequence} TensorboardBlobSequence + * @returns {google.cloud.aiplatform.v1.AppendEventRequest} AppendEventRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TensorboardBlobSequence.decode = function decode(reader, length, error) { + AppendEventRequest.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TensorboardBlobSequence(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.AppendEventRequest(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - if (!(message.values && message.values.length)) - message.values = []; - message.values.push($root.google.cloud.aiplatform.v1.TensorboardBlob.decode(reader, reader.uint32())); + message.name = reader.string(); + break; + } + case 2: { + message.event = $root.google.cloud.aiplatform.v1.SessionEvent.decode(reader, reader.uint32()); break; } default: @@ -325831,140 +326386,135 @@ }; /** - * Decodes a TensorboardBlobSequence message from the specified reader or buffer, length delimited. + * Decodes an AppendEventRequest message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @memberof google.cloud.aiplatform.v1.AppendEventRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.TensorboardBlobSequence} TensorboardBlobSequence + * @returns {google.cloud.aiplatform.v1.AppendEventRequest} AppendEventRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TensorboardBlobSequence.decodeDelimited = function decodeDelimited(reader) { + AppendEventRequest.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a TensorboardBlobSequence message. + * Verifies an AppendEventRequest message. * @function verify - * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @memberof google.cloud.aiplatform.v1.AppendEventRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TensorboardBlobSequence.verify = function verify(message) { + AppendEventRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.values != null && message.hasOwnProperty("values")) { - if (!Array.isArray(message.values)) - return "values: array expected"; - for (var i = 0; i < message.values.length; ++i) { - var error = $root.google.cloud.aiplatform.v1.TensorboardBlob.verify(message.values[i]); - if (error) - return "values." + error; - } + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.event != null && message.hasOwnProperty("event")) { + var error = $root.google.cloud.aiplatform.v1.SessionEvent.verify(message.event); + if (error) + return "event." + error; } return null; }; /** - * Creates a TensorboardBlobSequence message from a plain object. Also converts values to their respective internal types. + * Creates an AppendEventRequest message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @memberof google.cloud.aiplatform.v1.AppendEventRequest * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.TensorboardBlobSequence} TensorboardBlobSequence + * @returns {google.cloud.aiplatform.v1.AppendEventRequest} AppendEventRequest */ - TensorboardBlobSequence.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.TensorboardBlobSequence) + AppendEventRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.AppendEventRequest) return object; - var message = new $root.google.cloud.aiplatform.v1.TensorboardBlobSequence(); - if (object.values) { - if (!Array.isArray(object.values)) - throw TypeError(".google.cloud.aiplatform.v1.TensorboardBlobSequence.values: array expected"); - message.values = []; - for (var i = 0; i < object.values.length; ++i) { - if (typeof object.values[i] !== "object") - throw TypeError(".google.cloud.aiplatform.v1.TensorboardBlobSequence.values: object expected"); - message.values[i] = $root.google.cloud.aiplatform.v1.TensorboardBlob.fromObject(object.values[i]); - } + var message = new $root.google.cloud.aiplatform.v1.AppendEventRequest(); + if (object.name != null) + message.name = String(object.name); + if (object.event != null) { + if (typeof object.event !== "object") + throw TypeError(".google.cloud.aiplatform.v1.AppendEventRequest.event: object expected"); + message.event = $root.google.cloud.aiplatform.v1.SessionEvent.fromObject(object.event); } return message; }; /** - * Creates a plain object from a TensorboardBlobSequence message. Also converts values to other types if specified. + * Creates a plain object from an AppendEventRequest message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @memberof google.cloud.aiplatform.v1.AppendEventRequest * @static - * @param {google.cloud.aiplatform.v1.TensorboardBlobSequence} message TensorboardBlobSequence + * @param {google.cloud.aiplatform.v1.AppendEventRequest} message AppendEventRequest * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - TensorboardBlobSequence.toObject = function toObject(message, options) { + AppendEventRequest.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.arrays || options.defaults) - object.values = []; - if (message.values && message.values.length) { - object.values = []; - for (var j = 0; j < message.values.length; ++j) - object.values[j] = $root.google.cloud.aiplatform.v1.TensorboardBlob.toObject(message.values[j], options); + if (options.defaults) { + object.name = ""; + object.event = null; } + if (message.name != null && message.hasOwnProperty("name")) + object.name = message.name; + if (message.event != null && message.hasOwnProperty("event")) + object.event = $root.google.cloud.aiplatform.v1.SessionEvent.toObject(message.event, options); return object; }; /** - * Converts this TensorboardBlobSequence to JSON. + * Converts this AppendEventRequest to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @memberof google.cloud.aiplatform.v1.AppendEventRequest * @instance * @returns {Object.} JSON object */ - TensorboardBlobSequence.prototype.toJSON = function toJSON() { + AppendEventRequest.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for TensorboardBlobSequence + * Gets the default type url for AppendEventRequest * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @memberof google.cloud.aiplatform.v1.AppendEventRequest * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - TensorboardBlobSequence.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + AppendEventRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.TensorboardBlobSequence"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.AppendEventRequest"; }; - return TensorboardBlobSequence; + return AppendEventRequest; })(); - v1.TensorboardBlob = (function() { + v1.AppendEventResponse = (function() { /** - * Properties of a TensorboardBlob. + * Properties of an AppendEventResponse. * @memberof google.cloud.aiplatform.v1 - * @interface ITensorboardBlob - * @property {string|null} [id] TensorboardBlob id - * @property {Uint8Array|null} [data] TensorboardBlob data + * @interface IAppendEventResponse */ /** - * Constructs a new TensorboardBlob. + * Constructs a new AppendEventResponse. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a TensorboardBlob. - * @implements ITensorboardBlob + * @classdesc Represents an AppendEventResponse. + * @implements IAppendEventResponse * @constructor - * @param {google.cloud.aiplatform.v1.ITensorboardBlob=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IAppendEventResponse=} [properties] Properties to set */ - function TensorboardBlob(properties) { + function AppendEventResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -325972,93 +326522,65 @@ } /** - * TensorboardBlob id. - * @member {string} id - * @memberof google.cloud.aiplatform.v1.TensorboardBlob - * @instance - */ - TensorboardBlob.prototype.id = ""; - - /** - * TensorboardBlob data. - * @member {Uint8Array} data - * @memberof google.cloud.aiplatform.v1.TensorboardBlob - * @instance - */ - TensorboardBlob.prototype.data = $util.newBuffer([]); - - /** - * Creates a new TensorboardBlob instance using the specified properties. + * Creates a new AppendEventResponse instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @memberof google.cloud.aiplatform.v1.AppendEventResponse * @static - * @param {google.cloud.aiplatform.v1.ITensorboardBlob=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.TensorboardBlob} TensorboardBlob instance + * @param {google.cloud.aiplatform.v1.IAppendEventResponse=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.AppendEventResponse} AppendEventResponse instance */ - TensorboardBlob.create = function create(properties) { - return new TensorboardBlob(properties); + AppendEventResponse.create = function create(properties) { + return new AppendEventResponse(properties); }; /** - * Encodes the specified TensorboardBlob message. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardBlob.verify|verify} messages. + * Encodes the specified AppendEventResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.AppendEventResponse.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @memberof google.cloud.aiplatform.v1.AppendEventResponse * @static - * @param {google.cloud.aiplatform.v1.ITensorboardBlob} message TensorboardBlob message or plain object to encode + * @param {google.cloud.aiplatform.v1.IAppendEventResponse} message AppendEventResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TensorboardBlob.encode = function encode(message, writer) { + AppendEventResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.id != null && Object.hasOwnProperty.call(message, "id")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); - if (message.data != null && Object.hasOwnProperty.call(message, "data")) - writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.data); return writer; }; /** - * Encodes the specified TensorboardBlob message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardBlob.verify|verify} messages. + * Encodes the specified AppendEventResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AppendEventResponse.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @memberof google.cloud.aiplatform.v1.AppendEventResponse * @static - * @param {google.cloud.aiplatform.v1.ITensorboardBlob} message TensorboardBlob message or plain object to encode + * @param {google.cloud.aiplatform.v1.IAppendEventResponse} message AppendEventResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TensorboardBlob.encodeDelimited = function encodeDelimited(message, writer) { + AppendEventResponse.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a TensorboardBlob message from the specified reader or buffer. + * Decodes an AppendEventResponse message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @memberof google.cloud.aiplatform.v1.AppendEventResponse * @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.TensorboardBlob} TensorboardBlob + * @returns {google.cloud.aiplatform.v1.AppendEventResponse} AppendEventResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TensorboardBlob.decode = function decode(reader, length, error) { + AppendEventResponse.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TensorboardBlob(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.AppendEventResponse(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { - case 1: { - message.id = reader.string(); - break; - } - case 2: { - message.data = reader.bytes(); - break; - } default: reader.skipType(tag & 7); break; @@ -326068,149 +326590,117 @@ }; /** - * Decodes a TensorboardBlob message from the specified reader or buffer, length delimited. + * Decodes an AppendEventResponse message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @memberof google.cloud.aiplatform.v1.AppendEventResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.TensorboardBlob} TensorboardBlob + * @returns {google.cloud.aiplatform.v1.AppendEventResponse} AppendEventResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TensorboardBlob.decodeDelimited = function decodeDelimited(reader) { + AppendEventResponse.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a TensorboardBlob message. + * Verifies an AppendEventResponse message. * @function verify - * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @memberof google.cloud.aiplatform.v1.AppendEventResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TensorboardBlob.verify = function verify(message) { + AppendEventResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.id != null && message.hasOwnProperty("id")) - if (!$util.isString(message.id)) - return "id: string expected"; - if (message.data != null && message.hasOwnProperty("data")) - if (!(message.data && typeof message.data.length === "number" || $util.isString(message.data))) - return "data: buffer expected"; return null; }; /** - * Creates a TensorboardBlob message from a plain object. Also converts values to their respective internal types. + * Creates an AppendEventResponse message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @memberof google.cloud.aiplatform.v1.AppendEventResponse * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.TensorboardBlob} TensorboardBlob + * @returns {google.cloud.aiplatform.v1.AppendEventResponse} AppendEventResponse */ - TensorboardBlob.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.TensorboardBlob) + AppendEventResponse.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.AppendEventResponse) return object; - var message = new $root.google.cloud.aiplatform.v1.TensorboardBlob(); - if (object.id != null) - message.id = String(object.id); - if (object.data != null) - if (typeof object.data === "string") - $util.base64.decode(object.data, message.data = $util.newBuffer($util.base64.length(object.data)), 0); - else if (object.data.length >= 0) - message.data = object.data; - return message; + return new $root.google.cloud.aiplatform.v1.AppendEventResponse(); }; /** - * Creates a plain object from a TensorboardBlob message. Also converts values to other types if specified. + * Creates a plain object from an AppendEventResponse message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @memberof google.cloud.aiplatform.v1.AppendEventResponse * @static - * @param {google.cloud.aiplatform.v1.TensorboardBlob} message TensorboardBlob + * @param {google.cloud.aiplatform.v1.AppendEventResponse} message AppendEventResponse * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - TensorboardBlob.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.id = ""; - if (options.bytes === String) - object.data = ""; - else { - object.data = []; - if (options.bytes !== Array) - object.data = $util.newBuffer(object.data); - } - } - if (message.id != null && message.hasOwnProperty("id")) - object.id = message.id; - if (message.data != null && message.hasOwnProperty("data")) - object.data = options.bytes === String ? $util.base64.encode(message.data, 0, message.data.length) : options.bytes === Array ? Array.prototype.slice.call(message.data) : message.data; - return object; + AppendEventResponse.toObject = function toObject() { + return {}; }; /** - * Converts this TensorboardBlob to JSON. + * Converts this AppendEventResponse to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @memberof google.cloud.aiplatform.v1.AppendEventResponse * @instance * @returns {Object.} JSON object */ - TensorboardBlob.prototype.toJSON = function toJSON() { + AppendEventResponse.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for TensorboardBlob + * Gets the default type url for AppendEventResponse * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @memberof google.cloud.aiplatform.v1.AppendEventResponse * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - TensorboardBlob.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + AppendEventResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.TensorboardBlob"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.AppendEventResponse"; }; - return TensorboardBlob; + return AppendEventResponse; })(); - v1.TensorboardTimeSeries = (function() { + v1.SpecialistPool = (function() { /** - * Properties of a TensorboardTimeSeries. + * Properties of a SpecialistPool. * @memberof google.cloud.aiplatform.v1 - * @interface ITensorboardTimeSeries - * @property {string|null} [name] TensorboardTimeSeries name - * @property {string|null} [displayName] TensorboardTimeSeries displayName - * @property {string|null} [description] TensorboardTimeSeries description - * @property {google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType|null} [valueType] TensorboardTimeSeries valueType - * @property {google.protobuf.ITimestamp|null} [createTime] TensorboardTimeSeries createTime - * @property {google.protobuf.ITimestamp|null} [updateTime] TensorboardTimeSeries updateTime - * @property {string|null} [etag] TensorboardTimeSeries etag - * @property {string|null} [pluginName] TensorboardTimeSeries pluginName - * @property {Uint8Array|null} [pluginData] TensorboardTimeSeries pluginData - * @property {google.cloud.aiplatform.v1.TensorboardTimeSeries.IMetadata|null} [metadata] TensorboardTimeSeries metadata + * @interface ISpecialistPool + * @property {string|null} [name] SpecialistPool name + * @property {string|null} [displayName] SpecialistPool displayName + * @property {number|null} [specialistManagersCount] SpecialistPool specialistManagersCount + * @property {Array.|null} [specialistManagerEmails] SpecialistPool specialistManagerEmails + * @property {Array.|null} [pendingDataLabelingJobs] SpecialistPool pendingDataLabelingJobs + * @property {Array.|null} [specialistWorkerEmails] SpecialistPool specialistWorkerEmails */ /** - * Constructs a new TensorboardTimeSeries. + * Constructs a new SpecialistPool. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a TensorboardTimeSeries. - * @implements ITensorboardTimeSeries + * @classdesc Represents a SpecialistPool. + * @implements ISpecialistPool * @constructor - * @param {google.cloud.aiplatform.v1.ITensorboardTimeSeries=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.ISpecialistPool=} [properties] Properties to set */ - function TensorboardTimeSeries(properties) { + function SpecialistPool(properties) { + this.specialistManagerEmails = []; + this.pendingDataLabelingJobs = []; + this.specialistWorkerEmails = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -326218,160 +326708,123 @@ } /** - * TensorboardTimeSeries name. + * SpecialistPool name. * @member {string} name - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @memberof google.cloud.aiplatform.v1.SpecialistPool * @instance */ - TensorboardTimeSeries.prototype.name = ""; + SpecialistPool.prototype.name = ""; /** - * TensorboardTimeSeries displayName. + * SpecialistPool displayName. * @member {string} displayName - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries - * @instance - */ - TensorboardTimeSeries.prototype.displayName = ""; - - /** - * TensorboardTimeSeries description. - * @member {string} description - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries - * @instance - */ - TensorboardTimeSeries.prototype.description = ""; - - /** - * TensorboardTimeSeries valueType. - * @member {google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType} valueType - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries - * @instance - */ - TensorboardTimeSeries.prototype.valueType = 0; - - /** - * TensorboardTimeSeries createTime. - * @member {google.protobuf.ITimestamp|null|undefined} createTime - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries - * @instance - */ - TensorboardTimeSeries.prototype.createTime = null; - - /** - * TensorboardTimeSeries updateTime. - * @member {google.protobuf.ITimestamp|null|undefined} updateTime - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @memberof google.cloud.aiplatform.v1.SpecialistPool * @instance */ - TensorboardTimeSeries.prototype.updateTime = null; + SpecialistPool.prototype.displayName = ""; /** - * TensorboardTimeSeries etag. - * @member {string} etag - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * SpecialistPool specialistManagersCount. + * @member {number} specialistManagersCount + * @memberof google.cloud.aiplatform.v1.SpecialistPool * @instance */ - TensorboardTimeSeries.prototype.etag = ""; + SpecialistPool.prototype.specialistManagersCount = 0; /** - * TensorboardTimeSeries pluginName. - * @member {string} pluginName - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * SpecialistPool specialistManagerEmails. + * @member {Array.} specialistManagerEmails + * @memberof google.cloud.aiplatform.v1.SpecialistPool * @instance */ - TensorboardTimeSeries.prototype.pluginName = ""; + SpecialistPool.prototype.specialistManagerEmails = $util.emptyArray; /** - * TensorboardTimeSeries pluginData. - * @member {Uint8Array} pluginData - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * SpecialistPool pendingDataLabelingJobs. + * @member {Array.} pendingDataLabelingJobs + * @memberof google.cloud.aiplatform.v1.SpecialistPool * @instance */ - TensorboardTimeSeries.prototype.pluginData = $util.newBuffer([]); + SpecialistPool.prototype.pendingDataLabelingJobs = $util.emptyArray; /** - * TensorboardTimeSeries metadata. - * @member {google.cloud.aiplatform.v1.TensorboardTimeSeries.IMetadata|null|undefined} metadata - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * SpecialistPool specialistWorkerEmails. + * @member {Array.} specialistWorkerEmails + * @memberof google.cloud.aiplatform.v1.SpecialistPool * @instance */ - TensorboardTimeSeries.prototype.metadata = null; + SpecialistPool.prototype.specialistWorkerEmails = $util.emptyArray; /** - * Creates a new TensorboardTimeSeries instance using the specified properties. + * Creates a new SpecialistPool instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @memberof google.cloud.aiplatform.v1.SpecialistPool * @static - * @param {google.cloud.aiplatform.v1.ITensorboardTimeSeries=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.TensorboardTimeSeries} TensorboardTimeSeries instance + * @param {google.cloud.aiplatform.v1.ISpecialistPool=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.SpecialistPool} SpecialistPool instance */ - TensorboardTimeSeries.create = function create(properties) { - return new TensorboardTimeSeries(properties); + SpecialistPool.create = function create(properties) { + return new SpecialistPool(properties); }; /** - * Encodes the specified TensorboardTimeSeries message. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardTimeSeries.verify|verify} messages. + * Encodes the specified SpecialistPool message. Does not implicitly {@link google.cloud.aiplatform.v1.SpecialistPool.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @memberof google.cloud.aiplatform.v1.SpecialistPool * @static - * @param {google.cloud.aiplatform.v1.ITensorboardTimeSeries} message TensorboardTimeSeries message or plain object to encode + * @param {google.cloud.aiplatform.v1.ISpecialistPool} message SpecialistPool message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TensorboardTimeSeries.encode = function encode(message, writer) { + SpecialistPool.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); if (message.name != null && Object.hasOwnProperty.call(message, "name")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName); - if (message.description != null && Object.hasOwnProperty.call(message, "description")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.description); - if (message.valueType != null && Object.hasOwnProperty.call(message, "valueType")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.valueType); - if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime")) - $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - 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.etag != null && Object.hasOwnProperty.call(message, "etag")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.etag); - if (message.pluginName != null && Object.hasOwnProperty.call(message, "pluginName")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.pluginName); - if (message.pluginData != null && Object.hasOwnProperty.call(message, "pluginData")) - writer.uint32(/* id 9, wireType 2 =*/74).bytes(message.pluginData); - if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata")) - $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata.encode(message.metadata, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); + if (message.specialistManagersCount != null && Object.hasOwnProperty.call(message, "specialistManagersCount")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.specialistManagersCount); + if (message.specialistManagerEmails != null && message.specialistManagerEmails.length) + for (var i = 0; i < message.specialistManagerEmails.length; ++i) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.specialistManagerEmails[i]); + if (message.pendingDataLabelingJobs != null && message.pendingDataLabelingJobs.length) + for (var i = 0; i < message.pendingDataLabelingJobs.length; ++i) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.pendingDataLabelingJobs[i]); + if (message.specialistWorkerEmails != null && message.specialistWorkerEmails.length) + for (var i = 0; i < message.specialistWorkerEmails.length; ++i) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.specialistWorkerEmails[i]); return writer; }; /** - * Encodes the specified TensorboardTimeSeries message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardTimeSeries.verify|verify} messages. + * Encodes the specified SpecialistPool message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.SpecialistPool.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @memberof google.cloud.aiplatform.v1.SpecialistPool * @static - * @param {google.cloud.aiplatform.v1.ITensorboardTimeSeries} message TensorboardTimeSeries message or plain object to encode + * @param {google.cloud.aiplatform.v1.ISpecialistPool} message SpecialistPool message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TensorboardTimeSeries.encodeDelimited = function encodeDelimited(message, writer) { + SpecialistPool.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a TensorboardTimeSeries message from the specified reader or buffer. + * Decodes a SpecialistPool message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @memberof google.cloud.aiplatform.v1.SpecialistPool * @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.TensorboardTimeSeries} TensorboardTimeSeries + * @returns {google.cloud.aiplatform.v1.SpecialistPool} SpecialistPool * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TensorboardTimeSeries.decode = function decode(reader, length, error) { + SpecialistPool.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TensorboardTimeSeries(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.SpecialistPool(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) @@ -326386,35 +326839,25 @@ break; } case 3: { - message.description = reader.string(); + message.specialistManagersCount = reader.int32(); break; } case 4: { - message.valueType = reader.int32(); + if (!(message.specialistManagerEmails && message.specialistManagerEmails.length)) + message.specialistManagerEmails = []; + message.specialistManagerEmails.push(reader.string()); break; } case 5: { - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - } - case 6: { - message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + if (!(message.pendingDataLabelingJobs && message.pendingDataLabelingJobs.length)) + message.pendingDataLabelingJobs = []; + message.pendingDataLabelingJobs.push(reader.string()); break; } case 7: { - message.etag = reader.string(); - break; - } - case 8: { - message.pluginName = reader.string(); - break; - } - case 9: { - message.pluginData = reader.bytes(); - break; - } - case 10: { - message.metadata = $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata.decode(reader, reader.uint32()); + if (!(message.specialistWorkerEmails && message.specialistWorkerEmails.length)) + message.specialistWorkerEmails = []; + message.specialistWorkerEmails.push(reader.string()); break; } default: @@ -326426,30 +326869,30 @@ }; /** - * Decodes a TensorboardTimeSeries message from the specified reader or buffer, length delimited. + * Decodes a SpecialistPool message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @memberof google.cloud.aiplatform.v1.SpecialistPool * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.TensorboardTimeSeries} TensorboardTimeSeries + * @returns {google.cloud.aiplatform.v1.SpecialistPool} SpecialistPool * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TensorboardTimeSeries.decodeDelimited = function decodeDelimited(reader) { + SpecialistPool.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a TensorboardTimeSeries message. + * Verifies a SpecialistPool message. * @function verify - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @memberof google.cloud.aiplatform.v1.SpecialistPool * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TensorboardTimeSeries.verify = function verify(message) { + SpecialistPool.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; if (message.name != null && message.hasOwnProperty("name")) @@ -326458,723 +326901,462 @@ if (message.displayName != null && message.hasOwnProperty("displayName")) if (!$util.isString(message.displayName)) return "displayName: string expected"; - if (message.description != null && message.hasOwnProperty("description")) - if (!$util.isString(message.description)) - return "description: string expected"; - if (message.valueType != null && message.hasOwnProperty("valueType")) - switch (message.valueType) { - default: - return "valueType: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } - if (message.createTime != null && message.hasOwnProperty("createTime")) { - var error = $root.google.protobuf.Timestamp.verify(message.createTime); - if (error) - return "createTime." + error; + if (message.specialistManagersCount != null && message.hasOwnProperty("specialistManagersCount")) + if (!$util.isInteger(message.specialistManagersCount)) + return "specialistManagersCount: integer expected"; + if (message.specialistManagerEmails != null && message.hasOwnProperty("specialistManagerEmails")) { + if (!Array.isArray(message.specialistManagerEmails)) + return "specialistManagerEmails: array expected"; + for (var i = 0; i < message.specialistManagerEmails.length; ++i) + if (!$util.isString(message.specialistManagerEmails[i])) + return "specialistManagerEmails: string[] expected"; } - if (message.updateTime != null && message.hasOwnProperty("updateTime")) { - var error = $root.google.protobuf.Timestamp.verify(message.updateTime); - if (error) - return "updateTime." + error; + if (message.pendingDataLabelingJobs != null && message.hasOwnProperty("pendingDataLabelingJobs")) { + if (!Array.isArray(message.pendingDataLabelingJobs)) + return "pendingDataLabelingJobs: array expected"; + for (var i = 0; i < message.pendingDataLabelingJobs.length; ++i) + if (!$util.isString(message.pendingDataLabelingJobs[i])) + return "pendingDataLabelingJobs: string[] expected"; } - if (message.etag != null && message.hasOwnProperty("etag")) - if (!$util.isString(message.etag)) - return "etag: string expected"; - if (message.pluginName != null && message.hasOwnProperty("pluginName")) - if (!$util.isString(message.pluginName)) - return "pluginName: string expected"; - if (message.pluginData != null && message.hasOwnProperty("pluginData")) - if (!(message.pluginData && typeof message.pluginData.length === "number" || $util.isString(message.pluginData))) - return "pluginData: buffer expected"; - if (message.metadata != null && message.hasOwnProperty("metadata")) { - var error = $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata.verify(message.metadata); - if (error) - return "metadata." + error; + if (message.specialistWorkerEmails != null && message.hasOwnProperty("specialistWorkerEmails")) { + if (!Array.isArray(message.specialistWorkerEmails)) + return "specialistWorkerEmails: array expected"; + for (var i = 0; i < message.specialistWorkerEmails.length; ++i) + if (!$util.isString(message.specialistWorkerEmails[i])) + return "specialistWorkerEmails: string[] expected"; } return null; }; /** - * Creates a TensorboardTimeSeries message from a plain object. Also converts values to their respective internal types. + * Creates a SpecialistPool message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @memberof google.cloud.aiplatform.v1.SpecialistPool * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.TensorboardTimeSeries} TensorboardTimeSeries + * @returns {google.cloud.aiplatform.v1.SpecialistPool} SpecialistPool */ - TensorboardTimeSeries.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.TensorboardTimeSeries) + SpecialistPool.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.SpecialistPool) return object; - var message = new $root.google.cloud.aiplatform.v1.TensorboardTimeSeries(); + var message = new $root.google.cloud.aiplatform.v1.SpecialistPool(); if (object.name != null) message.name = String(object.name); if (object.displayName != null) message.displayName = String(object.displayName); - if (object.description != null) - message.description = String(object.description); - switch (object.valueType) { - default: - if (typeof object.valueType === "number") { - message.valueType = object.valueType; - break; - } - break; - case "VALUE_TYPE_UNSPECIFIED": - case 0: - message.valueType = 0; - break; - case "SCALAR": - case 1: - message.valueType = 1; - break; - case "TENSOR": - case 2: - message.valueType = 2; - break; - case "BLOB_SEQUENCE": - case 3: - message.valueType = 3; - break; - } - if (object.createTime != null) { - if (typeof object.createTime !== "object") - throw TypeError(".google.cloud.aiplatform.v1.TensorboardTimeSeries.createTime: object expected"); - message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime); + if (object.specialistManagersCount != null) + message.specialistManagersCount = object.specialistManagersCount | 0; + if (object.specialistManagerEmails) { + if (!Array.isArray(object.specialistManagerEmails)) + throw TypeError(".google.cloud.aiplatform.v1.SpecialistPool.specialistManagerEmails: array expected"); + message.specialistManagerEmails = []; + for (var i = 0; i < object.specialistManagerEmails.length; ++i) + message.specialistManagerEmails[i] = String(object.specialistManagerEmails[i]); } - if (object.updateTime != null) { - if (typeof object.updateTime !== "object") - throw TypeError(".google.cloud.aiplatform.v1.TensorboardTimeSeries.updateTime: object expected"); - message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime); + if (object.pendingDataLabelingJobs) { + if (!Array.isArray(object.pendingDataLabelingJobs)) + throw TypeError(".google.cloud.aiplatform.v1.SpecialistPool.pendingDataLabelingJobs: array expected"); + message.pendingDataLabelingJobs = []; + for (var i = 0; i < object.pendingDataLabelingJobs.length; ++i) + message.pendingDataLabelingJobs[i] = String(object.pendingDataLabelingJobs[i]); } - if (object.etag != null) - message.etag = String(object.etag); - if (object.pluginName != null) - message.pluginName = String(object.pluginName); - if (object.pluginData != null) - if (typeof object.pluginData === "string") - $util.base64.decode(object.pluginData, message.pluginData = $util.newBuffer($util.base64.length(object.pluginData)), 0); - else if (object.pluginData.length >= 0) - message.pluginData = object.pluginData; - if (object.metadata != null) { - if (typeof object.metadata !== "object") - throw TypeError(".google.cloud.aiplatform.v1.TensorboardTimeSeries.metadata: object expected"); - message.metadata = $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata.fromObject(object.metadata); + if (object.specialistWorkerEmails) { + if (!Array.isArray(object.specialistWorkerEmails)) + throw TypeError(".google.cloud.aiplatform.v1.SpecialistPool.specialistWorkerEmails: array expected"); + message.specialistWorkerEmails = []; + for (var i = 0; i < object.specialistWorkerEmails.length; ++i) + message.specialistWorkerEmails[i] = String(object.specialistWorkerEmails[i]); } return message; }; /** - * Creates a plain object from a TensorboardTimeSeries message. Also converts values to other types if specified. + * Creates a plain object from a SpecialistPool message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @memberof google.cloud.aiplatform.v1.SpecialistPool * @static - * @param {google.cloud.aiplatform.v1.TensorboardTimeSeries} message TensorboardTimeSeries + * @param {google.cloud.aiplatform.v1.SpecialistPool} message SpecialistPool * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - TensorboardTimeSeries.toObject = function toObject(message, options) { + SpecialistPool.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; + if (options.arrays || options.defaults) { + object.specialistManagerEmails = []; + object.pendingDataLabelingJobs = []; + object.specialistWorkerEmails = []; + } if (options.defaults) { object.name = ""; object.displayName = ""; - object.description = ""; - object.valueType = options.enums === String ? "VALUE_TYPE_UNSPECIFIED" : 0; - object.createTime = null; - object.updateTime = null; - object.etag = ""; - object.pluginName = ""; - if (options.bytes === String) - object.pluginData = ""; - else { - object.pluginData = []; - if (options.bytes !== Array) - object.pluginData = $util.newBuffer(object.pluginData); - } - object.metadata = null; + object.specialistManagersCount = 0; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; if (message.displayName != null && message.hasOwnProperty("displayName")) object.displayName = message.displayName; - if (message.description != null && message.hasOwnProperty("description")) - object.description = message.description; - if (message.valueType != null && message.hasOwnProperty("valueType")) - object.valueType = options.enums === String ? $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType[message.valueType] === undefined ? message.valueType : $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType[message.valueType] : message.valueType; - if (message.createTime != null && message.hasOwnProperty("createTime")) - object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options); - if (message.updateTime != null && message.hasOwnProperty("updateTime")) - object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options); - if (message.etag != null && message.hasOwnProperty("etag")) - object.etag = message.etag; - if (message.pluginName != null && message.hasOwnProperty("pluginName")) - object.pluginName = message.pluginName; - if (message.pluginData != null && message.hasOwnProperty("pluginData")) - object.pluginData = options.bytes === String ? $util.base64.encode(message.pluginData, 0, message.pluginData.length) : options.bytes === Array ? Array.prototype.slice.call(message.pluginData) : message.pluginData; - if (message.metadata != null && message.hasOwnProperty("metadata")) - object.metadata = $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata.toObject(message.metadata, options); + if (message.specialistManagersCount != null && message.hasOwnProperty("specialistManagersCount")) + object.specialistManagersCount = message.specialistManagersCount; + if (message.specialistManagerEmails && message.specialistManagerEmails.length) { + object.specialistManagerEmails = []; + for (var j = 0; j < message.specialistManagerEmails.length; ++j) + object.specialistManagerEmails[j] = message.specialistManagerEmails[j]; + } + if (message.pendingDataLabelingJobs && message.pendingDataLabelingJobs.length) { + object.pendingDataLabelingJobs = []; + for (var j = 0; j < message.pendingDataLabelingJobs.length; ++j) + object.pendingDataLabelingJobs[j] = message.pendingDataLabelingJobs[j]; + } + if (message.specialistWorkerEmails && message.specialistWorkerEmails.length) { + object.specialistWorkerEmails = []; + for (var j = 0; j < message.specialistWorkerEmails.length; ++j) + object.specialistWorkerEmails[j] = message.specialistWorkerEmails[j]; + } return object; }; /** - * Converts this TensorboardTimeSeries to JSON. + * Converts this SpecialistPool to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @memberof google.cloud.aiplatform.v1.SpecialistPool * @instance * @returns {Object.} JSON object */ - TensorboardTimeSeries.prototype.toJSON = function toJSON() { + SpecialistPool.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for TensorboardTimeSeries + * Gets the default type url for SpecialistPool * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @memberof google.cloud.aiplatform.v1.SpecialistPool * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - TensorboardTimeSeries.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + SpecialistPool.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.TensorboardTimeSeries"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.SpecialistPool"; }; - TensorboardTimeSeries.Metadata = (function() { - - /** - * Properties of a Metadata. - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries - * @interface IMetadata - * @property {number|Long|null} [maxStep] Metadata maxStep - * @property {google.protobuf.ITimestamp|null} [maxWallTime] Metadata maxWallTime - * @property {number|Long|null} [maxBlobSequenceLength] Metadata maxBlobSequenceLength - */ - - /** - * Constructs a new Metadata. - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries - * @classdesc Represents a Metadata. - * @implements IMetadata - * @constructor - * @param {google.cloud.aiplatform.v1.TensorboardTimeSeries.IMetadata=} [properties] Properties to set - */ - function Metadata(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]]; - } - - /** - * Metadata maxStep. - * @member {number|Long} maxStep - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata - * @instance - */ - Metadata.prototype.maxStep = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - - /** - * Metadata maxWallTime. - * @member {google.protobuf.ITimestamp|null|undefined} maxWallTime - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata - * @instance - */ - Metadata.prototype.maxWallTime = null; - - /** - * Metadata maxBlobSequenceLength. - * @member {number|Long} maxBlobSequenceLength - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata - * @instance - */ - Metadata.prototype.maxBlobSequenceLength = $util.Long ? $util.Long.fromBits(0,0,false) : 0; - - /** - * Creates a new Metadata instance using the specified properties. - * @function create - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata - * @static - * @param {google.cloud.aiplatform.v1.TensorboardTimeSeries.IMetadata=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata} Metadata instance - */ - Metadata.create = function create(properties) { - return new Metadata(properties); - }; - - /** - * Encodes the specified Metadata message. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata.verify|verify} messages. - * @function encode - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata - * @static - * @param {google.cloud.aiplatform.v1.TensorboardTimeSeries.IMetadata} message Metadata message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Metadata.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.maxStep != null && Object.hasOwnProperty.call(message, "maxStep")) - writer.uint32(/* id 1, wireType 0 =*/8).int64(message.maxStep); - if (message.maxWallTime != null && Object.hasOwnProperty.call(message, "maxWallTime")) - $root.google.protobuf.Timestamp.encode(message.maxWallTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.maxBlobSequenceLength != null && Object.hasOwnProperty.call(message, "maxBlobSequenceLength")) - writer.uint32(/* id 3, wireType 0 =*/24).int64(message.maxBlobSequenceLength); - return writer; - }; - - /** - * Encodes the specified Metadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata - * @static - * @param {google.cloud.aiplatform.v1.TensorboardTimeSeries.IMetadata} message Metadata message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Metadata.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Metadata message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata - * @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.TensorboardTimeSeries.Metadata} Metadata - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Metadata.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.maxStep = reader.int64(); - break; - } - case 2: { - message.maxWallTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - } - case 3: { - message.maxBlobSequenceLength = reader.int64(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Metadata message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata} Metadata - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Metadata.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Metadata message. - * @function verify - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Metadata.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.maxStep != null && message.hasOwnProperty("maxStep")) - if (!$util.isInteger(message.maxStep) && !(message.maxStep && $util.isInteger(message.maxStep.low) && $util.isInteger(message.maxStep.high))) - return "maxStep: integer|Long expected"; - if (message.maxWallTime != null && message.hasOwnProperty("maxWallTime")) { - var error = $root.google.protobuf.Timestamp.verify(message.maxWallTime); - if (error) - return "maxWallTime." + error; - } - if (message.maxBlobSequenceLength != null && message.hasOwnProperty("maxBlobSequenceLength")) - if (!$util.isInteger(message.maxBlobSequenceLength) && !(message.maxBlobSequenceLength && $util.isInteger(message.maxBlobSequenceLength.low) && $util.isInteger(message.maxBlobSequenceLength.high))) - return "maxBlobSequenceLength: integer|Long expected"; - return null; - }; - - /** - * Creates a Metadata message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata} Metadata - */ - Metadata.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata) - return object; - var message = new $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata(); - if (object.maxStep != null) - if ($util.Long) - (message.maxStep = $util.Long.fromValue(object.maxStep)).unsigned = false; - else if (typeof object.maxStep === "string") - message.maxStep = parseInt(object.maxStep, 10); - else if (typeof object.maxStep === "number") - message.maxStep = object.maxStep; - else if (typeof object.maxStep === "object") - message.maxStep = new $util.LongBits(object.maxStep.low >>> 0, object.maxStep.high >>> 0).toNumber(); - if (object.maxWallTime != null) { - if (typeof object.maxWallTime !== "object") - throw TypeError(".google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata.maxWallTime: object expected"); - message.maxWallTime = $root.google.protobuf.Timestamp.fromObject(object.maxWallTime); - } - if (object.maxBlobSequenceLength != null) - if ($util.Long) - (message.maxBlobSequenceLength = $util.Long.fromValue(object.maxBlobSequenceLength)).unsigned = false; - else if (typeof object.maxBlobSequenceLength === "string") - message.maxBlobSequenceLength = parseInt(object.maxBlobSequenceLength, 10); - else if (typeof object.maxBlobSequenceLength === "number") - message.maxBlobSequenceLength = object.maxBlobSequenceLength; - else if (typeof object.maxBlobSequenceLength === "object") - message.maxBlobSequenceLength = new $util.LongBits(object.maxBlobSequenceLength.low >>> 0, object.maxBlobSequenceLength.high >>> 0).toNumber(); - return message; - }; - - /** - * Creates a plain object from a Metadata message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata - * @static - * @param {google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata} message Metadata - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Metadata.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.maxStep = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.maxStep = options.longs === String ? "0" : 0; - object.maxWallTime = null; - if ($util.Long) { - var long = new $util.Long(0, 0, false); - object.maxBlobSequenceLength = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.maxBlobSequenceLength = options.longs === String ? "0" : 0; - } - if (message.maxStep != null && message.hasOwnProperty("maxStep")) - if (typeof message.maxStep === "number") - object.maxStep = options.longs === String ? String(message.maxStep) : message.maxStep; - else - object.maxStep = options.longs === String ? $util.Long.prototype.toString.call(message.maxStep) : options.longs === Number ? new $util.LongBits(message.maxStep.low >>> 0, message.maxStep.high >>> 0).toNumber() : message.maxStep; - if (message.maxWallTime != null && message.hasOwnProperty("maxWallTime")) - object.maxWallTime = $root.google.protobuf.Timestamp.toObject(message.maxWallTime, options); - if (message.maxBlobSequenceLength != null && message.hasOwnProperty("maxBlobSequenceLength")) - if (typeof message.maxBlobSequenceLength === "number") - object.maxBlobSequenceLength = options.longs === String ? String(message.maxBlobSequenceLength) : message.maxBlobSequenceLength; - else - object.maxBlobSequenceLength = options.longs === String ? $util.Long.prototype.toString.call(message.maxBlobSequenceLength) : options.longs === Number ? new $util.LongBits(message.maxBlobSequenceLength.low >>> 0, message.maxBlobSequenceLength.high >>> 0).toNumber() : message.maxBlobSequenceLength; - return object; - }; - - /** - * Converts this Metadata to JSON. - * @function toJSON - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata - * @instance - * @returns {Object.} JSON object - */ - Metadata.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Metadata - * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Metadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata"; - }; + return SpecialistPool; + })(); - return Metadata; - })(); + v1.SpecialistPoolService = (function() { /** - * ValueType enum. - * @name google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType - * @enum {number} - * @property {number} VALUE_TYPE_UNSPECIFIED=0 VALUE_TYPE_UNSPECIFIED value - * @property {number} SCALAR=1 SCALAR value - * @property {number} TENSOR=2 TENSOR value - * @property {number} BLOB_SEQUENCE=3 BLOB_SEQUENCE value + * Constructs a new SpecialistPoolService service. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a SpecialistPoolService + * @extends $protobuf.rpc.Service + * @constructor + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited */ - TensorboardTimeSeries.ValueType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "VALUE_TYPE_UNSPECIFIED"] = 0; - values[valuesById[1] = "SCALAR"] = 1; - values[valuesById[2] = "TENSOR"] = 2; - values[valuesById[3] = "BLOB_SEQUENCE"] = 3; - return values; - })(); - - return TensorboardTimeSeries; - })(); + function SpecialistPoolService(rpcImpl, requestDelimited, responseDelimited) { + $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); + } - v1.TensorboardExperiment = (function() { + (SpecialistPoolService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = SpecialistPoolService; /** - * Properties of a TensorboardExperiment. - * @memberof google.cloud.aiplatform.v1 - * @interface ITensorboardExperiment - * @property {string|null} [name] TensorboardExperiment name - * @property {string|null} [displayName] TensorboardExperiment displayName - * @property {string|null} [description] TensorboardExperiment description - * @property {google.protobuf.ITimestamp|null} [createTime] TensorboardExperiment createTime - * @property {google.protobuf.ITimestamp|null} [updateTime] TensorboardExperiment updateTime - * @property {Object.|null} [labels] TensorboardExperiment labels - * @property {string|null} [etag] TensorboardExperiment etag - * @property {string|null} [source] TensorboardExperiment source + * Creates new SpecialistPoolService service using the specified rpc implementation. + * @function create + * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * @static + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * @returns {SpecialistPoolService} RPC service. Useful where requests and/or responses are streamed. */ + SpecialistPoolService.create = function create(rpcImpl, requestDelimited, responseDelimited) { + return new this(rpcImpl, requestDelimited, responseDelimited); + }; /** - * Constructs a new TensorboardExperiment. - * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a TensorboardExperiment. - * @implements ITensorboardExperiment - * @constructor - * @param {google.cloud.aiplatform.v1.ITensorboardExperiment=} [properties] Properties to set + * Callback as used by {@link google.cloud.aiplatform.v1.SpecialistPoolService|createSpecialistPool}. + * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * @typedef CreateSpecialistPoolCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.longrunning.Operation} [response] Operation */ - function TensorboardExperiment(properties) { - this.labels = {}; - 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]]; - } /** - * TensorboardExperiment name. - * @member {string} name - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * Calls CreateSpecialistPool. + * @function createSpecialistPool + * @memberof google.cloud.aiplatform.v1.SpecialistPoolService * @instance + * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolRequest} request CreateSpecialistPoolRequest message or plain object + * @param {google.cloud.aiplatform.v1.SpecialistPoolService.CreateSpecialistPoolCallback} callback Node-style callback called with the error, if any, and Operation + * @returns {undefined} + * @variation 1 */ - TensorboardExperiment.prototype.name = ""; + Object.defineProperty(SpecialistPoolService.prototype.createSpecialistPool = function createSpecialistPool(request, callback) { + return this.rpcCall(createSpecialistPool, $root.google.cloud.aiplatform.v1.CreateSpecialistPoolRequest, $root.google.longrunning.Operation, request, callback); + }, "name", { value: "CreateSpecialistPool" }); /** - * TensorboardExperiment displayName. - * @member {string} displayName - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * Calls CreateSpecialistPool. + * @function createSpecialistPool + * @memberof google.cloud.aiplatform.v1.SpecialistPoolService * @instance + * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolRequest} request CreateSpecialistPoolRequest message or plain object + * @returns {Promise} Promise + * @variation 2 */ - TensorboardExperiment.prototype.displayName = ""; /** - * TensorboardExperiment description. - * @member {string} description - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment - * @instance + * Callback as used by {@link google.cloud.aiplatform.v1.SpecialistPoolService|getSpecialistPool}. + * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * @typedef GetSpecialistPoolCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.cloud.aiplatform.v1.SpecialistPool} [response] SpecialistPool */ - TensorboardExperiment.prototype.description = ""; /** - * TensorboardExperiment createTime. - * @member {google.protobuf.ITimestamp|null|undefined} createTime - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * Calls GetSpecialistPool. + * @function getSpecialistPool + * @memberof google.cloud.aiplatform.v1.SpecialistPoolService * @instance + * @param {google.cloud.aiplatform.v1.IGetSpecialistPoolRequest} request GetSpecialistPoolRequest message or plain object + * @param {google.cloud.aiplatform.v1.SpecialistPoolService.GetSpecialistPoolCallback} callback Node-style callback called with the error, if any, and SpecialistPool + * @returns {undefined} + * @variation 1 */ - TensorboardExperiment.prototype.createTime = null; + Object.defineProperty(SpecialistPoolService.prototype.getSpecialistPool = function getSpecialistPool(request, callback) { + return this.rpcCall(getSpecialistPool, $root.google.cloud.aiplatform.v1.GetSpecialistPoolRequest, $root.google.cloud.aiplatform.v1.SpecialistPool, request, callback); + }, "name", { value: "GetSpecialistPool" }); /** - * TensorboardExperiment updateTime. - * @member {google.protobuf.ITimestamp|null|undefined} updateTime - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * Calls GetSpecialistPool. + * @function getSpecialistPool + * @memberof google.cloud.aiplatform.v1.SpecialistPoolService * @instance + * @param {google.cloud.aiplatform.v1.IGetSpecialistPoolRequest} request GetSpecialistPoolRequest message or plain object + * @returns {Promise} Promise + * @variation 2 */ - TensorboardExperiment.prototype.updateTime = null; /** - * TensorboardExperiment labels. - * @member {Object.} labels - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment - * @instance + * Callback as used by {@link google.cloud.aiplatform.v1.SpecialistPoolService|listSpecialistPools}. + * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * @typedef ListSpecialistPoolsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.cloud.aiplatform.v1.ListSpecialistPoolsResponse} [response] ListSpecialistPoolsResponse */ - TensorboardExperiment.prototype.labels = $util.emptyObject; /** - * TensorboardExperiment etag. - * @member {string} etag - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * Calls ListSpecialistPools. + * @function listSpecialistPools + * @memberof google.cloud.aiplatform.v1.SpecialistPoolService * @instance + * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsRequest} request ListSpecialistPoolsRequest message or plain object + * @param {google.cloud.aiplatform.v1.SpecialistPoolService.ListSpecialistPoolsCallback} callback Node-style callback called with the error, if any, and ListSpecialistPoolsResponse + * @returns {undefined} + * @variation 1 */ - TensorboardExperiment.prototype.etag = ""; + Object.defineProperty(SpecialistPoolService.prototype.listSpecialistPools = function listSpecialistPools(request, callback) { + return this.rpcCall(listSpecialistPools, $root.google.cloud.aiplatform.v1.ListSpecialistPoolsRequest, $root.google.cloud.aiplatform.v1.ListSpecialistPoolsResponse, request, callback); + }, "name", { value: "ListSpecialistPools" }); /** - * TensorboardExperiment source. - * @member {string} source - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * Calls ListSpecialistPools. + * @function listSpecialistPools + * @memberof google.cloud.aiplatform.v1.SpecialistPoolService * @instance + * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsRequest} request ListSpecialistPoolsRequest message or plain object + * @returns {Promise} Promise + * @variation 2 */ - TensorboardExperiment.prototype.source = ""; /** - * Creates a new TensorboardExperiment instance using the specified properties. - * @function create - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment - * @static - * @param {google.cloud.aiplatform.v1.ITensorboardExperiment=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.TensorboardExperiment} TensorboardExperiment instance + * Callback as used by {@link google.cloud.aiplatform.v1.SpecialistPoolService|deleteSpecialistPool}. + * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * @typedef DeleteSpecialistPoolCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.longrunning.Operation} [response] Operation */ - TensorboardExperiment.create = function create(properties) { - return new TensorboardExperiment(properties); - }; /** - * Encodes the specified TensorboardExperiment message. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardExperiment.verify|verify} messages. - * @function encode - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment - * @static - * @param {google.cloud.aiplatform.v1.ITensorboardExperiment} message TensorboardExperiment message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * Calls DeleteSpecialistPool. + * @function deleteSpecialistPool + * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * @instance + * @param {google.cloud.aiplatform.v1.IDeleteSpecialistPoolRequest} request DeleteSpecialistPoolRequest message or plain object + * @param {google.cloud.aiplatform.v1.SpecialistPoolService.DeleteSpecialistPoolCallback} callback Node-style callback called with the error, if any, and Operation + * @returns {undefined} + * @variation 1 */ - TensorboardExperiment.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName); - if (message.description != null && Object.hasOwnProperty.call(message, "description")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.description); - if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime")) - $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime")) - $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); - if (message.labels != null && Object.hasOwnProperty.call(message, "labels")) - for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i) - writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); - if (message.etag != null && Object.hasOwnProperty.call(message, "etag")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.etag); - if (message.source != null && Object.hasOwnProperty.call(message, "source")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.source); - return writer; - }; + Object.defineProperty(SpecialistPoolService.prototype.deleteSpecialistPool = function deleteSpecialistPool(request, callback) { + return this.rpcCall(deleteSpecialistPool, $root.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest, $root.google.longrunning.Operation, request, callback); + }, "name", { value: "DeleteSpecialistPool" }); /** - * Encodes the specified TensorboardExperiment message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardExperiment.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment - * @static - * @param {google.cloud.aiplatform.v1.ITensorboardExperiment} message TensorboardExperiment message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * Calls DeleteSpecialistPool. + * @function deleteSpecialistPool + * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * @instance + * @param {google.cloud.aiplatform.v1.IDeleteSpecialistPoolRequest} request DeleteSpecialistPoolRequest message or plain object + * @returns {Promise} Promise + * @variation 2 */ - TensorboardExperiment.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.SpecialistPoolService|updateSpecialistPool}. + * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * @typedef UpdateSpecialistPoolCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.longrunning.Operation} [response] Operation + */ + + /** + * Calls UpdateSpecialistPool. + * @function updateSpecialistPool + * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * @instance + * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolRequest} request UpdateSpecialistPoolRequest message or plain object + * @param {google.cloud.aiplatform.v1.SpecialistPoolService.UpdateSpecialistPoolCallback} callback Node-style callback called with the error, if any, and Operation + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(SpecialistPoolService.prototype.updateSpecialistPool = function updateSpecialistPool(request, callback) { + return this.rpcCall(updateSpecialistPool, $root.google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest, $root.google.longrunning.Operation, request, callback); + }, "name", { value: "UpdateSpecialistPool" }); + + /** + * Calls UpdateSpecialistPool. + * @function updateSpecialistPool + * @memberof google.cloud.aiplatform.v1.SpecialistPoolService + * @instance + * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolRequest} request UpdateSpecialistPoolRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + return SpecialistPoolService; + })(); + + v1.CreateSpecialistPoolRequest = (function() { + + /** + * Properties of a CreateSpecialistPoolRequest. + * @memberof google.cloud.aiplatform.v1 + * @interface ICreateSpecialistPoolRequest + * @property {string|null} [parent] CreateSpecialistPoolRequest parent + * @property {google.cloud.aiplatform.v1.ISpecialistPool|null} [specialistPool] CreateSpecialistPoolRequest specialistPool + */ + + /** + * Constructs a new CreateSpecialistPoolRequest. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a CreateSpecialistPoolRequest. + * @implements ICreateSpecialistPoolRequest + * @constructor + * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolRequest=} [properties] Properties to set + */ + function CreateSpecialistPoolRequest(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]]; + } + + /** + * CreateSpecialistPoolRequest parent. + * @member {string} parent + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * @instance + */ + CreateSpecialistPoolRequest.prototype.parent = ""; + + /** + * CreateSpecialistPoolRequest specialistPool. + * @member {google.cloud.aiplatform.v1.ISpecialistPool|null|undefined} specialistPool + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * @instance + */ + CreateSpecialistPoolRequest.prototype.specialistPool = null; + + /** + * Creates a new CreateSpecialistPoolRequest instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * @static + * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.CreateSpecialistPoolRequest} CreateSpecialistPoolRequest instance + */ + CreateSpecialistPoolRequest.create = function create(properties) { + return new CreateSpecialistPoolRequest(properties); }; /** - * Decodes a TensorboardExperiment message from the specified reader or buffer. + * Encodes the specified CreateSpecialistPoolRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.CreateSpecialistPoolRequest.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * @static + * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolRequest} message CreateSpecialistPoolRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CreateSpecialistPoolRequest.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.specialistPool != null && Object.hasOwnProperty.call(message, "specialistPool")) + $root.google.cloud.aiplatform.v1.SpecialistPool.encode(message.specialistPool, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified CreateSpecialistPoolRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.CreateSpecialistPoolRequest.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest + * @static + * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolRequest} message CreateSpecialistPoolRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + CreateSpecialistPoolRequest.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a CreateSpecialistPoolRequest message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest * @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.TensorboardExperiment} TensorboardExperiment + * @returns {google.cloud.aiplatform.v1.CreateSpecialistPoolRequest} CreateSpecialistPoolRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TensorboardExperiment.decode = function decode(reader, length, error) { + CreateSpecialistPoolRequest.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TensorboardExperiment(), key, value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.CreateSpecialistPoolRequest(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.name = reader.string(); + message.parent = reader.string(); break; } case 2: { - message.displayName = reader.string(); - break; - } - case 3: { - message.description = reader.string(); - break; - } - case 4: { - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - } - case 5: { - message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - } - case 6: { - if (message.labels === $util.emptyObject) - message.labels = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; - } - } - message.labels[key] = value; - break; - } - case 7: { - message.etag = reader.string(); - break; - } - case 8: { - message.source = reader.string(); + message.specialistPool = $root.google.cloud.aiplatform.v1.SpecialistPool.decode(reader, reader.uint32()); break; } default: @@ -327186,211 +327368,136 @@ }; /** - * Decodes a TensorboardExperiment message from the specified reader or buffer, length delimited. + * Decodes a CreateSpecialistPoolRequest message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.TensorboardExperiment} TensorboardExperiment + * @returns {google.cloud.aiplatform.v1.CreateSpecialistPoolRequest} CreateSpecialistPoolRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TensorboardExperiment.decodeDelimited = function decodeDelimited(reader) { + CreateSpecialistPoolRequest.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a TensorboardExperiment message. + * Verifies a CreateSpecialistPoolRequest message. * @function verify - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TensorboardExperiment.verify = function verify(message) { + CreateSpecialistPoolRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.displayName != null && message.hasOwnProperty("displayName")) - if (!$util.isString(message.displayName)) - return "displayName: string expected"; - if (message.description != null && message.hasOwnProperty("description")) - if (!$util.isString(message.description)) - return "description: string expected"; - if (message.createTime != null && message.hasOwnProperty("createTime")) { - var error = $root.google.protobuf.Timestamp.verify(message.createTime); - if (error) - return "createTime." + error; - } - if (message.updateTime != null && message.hasOwnProperty("updateTime")) { - var error = $root.google.protobuf.Timestamp.verify(message.updateTime); + if (message.parent != null && message.hasOwnProperty("parent")) + if (!$util.isString(message.parent)) + return "parent: string expected"; + if (message.specialistPool != null && message.hasOwnProperty("specialistPool")) { + var error = $root.google.cloud.aiplatform.v1.SpecialistPool.verify(message.specialistPool); if (error) - return "updateTime." + error; - } - if (message.labels != null && message.hasOwnProperty("labels")) { - if (!$util.isObject(message.labels)) - return "labels: object expected"; - var key = Object.keys(message.labels); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.labels[key[i]])) - return "labels: string{k:string} expected"; + return "specialistPool." + error; } - if (message.etag != null && message.hasOwnProperty("etag")) - if (!$util.isString(message.etag)) - return "etag: string expected"; - if (message.source != null && message.hasOwnProperty("source")) - if (!$util.isString(message.source)) - return "source: string expected"; return null; }; /** - * Creates a TensorboardExperiment message from a plain object. Also converts values to their respective internal types. + * Creates a CreateSpecialistPoolRequest message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.TensorboardExperiment} TensorboardExperiment + * @returns {google.cloud.aiplatform.v1.CreateSpecialistPoolRequest} CreateSpecialistPoolRequest */ - TensorboardExperiment.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.TensorboardExperiment) + CreateSpecialistPoolRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.CreateSpecialistPoolRequest) return object; - var message = new $root.google.cloud.aiplatform.v1.TensorboardExperiment(); - if (object.name != null) - message.name = String(object.name); - if (object.displayName != null) - message.displayName = String(object.displayName); - if (object.description != null) - message.description = String(object.description); - if (object.createTime != null) { - if (typeof object.createTime !== "object") - throw TypeError(".google.cloud.aiplatform.v1.TensorboardExperiment.createTime: object expected"); - message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime); - } - if (object.updateTime != null) { - if (typeof object.updateTime !== "object") - throw TypeError(".google.cloud.aiplatform.v1.TensorboardExperiment.updateTime: object expected"); - message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime); - } - if (object.labels) { - if (typeof object.labels !== "object") - throw TypeError(".google.cloud.aiplatform.v1.TensorboardExperiment.labels: object expected"); - message.labels = {}; - for (var keys = Object.keys(object.labels), i = 0; i < keys.length; ++i) - message.labels[keys[i]] = String(object.labels[keys[i]]); + var message = new $root.google.cloud.aiplatform.v1.CreateSpecialistPoolRequest(); + if (object.parent != null) + message.parent = String(object.parent); + if (object.specialistPool != null) { + if (typeof object.specialistPool !== "object") + throw TypeError(".google.cloud.aiplatform.v1.CreateSpecialistPoolRequest.specialistPool: object expected"); + message.specialistPool = $root.google.cloud.aiplatform.v1.SpecialistPool.fromObject(object.specialistPool); } - if (object.etag != null) - message.etag = String(object.etag); - if (object.source != null) - message.source = String(object.source); return message; }; /** - * Creates a plain object from a TensorboardExperiment message. Also converts values to other types if specified. + * Creates a plain object from a CreateSpecialistPoolRequest message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest * @static - * @param {google.cloud.aiplatform.v1.TensorboardExperiment} message TensorboardExperiment + * @param {google.cloud.aiplatform.v1.CreateSpecialistPoolRequest} message CreateSpecialistPoolRequest * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - TensorboardExperiment.toObject = function toObject(message, options) { + CreateSpecialistPoolRequest.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.objects || options.defaults) - object.labels = {}; if (options.defaults) { - object.name = ""; - object.displayName = ""; - object.description = ""; - object.createTime = null; - object.updateTime = null; - object.etag = ""; - object.source = ""; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.displayName != null && message.hasOwnProperty("displayName")) - object.displayName = message.displayName; - if (message.description != null && message.hasOwnProperty("description")) - object.description = message.description; - if (message.createTime != null && message.hasOwnProperty("createTime")) - object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options); - if (message.updateTime != null && message.hasOwnProperty("updateTime")) - object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options); - var keys2; - if (message.labels && (keys2 = Object.keys(message.labels)).length) { - object.labels = {}; - for (var j = 0; j < keys2.length; ++j) - object.labels[keys2[j]] = message.labels[keys2[j]]; + object.parent = ""; + object.specialistPool = null; } - if (message.etag != null && message.hasOwnProperty("etag")) - object.etag = message.etag; - if (message.source != null && message.hasOwnProperty("source")) - object.source = message.source; + if (message.parent != null && message.hasOwnProperty("parent")) + object.parent = message.parent; + if (message.specialistPool != null && message.hasOwnProperty("specialistPool")) + object.specialistPool = $root.google.cloud.aiplatform.v1.SpecialistPool.toObject(message.specialistPool, options); return object; }; /** - * Converts this TensorboardExperiment to JSON. + * Converts this CreateSpecialistPoolRequest to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest * @instance * @returns {Object.} JSON object */ - TensorboardExperiment.prototype.toJSON = function toJSON() { + CreateSpecialistPoolRequest.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for TensorboardExperiment + * Gets the default type url for CreateSpecialistPoolRequest * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolRequest * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - TensorboardExperiment.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + CreateSpecialistPoolRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.TensorboardExperiment"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.CreateSpecialistPoolRequest"; }; - return TensorboardExperiment; + return CreateSpecialistPoolRequest; })(); - v1.TensorboardRun = (function() { + v1.CreateSpecialistPoolOperationMetadata = (function() { /** - * Properties of a TensorboardRun. + * Properties of a CreateSpecialistPoolOperationMetadata. * @memberof google.cloud.aiplatform.v1 - * @interface ITensorboardRun - * @property {string|null} [name] TensorboardRun name - * @property {string|null} [displayName] TensorboardRun displayName - * @property {string|null} [description] TensorboardRun description - * @property {google.protobuf.ITimestamp|null} [createTime] TensorboardRun createTime - * @property {google.protobuf.ITimestamp|null} [updateTime] TensorboardRun updateTime - * @property {Object.|null} [labels] TensorboardRun labels - * @property {string|null} [etag] TensorboardRun etag + * @interface ICreateSpecialistPoolOperationMetadata + * @property {google.cloud.aiplatform.v1.IGenericOperationMetadata|null} [genericMetadata] CreateSpecialistPoolOperationMetadata genericMetadata */ /** - * Constructs a new TensorboardRun. + * Constructs a new CreateSpecialistPoolOperationMetadata. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a TensorboardRun. - * @implements ITensorboardRun + * @classdesc Represents a CreateSpecialistPoolOperationMetadata. + * @implements ICreateSpecialistPoolOperationMetadata * @constructor - * @param {google.cloud.aiplatform.v1.ITensorboardRun=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolOperationMetadata=} [properties] Properties to set */ - function TensorboardRun(properties) { - this.labels = {}; + function CreateSpecialistPoolOperationMetadata(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -327398,181 +327505,77 @@ } /** - * TensorboardRun name. - * @member {string} name - * @memberof google.cloud.aiplatform.v1.TensorboardRun - * @instance - */ - TensorboardRun.prototype.name = ""; - - /** - * TensorboardRun displayName. - * @member {string} displayName - * @memberof google.cloud.aiplatform.v1.TensorboardRun - * @instance - */ - TensorboardRun.prototype.displayName = ""; - - /** - * TensorboardRun description. - * @member {string} description - * @memberof google.cloud.aiplatform.v1.TensorboardRun - * @instance - */ - TensorboardRun.prototype.description = ""; - - /** - * TensorboardRun createTime. - * @member {google.protobuf.ITimestamp|null|undefined} createTime - * @memberof google.cloud.aiplatform.v1.TensorboardRun - * @instance - */ - TensorboardRun.prototype.createTime = null; - - /** - * TensorboardRun updateTime. - * @member {google.protobuf.ITimestamp|null|undefined} updateTime - * @memberof google.cloud.aiplatform.v1.TensorboardRun - * @instance - */ - TensorboardRun.prototype.updateTime = null; - - /** - * TensorboardRun labels. - * @member {Object.} labels - * @memberof google.cloud.aiplatform.v1.TensorboardRun - * @instance - */ - TensorboardRun.prototype.labels = $util.emptyObject; - - /** - * TensorboardRun etag. - * @member {string} etag - * @memberof google.cloud.aiplatform.v1.TensorboardRun + * CreateSpecialistPoolOperationMetadata genericMetadata. + * @member {google.cloud.aiplatform.v1.IGenericOperationMetadata|null|undefined} genericMetadata + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata * @instance */ - TensorboardRun.prototype.etag = ""; + CreateSpecialistPoolOperationMetadata.prototype.genericMetadata = null; /** - * Creates a new TensorboardRun instance using the specified properties. + * Creates a new CreateSpecialistPoolOperationMetadata instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata * @static - * @param {google.cloud.aiplatform.v1.ITensorboardRun=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.TensorboardRun} TensorboardRun instance + * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolOperationMetadata=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata} CreateSpecialistPoolOperationMetadata instance */ - TensorboardRun.create = function create(properties) { - return new TensorboardRun(properties); + CreateSpecialistPoolOperationMetadata.create = function create(properties) { + return new CreateSpecialistPoolOperationMetadata(properties); }; /** - * Encodes the specified TensorboardRun message. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardRun.verify|verify} messages. + * Encodes the specified CreateSpecialistPoolOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata * @static - * @param {google.cloud.aiplatform.v1.ITensorboardRun} message TensorboardRun message or plain object to encode + * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolOperationMetadata} message CreateSpecialistPoolOperationMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TensorboardRun.encode = function encode(message, writer) { + CreateSpecialistPoolOperationMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName); - if (message.description != null && Object.hasOwnProperty.call(message, "description")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.description); - if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime")) - $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime")) - $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.labels != null && Object.hasOwnProperty.call(message, "labels")) - for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i) - writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); - if (message.etag != null && Object.hasOwnProperty.call(message, "etag")) - writer.uint32(/* id 9, wireType 2 =*/74).string(message.etag); + 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 TensorboardRun message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardRun.verify|verify} messages. + * Encodes the specified CreateSpecialistPoolOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata * @static - * @param {google.cloud.aiplatform.v1.ITensorboardRun} message TensorboardRun message or plain object to encode + * @param {google.cloud.aiplatform.v1.ICreateSpecialistPoolOperationMetadata} message CreateSpecialistPoolOperationMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TensorboardRun.encodeDelimited = function encodeDelimited(message, writer) { + CreateSpecialistPoolOperationMetadata.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a TensorboardRun message from the specified reader or buffer. + * Decodes a CreateSpecialistPoolOperationMetadata message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata * @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.TensorboardRun} TensorboardRun + * @returns {google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata} CreateSpecialistPoolOperationMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TensorboardRun.decode = function decode(reader, length, error) { + CreateSpecialistPoolOperationMetadata.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TensorboardRun(), key, value; + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.name = reader.string(); - break; - } - case 2: { - message.displayName = reader.string(); - break; - } - case 3: { - message.description = reader.string(); - break; - } - case 6: { - message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - } - case 7: { - message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; - } - case 8: { - if (message.labels === $util.emptyObject) - message.labels = {}; - var end2 = reader.uint32() + reader.pos; - key = ""; - value = ""; - while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { - case 1: - key = reader.string(); - break; - case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; - } - } - message.labels[key] = value; - break; - } - case 9: { - message.etag = reader.string(); + message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.decode(reader, reader.uint32()); break; } default: @@ -327584,410 +327587,5459 @@ }; /** - * Decodes a TensorboardRun message from the specified reader or buffer, length delimited. + * Decodes a CreateSpecialistPoolOperationMetadata message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.TensorboardRun} TensorboardRun + * @returns {google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata} CreateSpecialistPoolOperationMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TensorboardRun.decodeDelimited = function decodeDelimited(reader) { + CreateSpecialistPoolOperationMetadata.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a TensorboardRun message. + * Verifies a CreateSpecialistPoolOperationMetadata message. * @function verify - * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TensorboardRun.verify = function verify(message) { + CreateSpecialistPoolOperationMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.displayName != null && message.hasOwnProperty("displayName")) - if (!$util.isString(message.displayName)) - return "displayName: string expected"; - if (message.description != null && message.hasOwnProperty("description")) - if (!$util.isString(message.description)) - return "description: string expected"; - if (message.createTime != null && message.hasOwnProperty("createTime")) { - var error = $root.google.protobuf.Timestamp.verify(message.createTime); - if (error) - return "createTime." + error; - } - if (message.updateTime != null && message.hasOwnProperty("updateTime")) { - var error = $root.google.protobuf.Timestamp.verify(message.updateTime); + if (message.genericMetadata != null && message.hasOwnProperty("genericMetadata")) { + var error = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.verify(message.genericMetadata); if (error) - return "updateTime." + error; - } - if (message.labels != null && message.hasOwnProperty("labels")) { - if (!$util.isObject(message.labels)) - return "labels: object expected"; - var key = Object.keys(message.labels); - for (var i = 0; i < key.length; ++i) - if (!$util.isString(message.labels[key[i]])) - return "labels: string{k:string} expected"; + return "genericMetadata." + error; } - if (message.etag != null && message.hasOwnProperty("etag")) - if (!$util.isString(message.etag)) - return "etag: string expected"; return null; }; /** - * Creates a TensorboardRun message from a plain object. Also converts values to their respective internal types. + * Creates a CreateSpecialistPoolOperationMetadata message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.TensorboardRun} TensorboardRun + * @returns {google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata} CreateSpecialistPoolOperationMetadata */ - TensorboardRun.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.TensorboardRun) + CreateSpecialistPoolOperationMetadata.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata) return object; - var message = new $root.google.cloud.aiplatform.v1.TensorboardRun(); - if (object.name != null) - message.name = String(object.name); - if (object.displayName != null) - message.displayName = String(object.displayName); - if (object.description != null) - message.description = String(object.description); - if (object.createTime != null) { - if (typeof object.createTime !== "object") - throw TypeError(".google.cloud.aiplatform.v1.TensorboardRun.createTime: object expected"); - message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime); - } - if (object.updateTime != null) { - if (typeof object.updateTime !== "object") - throw TypeError(".google.cloud.aiplatform.v1.TensorboardRun.updateTime: object expected"); - message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime); - } - if (object.labels) { - if (typeof object.labels !== "object") - throw TypeError(".google.cloud.aiplatform.v1.TensorboardRun.labels: object expected"); - message.labels = {}; - for (var keys = Object.keys(object.labels), i = 0; i < keys.length; ++i) - message.labels[keys[i]] = String(object.labels[keys[i]]); + var message = new $root.google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata(); + if (object.genericMetadata != null) { + if (typeof object.genericMetadata !== "object") + throw TypeError(".google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata.genericMetadata: object expected"); + message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.fromObject(object.genericMetadata); } - if (object.etag != null) - message.etag = String(object.etag); return message; }; /** - * Creates a plain object from a TensorboardRun message. Also converts values to other types if specified. + * Creates a plain object from a CreateSpecialistPoolOperationMetadata message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata * @static - * @param {google.cloud.aiplatform.v1.TensorboardRun} message TensorboardRun + * @param {google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata} message CreateSpecialistPoolOperationMetadata * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - TensorboardRun.toObject = function toObject(message, options) { + CreateSpecialistPoolOperationMetadata.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.objects || options.defaults) - object.labels = {}; - if (options.defaults) { - object.name = ""; - object.displayName = ""; - object.description = ""; - object.createTime = null; - object.updateTime = null; - object.etag = ""; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.displayName != null && message.hasOwnProperty("displayName")) - object.displayName = message.displayName; - if (message.description != null && message.hasOwnProperty("description")) - object.description = message.description; - if (message.createTime != null && message.hasOwnProperty("createTime")) - object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options); - if (message.updateTime != null && message.hasOwnProperty("updateTime")) - object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options); - var keys2; - if (message.labels && (keys2 = Object.keys(message.labels)).length) { - object.labels = {}; - for (var j = 0; j < keys2.length; ++j) - object.labels[keys2[j]] = message.labels[keys2[j]]; - } - if (message.etag != null && message.hasOwnProperty("etag")) - object.etag = message.etag; + 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 TensorboardRun to JSON. + * Converts this CreateSpecialistPoolOperationMetadata to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata * @instance * @returns {Object.} JSON object */ - TensorboardRun.prototype.toJSON = function toJSON() { + CreateSpecialistPoolOperationMetadata.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for TensorboardRun + * Gets the default type url for CreateSpecialistPoolOperationMetadata * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @memberof google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - TensorboardRun.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + CreateSpecialistPoolOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.TensorboardRun"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata"; }; - return TensorboardRun; + return CreateSpecialistPoolOperationMetadata; })(); - v1.TensorboardService = (function() { + v1.GetSpecialistPoolRequest = (function() { /** - * Constructs a new TensorboardService service. + * Properties of a GetSpecialistPoolRequest. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a TensorboardService - * @extends $protobuf.rpc.Service + * @interface IGetSpecialistPoolRequest + * @property {string|null} [name] GetSpecialistPoolRequest name + */ + + /** + * Constructs a new GetSpecialistPoolRequest. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a GetSpecialistPoolRequest. + * @implements IGetSpecialistPoolRequest * @constructor - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * @param {google.cloud.aiplatform.v1.IGetSpecialistPoolRequest=} [properties] Properties to set */ - function TensorboardService(rpcImpl, requestDelimited, responseDelimited) { - $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); + function GetSpecialistPoolRequest(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]]; } - (TensorboardService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = TensorboardService; + /** + * GetSpecialistPoolRequest name. + * @member {string} name + * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @instance + */ + GetSpecialistPoolRequest.prototype.name = ""; /** - * Creates new TensorboardService service using the specified rpc implementation. + * Creates a new GetSpecialistPoolRequest instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.TensorboardService + * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest * @static - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - * @returns {TensorboardService} RPC service. Useful where requests and/or responses are streamed. + * @param {google.cloud.aiplatform.v1.IGetSpecialistPoolRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.GetSpecialistPoolRequest} GetSpecialistPoolRequest instance */ - TensorboardService.create = function create(rpcImpl, requestDelimited, responseDelimited) { - return new this(rpcImpl, requestDelimited, responseDelimited); + GetSpecialistPoolRequest.create = function create(properties) { + return new GetSpecialistPoolRequest(properties); }; /** - * Callback as used by {@link google.cloud.aiplatform.v1.TensorboardService|createTensorboard}. - * @memberof google.cloud.aiplatform.v1.TensorboardService - * @typedef CreateTensorboardCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {google.longrunning.Operation} [response] Operation + * Encodes the specified GetSpecialistPoolRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.GetSpecialistPoolRequest.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @static + * @param {google.cloud.aiplatform.v1.IGetSpecialistPoolRequest} message GetSpecialistPoolRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ + GetSpecialistPoolRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.name != null && Object.hasOwnProperty.call(message, "name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + return writer; + }; /** - * Calls CreateTensorboard. - * @function createTensorboard - * @memberof google.cloud.aiplatform.v1.TensorboardService - * @instance - * @param {google.cloud.aiplatform.v1.ICreateTensorboardRequest} request CreateTensorboardRequest message or plain object - * @param {google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardCallback} callback Node-style callback called with the error, if any, and Operation - * @returns {undefined} - * @variation 1 + * Encodes the specified GetSpecialistPoolRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.GetSpecialistPoolRequest.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @static + * @param {google.cloud.aiplatform.v1.IGetSpecialistPoolRequest} message GetSpecialistPoolRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - Object.defineProperty(TensorboardService.prototype.createTensorboard = function createTensorboard(request, callback) { - return this.rpcCall(createTensorboard, $root.google.cloud.aiplatform.v1.CreateTensorboardRequest, $root.google.longrunning.Operation, request, callback); - }, "name", { value: "CreateTensorboard" }); + GetSpecialistPoolRequest.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; /** - * Calls CreateTensorboard. - * @function createTensorboard - * @memberof google.cloud.aiplatform.v1.TensorboardService - * @instance - * @param {google.cloud.aiplatform.v1.ICreateTensorboardRequest} request CreateTensorboardRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Decodes a GetSpecialistPoolRequest message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @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.GetSpecialistPoolRequest} GetSpecialistPoolRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ + GetSpecialistPoolRequest.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.GetSpecialistPoolRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.name = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; /** - * Callback as used by {@link google.cloud.aiplatform.v1.TensorboardService|getTensorboard}. - * @memberof google.cloud.aiplatform.v1.TensorboardService - * @typedef GetTensorboardCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {google.cloud.aiplatform.v1.Tensorboard} [response] Tensorboard + * Decodes a GetSpecialistPoolRequest message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.GetSpecialistPoolRequest} GetSpecialistPoolRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing */ + GetSpecialistPoolRequest.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; /** - * Calls GetTensorboard. - * @function getTensorboard - * @memberof google.cloud.aiplatform.v1.TensorboardService - * @instance - * @param {google.cloud.aiplatform.v1.IGetTensorboardRequest} request GetTensorboardRequest message or plain object - * @param {google.cloud.aiplatform.v1.TensorboardService.GetTensorboardCallback} callback Node-style callback called with the error, if any, and Tensorboard - * @returns {undefined} - * @variation 1 + * Verifies a GetSpecialistPoolRequest message. + * @function verify + * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Object.defineProperty(TensorboardService.prototype.getTensorboard = function getTensorboard(request, callback) { - return this.rpcCall(getTensorboard, $root.google.cloud.aiplatform.v1.GetTensorboardRequest, $root.google.cloud.aiplatform.v1.Tensorboard, request, callback); - }, "name", { value: "GetTensorboard" }); + GetSpecialistPoolRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + return null; + }; /** - * Calls GetTensorboard. - * @function getTensorboard - * @memberof google.cloud.aiplatform.v1.TensorboardService - * @instance - * @param {google.cloud.aiplatform.v1.IGetTensorboardRequest} request GetTensorboardRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Creates a GetSpecialistPoolRequest message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.GetSpecialistPoolRequest} GetSpecialistPoolRequest */ + GetSpecialistPoolRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.GetSpecialistPoolRequest) + return object; + var message = new $root.google.cloud.aiplatform.v1.GetSpecialistPoolRequest(); + if (object.name != null) + message.name = String(object.name); + return message; + }; /** - * Callback as used by {@link google.cloud.aiplatform.v1.TensorboardService|updateTensorboard}. - * @memberof google.cloud.aiplatform.v1.TensorboardService - * @typedef UpdateTensorboardCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {google.longrunning.Operation} [response] Operation + * Creates a plain object from a GetSpecialistPoolRequest message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @static + * @param {google.cloud.aiplatform.v1.GetSpecialistPoolRequest} message GetSpecialistPoolRequest + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object */ + GetSpecialistPoolRequest.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.name = ""; + if (message.name != null && message.hasOwnProperty("name")) + object.name = message.name; + return object; + }; /** - * Calls UpdateTensorboard. - * @function updateTensorboard - * @memberof google.cloud.aiplatform.v1.TensorboardService + * Converts this GetSpecialistPoolRequest to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest * @instance - * @param {google.cloud.aiplatform.v1.IUpdateTensorboardRequest} request UpdateTensorboardRequest message or plain object - * @param {google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardCallback} callback Node-style callback called with the error, if any, and Operation - * @returns {undefined} - * @variation 1 + * @returns {Object.} JSON object */ - Object.defineProperty(TensorboardService.prototype.updateTensorboard = function updateTensorboard(request, callback) { - return this.rpcCall(updateTensorboard, $root.google.cloud.aiplatform.v1.UpdateTensorboardRequest, $root.google.longrunning.Operation, request, callback); - }, "name", { value: "UpdateTensorboard" }); + GetSpecialistPoolRequest.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; /** - * Calls UpdateTensorboard. - * @function updateTensorboard - * @memberof google.cloud.aiplatform.v1.TensorboardService - * @instance - * @param {google.cloud.aiplatform.v1.IUpdateTensorboardRequest} request UpdateTensorboardRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Gets the default type url for GetSpecialistPoolRequest + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.GetSpecialistPoolRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url */ + GetSpecialistPoolRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.GetSpecialistPoolRequest"; + }; - /** - * Callback as used by {@link google.cloud.aiplatform.v1.TensorboardService|listTensorboards}. - * @memberof google.cloud.aiplatform.v1.TensorboardService - * @typedef ListTensorboardsCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {google.cloud.aiplatform.v1.ListTensorboardsResponse} [response] ListTensorboardsResponse - */ + return GetSpecialistPoolRequest; + })(); - /** - * Calls ListTensorboards. - * @function listTensorboards - * @memberof google.cloud.aiplatform.v1.TensorboardService - * @instance - * @param {google.cloud.aiplatform.v1.IListTensorboardsRequest} request ListTensorboardsRequest message or plain object - * @param {google.cloud.aiplatform.v1.TensorboardService.ListTensorboardsCallback} callback Node-style callback called with the error, if any, and ListTensorboardsResponse - * @returns {undefined} - * @variation 1 - */ - Object.defineProperty(TensorboardService.prototype.listTensorboards = function listTensorboards(request, callback) { - return this.rpcCall(listTensorboards, $root.google.cloud.aiplatform.v1.ListTensorboardsRequest, $root.google.cloud.aiplatform.v1.ListTensorboardsResponse, request, callback); - }, "name", { value: "ListTensorboards" }); + v1.ListSpecialistPoolsRequest = (function() { /** - * Calls ListTensorboards. - * @function listTensorboards - * @memberof google.cloud.aiplatform.v1.TensorboardService - * @instance - * @param {google.cloud.aiplatform.v1.IListTensorboardsRequest} request ListTensorboardsRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Properties of a ListSpecialistPoolsRequest. + * @memberof google.cloud.aiplatform.v1 + * @interface IListSpecialistPoolsRequest + * @property {string|null} [parent] ListSpecialistPoolsRequest parent + * @property {number|null} [pageSize] ListSpecialistPoolsRequest pageSize + * @property {string|null} [pageToken] ListSpecialistPoolsRequest pageToken + * @property {google.protobuf.IFieldMask|null} [readMask] ListSpecialistPoolsRequest readMask */ /** - * Callback as used by {@link google.cloud.aiplatform.v1.TensorboardService|deleteTensorboard}. - * @memberof google.cloud.aiplatform.v1.TensorboardService - * @typedef DeleteTensorboardCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {google.longrunning.Operation} [response] Operation + * Constructs a new ListSpecialistPoolsRequest. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a ListSpecialistPoolsRequest. + * @implements IListSpecialistPoolsRequest + * @constructor + * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsRequest=} [properties] Properties to set */ + function ListSpecialistPoolsRequest(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]]; + } /** - * Calls DeleteTensorboard. - * @function deleteTensorboard - * @memberof google.cloud.aiplatform.v1.TensorboardService + * ListSpecialistPoolsRequest parent. + * @member {string} parent + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest * @instance - * @param {google.cloud.aiplatform.v1.IDeleteTensorboardRequest} request DeleteTensorboardRequest message or plain object - * @param {google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardCallback} callback Node-style callback called with the error, if any, and Operation - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(TensorboardService.prototype.deleteTensorboard = function deleteTensorboard(request, callback) { - return this.rpcCall(deleteTensorboard, $root.google.cloud.aiplatform.v1.DeleteTensorboardRequest, $root.google.longrunning.Operation, request, callback); - }, "name", { value: "DeleteTensorboard" }); + ListSpecialistPoolsRequest.prototype.parent = ""; /** - * Calls DeleteTensorboard. - * @function deleteTensorboard - * @memberof google.cloud.aiplatform.v1.TensorboardService + * ListSpecialistPoolsRequest pageSize. + * @member {number} pageSize + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest * @instance - * @param {google.cloud.aiplatform.v1.IDeleteTensorboardRequest} request DeleteTensorboardRequest message or plain object - * @returns {Promise} Promise - * @variation 2 */ + ListSpecialistPoolsRequest.prototype.pageSize = 0; /** - * Callback as used by {@link google.cloud.aiplatform.v1.TensorboardService|readTensorboardUsage}. - * @memberof google.cloud.aiplatform.v1.TensorboardService - * @typedef ReadTensorboardUsageCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {google.cloud.aiplatform.v1.ReadTensorboardUsageResponse} [response] ReadTensorboardUsageResponse + * ListSpecialistPoolsRequest pageToken. + * @member {string} pageToken + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @instance */ + ListSpecialistPoolsRequest.prototype.pageToken = ""; /** - * Calls ReadTensorboardUsage. - * @function readTensorboardUsage - * @memberof google.cloud.aiplatform.v1.TensorboardService + * ListSpecialistPoolsRequest readMask. + * @member {google.protobuf.IFieldMask|null|undefined} readMask + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest * @instance - * @param {google.cloud.aiplatform.v1.IReadTensorboardUsageRequest} request ReadTensorboardUsageRequest message or plain object - * @param {google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardUsageCallback} callback Node-style callback called with the error, if any, and ReadTensorboardUsageResponse - * @returns {undefined} - * @variation 1 */ - Object.defineProperty(TensorboardService.prototype.readTensorboardUsage = function readTensorboardUsage(request, callback) { - return this.rpcCall(readTensorboardUsage, $root.google.cloud.aiplatform.v1.ReadTensorboardUsageRequest, $root.google.cloud.aiplatform.v1.ReadTensorboardUsageResponse, request, callback); - }, "name", { value: "ReadTensorboardUsage" }); + ListSpecialistPoolsRequest.prototype.readMask = null; /** - * Calls ReadTensorboardUsage. - * @function readTensorboardUsage - * @memberof google.cloud.aiplatform.v1.TensorboardService - * @instance - * @param {google.cloud.aiplatform.v1.IReadTensorboardUsageRequest} request ReadTensorboardUsageRequest message or plain object - * @returns {Promise} Promise - * @variation 2 + * Creates a new ListSpecialistPoolsRequest instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @static + * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.ListSpecialistPoolsRequest} ListSpecialistPoolsRequest instance */ + ListSpecialistPoolsRequest.create = function create(properties) { + return new ListSpecialistPoolsRequest(properties); + }; /** - * Callback as used by {@link google.cloud.aiplatform.v1.TensorboardService|readTensorboardSize}. + * Encodes the specified ListSpecialistPoolsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.ListSpecialistPoolsRequest.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @static + * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsRequest} message ListSpecialistPoolsRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ListSpecialistPoolsRequest.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.pageSize != null && Object.hasOwnProperty.call(message, "pageSize")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize); + if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken); + if (message.readMask != null && Object.hasOwnProperty.call(message, "readMask")) + $root.google.protobuf.FieldMask.encode(message.readMask, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified ListSpecialistPoolsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ListSpecialistPoolsRequest.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @static + * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsRequest} message ListSpecialistPoolsRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ListSpecialistPoolsRequest.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ListSpecialistPoolsRequest message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @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.ListSpecialistPoolsRequest} ListSpecialistPoolsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ListSpecialistPoolsRequest.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.ListSpecialistPoolsRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.pageSize = reader.int32(); + break; + } + case 3: { + message.pageToken = reader.string(); + break; + } + case 4: { + message.readMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ListSpecialistPoolsRequest message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.ListSpecialistPoolsRequest} ListSpecialistPoolsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ListSpecialistPoolsRequest.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ListSpecialistPoolsRequest message. + * @function verify + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ListSpecialistPoolsRequest.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.pageSize != null && message.hasOwnProperty("pageSize")) + if (!$util.isInteger(message.pageSize)) + return "pageSize: integer expected"; + if (message.pageToken != null && message.hasOwnProperty("pageToken")) + if (!$util.isString(message.pageToken)) + return "pageToken: string expected"; + if (message.readMask != null && message.hasOwnProperty("readMask")) { + var error = $root.google.protobuf.FieldMask.verify(message.readMask); + if (error) + return "readMask." + error; + } + return null; + }; + + /** + * Creates a ListSpecialistPoolsRequest message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.ListSpecialistPoolsRequest} ListSpecialistPoolsRequest + */ + ListSpecialistPoolsRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.ListSpecialistPoolsRequest) + return object; + var message = new $root.google.cloud.aiplatform.v1.ListSpecialistPoolsRequest(); + if (object.parent != null) + message.parent = String(object.parent); + if (object.pageSize != null) + message.pageSize = object.pageSize | 0; + if (object.pageToken != null) + message.pageToken = String(object.pageToken); + if (object.readMask != null) { + if (typeof object.readMask !== "object") + throw TypeError(".google.cloud.aiplatform.v1.ListSpecialistPoolsRequest.readMask: object expected"); + message.readMask = $root.google.protobuf.FieldMask.fromObject(object.readMask); + } + return message; + }; + + /** + * Creates a plain object from a ListSpecialistPoolsRequest message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @static + * @param {google.cloud.aiplatform.v1.ListSpecialistPoolsRequest} message ListSpecialistPoolsRequest + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ListSpecialistPoolsRequest.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.parent = ""; + object.pageSize = 0; + object.pageToken = ""; + object.readMask = null; + } + if (message.parent != null && message.hasOwnProperty("parent")) + object.parent = message.parent; + if (message.pageSize != null && message.hasOwnProperty("pageSize")) + object.pageSize = message.pageSize; + if (message.pageToken != null && message.hasOwnProperty("pageToken")) + object.pageToken = message.pageToken; + if (message.readMask != null && message.hasOwnProperty("readMask")) + object.readMask = $root.google.protobuf.FieldMask.toObject(message.readMask, options); + return object; + }; + + /** + * Converts this ListSpecialistPoolsRequest to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @instance + * @returns {Object.} JSON object + */ + ListSpecialistPoolsRequest.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ListSpecialistPoolsRequest + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListSpecialistPoolsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.ListSpecialistPoolsRequest"; + }; + + return ListSpecialistPoolsRequest; + })(); + + v1.ListSpecialistPoolsResponse = (function() { + + /** + * Properties of a ListSpecialistPoolsResponse. + * @memberof google.cloud.aiplatform.v1 + * @interface IListSpecialistPoolsResponse + * @property {Array.|null} [specialistPools] ListSpecialistPoolsResponse specialistPools + * @property {string|null} [nextPageToken] ListSpecialistPoolsResponse nextPageToken + */ + + /** + * Constructs a new ListSpecialistPoolsResponse. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a ListSpecialistPoolsResponse. + * @implements IListSpecialistPoolsResponse + * @constructor + * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsResponse=} [properties] Properties to set + */ + function ListSpecialistPoolsResponse(properties) { + this.specialistPools = []; + 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]]; + } + + /** + * ListSpecialistPoolsResponse specialistPools. + * @member {Array.} specialistPools + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @instance + */ + ListSpecialistPoolsResponse.prototype.specialistPools = $util.emptyArray; + + /** + * ListSpecialistPoolsResponse nextPageToken. + * @member {string} nextPageToken + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @instance + */ + ListSpecialistPoolsResponse.prototype.nextPageToken = ""; + + /** + * Creates a new ListSpecialistPoolsResponse instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @static + * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsResponse=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.ListSpecialistPoolsResponse} ListSpecialistPoolsResponse instance + */ + ListSpecialistPoolsResponse.create = function create(properties) { + return new ListSpecialistPoolsResponse(properties); + }; + + /** + * Encodes the specified ListSpecialistPoolsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.ListSpecialistPoolsResponse.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @static + * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsResponse} message ListSpecialistPoolsResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ListSpecialistPoolsResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.specialistPools != null && message.specialistPools.length) + for (var i = 0; i < message.specialistPools.length; ++i) + $root.google.cloud.aiplatform.v1.SpecialistPool.encode(message.specialistPools[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken); + return writer; + }; + + /** + * Encodes the specified ListSpecialistPoolsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ListSpecialistPoolsResponse.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @static + * @param {google.cloud.aiplatform.v1.IListSpecialistPoolsResponse} message ListSpecialistPoolsResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ListSpecialistPoolsResponse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ListSpecialistPoolsResponse message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @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.ListSpecialistPoolsResponse} ListSpecialistPoolsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ListSpecialistPoolsResponse.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.ListSpecialistPoolsResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + if (!(message.specialistPools && message.specialistPools.length)) + message.specialistPools = []; + message.specialistPools.push($root.google.cloud.aiplatform.v1.SpecialistPool.decode(reader, reader.uint32())); + break; + } + case 2: { + message.nextPageToken = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ListSpecialistPoolsResponse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.ListSpecialistPoolsResponse} ListSpecialistPoolsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ListSpecialistPoolsResponse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ListSpecialistPoolsResponse message. + * @function verify + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ListSpecialistPoolsResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.specialistPools != null && message.hasOwnProperty("specialistPools")) { + if (!Array.isArray(message.specialistPools)) + return "specialistPools: array expected"; + for (var i = 0; i < message.specialistPools.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.SpecialistPool.verify(message.specialistPools[i]); + if (error) + return "specialistPools." + error; + } + } + if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken")) + if (!$util.isString(message.nextPageToken)) + return "nextPageToken: string expected"; + return null; + }; + + /** + * Creates a ListSpecialistPoolsResponse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.ListSpecialistPoolsResponse} ListSpecialistPoolsResponse + */ + ListSpecialistPoolsResponse.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.ListSpecialistPoolsResponse) + return object; + var message = new $root.google.cloud.aiplatform.v1.ListSpecialistPoolsResponse(); + if (object.specialistPools) { + if (!Array.isArray(object.specialistPools)) + throw TypeError(".google.cloud.aiplatform.v1.ListSpecialistPoolsResponse.specialistPools: array expected"); + message.specialistPools = []; + for (var i = 0; i < object.specialistPools.length; ++i) { + if (typeof object.specialistPools[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.ListSpecialistPoolsResponse.specialistPools: object expected"); + message.specialistPools[i] = $root.google.cloud.aiplatform.v1.SpecialistPool.fromObject(object.specialistPools[i]); + } + } + if (object.nextPageToken != null) + message.nextPageToken = String(object.nextPageToken); + return message; + }; + + /** + * Creates a plain object from a ListSpecialistPoolsResponse message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @static + * @param {google.cloud.aiplatform.v1.ListSpecialistPoolsResponse} message ListSpecialistPoolsResponse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ListSpecialistPoolsResponse.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.specialistPools = []; + if (options.defaults) + object.nextPageToken = ""; + if (message.specialistPools && message.specialistPools.length) { + object.specialistPools = []; + for (var j = 0; j < message.specialistPools.length; ++j) + object.specialistPools[j] = $root.google.cloud.aiplatform.v1.SpecialistPool.toObject(message.specialistPools[j], options); + } + if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken")) + object.nextPageToken = message.nextPageToken; + return object; + }; + + /** + * Converts this ListSpecialistPoolsResponse to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @instance + * @returns {Object.} JSON object + */ + ListSpecialistPoolsResponse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ListSpecialistPoolsResponse + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.ListSpecialistPoolsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ListSpecialistPoolsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.ListSpecialistPoolsResponse"; + }; + + return ListSpecialistPoolsResponse; + })(); + + v1.DeleteSpecialistPoolRequest = (function() { + + /** + * Properties of a DeleteSpecialistPoolRequest. + * @memberof google.cloud.aiplatform.v1 + * @interface IDeleteSpecialistPoolRequest + * @property {string|null} [name] DeleteSpecialistPoolRequest name + * @property {boolean|null} [force] DeleteSpecialistPoolRequest force + */ + + /** + * Constructs a new DeleteSpecialistPoolRequest. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a DeleteSpecialistPoolRequest. + * @implements IDeleteSpecialistPoolRequest + * @constructor + * @param {google.cloud.aiplatform.v1.IDeleteSpecialistPoolRequest=} [properties] Properties to set + */ + function DeleteSpecialistPoolRequest(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]]; + } + + /** + * DeleteSpecialistPoolRequest name. + * @member {string} name + * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @instance + */ + DeleteSpecialistPoolRequest.prototype.name = ""; + + /** + * DeleteSpecialistPoolRequest force. + * @member {boolean} force + * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @instance + */ + DeleteSpecialistPoolRequest.prototype.force = false; + + /** + * Creates a new DeleteSpecialistPoolRequest instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @static + * @param {google.cloud.aiplatform.v1.IDeleteSpecialistPoolRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest} DeleteSpecialistPoolRequest instance + */ + DeleteSpecialistPoolRequest.create = function create(properties) { + return new DeleteSpecialistPoolRequest(properties); + }; + + /** + * Encodes the specified DeleteSpecialistPoolRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @static + * @param {google.cloud.aiplatform.v1.IDeleteSpecialistPoolRequest} message DeleteSpecialistPoolRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + DeleteSpecialistPoolRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.name != null && Object.hasOwnProperty.call(message, "name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.force != null && Object.hasOwnProperty.call(message, "force")) + writer.uint32(/* id 2, wireType 0 =*/16).bool(message.force); + return writer; + }; + + /** + * Encodes the specified DeleteSpecialistPoolRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @static + * @param {google.cloud.aiplatform.v1.IDeleteSpecialistPoolRequest} message DeleteSpecialistPoolRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + DeleteSpecialistPoolRequest.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a DeleteSpecialistPoolRequest message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @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.DeleteSpecialistPoolRequest} DeleteSpecialistPoolRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + DeleteSpecialistPoolRequest.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.force = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a DeleteSpecialistPoolRequest message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest} DeleteSpecialistPoolRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + DeleteSpecialistPoolRequest.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a DeleteSpecialistPoolRequest message. + * @function verify + * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + DeleteSpecialistPoolRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.force != null && message.hasOwnProperty("force")) + if (typeof message.force !== "boolean") + return "force: boolean expected"; + return null; + }; + + /** + * Creates a DeleteSpecialistPoolRequest message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest} DeleteSpecialistPoolRequest + */ + DeleteSpecialistPoolRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest) + return object; + var message = new $root.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest(); + if (object.name != null) + message.name = String(object.name); + if (object.force != null) + message.force = Boolean(object.force); + return message; + }; + + /** + * Creates a plain object from a DeleteSpecialistPoolRequest message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @static + * @param {google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest} message DeleteSpecialistPoolRequest + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + DeleteSpecialistPoolRequest.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.name = ""; + object.force = false; + } + if (message.name != null && message.hasOwnProperty("name")) + object.name = message.name; + if (message.force != null && message.hasOwnProperty("force")) + object.force = message.force; + return object; + }; + + /** + * Converts this DeleteSpecialistPoolRequest to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @instance + * @returns {Object.} JSON object + */ + DeleteSpecialistPoolRequest.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for DeleteSpecialistPoolRequest + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + DeleteSpecialistPoolRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest"; + }; + + return DeleteSpecialistPoolRequest; + })(); + + v1.UpdateSpecialistPoolRequest = (function() { + + /** + * Properties of an UpdateSpecialistPoolRequest. + * @memberof google.cloud.aiplatform.v1 + * @interface IUpdateSpecialistPoolRequest + * @property {google.cloud.aiplatform.v1.ISpecialistPool|null} [specialistPool] UpdateSpecialistPoolRequest specialistPool + * @property {google.protobuf.IFieldMask|null} [updateMask] UpdateSpecialistPoolRequest updateMask + */ + + /** + * Constructs a new UpdateSpecialistPoolRequest. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents an UpdateSpecialistPoolRequest. + * @implements IUpdateSpecialistPoolRequest + * @constructor + * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolRequest=} [properties] Properties to set + */ + function UpdateSpecialistPoolRequest(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]]; + } + + /** + * UpdateSpecialistPoolRequest specialistPool. + * @member {google.cloud.aiplatform.v1.ISpecialistPool|null|undefined} specialistPool + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @instance + */ + UpdateSpecialistPoolRequest.prototype.specialistPool = null; + + /** + * UpdateSpecialistPoolRequest updateMask. + * @member {google.protobuf.IFieldMask|null|undefined} updateMask + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @instance + */ + UpdateSpecialistPoolRequest.prototype.updateMask = null; + + /** + * Creates a new UpdateSpecialistPoolRequest instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @static + * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest} UpdateSpecialistPoolRequest instance + */ + UpdateSpecialistPoolRequest.create = function create(properties) { + return new UpdateSpecialistPoolRequest(properties); + }; + + /** + * Encodes the specified UpdateSpecialistPoolRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @static + * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolRequest} message UpdateSpecialistPoolRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + UpdateSpecialistPoolRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.specialistPool != null && Object.hasOwnProperty.call(message, "specialistPool")) + $root.google.cloud.aiplatform.v1.SpecialistPool.encode(message.specialistPool, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.updateMask != null && Object.hasOwnProperty.call(message, "updateMask")) + $root.google.protobuf.FieldMask.encode(message.updateMask, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified UpdateSpecialistPoolRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @static + * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolRequest} message UpdateSpecialistPoolRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + UpdateSpecialistPoolRequest.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an UpdateSpecialistPoolRequest message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @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.UpdateSpecialistPoolRequest} UpdateSpecialistPoolRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + UpdateSpecialistPoolRequest.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.specialistPool = $root.google.cloud.aiplatform.v1.SpecialistPool.decode(reader, reader.uint32()); + break; + } + case 2: { + message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an UpdateSpecialistPoolRequest message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest} UpdateSpecialistPoolRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + UpdateSpecialistPoolRequest.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an UpdateSpecialistPoolRequest message. + * @function verify + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + UpdateSpecialistPoolRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.specialistPool != null && message.hasOwnProperty("specialistPool")) { + var error = $root.google.cloud.aiplatform.v1.SpecialistPool.verify(message.specialistPool); + if (error) + return "specialistPool." + error; + } + if (message.updateMask != null && message.hasOwnProperty("updateMask")) { + var error = $root.google.protobuf.FieldMask.verify(message.updateMask); + if (error) + return "updateMask." + error; + } + return null; + }; + + /** + * Creates an UpdateSpecialistPoolRequest message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest} UpdateSpecialistPoolRequest + */ + UpdateSpecialistPoolRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest) + return object; + var message = new $root.google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest(); + if (object.specialistPool != null) { + if (typeof object.specialistPool !== "object") + throw TypeError(".google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest.specialistPool: object expected"); + message.specialistPool = $root.google.cloud.aiplatform.v1.SpecialistPool.fromObject(object.specialistPool); + } + if (object.updateMask != null) { + if (typeof object.updateMask !== "object") + throw TypeError(".google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest.updateMask: object expected"); + message.updateMask = $root.google.protobuf.FieldMask.fromObject(object.updateMask); + } + return message; + }; + + /** + * Creates a plain object from an UpdateSpecialistPoolRequest message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @static + * @param {google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest} message UpdateSpecialistPoolRequest + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + UpdateSpecialistPoolRequest.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.specialistPool = null; + object.updateMask = null; + } + if (message.specialistPool != null && message.hasOwnProperty("specialistPool")) + object.specialistPool = $root.google.cloud.aiplatform.v1.SpecialistPool.toObject(message.specialistPool, options); + if (message.updateMask != null && message.hasOwnProperty("updateMask")) + object.updateMask = $root.google.protobuf.FieldMask.toObject(message.updateMask, options); + return object; + }; + + /** + * Converts this UpdateSpecialistPoolRequest to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @instance + * @returns {Object.} JSON object + */ + UpdateSpecialistPoolRequest.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for UpdateSpecialistPoolRequest + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateSpecialistPoolRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest"; + }; + + return UpdateSpecialistPoolRequest; + })(); + + v1.UpdateSpecialistPoolOperationMetadata = (function() { + + /** + * Properties of an UpdateSpecialistPoolOperationMetadata. + * @memberof google.cloud.aiplatform.v1 + * @interface IUpdateSpecialistPoolOperationMetadata + * @property {string|null} [specialistPool] UpdateSpecialistPoolOperationMetadata specialistPool + * @property {google.cloud.aiplatform.v1.IGenericOperationMetadata|null} [genericMetadata] UpdateSpecialistPoolOperationMetadata genericMetadata + */ + + /** + * Constructs a new UpdateSpecialistPoolOperationMetadata. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents an UpdateSpecialistPoolOperationMetadata. + * @implements IUpdateSpecialistPoolOperationMetadata + * @constructor + * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolOperationMetadata=} [properties] Properties to set + */ + function UpdateSpecialistPoolOperationMetadata(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]]; + } + + /** + * UpdateSpecialistPoolOperationMetadata specialistPool. + * @member {string} specialistPool + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @instance + */ + UpdateSpecialistPoolOperationMetadata.prototype.specialistPool = ""; + + /** + * UpdateSpecialistPoolOperationMetadata genericMetadata. + * @member {google.cloud.aiplatform.v1.IGenericOperationMetadata|null|undefined} genericMetadata + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @instance + */ + UpdateSpecialistPoolOperationMetadata.prototype.genericMetadata = null; + + /** + * Creates a new UpdateSpecialistPoolOperationMetadata instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolOperationMetadata=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata} UpdateSpecialistPoolOperationMetadata instance + */ + UpdateSpecialistPoolOperationMetadata.create = function create(properties) { + return new UpdateSpecialistPoolOperationMetadata(properties); + }; + + /** + * Encodes the specified UpdateSpecialistPoolOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolOperationMetadata} message UpdateSpecialistPoolOperationMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + UpdateSpecialistPoolOperationMetadata.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.specialistPool != null && Object.hasOwnProperty.call(message, "specialistPool")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.specialistPool); + if (message.genericMetadata != null && Object.hasOwnProperty.call(message, "genericMetadata")) + $root.google.cloud.aiplatform.v1.GenericOperationMetadata.encode(message.genericMetadata, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified UpdateSpecialistPoolOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.IUpdateSpecialistPoolOperationMetadata} message UpdateSpecialistPoolOperationMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + UpdateSpecialistPoolOperationMetadata.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an UpdateSpecialistPoolOperationMetadata message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @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.UpdateSpecialistPoolOperationMetadata} UpdateSpecialistPoolOperationMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + UpdateSpecialistPoolOperationMetadata.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.specialistPool = reader.string(); + break; + } + case 2: { + message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an UpdateSpecialistPoolOperationMetadata message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata} UpdateSpecialistPoolOperationMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + UpdateSpecialistPoolOperationMetadata.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an UpdateSpecialistPoolOperationMetadata message. + * @function verify + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + UpdateSpecialistPoolOperationMetadata.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.specialistPool != null && message.hasOwnProperty("specialistPool")) + if (!$util.isString(message.specialistPool)) + return "specialistPool: string 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 an UpdateSpecialistPoolOperationMetadata message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata} UpdateSpecialistPoolOperationMetadata + */ + UpdateSpecialistPoolOperationMetadata.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata) + return object; + var message = new $root.google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata(); + if (object.specialistPool != null) + message.specialistPool = String(object.specialistPool); + if (object.genericMetadata != null) { + if (typeof object.genericMetadata !== "object") + throw TypeError(".google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata.genericMetadata: object expected"); + message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.fromObject(object.genericMetadata); + } + return message; + }; + + /** + * Creates a plain object from an UpdateSpecialistPoolOperationMetadata message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata} message UpdateSpecialistPoolOperationMetadata + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + UpdateSpecialistPoolOperationMetadata.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.specialistPool = ""; + object.genericMetadata = null; + } + if (message.specialistPool != null && message.hasOwnProperty("specialistPool")) + object.specialistPool = message.specialistPool; + if (message.genericMetadata != null && message.hasOwnProperty("genericMetadata")) + object.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.toObject(message.genericMetadata, options); + return object; + }; + + /** + * Converts this UpdateSpecialistPoolOperationMetadata to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @instance + * @returns {Object.} JSON object + */ + UpdateSpecialistPoolOperationMetadata.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for UpdateSpecialistPoolOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateSpecialistPoolOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata"; + }; + + return UpdateSpecialistPoolOperationMetadata; + })(); + + v1.Tensorboard = (function() { + + /** + * Properties of a Tensorboard. + * @memberof google.cloud.aiplatform.v1 + * @interface ITensorboard + * @property {string|null} [name] Tensorboard name + * @property {string|null} [displayName] Tensorboard displayName + * @property {string|null} [description] Tensorboard description + * @property {google.cloud.aiplatform.v1.IEncryptionSpec|null} [encryptionSpec] Tensorboard encryptionSpec + * @property {string|null} [blobStoragePathPrefix] Tensorboard blobStoragePathPrefix + * @property {number|null} [runCount] Tensorboard runCount + * @property {google.protobuf.ITimestamp|null} [createTime] Tensorboard createTime + * @property {google.protobuf.ITimestamp|null} [updateTime] Tensorboard updateTime + * @property {Object.|null} [labels] Tensorboard labels + * @property {string|null} [etag] Tensorboard etag + * @property {boolean|null} [isDefault] Tensorboard isDefault + * @property {boolean|null} [satisfiesPzs] Tensorboard satisfiesPzs + * @property {boolean|null} [satisfiesPzi] Tensorboard satisfiesPzi + */ + + /** + * Constructs a new Tensorboard. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a Tensorboard. + * @implements ITensorboard + * @constructor + * @param {google.cloud.aiplatform.v1.ITensorboard=} [properties] Properties to set + */ + function Tensorboard(properties) { + this.labels = {}; + 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]]; + } + + /** + * Tensorboard name. + * @member {string} name + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @instance + */ + Tensorboard.prototype.name = ""; + + /** + * Tensorboard displayName. + * @member {string} displayName + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @instance + */ + Tensorboard.prototype.displayName = ""; + + /** + * Tensorboard description. + * @member {string} description + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @instance + */ + Tensorboard.prototype.description = ""; + + /** + * Tensorboard encryptionSpec. + * @member {google.cloud.aiplatform.v1.IEncryptionSpec|null|undefined} encryptionSpec + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @instance + */ + Tensorboard.prototype.encryptionSpec = null; + + /** + * Tensorboard blobStoragePathPrefix. + * @member {string} blobStoragePathPrefix + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @instance + */ + Tensorboard.prototype.blobStoragePathPrefix = ""; + + /** + * Tensorboard runCount. + * @member {number} runCount + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @instance + */ + Tensorboard.prototype.runCount = 0; + + /** + * Tensorboard createTime. + * @member {google.protobuf.ITimestamp|null|undefined} createTime + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @instance + */ + Tensorboard.prototype.createTime = null; + + /** + * Tensorboard updateTime. + * @member {google.protobuf.ITimestamp|null|undefined} updateTime + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @instance + */ + Tensorboard.prototype.updateTime = null; + + /** + * Tensorboard labels. + * @member {Object.} labels + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @instance + */ + Tensorboard.prototype.labels = $util.emptyObject; + + /** + * Tensorboard etag. + * @member {string} etag + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @instance + */ + Tensorboard.prototype.etag = ""; + + /** + * Tensorboard isDefault. + * @member {boolean} isDefault + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @instance + */ + Tensorboard.prototype.isDefault = false; + + /** + * Tensorboard satisfiesPzs. + * @member {boolean} satisfiesPzs + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @instance + */ + Tensorboard.prototype.satisfiesPzs = false; + + /** + * Tensorboard satisfiesPzi. + * @member {boolean} satisfiesPzi + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @instance + */ + Tensorboard.prototype.satisfiesPzi = false; + + /** + * Creates a new Tensorboard instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @static + * @param {google.cloud.aiplatform.v1.ITensorboard=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.Tensorboard} Tensorboard instance + */ + Tensorboard.create = function create(properties) { + return new Tensorboard(properties); + }; + + /** + * Encodes the specified Tensorboard message. Does not implicitly {@link google.cloud.aiplatform.v1.Tensorboard.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @static + * @param {google.cloud.aiplatform.v1.ITensorboard} message Tensorboard message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Tensorboard.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.name != null && Object.hasOwnProperty.call(message, "name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName); + if (message.description != null && Object.hasOwnProperty.call(message, "description")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.description); + if (message.runCount != null && Object.hasOwnProperty.call(message, "runCount")) + writer.uint32(/* id 5, wireType 0 =*/40).int32(message.runCount); + if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime")) + $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime")) + $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.labels != null && Object.hasOwnProperty.call(message, "labels")) + for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i) + writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); + if (message.etag != null && Object.hasOwnProperty.call(message, "etag")) + writer.uint32(/* id 9, wireType 2 =*/74).string(message.etag); + if (message.blobStoragePathPrefix != null && Object.hasOwnProperty.call(message, "blobStoragePathPrefix")) + writer.uint32(/* id 10, wireType 2 =*/82).string(message.blobStoragePathPrefix); + if (message.encryptionSpec != null && Object.hasOwnProperty.call(message, "encryptionSpec")) + $root.google.cloud.aiplatform.v1.EncryptionSpec.encode(message.encryptionSpec, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); + if (message.isDefault != null && Object.hasOwnProperty.call(message, "isDefault")) + writer.uint32(/* id 12, wireType 0 =*/96).bool(message.isDefault); + if (message.satisfiesPzs != null && Object.hasOwnProperty.call(message, "satisfiesPzs")) + writer.uint32(/* id 13, wireType 0 =*/104).bool(message.satisfiesPzs); + if (message.satisfiesPzi != null && Object.hasOwnProperty.call(message, "satisfiesPzi")) + writer.uint32(/* id 14, wireType 0 =*/112).bool(message.satisfiesPzi); + return writer; + }; + + /** + * Encodes the specified Tensorboard message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Tensorboard.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @static + * @param {google.cloud.aiplatform.v1.ITensorboard} message Tensorboard message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Tensorboard.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a Tensorboard message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @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.Tensorboard} Tensorboard + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Tensorboard.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.Tensorboard(), key, value; + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.description = reader.string(); + break; + } + case 11: { + message.encryptionSpec = $root.google.cloud.aiplatform.v1.EncryptionSpec.decode(reader, reader.uint32()); + break; + } + case 10: { + message.blobStoragePathPrefix = reader.string(); + break; + } + case 5: { + message.runCount = reader.int32(); + break; + } + case 6: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 7: { + message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 8: { + if (message.labels === $util.emptyObject) + message.labels = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } + } + message.labels[key] = value; + break; + } + case 9: { + message.etag = reader.string(); + break; + } + case 12: { + message.isDefault = reader.bool(); + break; + } + case 13: { + message.satisfiesPzs = reader.bool(); + break; + } + case 14: { + message.satisfiesPzi = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a Tensorboard message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.Tensorboard} Tensorboard + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Tensorboard.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a Tensorboard message. + * @function verify + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Tensorboard.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.displayName != null && message.hasOwnProperty("displayName")) + if (!$util.isString(message.displayName)) + return "displayName: string expected"; + if (message.description != null && message.hasOwnProperty("description")) + if (!$util.isString(message.description)) + return "description: string expected"; + if (message.encryptionSpec != null && message.hasOwnProperty("encryptionSpec")) { + var error = $root.google.cloud.aiplatform.v1.EncryptionSpec.verify(message.encryptionSpec); + if (error) + return "encryptionSpec." + error; + } + if (message.blobStoragePathPrefix != null && message.hasOwnProperty("blobStoragePathPrefix")) + if (!$util.isString(message.blobStoragePathPrefix)) + return "blobStoragePathPrefix: string expected"; + if (message.runCount != null && message.hasOwnProperty("runCount")) + if (!$util.isInteger(message.runCount)) + return "runCount: integer expected"; + if (message.createTime != null && message.hasOwnProperty("createTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.createTime); + if (error) + return "createTime." + error; + } + if (message.updateTime != null && message.hasOwnProperty("updateTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.updateTime); + if (error) + return "updateTime." + error; + } + if (message.labels != null && message.hasOwnProperty("labels")) { + if (!$util.isObject(message.labels)) + return "labels: object expected"; + var key = Object.keys(message.labels); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.labels[key[i]])) + return "labels: string{k:string} expected"; + } + if (message.etag != null && message.hasOwnProperty("etag")) + if (!$util.isString(message.etag)) + return "etag: string expected"; + if (message.isDefault != null && message.hasOwnProperty("isDefault")) + if (typeof message.isDefault !== "boolean") + return "isDefault: boolean expected"; + if (message.satisfiesPzs != null && message.hasOwnProperty("satisfiesPzs")) + if (typeof message.satisfiesPzs !== "boolean") + return "satisfiesPzs: boolean expected"; + if (message.satisfiesPzi != null && message.hasOwnProperty("satisfiesPzi")) + if (typeof message.satisfiesPzi !== "boolean") + return "satisfiesPzi: boolean expected"; + return null; + }; + + /** + * Creates a Tensorboard message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.Tensorboard} Tensorboard + */ + Tensorboard.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.Tensorboard) + return object; + var message = new $root.google.cloud.aiplatform.v1.Tensorboard(); + if (object.name != null) + message.name = String(object.name); + if (object.displayName != null) + message.displayName = String(object.displayName); + if (object.description != null) + message.description = String(object.description); + if (object.encryptionSpec != null) { + if (typeof object.encryptionSpec !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Tensorboard.encryptionSpec: object expected"); + message.encryptionSpec = $root.google.cloud.aiplatform.v1.EncryptionSpec.fromObject(object.encryptionSpec); + } + if (object.blobStoragePathPrefix != null) + message.blobStoragePathPrefix = String(object.blobStoragePathPrefix); + if (object.runCount != null) + message.runCount = object.runCount | 0; + if (object.createTime != null) { + if (typeof object.createTime !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Tensorboard.createTime: object expected"); + message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime); + } + if (object.updateTime != null) { + if (typeof object.updateTime !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Tensorboard.updateTime: object expected"); + message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime); + } + if (object.labels) { + if (typeof object.labels !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Tensorboard.labels: object expected"); + message.labels = {}; + for (var keys = Object.keys(object.labels), i = 0; i < keys.length; ++i) + message.labels[keys[i]] = String(object.labels[keys[i]]); + } + if (object.etag != null) + message.etag = String(object.etag); + if (object.isDefault != null) + message.isDefault = Boolean(object.isDefault); + if (object.satisfiesPzs != null) + message.satisfiesPzs = Boolean(object.satisfiesPzs); + if (object.satisfiesPzi != null) + message.satisfiesPzi = Boolean(object.satisfiesPzi); + return message; + }; + + /** + * Creates a plain object from a Tensorboard message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @static + * @param {google.cloud.aiplatform.v1.Tensorboard} message Tensorboard + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + Tensorboard.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.objects || options.defaults) + object.labels = {}; + if (options.defaults) { + object.name = ""; + object.displayName = ""; + object.description = ""; + object.runCount = 0; + object.createTime = null; + object.updateTime = null; + object.etag = ""; + object.blobStoragePathPrefix = ""; + object.encryptionSpec = null; + object.isDefault = false; + object.satisfiesPzs = false; + object.satisfiesPzi = false; + } + if (message.name != null && message.hasOwnProperty("name")) + object.name = message.name; + if (message.displayName != null && message.hasOwnProperty("displayName")) + object.displayName = message.displayName; + if (message.description != null && message.hasOwnProperty("description")) + object.description = message.description; + if (message.runCount != null && message.hasOwnProperty("runCount")) + object.runCount = message.runCount; + if (message.createTime != null && message.hasOwnProperty("createTime")) + object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options); + if (message.updateTime != null && message.hasOwnProperty("updateTime")) + object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options); + var keys2; + if (message.labels && (keys2 = Object.keys(message.labels)).length) { + object.labels = {}; + for (var j = 0; j < keys2.length; ++j) + object.labels[keys2[j]] = message.labels[keys2[j]]; + } + if (message.etag != null && message.hasOwnProperty("etag")) + object.etag = message.etag; + if (message.blobStoragePathPrefix != null && message.hasOwnProperty("blobStoragePathPrefix")) + object.blobStoragePathPrefix = message.blobStoragePathPrefix; + if (message.encryptionSpec != null && message.hasOwnProperty("encryptionSpec")) + object.encryptionSpec = $root.google.cloud.aiplatform.v1.EncryptionSpec.toObject(message.encryptionSpec, options); + if (message.isDefault != null && message.hasOwnProperty("isDefault")) + object.isDefault = message.isDefault; + if (message.satisfiesPzs != null && message.hasOwnProperty("satisfiesPzs")) + object.satisfiesPzs = message.satisfiesPzs; + if (message.satisfiesPzi != null && message.hasOwnProperty("satisfiesPzi")) + object.satisfiesPzi = message.satisfiesPzi; + return object; + }; + + /** + * Converts this Tensorboard to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @instance + * @returns {Object.} JSON object + */ + Tensorboard.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for Tensorboard + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.Tensorboard + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Tensorboard.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.Tensorboard"; + }; + + return Tensorboard; + })(); + + v1.TimeSeriesData = (function() { + + /** + * Properties of a TimeSeriesData. + * @memberof google.cloud.aiplatform.v1 + * @interface ITimeSeriesData + * @property {string|null} [tensorboardTimeSeriesId] TimeSeriesData tensorboardTimeSeriesId + * @property {google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType|null} [valueType] TimeSeriesData valueType + * @property {Array.|null} [values] TimeSeriesData values + */ + + /** + * Constructs a new TimeSeriesData. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a TimeSeriesData. + * @implements ITimeSeriesData + * @constructor + * @param {google.cloud.aiplatform.v1.ITimeSeriesData=} [properties] Properties to set + */ + function TimeSeriesData(properties) { + this.values = []; + 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]]; + } + + /** + * TimeSeriesData tensorboardTimeSeriesId. + * @member {string} tensorboardTimeSeriesId + * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @instance + */ + TimeSeriesData.prototype.tensorboardTimeSeriesId = ""; + + /** + * TimeSeriesData valueType. + * @member {google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType} valueType + * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @instance + */ + TimeSeriesData.prototype.valueType = 0; + + /** + * TimeSeriesData values. + * @member {Array.} values + * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @instance + */ + TimeSeriesData.prototype.values = $util.emptyArray; + + /** + * Creates a new TimeSeriesData instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @static + * @param {google.cloud.aiplatform.v1.ITimeSeriesData=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.TimeSeriesData} TimeSeriesData instance + */ + TimeSeriesData.create = function create(properties) { + return new TimeSeriesData(properties); + }; + + /** + * Encodes the specified TimeSeriesData message. Does not implicitly {@link google.cloud.aiplatform.v1.TimeSeriesData.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @static + * @param {google.cloud.aiplatform.v1.ITimeSeriesData} message TimeSeriesData message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TimeSeriesData.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.tensorboardTimeSeriesId != null && Object.hasOwnProperty.call(message, "tensorboardTimeSeriesId")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.tensorboardTimeSeriesId); + if (message.valueType != null && Object.hasOwnProperty.call(message, "valueType")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.valueType); + if (message.values != null && message.values.length) + for (var i = 0; i < message.values.length; ++i) + $root.google.cloud.aiplatform.v1.TimeSeriesDataPoint.encode(message.values[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified TimeSeriesData message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TimeSeriesData.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @static + * @param {google.cloud.aiplatform.v1.ITimeSeriesData} message TimeSeriesData message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TimeSeriesData.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a TimeSeriesData message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @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.TimeSeriesData} TimeSeriesData + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TimeSeriesData.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TimeSeriesData(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.tensorboardTimeSeriesId = reader.string(); + break; + } + case 2: { + message.valueType = reader.int32(); + break; + } + case 3: { + if (!(message.values && message.values.length)) + message.values = []; + message.values.push($root.google.cloud.aiplatform.v1.TimeSeriesDataPoint.decode(reader, reader.uint32())); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a TimeSeriesData message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.TimeSeriesData} TimeSeriesData + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TimeSeriesData.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a TimeSeriesData message. + * @function verify + * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + TimeSeriesData.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.tensorboardTimeSeriesId != null && message.hasOwnProperty("tensorboardTimeSeriesId")) + if (!$util.isString(message.tensorboardTimeSeriesId)) + return "tensorboardTimeSeriesId: string expected"; + if (message.valueType != null && message.hasOwnProperty("valueType")) + switch (message.valueType) { + default: + return "valueType: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.values != null && message.hasOwnProperty("values")) { + if (!Array.isArray(message.values)) + return "values: array expected"; + for (var i = 0; i < message.values.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.TimeSeriesDataPoint.verify(message.values[i]); + if (error) + return "values." + error; + } + } + return null; + }; + + /** + * Creates a TimeSeriesData message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.TimeSeriesData} TimeSeriesData + */ + TimeSeriesData.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.TimeSeriesData) + return object; + var message = new $root.google.cloud.aiplatform.v1.TimeSeriesData(); + if (object.tensorboardTimeSeriesId != null) + message.tensorboardTimeSeriesId = String(object.tensorboardTimeSeriesId); + switch (object.valueType) { + default: + if (typeof object.valueType === "number") { + message.valueType = object.valueType; + break; + } + break; + case "VALUE_TYPE_UNSPECIFIED": + case 0: + message.valueType = 0; + break; + case "SCALAR": + case 1: + message.valueType = 1; + break; + case "TENSOR": + case 2: + message.valueType = 2; + break; + case "BLOB_SEQUENCE": + case 3: + message.valueType = 3; + break; + } + if (object.values) { + if (!Array.isArray(object.values)) + throw TypeError(".google.cloud.aiplatform.v1.TimeSeriesData.values: array expected"); + message.values = []; + for (var i = 0; i < object.values.length; ++i) { + if (typeof object.values[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.TimeSeriesData.values: object expected"); + message.values[i] = $root.google.cloud.aiplatform.v1.TimeSeriesDataPoint.fromObject(object.values[i]); + } + } + return message; + }; + + /** + * Creates a plain object from a TimeSeriesData message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @static + * @param {google.cloud.aiplatform.v1.TimeSeriesData} message TimeSeriesData + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + TimeSeriesData.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.values = []; + if (options.defaults) { + object.tensorboardTimeSeriesId = ""; + object.valueType = options.enums === String ? "VALUE_TYPE_UNSPECIFIED" : 0; + } + if (message.tensorboardTimeSeriesId != null && message.hasOwnProperty("tensorboardTimeSeriesId")) + object.tensorboardTimeSeriesId = message.tensorboardTimeSeriesId; + if (message.valueType != null && message.hasOwnProperty("valueType")) + object.valueType = options.enums === String ? $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType[message.valueType] === undefined ? message.valueType : $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType[message.valueType] : message.valueType; + if (message.values && message.values.length) { + object.values = []; + for (var j = 0; j < message.values.length; ++j) + object.values[j] = $root.google.cloud.aiplatform.v1.TimeSeriesDataPoint.toObject(message.values[j], options); + } + return object; + }; + + /** + * Converts this TimeSeriesData to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @instance + * @returns {Object.} JSON object + */ + TimeSeriesData.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for TimeSeriesData + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.TimeSeriesData + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TimeSeriesData.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.TimeSeriesData"; + }; + + return TimeSeriesData; + })(); + + v1.TimeSeriesDataPoint = (function() { + + /** + * Properties of a TimeSeriesDataPoint. + * @memberof google.cloud.aiplatform.v1 + * @interface ITimeSeriesDataPoint + * @property {google.cloud.aiplatform.v1.IScalar|null} [scalar] TimeSeriesDataPoint scalar + * @property {google.cloud.aiplatform.v1.ITensorboardTensor|null} [tensor] TimeSeriesDataPoint tensor + * @property {google.cloud.aiplatform.v1.ITensorboardBlobSequence|null} [blobs] TimeSeriesDataPoint blobs + * @property {google.protobuf.ITimestamp|null} [wallTime] TimeSeriesDataPoint wallTime + * @property {number|Long|null} [step] TimeSeriesDataPoint step + */ + + /** + * Constructs a new TimeSeriesDataPoint. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a TimeSeriesDataPoint. + * @implements ITimeSeriesDataPoint + * @constructor + * @param {google.cloud.aiplatform.v1.ITimeSeriesDataPoint=} [properties] Properties to set + */ + function TimeSeriesDataPoint(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]]; + } + + /** + * TimeSeriesDataPoint scalar. + * @member {google.cloud.aiplatform.v1.IScalar|null|undefined} scalar + * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @instance + */ + TimeSeriesDataPoint.prototype.scalar = null; + + /** + * TimeSeriesDataPoint tensor. + * @member {google.cloud.aiplatform.v1.ITensorboardTensor|null|undefined} tensor + * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @instance + */ + TimeSeriesDataPoint.prototype.tensor = null; + + /** + * TimeSeriesDataPoint blobs. + * @member {google.cloud.aiplatform.v1.ITensorboardBlobSequence|null|undefined} blobs + * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @instance + */ + TimeSeriesDataPoint.prototype.blobs = null; + + /** + * TimeSeriesDataPoint wallTime. + * @member {google.protobuf.ITimestamp|null|undefined} wallTime + * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @instance + */ + TimeSeriesDataPoint.prototype.wallTime = null; + + /** + * TimeSeriesDataPoint step. + * @member {number|Long} step + * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @instance + */ + TimeSeriesDataPoint.prototype.step = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * TimeSeriesDataPoint value. + * @member {"scalar"|"tensor"|"blobs"|undefined} value + * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @instance + */ + Object.defineProperty(TimeSeriesDataPoint.prototype, "value", { + get: $util.oneOfGetter($oneOfFields = ["scalar", "tensor", "blobs"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new TimeSeriesDataPoint instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @static + * @param {google.cloud.aiplatform.v1.ITimeSeriesDataPoint=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.TimeSeriesDataPoint} TimeSeriesDataPoint instance + */ + TimeSeriesDataPoint.create = function create(properties) { + return new TimeSeriesDataPoint(properties); + }; + + /** + * Encodes the specified TimeSeriesDataPoint message. Does not implicitly {@link google.cloud.aiplatform.v1.TimeSeriesDataPoint.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @static + * @param {google.cloud.aiplatform.v1.ITimeSeriesDataPoint} message TimeSeriesDataPoint message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TimeSeriesDataPoint.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.wallTime != null && Object.hasOwnProperty.call(message, "wallTime")) + $root.google.protobuf.Timestamp.encode(message.wallTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.step != null && Object.hasOwnProperty.call(message, "step")) + writer.uint32(/* id 2, wireType 0 =*/16).int64(message.step); + if (message.scalar != null && Object.hasOwnProperty.call(message, "scalar")) + $root.google.cloud.aiplatform.v1.Scalar.encode(message.scalar, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.tensor != null && Object.hasOwnProperty.call(message, "tensor")) + $root.google.cloud.aiplatform.v1.TensorboardTensor.encode(message.tensor, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.blobs != null && Object.hasOwnProperty.call(message, "blobs")) + $root.google.cloud.aiplatform.v1.TensorboardBlobSequence.encode(message.blobs, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified TimeSeriesDataPoint message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TimeSeriesDataPoint.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @static + * @param {google.cloud.aiplatform.v1.ITimeSeriesDataPoint} message TimeSeriesDataPoint message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TimeSeriesDataPoint.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a TimeSeriesDataPoint message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @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.TimeSeriesDataPoint} TimeSeriesDataPoint + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TimeSeriesDataPoint.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TimeSeriesDataPoint(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 3: { + message.scalar = $root.google.cloud.aiplatform.v1.Scalar.decode(reader, reader.uint32()); + break; + } + case 4: { + message.tensor = $root.google.cloud.aiplatform.v1.TensorboardTensor.decode(reader, reader.uint32()); + break; + } + case 5: { + message.blobs = $root.google.cloud.aiplatform.v1.TensorboardBlobSequence.decode(reader, reader.uint32()); + break; + } + case 1: { + message.wallTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 2: { + message.step = reader.int64(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a TimeSeriesDataPoint message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.TimeSeriesDataPoint} TimeSeriesDataPoint + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TimeSeriesDataPoint.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a TimeSeriesDataPoint message. + * @function verify + * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + TimeSeriesDataPoint.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.scalar != null && message.hasOwnProperty("scalar")) { + properties.value = 1; + { + var error = $root.google.cloud.aiplatform.v1.Scalar.verify(message.scalar); + if (error) + return "scalar." + error; + } + } + if (message.tensor != null && message.hasOwnProperty("tensor")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.google.cloud.aiplatform.v1.TensorboardTensor.verify(message.tensor); + if (error) + return "tensor." + error; + } + } + if (message.blobs != null && message.hasOwnProperty("blobs")) { + if (properties.value === 1) + return "value: multiple values"; + properties.value = 1; + { + var error = $root.google.cloud.aiplatform.v1.TensorboardBlobSequence.verify(message.blobs); + if (error) + return "blobs." + error; + } + } + if (message.wallTime != null && message.hasOwnProperty("wallTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.wallTime); + if (error) + return "wallTime." + error; + } + if (message.step != null && message.hasOwnProperty("step")) + if (!$util.isInteger(message.step) && !(message.step && $util.isInteger(message.step.low) && $util.isInteger(message.step.high))) + return "step: integer|Long expected"; + return null; + }; + + /** + * Creates a TimeSeriesDataPoint message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.TimeSeriesDataPoint} TimeSeriesDataPoint + */ + TimeSeriesDataPoint.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.TimeSeriesDataPoint) + return object; + var message = new $root.google.cloud.aiplatform.v1.TimeSeriesDataPoint(); + if (object.scalar != null) { + if (typeof object.scalar !== "object") + throw TypeError(".google.cloud.aiplatform.v1.TimeSeriesDataPoint.scalar: object expected"); + message.scalar = $root.google.cloud.aiplatform.v1.Scalar.fromObject(object.scalar); + } + if (object.tensor != null) { + if (typeof object.tensor !== "object") + throw TypeError(".google.cloud.aiplatform.v1.TimeSeriesDataPoint.tensor: object expected"); + message.tensor = $root.google.cloud.aiplatform.v1.TensorboardTensor.fromObject(object.tensor); + } + if (object.blobs != null) { + if (typeof object.blobs !== "object") + throw TypeError(".google.cloud.aiplatform.v1.TimeSeriesDataPoint.blobs: object expected"); + message.blobs = $root.google.cloud.aiplatform.v1.TensorboardBlobSequence.fromObject(object.blobs); + } + if (object.wallTime != null) { + if (typeof object.wallTime !== "object") + throw TypeError(".google.cloud.aiplatform.v1.TimeSeriesDataPoint.wallTime: object expected"); + message.wallTime = $root.google.protobuf.Timestamp.fromObject(object.wallTime); + } + if (object.step != null) + if ($util.Long) + (message.step = $util.Long.fromValue(object.step)).unsigned = false; + else if (typeof object.step === "string") + message.step = parseInt(object.step, 10); + else if (typeof object.step === "number") + message.step = object.step; + else if (typeof object.step === "object") + message.step = new $util.LongBits(object.step.low >>> 0, object.step.high >>> 0).toNumber(); + return message; + }; + + /** + * Creates a plain object from a TimeSeriesDataPoint message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @static + * @param {google.cloud.aiplatform.v1.TimeSeriesDataPoint} message TimeSeriesDataPoint + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + TimeSeriesDataPoint.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.wallTime = null; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.step = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.step = options.longs === String ? "0" : 0; + } + if (message.wallTime != null && message.hasOwnProperty("wallTime")) + object.wallTime = $root.google.protobuf.Timestamp.toObject(message.wallTime, options); + if (message.step != null && message.hasOwnProperty("step")) + if (typeof message.step === "number") + object.step = options.longs === String ? String(message.step) : message.step; + else + object.step = options.longs === String ? $util.Long.prototype.toString.call(message.step) : options.longs === Number ? new $util.LongBits(message.step.low >>> 0, message.step.high >>> 0).toNumber() : message.step; + if (message.scalar != null && message.hasOwnProperty("scalar")) { + object.scalar = $root.google.cloud.aiplatform.v1.Scalar.toObject(message.scalar, options); + if (options.oneofs) + object.value = "scalar"; + } + if (message.tensor != null && message.hasOwnProperty("tensor")) { + object.tensor = $root.google.cloud.aiplatform.v1.TensorboardTensor.toObject(message.tensor, options); + if (options.oneofs) + object.value = "tensor"; + } + if (message.blobs != null && message.hasOwnProperty("blobs")) { + object.blobs = $root.google.cloud.aiplatform.v1.TensorboardBlobSequence.toObject(message.blobs, options); + if (options.oneofs) + object.value = "blobs"; + } + return object; + }; + + /** + * Converts this TimeSeriesDataPoint to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @instance + * @returns {Object.} JSON object + */ + TimeSeriesDataPoint.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for TimeSeriesDataPoint + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.TimeSeriesDataPoint + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TimeSeriesDataPoint.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.TimeSeriesDataPoint"; + }; + + return TimeSeriesDataPoint; + })(); + + v1.Scalar = (function() { + + /** + * Properties of a Scalar. + * @memberof google.cloud.aiplatform.v1 + * @interface IScalar + * @property {number|null} [value] Scalar value + */ + + /** + * Constructs a new Scalar. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a Scalar. + * @implements IScalar + * @constructor + * @param {google.cloud.aiplatform.v1.IScalar=} [properties] Properties to set + */ + function Scalar(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]]; + } + + /** + * Scalar value. + * @member {number} value + * @memberof google.cloud.aiplatform.v1.Scalar + * @instance + */ + Scalar.prototype.value = 0; + + /** + * Creates a new Scalar instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.Scalar + * @static + * @param {google.cloud.aiplatform.v1.IScalar=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.Scalar} Scalar instance + */ + Scalar.create = function create(properties) { + return new Scalar(properties); + }; + + /** + * Encodes the specified Scalar message. Does not implicitly {@link google.cloud.aiplatform.v1.Scalar.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.Scalar + * @static + * @param {google.cloud.aiplatform.v1.IScalar} message Scalar message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Scalar.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 1 =*/9).double(message.value); + return writer; + }; + + /** + * Encodes the specified Scalar message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Scalar.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.Scalar + * @static + * @param {google.cloud.aiplatform.v1.IScalar} message Scalar message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Scalar.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a Scalar message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.Scalar + * @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.Scalar} Scalar + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Scalar.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.Scalar(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.value = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a Scalar message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.Scalar + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.Scalar} Scalar + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Scalar.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a Scalar message. + * @function verify + * @memberof google.cloud.aiplatform.v1.Scalar + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Scalar.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (typeof message.value !== "number") + return "value: number expected"; + return null; + }; + + /** + * Creates a Scalar message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.Scalar + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.Scalar} Scalar + */ + Scalar.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.Scalar) + return object; + var message = new $root.google.cloud.aiplatform.v1.Scalar(); + if (object.value != null) + message.value = Number(object.value); + return message; + }; + + /** + * Creates a plain object from a Scalar message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.Scalar + * @static + * @param {google.cloud.aiplatform.v1.Scalar} message Scalar + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + Scalar.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.value = 0; + if (message.value != null && message.hasOwnProperty("value")) + object.value = options.json && !isFinite(message.value) ? String(message.value) : message.value; + return object; + }; + + /** + * Converts this Scalar to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.Scalar + * @instance + * @returns {Object.} JSON object + */ + Scalar.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for Scalar + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.Scalar + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Scalar.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.Scalar"; + }; + + return Scalar; + })(); + + v1.TensorboardTensor = (function() { + + /** + * Properties of a TensorboardTensor. + * @memberof google.cloud.aiplatform.v1 + * @interface ITensorboardTensor + * @property {Uint8Array|null} [value] TensorboardTensor value + * @property {number|null} [versionNumber] TensorboardTensor versionNumber + */ + + /** + * Constructs a new TensorboardTensor. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a TensorboardTensor. + * @implements ITensorboardTensor + * @constructor + * @param {google.cloud.aiplatform.v1.ITensorboardTensor=} [properties] Properties to set + */ + function TensorboardTensor(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]]; + } + + /** + * TensorboardTensor value. + * @member {Uint8Array} value + * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @instance + */ + TensorboardTensor.prototype.value = $util.newBuffer([]); + + /** + * TensorboardTensor versionNumber. + * @member {number} versionNumber + * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @instance + */ + TensorboardTensor.prototype.versionNumber = 0; + + /** + * Creates a new TensorboardTensor instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardTensor=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.TensorboardTensor} TensorboardTensor instance + */ + TensorboardTensor.create = function create(properties) { + return new TensorboardTensor(properties); + }; + + /** + * Encodes the specified TensorboardTensor message. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardTensor.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardTensor} message TensorboardTensor message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TensorboardTensor.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.value); + if (message.versionNumber != null && Object.hasOwnProperty.call(message, "versionNumber")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.versionNumber); + return writer; + }; + + /** + * Encodes the specified TensorboardTensor message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardTensor.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardTensor} message TensorboardTensor message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TensorboardTensor.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a TensorboardTensor message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @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.TensorboardTensor} TensorboardTensor + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TensorboardTensor.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TensorboardTensor(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.value = reader.bytes(); + break; + } + case 2: { + message.versionNumber = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a TensorboardTensor message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.TensorboardTensor} TensorboardTensor + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TensorboardTensor.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a TensorboardTensor message. + * @function verify + * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + TensorboardTensor.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.value != null && message.hasOwnProperty("value")) + if (!(message.value && typeof message.value.length === "number" || $util.isString(message.value))) + return "value: buffer expected"; + if (message.versionNumber != null && message.hasOwnProperty("versionNumber")) + if (!$util.isInteger(message.versionNumber)) + return "versionNumber: integer expected"; + return null; + }; + + /** + * Creates a TensorboardTensor message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.TensorboardTensor} TensorboardTensor + */ + TensorboardTensor.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.TensorboardTensor) + return object; + var message = new $root.google.cloud.aiplatform.v1.TensorboardTensor(); + if (object.value != null) + if (typeof object.value === "string") + $util.base64.decode(object.value, message.value = $util.newBuffer($util.base64.length(object.value)), 0); + else if (object.value.length >= 0) + message.value = object.value; + if (object.versionNumber != null) + message.versionNumber = object.versionNumber | 0; + return message; + }; + + /** + * Creates a plain object from a TensorboardTensor message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @static + * @param {google.cloud.aiplatform.v1.TensorboardTensor} message TensorboardTensor + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + TensorboardTensor.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + if (options.bytes === String) + object.value = ""; + else { + object.value = []; + if (options.bytes !== Array) + object.value = $util.newBuffer(object.value); + } + object.versionNumber = 0; + } + if (message.value != null && message.hasOwnProperty("value")) + object.value = options.bytes === String ? $util.base64.encode(message.value, 0, message.value.length) : options.bytes === Array ? Array.prototype.slice.call(message.value) : message.value; + if (message.versionNumber != null && message.hasOwnProperty("versionNumber")) + object.versionNumber = message.versionNumber; + return object; + }; + + /** + * Converts this TensorboardTensor to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @instance + * @returns {Object.} JSON object + */ + TensorboardTensor.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for TensorboardTensor + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.TensorboardTensor + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TensorboardTensor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.TensorboardTensor"; + }; + + return TensorboardTensor; + })(); + + v1.TensorboardBlobSequence = (function() { + + /** + * Properties of a TensorboardBlobSequence. + * @memberof google.cloud.aiplatform.v1 + * @interface ITensorboardBlobSequence + * @property {Array.|null} [values] TensorboardBlobSequence values + */ + + /** + * Constructs a new TensorboardBlobSequence. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a TensorboardBlobSequence. + * @implements ITensorboardBlobSequence + * @constructor + * @param {google.cloud.aiplatform.v1.ITensorboardBlobSequence=} [properties] Properties to set + */ + function TensorboardBlobSequence(properties) { + this.values = []; + 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]]; + } + + /** + * TensorboardBlobSequence values. + * @member {Array.} values + * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @instance + */ + TensorboardBlobSequence.prototype.values = $util.emptyArray; + + /** + * Creates a new TensorboardBlobSequence instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardBlobSequence=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.TensorboardBlobSequence} TensorboardBlobSequence instance + */ + TensorboardBlobSequence.create = function create(properties) { + return new TensorboardBlobSequence(properties); + }; + + /** + * Encodes the specified TensorboardBlobSequence message. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardBlobSequence.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardBlobSequence} message TensorboardBlobSequence message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TensorboardBlobSequence.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.values != null && message.values.length) + for (var i = 0; i < message.values.length; ++i) + $root.google.cloud.aiplatform.v1.TensorboardBlob.encode(message.values[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified TensorboardBlobSequence message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardBlobSequence.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardBlobSequence} message TensorboardBlobSequence message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TensorboardBlobSequence.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a TensorboardBlobSequence message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @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.TensorboardBlobSequence} TensorboardBlobSequence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TensorboardBlobSequence.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TensorboardBlobSequence(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + if (!(message.values && message.values.length)) + message.values = []; + message.values.push($root.google.cloud.aiplatform.v1.TensorboardBlob.decode(reader, reader.uint32())); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a TensorboardBlobSequence message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.TensorboardBlobSequence} TensorboardBlobSequence + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TensorboardBlobSequence.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a TensorboardBlobSequence message. + * @function verify + * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + TensorboardBlobSequence.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.values != null && message.hasOwnProperty("values")) { + if (!Array.isArray(message.values)) + return "values: array expected"; + for (var i = 0; i < message.values.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.TensorboardBlob.verify(message.values[i]); + if (error) + return "values." + error; + } + } + return null; + }; + + /** + * Creates a TensorboardBlobSequence message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.TensorboardBlobSequence} TensorboardBlobSequence + */ + TensorboardBlobSequence.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.TensorboardBlobSequence) + return object; + var message = new $root.google.cloud.aiplatform.v1.TensorboardBlobSequence(); + if (object.values) { + if (!Array.isArray(object.values)) + throw TypeError(".google.cloud.aiplatform.v1.TensorboardBlobSequence.values: array expected"); + message.values = []; + for (var i = 0; i < object.values.length; ++i) { + if (typeof object.values[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.TensorboardBlobSequence.values: object expected"); + message.values[i] = $root.google.cloud.aiplatform.v1.TensorboardBlob.fromObject(object.values[i]); + } + } + return message; + }; + + /** + * Creates a plain object from a TensorboardBlobSequence message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @static + * @param {google.cloud.aiplatform.v1.TensorboardBlobSequence} message TensorboardBlobSequence + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + TensorboardBlobSequence.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.values = []; + if (message.values && message.values.length) { + object.values = []; + for (var j = 0; j < message.values.length; ++j) + object.values[j] = $root.google.cloud.aiplatform.v1.TensorboardBlob.toObject(message.values[j], options); + } + return object; + }; + + /** + * Converts this TensorboardBlobSequence to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @instance + * @returns {Object.} JSON object + */ + TensorboardBlobSequence.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for TensorboardBlobSequence + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.TensorboardBlobSequence + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TensorboardBlobSequence.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.TensorboardBlobSequence"; + }; + + return TensorboardBlobSequence; + })(); + + v1.TensorboardBlob = (function() { + + /** + * Properties of a TensorboardBlob. + * @memberof google.cloud.aiplatform.v1 + * @interface ITensorboardBlob + * @property {string|null} [id] TensorboardBlob id + * @property {Uint8Array|null} [data] TensorboardBlob data + */ + + /** + * Constructs a new TensorboardBlob. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a TensorboardBlob. + * @implements ITensorboardBlob + * @constructor + * @param {google.cloud.aiplatform.v1.ITensorboardBlob=} [properties] Properties to set + */ + function TensorboardBlob(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]]; + } + + /** + * TensorboardBlob id. + * @member {string} id + * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @instance + */ + TensorboardBlob.prototype.id = ""; + + /** + * TensorboardBlob data. + * @member {Uint8Array} data + * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @instance + */ + TensorboardBlob.prototype.data = $util.newBuffer([]); + + /** + * Creates a new TensorboardBlob instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardBlob=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.TensorboardBlob} TensorboardBlob instance + */ + TensorboardBlob.create = function create(properties) { + return new TensorboardBlob(properties); + }; + + /** + * Encodes the specified TensorboardBlob message. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardBlob.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardBlob} message TensorboardBlob message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TensorboardBlob.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.id != null && Object.hasOwnProperty.call(message, "id")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.id); + if (message.data != null && Object.hasOwnProperty.call(message, "data")) + writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.data); + return writer; + }; + + /** + * Encodes the specified TensorboardBlob message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardBlob.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardBlob} message TensorboardBlob message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TensorboardBlob.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a TensorboardBlob message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @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.TensorboardBlob} TensorboardBlob + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TensorboardBlob.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TensorboardBlob(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.id = reader.string(); + break; + } + case 2: { + message.data = reader.bytes(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a TensorboardBlob message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.TensorboardBlob} TensorboardBlob + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TensorboardBlob.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a TensorboardBlob message. + * @function verify + * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + TensorboardBlob.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.id != null && message.hasOwnProperty("id")) + if (!$util.isString(message.id)) + return "id: string expected"; + if (message.data != null && message.hasOwnProperty("data")) + if (!(message.data && typeof message.data.length === "number" || $util.isString(message.data))) + return "data: buffer expected"; + return null; + }; + + /** + * Creates a TensorboardBlob message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.TensorboardBlob} TensorboardBlob + */ + TensorboardBlob.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.TensorboardBlob) + return object; + var message = new $root.google.cloud.aiplatform.v1.TensorboardBlob(); + if (object.id != null) + message.id = String(object.id); + if (object.data != null) + if (typeof object.data === "string") + $util.base64.decode(object.data, message.data = $util.newBuffer($util.base64.length(object.data)), 0); + else if (object.data.length >= 0) + message.data = object.data; + return message; + }; + + /** + * Creates a plain object from a TensorboardBlob message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @static + * @param {google.cloud.aiplatform.v1.TensorboardBlob} message TensorboardBlob + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + TensorboardBlob.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.id = ""; + if (options.bytes === String) + object.data = ""; + else { + object.data = []; + if (options.bytes !== Array) + object.data = $util.newBuffer(object.data); + } + } + if (message.id != null && message.hasOwnProperty("id")) + object.id = message.id; + if (message.data != null && message.hasOwnProperty("data")) + object.data = options.bytes === String ? $util.base64.encode(message.data, 0, message.data.length) : options.bytes === Array ? Array.prototype.slice.call(message.data) : message.data; + return object; + }; + + /** + * Converts this TensorboardBlob to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @instance + * @returns {Object.} JSON object + */ + TensorboardBlob.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for TensorboardBlob + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.TensorboardBlob + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TensorboardBlob.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.TensorboardBlob"; + }; + + return TensorboardBlob; + })(); + + v1.TensorboardTimeSeries = (function() { + + /** + * Properties of a TensorboardTimeSeries. + * @memberof google.cloud.aiplatform.v1 + * @interface ITensorboardTimeSeries + * @property {string|null} [name] TensorboardTimeSeries name + * @property {string|null} [displayName] TensorboardTimeSeries displayName + * @property {string|null} [description] TensorboardTimeSeries description + * @property {google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType|null} [valueType] TensorboardTimeSeries valueType + * @property {google.protobuf.ITimestamp|null} [createTime] TensorboardTimeSeries createTime + * @property {google.protobuf.ITimestamp|null} [updateTime] TensorboardTimeSeries updateTime + * @property {string|null} [etag] TensorboardTimeSeries etag + * @property {string|null} [pluginName] TensorboardTimeSeries pluginName + * @property {Uint8Array|null} [pluginData] TensorboardTimeSeries pluginData + * @property {google.cloud.aiplatform.v1.TensorboardTimeSeries.IMetadata|null} [metadata] TensorboardTimeSeries metadata + */ + + /** + * Constructs a new TensorboardTimeSeries. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a TensorboardTimeSeries. + * @implements ITensorboardTimeSeries + * @constructor + * @param {google.cloud.aiplatform.v1.ITensorboardTimeSeries=} [properties] Properties to set + */ + function TensorboardTimeSeries(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]]; + } + + /** + * TensorboardTimeSeries name. + * @member {string} name + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @instance + */ + TensorboardTimeSeries.prototype.name = ""; + + /** + * TensorboardTimeSeries displayName. + * @member {string} displayName + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @instance + */ + TensorboardTimeSeries.prototype.displayName = ""; + + /** + * TensorboardTimeSeries description. + * @member {string} description + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @instance + */ + TensorboardTimeSeries.prototype.description = ""; + + /** + * TensorboardTimeSeries valueType. + * @member {google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType} valueType + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @instance + */ + TensorboardTimeSeries.prototype.valueType = 0; + + /** + * TensorboardTimeSeries createTime. + * @member {google.protobuf.ITimestamp|null|undefined} createTime + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @instance + */ + TensorboardTimeSeries.prototype.createTime = null; + + /** + * TensorboardTimeSeries updateTime. + * @member {google.protobuf.ITimestamp|null|undefined} updateTime + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @instance + */ + TensorboardTimeSeries.prototype.updateTime = null; + + /** + * TensorboardTimeSeries etag. + * @member {string} etag + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @instance + */ + TensorboardTimeSeries.prototype.etag = ""; + + /** + * TensorboardTimeSeries pluginName. + * @member {string} pluginName + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @instance + */ + TensorboardTimeSeries.prototype.pluginName = ""; + + /** + * TensorboardTimeSeries pluginData. + * @member {Uint8Array} pluginData + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @instance + */ + TensorboardTimeSeries.prototype.pluginData = $util.newBuffer([]); + + /** + * TensorboardTimeSeries metadata. + * @member {google.cloud.aiplatform.v1.TensorboardTimeSeries.IMetadata|null|undefined} metadata + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @instance + */ + TensorboardTimeSeries.prototype.metadata = null; + + /** + * Creates a new TensorboardTimeSeries instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardTimeSeries=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.TensorboardTimeSeries} TensorboardTimeSeries instance + */ + TensorboardTimeSeries.create = function create(properties) { + return new TensorboardTimeSeries(properties); + }; + + /** + * Encodes the specified TensorboardTimeSeries message. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardTimeSeries.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardTimeSeries} message TensorboardTimeSeries message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TensorboardTimeSeries.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.name != null && Object.hasOwnProperty.call(message, "name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName); + if (message.description != null && Object.hasOwnProperty.call(message, "description")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.description); + if (message.valueType != null && Object.hasOwnProperty.call(message, "valueType")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.valueType); + if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime")) + $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + 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.etag != null && Object.hasOwnProperty.call(message, "etag")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.etag); + if (message.pluginName != null && Object.hasOwnProperty.call(message, "pluginName")) + writer.uint32(/* id 8, wireType 2 =*/66).string(message.pluginName); + if (message.pluginData != null && Object.hasOwnProperty.call(message, "pluginData")) + writer.uint32(/* id 9, wireType 2 =*/74).bytes(message.pluginData); + if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata")) + $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata.encode(message.metadata, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified TensorboardTimeSeries message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardTimeSeries.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardTimeSeries} message TensorboardTimeSeries message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TensorboardTimeSeries.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a TensorboardTimeSeries message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @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.TensorboardTimeSeries} TensorboardTimeSeries + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TensorboardTimeSeries.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TensorboardTimeSeries(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.description = reader.string(); + break; + } + case 4: { + message.valueType = reader.int32(); + break; + } + case 5: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 6: { + message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 7: { + message.etag = reader.string(); + break; + } + case 8: { + message.pluginName = reader.string(); + break; + } + case 9: { + message.pluginData = reader.bytes(); + break; + } + case 10: { + message.metadata = $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a TensorboardTimeSeries message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.TensorboardTimeSeries} TensorboardTimeSeries + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TensorboardTimeSeries.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a TensorboardTimeSeries message. + * @function verify + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + TensorboardTimeSeries.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.displayName != null && message.hasOwnProperty("displayName")) + if (!$util.isString(message.displayName)) + return "displayName: string expected"; + if (message.description != null && message.hasOwnProperty("description")) + if (!$util.isString(message.description)) + return "description: string expected"; + if (message.valueType != null && message.hasOwnProperty("valueType")) + switch (message.valueType) { + default: + return "valueType: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.createTime != null && message.hasOwnProperty("createTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.createTime); + if (error) + return "createTime." + error; + } + if (message.updateTime != null && message.hasOwnProperty("updateTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.updateTime); + if (error) + return "updateTime." + error; + } + if (message.etag != null && message.hasOwnProperty("etag")) + if (!$util.isString(message.etag)) + return "etag: string expected"; + if (message.pluginName != null && message.hasOwnProperty("pluginName")) + if (!$util.isString(message.pluginName)) + return "pluginName: string expected"; + if (message.pluginData != null && message.hasOwnProperty("pluginData")) + if (!(message.pluginData && typeof message.pluginData.length === "number" || $util.isString(message.pluginData))) + return "pluginData: buffer expected"; + if (message.metadata != null && message.hasOwnProperty("metadata")) { + var error = $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata.verify(message.metadata); + if (error) + return "metadata." + error; + } + return null; + }; + + /** + * Creates a TensorboardTimeSeries message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.TensorboardTimeSeries} TensorboardTimeSeries + */ + TensorboardTimeSeries.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.TensorboardTimeSeries) + return object; + var message = new $root.google.cloud.aiplatform.v1.TensorboardTimeSeries(); + if (object.name != null) + message.name = String(object.name); + if (object.displayName != null) + message.displayName = String(object.displayName); + if (object.description != null) + message.description = String(object.description); + switch (object.valueType) { + default: + if (typeof object.valueType === "number") { + message.valueType = object.valueType; + break; + } + break; + case "VALUE_TYPE_UNSPECIFIED": + case 0: + message.valueType = 0; + break; + case "SCALAR": + case 1: + message.valueType = 1; + break; + case "TENSOR": + case 2: + message.valueType = 2; + break; + case "BLOB_SEQUENCE": + case 3: + message.valueType = 3; + break; + } + if (object.createTime != null) { + if (typeof object.createTime !== "object") + throw TypeError(".google.cloud.aiplatform.v1.TensorboardTimeSeries.createTime: object expected"); + message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime); + } + if (object.updateTime != null) { + if (typeof object.updateTime !== "object") + throw TypeError(".google.cloud.aiplatform.v1.TensorboardTimeSeries.updateTime: object expected"); + message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime); + } + if (object.etag != null) + message.etag = String(object.etag); + if (object.pluginName != null) + message.pluginName = String(object.pluginName); + if (object.pluginData != null) + if (typeof object.pluginData === "string") + $util.base64.decode(object.pluginData, message.pluginData = $util.newBuffer($util.base64.length(object.pluginData)), 0); + else if (object.pluginData.length >= 0) + message.pluginData = object.pluginData; + if (object.metadata != null) { + if (typeof object.metadata !== "object") + throw TypeError(".google.cloud.aiplatform.v1.TensorboardTimeSeries.metadata: object expected"); + message.metadata = $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata.fromObject(object.metadata); + } + return message; + }; + + /** + * Creates a plain object from a TensorboardTimeSeries message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @static + * @param {google.cloud.aiplatform.v1.TensorboardTimeSeries} message TensorboardTimeSeries + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + TensorboardTimeSeries.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.name = ""; + object.displayName = ""; + object.description = ""; + object.valueType = options.enums === String ? "VALUE_TYPE_UNSPECIFIED" : 0; + object.createTime = null; + object.updateTime = null; + object.etag = ""; + object.pluginName = ""; + if (options.bytes === String) + object.pluginData = ""; + else { + object.pluginData = []; + if (options.bytes !== Array) + object.pluginData = $util.newBuffer(object.pluginData); + } + object.metadata = null; + } + if (message.name != null && message.hasOwnProperty("name")) + object.name = message.name; + if (message.displayName != null && message.hasOwnProperty("displayName")) + object.displayName = message.displayName; + if (message.description != null && message.hasOwnProperty("description")) + object.description = message.description; + if (message.valueType != null && message.hasOwnProperty("valueType")) + object.valueType = options.enums === String ? $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType[message.valueType] === undefined ? message.valueType : $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType[message.valueType] : message.valueType; + if (message.createTime != null && message.hasOwnProperty("createTime")) + object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options); + if (message.updateTime != null && message.hasOwnProperty("updateTime")) + object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options); + if (message.etag != null && message.hasOwnProperty("etag")) + object.etag = message.etag; + if (message.pluginName != null && message.hasOwnProperty("pluginName")) + object.pluginName = message.pluginName; + if (message.pluginData != null && message.hasOwnProperty("pluginData")) + object.pluginData = options.bytes === String ? $util.base64.encode(message.pluginData, 0, message.pluginData.length) : options.bytes === Array ? Array.prototype.slice.call(message.pluginData) : message.pluginData; + if (message.metadata != null && message.hasOwnProperty("metadata")) + object.metadata = $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata.toObject(message.metadata, options); + return object; + }; + + /** + * Converts this TensorboardTimeSeries to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @instance + * @returns {Object.} JSON object + */ + TensorboardTimeSeries.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for TensorboardTimeSeries + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TensorboardTimeSeries.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.TensorboardTimeSeries"; + }; + + TensorboardTimeSeries.Metadata = (function() { + + /** + * Properties of a Metadata. + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @interface IMetadata + * @property {number|Long|null} [maxStep] Metadata maxStep + * @property {google.protobuf.ITimestamp|null} [maxWallTime] Metadata maxWallTime + * @property {number|Long|null} [maxBlobSequenceLength] Metadata maxBlobSequenceLength + */ + + /** + * Constructs a new Metadata. + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries + * @classdesc Represents a Metadata. + * @implements IMetadata + * @constructor + * @param {google.cloud.aiplatform.v1.TensorboardTimeSeries.IMetadata=} [properties] Properties to set + */ + function Metadata(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]]; + } + + /** + * Metadata maxStep. + * @member {number|Long} maxStep + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata + * @instance + */ + Metadata.prototype.maxStep = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * Metadata maxWallTime. + * @member {google.protobuf.ITimestamp|null|undefined} maxWallTime + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata + * @instance + */ + Metadata.prototype.maxWallTime = null; + + /** + * Metadata maxBlobSequenceLength. + * @member {number|Long} maxBlobSequenceLength + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata + * @instance + */ + Metadata.prototype.maxBlobSequenceLength = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * Creates a new Metadata instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata + * @static + * @param {google.cloud.aiplatform.v1.TensorboardTimeSeries.IMetadata=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata} Metadata instance + */ + Metadata.create = function create(properties) { + return new Metadata(properties); + }; + + /** + * Encodes the specified Metadata message. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata + * @static + * @param {google.cloud.aiplatform.v1.TensorboardTimeSeries.IMetadata} message Metadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Metadata.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.maxStep != null && Object.hasOwnProperty.call(message, "maxStep")) + writer.uint32(/* id 1, wireType 0 =*/8).int64(message.maxStep); + if (message.maxWallTime != null && Object.hasOwnProperty.call(message, "maxWallTime")) + $root.google.protobuf.Timestamp.encode(message.maxWallTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.maxBlobSequenceLength != null && Object.hasOwnProperty.call(message, "maxBlobSequenceLength")) + writer.uint32(/* id 3, wireType 0 =*/24).int64(message.maxBlobSequenceLength); + return writer; + }; + + /** + * Encodes the specified Metadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata + * @static + * @param {google.cloud.aiplatform.v1.TensorboardTimeSeries.IMetadata} message Metadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Metadata.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a Metadata message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata + * @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.TensorboardTimeSeries.Metadata} Metadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Metadata.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.maxStep = reader.int64(); + break; + } + case 2: { + message.maxWallTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 3: { + message.maxBlobSequenceLength = reader.int64(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a Metadata message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata} Metadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Metadata.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a Metadata message. + * @function verify + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Metadata.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.maxStep != null && message.hasOwnProperty("maxStep")) + if (!$util.isInteger(message.maxStep) && !(message.maxStep && $util.isInteger(message.maxStep.low) && $util.isInteger(message.maxStep.high))) + return "maxStep: integer|Long expected"; + if (message.maxWallTime != null && message.hasOwnProperty("maxWallTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.maxWallTime); + if (error) + return "maxWallTime." + error; + } + if (message.maxBlobSequenceLength != null && message.hasOwnProperty("maxBlobSequenceLength")) + if (!$util.isInteger(message.maxBlobSequenceLength) && !(message.maxBlobSequenceLength && $util.isInteger(message.maxBlobSequenceLength.low) && $util.isInteger(message.maxBlobSequenceLength.high))) + return "maxBlobSequenceLength: integer|Long expected"; + return null; + }; + + /** + * Creates a Metadata message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata} Metadata + */ + Metadata.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata) + return object; + var message = new $root.google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata(); + if (object.maxStep != null) + if ($util.Long) + (message.maxStep = $util.Long.fromValue(object.maxStep)).unsigned = false; + else if (typeof object.maxStep === "string") + message.maxStep = parseInt(object.maxStep, 10); + else if (typeof object.maxStep === "number") + message.maxStep = object.maxStep; + else if (typeof object.maxStep === "object") + message.maxStep = new $util.LongBits(object.maxStep.low >>> 0, object.maxStep.high >>> 0).toNumber(); + if (object.maxWallTime != null) { + if (typeof object.maxWallTime !== "object") + throw TypeError(".google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata.maxWallTime: object expected"); + message.maxWallTime = $root.google.protobuf.Timestamp.fromObject(object.maxWallTime); + } + if (object.maxBlobSequenceLength != null) + if ($util.Long) + (message.maxBlobSequenceLength = $util.Long.fromValue(object.maxBlobSequenceLength)).unsigned = false; + else if (typeof object.maxBlobSequenceLength === "string") + message.maxBlobSequenceLength = parseInt(object.maxBlobSequenceLength, 10); + else if (typeof object.maxBlobSequenceLength === "number") + message.maxBlobSequenceLength = object.maxBlobSequenceLength; + else if (typeof object.maxBlobSequenceLength === "object") + message.maxBlobSequenceLength = new $util.LongBits(object.maxBlobSequenceLength.low >>> 0, object.maxBlobSequenceLength.high >>> 0).toNumber(); + return message; + }; + + /** + * Creates a plain object from a Metadata message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata + * @static + * @param {google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata} message Metadata + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + Metadata.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.maxStep = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.maxStep = options.longs === String ? "0" : 0; + object.maxWallTime = null; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.maxBlobSequenceLength = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.maxBlobSequenceLength = options.longs === String ? "0" : 0; + } + if (message.maxStep != null && message.hasOwnProperty("maxStep")) + if (typeof message.maxStep === "number") + object.maxStep = options.longs === String ? String(message.maxStep) : message.maxStep; + else + object.maxStep = options.longs === String ? $util.Long.prototype.toString.call(message.maxStep) : options.longs === Number ? new $util.LongBits(message.maxStep.low >>> 0, message.maxStep.high >>> 0).toNumber() : message.maxStep; + if (message.maxWallTime != null && message.hasOwnProperty("maxWallTime")) + object.maxWallTime = $root.google.protobuf.Timestamp.toObject(message.maxWallTime, options); + if (message.maxBlobSequenceLength != null && message.hasOwnProperty("maxBlobSequenceLength")) + if (typeof message.maxBlobSequenceLength === "number") + object.maxBlobSequenceLength = options.longs === String ? String(message.maxBlobSequenceLength) : message.maxBlobSequenceLength; + else + object.maxBlobSequenceLength = options.longs === String ? $util.Long.prototype.toString.call(message.maxBlobSequenceLength) : options.longs === Number ? new $util.LongBits(message.maxBlobSequenceLength.low >>> 0, message.maxBlobSequenceLength.high >>> 0).toNumber() : message.maxBlobSequenceLength; + return object; + }; + + /** + * Converts this Metadata to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata + * @instance + * @returns {Object.} JSON object + */ + Metadata.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for Metadata + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Metadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata"; + }; + + return Metadata; + })(); + + /** + * ValueType enum. + * @name google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueType + * @enum {number} + * @property {number} VALUE_TYPE_UNSPECIFIED=0 VALUE_TYPE_UNSPECIFIED value + * @property {number} SCALAR=1 SCALAR value + * @property {number} TENSOR=2 TENSOR value + * @property {number} BLOB_SEQUENCE=3 BLOB_SEQUENCE value + */ + TensorboardTimeSeries.ValueType = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "VALUE_TYPE_UNSPECIFIED"] = 0; + values[valuesById[1] = "SCALAR"] = 1; + values[valuesById[2] = "TENSOR"] = 2; + values[valuesById[3] = "BLOB_SEQUENCE"] = 3; + return values; + })(); + + return TensorboardTimeSeries; + })(); + + v1.TensorboardExperiment = (function() { + + /** + * Properties of a TensorboardExperiment. + * @memberof google.cloud.aiplatform.v1 + * @interface ITensorboardExperiment + * @property {string|null} [name] TensorboardExperiment name + * @property {string|null} [displayName] TensorboardExperiment displayName + * @property {string|null} [description] TensorboardExperiment description + * @property {google.protobuf.ITimestamp|null} [createTime] TensorboardExperiment createTime + * @property {google.protobuf.ITimestamp|null} [updateTime] TensorboardExperiment updateTime + * @property {Object.|null} [labels] TensorboardExperiment labels + * @property {string|null} [etag] TensorboardExperiment etag + * @property {string|null} [source] TensorboardExperiment source + */ + + /** + * Constructs a new TensorboardExperiment. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a TensorboardExperiment. + * @implements ITensorboardExperiment + * @constructor + * @param {google.cloud.aiplatform.v1.ITensorboardExperiment=} [properties] Properties to set + */ + function TensorboardExperiment(properties) { + this.labels = {}; + 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]]; + } + + /** + * TensorboardExperiment name. + * @member {string} name + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @instance + */ + TensorboardExperiment.prototype.name = ""; + + /** + * TensorboardExperiment displayName. + * @member {string} displayName + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @instance + */ + TensorboardExperiment.prototype.displayName = ""; + + /** + * TensorboardExperiment description. + * @member {string} description + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @instance + */ + TensorboardExperiment.prototype.description = ""; + + /** + * TensorboardExperiment createTime. + * @member {google.protobuf.ITimestamp|null|undefined} createTime + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @instance + */ + TensorboardExperiment.prototype.createTime = null; + + /** + * TensorboardExperiment updateTime. + * @member {google.protobuf.ITimestamp|null|undefined} updateTime + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @instance + */ + TensorboardExperiment.prototype.updateTime = null; + + /** + * TensorboardExperiment labels. + * @member {Object.} labels + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @instance + */ + TensorboardExperiment.prototype.labels = $util.emptyObject; + + /** + * TensorboardExperiment etag. + * @member {string} etag + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @instance + */ + TensorboardExperiment.prototype.etag = ""; + + /** + * TensorboardExperiment source. + * @member {string} source + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @instance + */ + TensorboardExperiment.prototype.source = ""; + + /** + * Creates a new TensorboardExperiment instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardExperiment=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.TensorboardExperiment} TensorboardExperiment instance + */ + TensorboardExperiment.create = function create(properties) { + return new TensorboardExperiment(properties); + }; + + /** + * Encodes the specified TensorboardExperiment message. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardExperiment.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardExperiment} message TensorboardExperiment message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TensorboardExperiment.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.name != null && Object.hasOwnProperty.call(message, "name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName); + if (message.description != null && Object.hasOwnProperty.call(message, "description")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.description); + if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime")) + $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime")) + $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.labels != null && Object.hasOwnProperty.call(message, "labels")) + for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i) + writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); + if (message.etag != null && Object.hasOwnProperty.call(message, "etag")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.etag); + if (message.source != null && Object.hasOwnProperty.call(message, "source")) + writer.uint32(/* id 8, wireType 2 =*/66).string(message.source); + return writer; + }; + + /** + * Encodes the specified TensorboardExperiment message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardExperiment.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardExperiment} message TensorboardExperiment message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TensorboardExperiment.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a TensorboardExperiment message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @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.TensorboardExperiment} TensorboardExperiment + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TensorboardExperiment.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TensorboardExperiment(), key, value; + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.description = reader.string(); + break; + } + case 4: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 5: { + message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 6: { + if (message.labels === $util.emptyObject) + message.labels = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } + } + message.labels[key] = value; + break; + } + case 7: { + message.etag = reader.string(); + break; + } + case 8: { + message.source = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a TensorboardExperiment message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.TensorboardExperiment} TensorboardExperiment + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TensorboardExperiment.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a TensorboardExperiment message. + * @function verify + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + TensorboardExperiment.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.displayName != null && message.hasOwnProperty("displayName")) + if (!$util.isString(message.displayName)) + return "displayName: string expected"; + if (message.description != null && message.hasOwnProperty("description")) + if (!$util.isString(message.description)) + return "description: string expected"; + if (message.createTime != null && message.hasOwnProperty("createTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.createTime); + if (error) + return "createTime." + error; + } + if (message.updateTime != null && message.hasOwnProperty("updateTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.updateTime); + if (error) + return "updateTime." + error; + } + if (message.labels != null && message.hasOwnProperty("labels")) { + if (!$util.isObject(message.labels)) + return "labels: object expected"; + var key = Object.keys(message.labels); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.labels[key[i]])) + return "labels: string{k:string} expected"; + } + if (message.etag != null && message.hasOwnProperty("etag")) + if (!$util.isString(message.etag)) + return "etag: string expected"; + if (message.source != null && message.hasOwnProperty("source")) + if (!$util.isString(message.source)) + return "source: string expected"; + return null; + }; + + /** + * Creates a TensorboardExperiment message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.TensorboardExperiment} TensorboardExperiment + */ + TensorboardExperiment.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.TensorboardExperiment) + return object; + var message = new $root.google.cloud.aiplatform.v1.TensorboardExperiment(); + if (object.name != null) + message.name = String(object.name); + if (object.displayName != null) + message.displayName = String(object.displayName); + if (object.description != null) + message.description = String(object.description); + if (object.createTime != null) { + if (typeof object.createTime !== "object") + throw TypeError(".google.cloud.aiplatform.v1.TensorboardExperiment.createTime: object expected"); + message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime); + } + if (object.updateTime != null) { + if (typeof object.updateTime !== "object") + throw TypeError(".google.cloud.aiplatform.v1.TensorboardExperiment.updateTime: object expected"); + message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime); + } + if (object.labels) { + if (typeof object.labels !== "object") + throw TypeError(".google.cloud.aiplatform.v1.TensorboardExperiment.labels: object expected"); + message.labels = {}; + for (var keys = Object.keys(object.labels), i = 0; i < keys.length; ++i) + message.labels[keys[i]] = String(object.labels[keys[i]]); + } + if (object.etag != null) + message.etag = String(object.etag); + if (object.source != null) + message.source = String(object.source); + return message; + }; + + /** + * Creates a plain object from a TensorboardExperiment message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @static + * @param {google.cloud.aiplatform.v1.TensorboardExperiment} message TensorboardExperiment + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + TensorboardExperiment.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.objects || options.defaults) + object.labels = {}; + if (options.defaults) { + object.name = ""; + object.displayName = ""; + object.description = ""; + object.createTime = null; + object.updateTime = null; + object.etag = ""; + object.source = ""; + } + if (message.name != null && message.hasOwnProperty("name")) + object.name = message.name; + if (message.displayName != null && message.hasOwnProperty("displayName")) + object.displayName = message.displayName; + if (message.description != null && message.hasOwnProperty("description")) + object.description = message.description; + if (message.createTime != null && message.hasOwnProperty("createTime")) + object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options); + if (message.updateTime != null && message.hasOwnProperty("updateTime")) + object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options); + var keys2; + if (message.labels && (keys2 = Object.keys(message.labels)).length) { + object.labels = {}; + for (var j = 0; j < keys2.length; ++j) + object.labels[keys2[j]] = message.labels[keys2[j]]; + } + if (message.etag != null && message.hasOwnProperty("etag")) + object.etag = message.etag; + if (message.source != null && message.hasOwnProperty("source")) + object.source = message.source; + return object; + }; + + /** + * Converts this TensorboardExperiment to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @instance + * @returns {Object.} JSON object + */ + TensorboardExperiment.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for TensorboardExperiment + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.TensorboardExperiment + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TensorboardExperiment.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.TensorboardExperiment"; + }; + + return TensorboardExperiment; + })(); + + v1.TensorboardRun = (function() { + + /** + * Properties of a TensorboardRun. + * @memberof google.cloud.aiplatform.v1 + * @interface ITensorboardRun + * @property {string|null} [name] TensorboardRun name + * @property {string|null} [displayName] TensorboardRun displayName + * @property {string|null} [description] TensorboardRun description + * @property {google.protobuf.ITimestamp|null} [createTime] TensorboardRun createTime + * @property {google.protobuf.ITimestamp|null} [updateTime] TensorboardRun updateTime + * @property {Object.|null} [labels] TensorboardRun labels + * @property {string|null} [etag] TensorboardRun etag + */ + + /** + * Constructs a new TensorboardRun. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a TensorboardRun. + * @implements ITensorboardRun + * @constructor + * @param {google.cloud.aiplatform.v1.ITensorboardRun=} [properties] Properties to set + */ + function TensorboardRun(properties) { + this.labels = {}; + 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]]; + } + + /** + * TensorboardRun name. + * @member {string} name + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @instance + */ + TensorboardRun.prototype.name = ""; + + /** + * TensorboardRun displayName. + * @member {string} displayName + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @instance + */ + TensorboardRun.prototype.displayName = ""; + + /** + * TensorboardRun description. + * @member {string} description + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @instance + */ + TensorboardRun.prototype.description = ""; + + /** + * TensorboardRun createTime. + * @member {google.protobuf.ITimestamp|null|undefined} createTime + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @instance + */ + TensorboardRun.prototype.createTime = null; + + /** + * TensorboardRun updateTime. + * @member {google.protobuf.ITimestamp|null|undefined} updateTime + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @instance + */ + TensorboardRun.prototype.updateTime = null; + + /** + * TensorboardRun labels. + * @member {Object.} labels + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @instance + */ + TensorboardRun.prototype.labels = $util.emptyObject; + + /** + * TensorboardRun etag. + * @member {string} etag + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @instance + */ + TensorboardRun.prototype.etag = ""; + + /** + * Creates a new TensorboardRun instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardRun=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.TensorboardRun} TensorboardRun instance + */ + TensorboardRun.create = function create(properties) { + return new TensorboardRun(properties); + }; + + /** + * Encodes the specified TensorboardRun message. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardRun.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardRun} message TensorboardRun message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TensorboardRun.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.name != null && Object.hasOwnProperty.call(message, "name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.displayName); + if (message.description != null && Object.hasOwnProperty.call(message, "description")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.description); + if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime")) + $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime")) + $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.labels != null && Object.hasOwnProperty.call(message, "labels")) + for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i) + writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); + if (message.etag != null && Object.hasOwnProperty.call(message, "etag")) + writer.uint32(/* id 9, wireType 2 =*/74).string(message.etag); + return writer; + }; + + /** + * Encodes the specified TensorboardRun message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.TensorboardRun.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @static + * @param {google.cloud.aiplatform.v1.ITensorboardRun} message TensorboardRun message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + TensorboardRun.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a TensorboardRun message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @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.TensorboardRun} TensorboardRun + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TensorboardRun.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.TensorboardRun(), key, value; + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.name = reader.string(); + break; + } + case 2: { + message.displayName = reader.string(); + break; + } + case 3: { + message.description = reader.string(); + break; + } + case 6: { + message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 7: { + message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); + break; + } + case 8: { + if (message.labels === $util.emptyObject) + message.labels = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } + } + message.labels[key] = value; + break; + } + case 9: { + message.etag = reader.string(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a TensorboardRun message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.TensorboardRun} TensorboardRun + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + TensorboardRun.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a TensorboardRun message. + * @function verify + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + TensorboardRun.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.name != null && message.hasOwnProperty("name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.displayName != null && message.hasOwnProperty("displayName")) + if (!$util.isString(message.displayName)) + return "displayName: string expected"; + if (message.description != null && message.hasOwnProperty("description")) + if (!$util.isString(message.description)) + return "description: string expected"; + if (message.createTime != null && message.hasOwnProperty("createTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.createTime); + if (error) + return "createTime." + error; + } + if (message.updateTime != null && message.hasOwnProperty("updateTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.updateTime); + if (error) + return "updateTime." + error; + } + if (message.labels != null && message.hasOwnProperty("labels")) { + if (!$util.isObject(message.labels)) + return "labels: object expected"; + var key = Object.keys(message.labels); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.labels[key[i]])) + return "labels: string{k:string} expected"; + } + if (message.etag != null && message.hasOwnProperty("etag")) + if (!$util.isString(message.etag)) + return "etag: string expected"; + return null; + }; + + /** + * Creates a TensorboardRun message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.TensorboardRun} TensorboardRun + */ + TensorboardRun.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.TensorboardRun) + return object; + var message = new $root.google.cloud.aiplatform.v1.TensorboardRun(); + if (object.name != null) + message.name = String(object.name); + if (object.displayName != null) + message.displayName = String(object.displayName); + if (object.description != null) + message.description = String(object.description); + if (object.createTime != null) { + if (typeof object.createTime !== "object") + throw TypeError(".google.cloud.aiplatform.v1.TensorboardRun.createTime: object expected"); + message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime); + } + if (object.updateTime != null) { + if (typeof object.updateTime !== "object") + throw TypeError(".google.cloud.aiplatform.v1.TensorboardRun.updateTime: object expected"); + message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime); + } + if (object.labels) { + if (typeof object.labels !== "object") + throw TypeError(".google.cloud.aiplatform.v1.TensorboardRun.labels: object expected"); + message.labels = {}; + for (var keys = Object.keys(object.labels), i = 0; i < keys.length; ++i) + message.labels[keys[i]] = String(object.labels[keys[i]]); + } + if (object.etag != null) + message.etag = String(object.etag); + return message; + }; + + /** + * Creates a plain object from a TensorboardRun message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @static + * @param {google.cloud.aiplatform.v1.TensorboardRun} message TensorboardRun + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + TensorboardRun.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.objects || options.defaults) + object.labels = {}; + if (options.defaults) { + object.name = ""; + object.displayName = ""; + object.description = ""; + object.createTime = null; + object.updateTime = null; + object.etag = ""; + } + if (message.name != null && message.hasOwnProperty("name")) + object.name = message.name; + if (message.displayName != null && message.hasOwnProperty("displayName")) + object.displayName = message.displayName; + if (message.description != null && message.hasOwnProperty("description")) + object.description = message.description; + if (message.createTime != null && message.hasOwnProperty("createTime")) + object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options); + if (message.updateTime != null && message.hasOwnProperty("updateTime")) + object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options); + var keys2; + if (message.labels && (keys2 = Object.keys(message.labels)).length) { + object.labels = {}; + for (var j = 0; j < keys2.length; ++j) + object.labels[keys2[j]] = message.labels[keys2[j]]; + } + if (message.etag != null && message.hasOwnProperty("etag")) + object.etag = message.etag; + return object; + }; + + /** + * Converts this TensorboardRun to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @instance + * @returns {Object.} JSON object + */ + TensorboardRun.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for TensorboardRun + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.TensorboardRun + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + TensorboardRun.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.TensorboardRun"; + }; + + return TensorboardRun; + })(); + + v1.TensorboardService = (function() { + + /** + * Constructs a new TensorboardService service. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a TensorboardService + * @extends $protobuf.rpc.Service + * @constructor + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + */ + function TensorboardService(rpcImpl, requestDelimited, responseDelimited) { + $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); + } + + (TensorboardService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = TensorboardService; + + /** + * Creates new TensorboardService service using the specified rpc implementation. + * @function create + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @static + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * @returns {TensorboardService} RPC service. Useful where requests and/or responses are streamed. + */ + TensorboardService.create = function create(rpcImpl, requestDelimited, responseDelimited) { + return new this(rpcImpl, requestDelimited, responseDelimited); + }; + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.TensorboardService|createTensorboard}. + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @typedef CreateTensorboardCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.longrunning.Operation} [response] Operation + */ + + /** + * Calls CreateTensorboard. + * @function createTensorboard + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @instance + * @param {google.cloud.aiplatform.v1.ICreateTensorboardRequest} request CreateTensorboardRequest message or plain object + * @param {google.cloud.aiplatform.v1.TensorboardService.CreateTensorboardCallback} callback Node-style callback called with the error, if any, and Operation + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(TensorboardService.prototype.createTensorboard = function createTensorboard(request, callback) { + return this.rpcCall(createTensorboard, $root.google.cloud.aiplatform.v1.CreateTensorboardRequest, $root.google.longrunning.Operation, request, callback); + }, "name", { value: "CreateTensorboard" }); + + /** + * Calls CreateTensorboard. + * @function createTensorboard + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @instance + * @param {google.cloud.aiplatform.v1.ICreateTensorboardRequest} request CreateTensorboardRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.TensorboardService|getTensorboard}. + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @typedef GetTensorboardCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.cloud.aiplatform.v1.Tensorboard} [response] Tensorboard + */ + + /** + * Calls GetTensorboard. + * @function getTensorboard + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @instance + * @param {google.cloud.aiplatform.v1.IGetTensorboardRequest} request GetTensorboardRequest message or plain object + * @param {google.cloud.aiplatform.v1.TensorboardService.GetTensorboardCallback} callback Node-style callback called with the error, if any, and Tensorboard + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(TensorboardService.prototype.getTensorboard = function getTensorboard(request, callback) { + return this.rpcCall(getTensorboard, $root.google.cloud.aiplatform.v1.GetTensorboardRequest, $root.google.cloud.aiplatform.v1.Tensorboard, request, callback); + }, "name", { value: "GetTensorboard" }); + + /** + * Calls GetTensorboard. + * @function getTensorboard + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @instance + * @param {google.cloud.aiplatform.v1.IGetTensorboardRequest} request GetTensorboardRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.TensorboardService|updateTensorboard}. + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @typedef UpdateTensorboardCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.longrunning.Operation} [response] Operation + */ + + /** + * Calls UpdateTensorboard. + * @function updateTensorboard + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @instance + * @param {google.cloud.aiplatform.v1.IUpdateTensorboardRequest} request UpdateTensorboardRequest message or plain object + * @param {google.cloud.aiplatform.v1.TensorboardService.UpdateTensorboardCallback} callback Node-style callback called with the error, if any, and Operation + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(TensorboardService.prototype.updateTensorboard = function updateTensorboard(request, callback) { + return this.rpcCall(updateTensorboard, $root.google.cloud.aiplatform.v1.UpdateTensorboardRequest, $root.google.longrunning.Operation, request, callback); + }, "name", { value: "UpdateTensorboard" }); + + /** + * Calls UpdateTensorboard. + * @function updateTensorboard + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @instance + * @param {google.cloud.aiplatform.v1.IUpdateTensorboardRequest} request UpdateTensorboardRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.TensorboardService|listTensorboards}. + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @typedef ListTensorboardsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.cloud.aiplatform.v1.ListTensorboardsResponse} [response] ListTensorboardsResponse + */ + + /** + * Calls ListTensorboards. + * @function listTensorboards + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @instance + * @param {google.cloud.aiplatform.v1.IListTensorboardsRequest} request ListTensorboardsRequest message or plain object + * @param {google.cloud.aiplatform.v1.TensorboardService.ListTensorboardsCallback} callback Node-style callback called with the error, if any, and ListTensorboardsResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(TensorboardService.prototype.listTensorboards = function listTensorboards(request, callback) { + return this.rpcCall(listTensorboards, $root.google.cloud.aiplatform.v1.ListTensorboardsRequest, $root.google.cloud.aiplatform.v1.ListTensorboardsResponse, request, callback); + }, "name", { value: "ListTensorboards" }); + + /** + * Calls ListTensorboards. + * @function listTensorboards + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @instance + * @param {google.cloud.aiplatform.v1.IListTensorboardsRequest} request ListTensorboardsRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.TensorboardService|deleteTensorboard}. + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @typedef DeleteTensorboardCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.longrunning.Operation} [response] Operation + */ + + /** + * Calls DeleteTensorboard. + * @function deleteTensorboard + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @instance + * @param {google.cloud.aiplatform.v1.IDeleteTensorboardRequest} request DeleteTensorboardRequest message or plain object + * @param {google.cloud.aiplatform.v1.TensorboardService.DeleteTensorboardCallback} callback Node-style callback called with the error, if any, and Operation + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(TensorboardService.prototype.deleteTensorboard = function deleteTensorboard(request, callback) { + return this.rpcCall(deleteTensorboard, $root.google.cloud.aiplatform.v1.DeleteTensorboardRequest, $root.google.longrunning.Operation, request, callback); + }, "name", { value: "DeleteTensorboard" }); + + /** + * Calls DeleteTensorboard. + * @function deleteTensorboard + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @instance + * @param {google.cloud.aiplatform.v1.IDeleteTensorboardRequest} request DeleteTensorboardRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.TensorboardService|readTensorboardUsage}. + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @typedef ReadTensorboardUsageCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.cloud.aiplatform.v1.ReadTensorboardUsageResponse} [response] ReadTensorboardUsageResponse + */ + + /** + * Calls ReadTensorboardUsage. + * @function readTensorboardUsage + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @instance + * @param {google.cloud.aiplatform.v1.IReadTensorboardUsageRequest} request ReadTensorboardUsageRequest message or plain object + * @param {google.cloud.aiplatform.v1.TensorboardService.ReadTensorboardUsageCallback} callback Node-style callback called with the error, if any, and ReadTensorboardUsageResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(TensorboardService.prototype.readTensorboardUsage = function readTensorboardUsage(request, callback) { + return this.rpcCall(readTensorboardUsage, $root.google.cloud.aiplatform.v1.ReadTensorboardUsageRequest, $root.google.cloud.aiplatform.v1.ReadTensorboardUsageResponse, request, callback); + }, "name", { value: "ReadTensorboardUsage" }); + + /** + * Calls ReadTensorboardUsage. + * @function readTensorboardUsage + * @memberof google.cloud.aiplatform.v1.TensorboardService + * @instance + * @param {google.cloud.aiplatform.v1.IReadTensorboardUsageRequest} request ReadTensorboardUsageRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.TensorboardService|readTensorboardSize}. * @memberof google.cloud.aiplatform.v1.TensorboardService * @typedef ReadTensorboardSizeCallback * @type {function} @@ -344347,17 +349399,946 @@ * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UpdateRagCorpusRequest.decode = function decode(reader, length, error) { + UpdateRagCorpusRequest.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.UpdateRagCorpusRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.ragCorpus = $root.google.cloud.aiplatform.v1.RagCorpus.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an UpdateRagCorpusRequest message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.UpdateRagCorpusRequest} UpdateRagCorpusRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + UpdateRagCorpusRequest.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an UpdateRagCorpusRequest message. + * @function verify + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + UpdateRagCorpusRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.ragCorpus != null && message.hasOwnProperty("ragCorpus")) { + var error = $root.google.cloud.aiplatform.v1.RagCorpus.verify(message.ragCorpus); + if (error) + return "ragCorpus." + error; + } + return null; + }; + + /** + * Creates an UpdateRagCorpusRequest message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusRequest + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.UpdateRagCorpusRequest} UpdateRagCorpusRequest + */ + UpdateRagCorpusRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.UpdateRagCorpusRequest) + return object; + var message = new $root.google.cloud.aiplatform.v1.UpdateRagCorpusRequest(); + if (object.ragCorpus != null) { + if (typeof object.ragCorpus !== "object") + throw TypeError(".google.cloud.aiplatform.v1.UpdateRagCorpusRequest.ragCorpus: object expected"); + message.ragCorpus = $root.google.cloud.aiplatform.v1.RagCorpus.fromObject(object.ragCorpus); + } + return message; + }; + + /** + * Creates a plain object from an UpdateRagCorpusRequest message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusRequest + * @static + * @param {google.cloud.aiplatform.v1.UpdateRagCorpusRequest} message UpdateRagCorpusRequest + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + UpdateRagCorpusRequest.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.ragCorpus = null; + if (message.ragCorpus != null && message.hasOwnProperty("ragCorpus")) + object.ragCorpus = $root.google.cloud.aiplatform.v1.RagCorpus.toObject(message.ragCorpus, options); + return object; + }; + + /** + * Converts this UpdateRagCorpusRequest to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusRequest + * @instance + * @returns {Object.} JSON object + */ + UpdateRagCorpusRequest.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for UpdateRagCorpusRequest + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateRagCorpusRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.UpdateRagCorpusRequest"; + }; + + return UpdateRagCorpusRequest; + })(); + + v1.UpdateRagCorpusOperationMetadata = (function() { + + /** + * Properties of an UpdateRagCorpusOperationMetadata. + * @memberof google.cloud.aiplatform.v1 + * @interface IUpdateRagCorpusOperationMetadata + * @property {google.cloud.aiplatform.v1.IGenericOperationMetadata|null} [genericMetadata] UpdateRagCorpusOperationMetadata genericMetadata + */ + + /** + * Constructs a new UpdateRagCorpusOperationMetadata. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents an UpdateRagCorpusOperationMetadata. + * @implements IUpdateRagCorpusOperationMetadata + * @constructor + * @param {google.cloud.aiplatform.v1.IUpdateRagCorpusOperationMetadata=} [properties] Properties to set + */ + function UpdateRagCorpusOperationMetadata(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]]; + } + + /** + * UpdateRagCorpusOperationMetadata genericMetadata. + * @member {google.cloud.aiplatform.v1.IGenericOperationMetadata|null|undefined} genericMetadata + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @instance + */ + UpdateRagCorpusOperationMetadata.prototype.genericMetadata = null; + + /** + * Creates a new UpdateRagCorpusOperationMetadata instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.IUpdateRagCorpusOperationMetadata=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata} UpdateRagCorpusOperationMetadata instance + */ + UpdateRagCorpusOperationMetadata.create = function create(properties) { + return new UpdateRagCorpusOperationMetadata(properties); + }; + + /** + * Encodes the specified UpdateRagCorpusOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.IUpdateRagCorpusOperationMetadata} message UpdateRagCorpusOperationMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + UpdateRagCorpusOperationMetadata.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 UpdateRagCorpusOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.IUpdateRagCorpusOperationMetadata} message UpdateRagCorpusOperationMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + UpdateRagCorpusOperationMetadata.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an UpdateRagCorpusOperationMetadata message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @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.UpdateRagCorpusOperationMetadata} UpdateRagCorpusOperationMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + UpdateRagCorpusOperationMetadata.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + 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 an UpdateRagCorpusOperationMetadata message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata} UpdateRagCorpusOperationMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + UpdateRagCorpusOperationMetadata.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an UpdateRagCorpusOperationMetadata message. + * @function verify + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + UpdateRagCorpusOperationMetadata.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 an UpdateRagCorpusOperationMetadata message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata} UpdateRagCorpusOperationMetadata + */ + UpdateRagCorpusOperationMetadata.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata) + return object; + var message = new $root.google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata(); + if (object.genericMetadata != null) { + if (typeof object.genericMetadata !== "object") + throw TypeError(".google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata.genericMetadata: object expected"); + message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.fromObject(object.genericMetadata); + } + return message; + }; + + /** + * Creates a plain object from an UpdateRagCorpusOperationMetadata message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata} message UpdateRagCorpusOperationMetadata + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + UpdateRagCorpusOperationMetadata.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 UpdateRagCorpusOperationMetadata to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @instance + * @returns {Object.} JSON object + */ + UpdateRagCorpusOperationMetadata.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for UpdateRagCorpusOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateRagCorpusOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata"; + }; + + return UpdateRagCorpusOperationMetadata; + })(); + + v1.ImportRagFilesOperationMetadata = (function() { + + /** + * Properties of an ImportRagFilesOperationMetadata. + * @memberof google.cloud.aiplatform.v1 + * @interface IImportRagFilesOperationMetadata + * @property {google.cloud.aiplatform.v1.IGenericOperationMetadata|null} [genericMetadata] ImportRagFilesOperationMetadata genericMetadata + * @property {number|Long|null} [ragCorpusId] ImportRagFilesOperationMetadata ragCorpusId + * @property {google.cloud.aiplatform.v1.IImportRagFilesConfig|null} [importRagFilesConfig] ImportRagFilesOperationMetadata importRagFilesConfig + * @property {number|null} [progressPercentage] ImportRagFilesOperationMetadata progressPercentage + */ + + /** + * Constructs a new ImportRagFilesOperationMetadata. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents an ImportRagFilesOperationMetadata. + * @implements IImportRagFilesOperationMetadata + * @constructor + * @param {google.cloud.aiplatform.v1.IImportRagFilesOperationMetadata=} [properties] Properties to set + */ + function ImportRagFilesOperationMetadata(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]]; + } + + /** + * ImportRagFilesOperationMetadata genericMetadata. + * @member {google.cloud.aiplatform.v1.IGenericOperationMetadata|null|undefined} genericMetadata + * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @instance + */ + ImportRagFilesOperationMetadata.prototype.genericMetadata = null; + + /** + * ImportRagFilesOperationMetadata ragCorpusId. + * @member {number|Long} ragCorpusId + * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @instance + */ + ImportRagFilesOperationMetadata.prototype.ragCorpusId = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * ImportRagFilesOperationMetadata importRagFilesConfig. + * @member {google.cloud.aiplatform.v1.IImportRagFilesConfig|null|undefined} importRagFilesConfig + * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @instance + */ + ImportRagFilesOperationMetadata.prototype.importRagFilesConfig = null; + + /** + * ImportRagFilesOperationMetadata progressPercentage. + * @member {number} progressPercentage + * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @instance + */ + ImportRagFilesOperationMetadata.prototype.progressPercentage = 0; + + /** + * Creates a new ImportRagFilesOperationMetadata instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.IImportRagFilesOperationMetadata=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata} ImportRagFilesOperationMetadata instance + */ + ImportRagFilesOperationMetadata.create = function create(properties) { + return new ImportRagFilesOperationMetadata(properties); + }; + + /** + * Encodes the specified ImportRagFilesOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.IImportRagFilesOperationMetadata} message ImportRagFilesOperationMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ImportRagFilesOperationMetadata.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(); + if (message.ragCorpusId != null && Object.hasOwnProperty.call(message, "ragCorpusId")) + writer.uint32(/* id 2, wireType 0 =*/16).int64(message.ragCorpusId); + if (message.importRagFilesConfig != null && Object.hasOwnProperty.call(message, "importRagFilesConfig")) + $root.google.cloud.aiplatform.v1.ImportRagFilesConfig.encode(message.importRagFilesConfig, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.progressPercentage != null && Object.hasOwnProperty.call(message, "progressPercentage")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.progressPercentage); + return writer; + }; + + /** + * Encodes the specified ImportRagFilesOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.IImportRagFilesOperationMetadata} message ImportRagFilesOperationMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ImportRagFilesOperationMetadata.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an ImportRagFilesOperationMetadata message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @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.ImportRagFilesOperationMetadata} ImportRagFilesOperationMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ImportRagFilesOperationMetadata.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.decode(reader, reader.uint32()); + break; + } + case 2: { + message.ragCorpusId = reader.int64(); + break; + } + case 3: { + message.importRagFilesConfig = $root.google.cloud.aiplatform.v1.ImportRagFilesConfig.decode(reader, reader.uint32()); + break; + } + case 4: { + message.progressPercentage = reader.int32(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an ImportRagFilesOperationMetadata message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata} ImportRagFilesOperationMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ImportRagFilesOperationMetadata.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an ImportRagFilesOperationMetadata message. + * @function verify + * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ImportRagFilesOperationMetadata.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; + } + if (message.ragCorpusId != null && message.hasOwnProperty("ragCorpusId")) + if (!$util.isInteger(message.ragCorpusId) && !(message.ragCorpusId && $util.isInteger(message.ragCorpusId.low) && $util.isInteger(message.ragCorpusId.high))) + return "ragCorpusId: integer|Long expected"; + if (message.importRagFilesConfig != null && message.hasOwnProperty("importRagFilesConfig")) { + var error = $root.google.cloud.aiplatform.v1.ImportRagFilesConfig.verify(message.importRagFilesConfig); + if (error) + return "importRagFilesConfig." + error; + } + if (message.progressPercentage != null && message.hasOwnProperty("progressPercentage")) + if (!$util.isInteger(message.progressPercentage)) + return "progressPercentage: integer expected"; + return null; + }; + + /** + * Creates an ImportRagFilesOperationMetadata message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata} ImportRagFilesOperationMetadata + */ + ImportRagFilesOperationMetadata.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata) + return object; + var message = new $root.google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata(); + if (object.genericMetadata != null) { + if (typeof object.genericMetadata !== "object") + throw TypeError(".google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata.genericMetadata: object expected"); + message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.fromObject(object.genericMetadata); + } + if (object.ragCorpusId != null) + if ($util.Long) + (message.ragCorpusId = $util.Long.fromValue(object.ragCorpusId)).unsigned = false; + else if (typeof object.ragCorpusId === "string") + message.ragCorpusId = parseInt(object.ragCorpusId, 10); + else if (typeof object.ragCorpusId === "number") + message.ragCorpusId = object.ragCorpusId; + else if (typeof object.ragCorpusId === "object") + message.ragCorpusId = new $util.LongBits(object.ragCorpusId.low >>> 0, object.ragCorpusId.high >>> 0).toNumber(); + if (object.importRagFilesConfig != null) { + if (typeof object.importRagFilesConfig !== "object") + throw TypeError(".google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata.importRagFilesConfig: object expected"); + message.importRagFilesConfig = $root.google.cloud.aiplatform.v1.ImportRagFilesConfig.fromObject(object.importRagFilesConfig); + } + if (object.progressPercentage != null) + message.progressPercentage = object.progressPercentage | 0; + return message; + }; + + /** + * Creates a plain object from an ImportRagFilesOperationMetadata message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata} message ImportRagFilesOperationMetadata + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ImportRagFilesOperationMetadata.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.genericMetadata = null; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.ragCorpusId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + } else + object.ragCorpusId = options.longs === String ? "0" : 0; + object.importRagFilesConfig = null; + object.progressPercentage = 0; + } + if (message.genericMetadata != null && message.hasOwnProperty("genericMetadata")) + object.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.toObject(message.genericMetadata, options); + if (message.ragCorpusId != null && message.hasOwnProperty("ragCorpusId")) + if (typeof message.ragCorpusId === "number") + object.ragCorpusId = options.longs === String ? String(message.ragCorpusId) : message.ragCorpusId; + else + object.ragCorpusId = options.longs === String ? $util.Long.prototype.toString.call(message.ragCorpusId) : options.longs === Number ? new $util.LongBits(message.ragCorpusId.low >>> 0, message.ragCorpusId.high >>> 0).toNumber() : message.ragCorpusId; + if (message.importRagFilesConfig != null && message.hasOwnProperty("importRagFilesConfig")) + object.importRagFilesConfig = $root.google.cloud.aiplatform.v1.ImportRagFilesConfig.toObject(message.importRagFilesConfig, options); + if (message.progressPercentage != null && message.hasOwnProperty("progressPercentage")) + object.progressPercentage = message.progressPercentage; + return object; + }; + + /** + * Converts this ImportRagFilesOperationMetadata to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @instance + * @returns {Object.} JSON object + */ + ImportRagFilesOperationMetadata.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ImportRagFilesOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ImportRagFilesOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata"; + }; + + return ImportRagFilesOperationMetadata; + })(); + + v1.UpdateRagEngineConfigRequest = (function() { + + /** + * Properties of an UpdateRagEngineConfigRequest. + * @memberof google.cloud.aiplatform.v1 + * @interface IUpdateRagEngineConfigRequest + * @property {google.cloud.aiplatform.v1.IRagEngineConfig|null} [ragEngineConfig] UpdateRagEngineConfigRequest ragEngineConfig + */ + + /** + * Constructs a new UpdateRagEngineConfigRequest. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents an UpdateRagEngineConfigRequest. + * @implements IUpdateRagEngineConfigRequest + * @constructor + * @param {google.cloud.aiplatform.v1.IUpdateRagEngineConfigRequest=} [properties] Properties to set + */ + function UpdateRagEngineConfigRequest(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]]; + } + + /** + * UpdateRagEngineConfigRequest ragEngineConfig. + * @member {google.cloud.aiplatform.v1.IRagEngineConfig|null|undefined} ragEngineConfig + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest + * @instance + */ + UpdateRagEngineConfigRequest.prototype.ragEngineConfig = null; + + /** + * Creates a new UpdateRagEngineConfigRequest instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest + * @static + * @param {google.cloud.aiplatform.v1.IUpdateRagEngineConfigRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest} UpdateRagEngineConfigRequest instance + */ + UpdateRagEngineConfigRequest.create = function create(properties) { + return new UpdateRagEngineConfigRequest(properties); + }; + + /** + * Encodes the specified UpdateRagEngineConfigRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest + * @static + * @param {google.cloud.aiplatform.v1.IUpdateRagEngineConfigRequest} message UpdateRagEngineConfigRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + UpdateRagEngineConfigRequest.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.ragEngineConfig != null && Object.hasOwnProperty.call(message, "ragEngineConfig")) + $root.google.cloud.aiplatform.v1.RagEngineConfig.encode(message.ragEngineConfig, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified UpdateRagEngineConfigRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest + * @static + * @param {google.cloud.aiplatform.v1.IUpdateRagEngineConfigRequest} message UpdateRagEngineConfigRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + UpdateRagEngineConfigRequest.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an UpdateRagEngineConfigRequest message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest + * @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.UpdateRagEngineConfigRequest} UpdateRagEngineConfigRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + UpdateRagEngineConfigRequest.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.ragEngineConfig = $root.google.cloud.aiplatform.v1.RagEngineConfig.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an UpdateRagEngineConfigRequest message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest} UpdateRagEngineConfigRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + UpdateRagEngineConfigRequest.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an UpdateRagEngineConfigRequest message. + * @function verify + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + UpdateRagEngineConfigRequest.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.ragEngineConfig != null && message.hasOwnProperty("ragEngineConfig")) { + var error = $root.google.cloud.aiplatform.v1.RagEngineConfig.verify(message.ragEngineConfig); + if (error) + return "ragEngineConfig." + error; + } + return null; + }; + + /** + * Creates an UpdateRagEngineConfigRequest message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest} UpdateRagEngineConfigRequest + */ + UpdateRagEngineConfigRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest) + return object; + var message = new $root.google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest(); + if (object.ragEngineConfig != null) { + if (typeof object.ragEngineConfig !== "object") + throw TypeError(".google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest.ragEngineConfig: object expected"); + message.ragEngineConfig = $root.google.cloud.aiplatform.v1.RagEngineConfig.fromObject(object.ragEngineConfig); + } + return message; + }; + + /** + * Creates a plain object from an UpdateRagEngineConfigRequest message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest + * @static + * @param {google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest} message UpdateRagEngineConfigRequest + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + UpdateRagEngineConfigRequest.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.ragEngineConfig = null; + if (message.ragEngineConfig != null && message.hasOwnProperty("ragEngineConfig")) + object.ragEngineConfig = $root.google.cloud.aiplatform.v1.RagEngineConfig.toObject(message.ragEngineConfig, options); + return object; + }; + + /** + * Converts this UpdateRagEngineConfigRequest to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest + * @instance + * @returns {Object.} JSON object + */ + UpdateRagEngineConfigRequest.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for UpdateRagEngineConfigRequest + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + UpdateRagEngineConfigRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest"; + }; + + return UpdateRagEngineConfigRequest; + })(); + + v1.UpdateRagEngineConfigOperationMetadata = (function() { + + /** + * Properties of an UpdateRagEngineConfigOperationMetadata. + * @memberof google.cloud.aiplatform.v1 + * @interface IUpdateRagEngineConfigOperationMetadata + * @property {google.cloud.aiplatform.v1.IGenericOperationMetadata|null} [genericMetadata] UpdateRagEngineConfigOperationMetadata genericMetadata + */ + + /** + * Constructs a new UpdateRagEngineConfigOperationMetadata. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents an UpdateRagEngineConfigOperationMetadata. + * @implements IUpdateRagEngineConfigOperationMetadata + * @constructor + * @param {google.cloud.aiplatform.v1.IUpdateRagEngineConfigOperationMetadata=} [properties] Properties to set + */ + function UpdateRagEngineConfigOperationMetadata(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]]; + } + + /** + * UpdateRagEngineConfigOperationMetadata genericMetadata. + * @member {google.cloud.aiplatform.v1.IGenericOperationMetadata|null|undefined} genericMetadata + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata + * @instance + */ + UpdateRagEngineConfigOperationMetadata.prototype.genericMetadata = null; + + /** + * Creates a new UpdateRagEngineConfigOperationMetadata instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.IUpdateRagEngineConfigOperationMetadata=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata} UpdateRagEngineConfigOperationMetadata instance + */ + UpdateRagEngineConfigOperationMetadata.create = function create(properties) { + return new UpdateRagEngineConfigOperationMetadata(properties); + }; + + /** + * Encodes the specified UpdateRagEngineConfigOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.IUpdateRagEngineConfigOperationMetadata} message UpdateRagEngineConfigOperationMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + UpdateRagEngineConfigOperationMetadata.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 UpdateRagEngineConfigOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1.IUpdateRagEngineConfigOperationMetadata} message UpdateRagEngineConfigOperationMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + UpdateRagEngineConfigOperationMetadata.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an UpdateRagEngineConfigOperationMetadata message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata + * @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.UpdateRagEngineConfigOperationMetadata} UpdateRagEngineConfigOperationMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + UpdateRagEngineConfigOperationMetadata.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.UpdateRagCorpusRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.ragCorpus = $root.google.cloud.aiplatform.v1.RagCorpus.decode(reader, reader.uint32()); + message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.decode(reader, reader.uint32()); break; } default: @@ -344369,127 +350350,328 @@ }; /** - * Decodes an UpdateRagCorpusRequest message from the specified reader or buffer, length delimited. + * Decodes an UpdateRagEngineConfigOperationMetadata message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusRequest + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.UpdateRagCorpusRequest} UpdateRagCorpusRequest + * @returns {google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata} UpdateRagEngineConfigOperationMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UpdateRagCorpusRequest.decodeDelimited = function decodeDelimited(reader) { + UpdateRagEngineConfigOperationMetadata.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies an UpdateRagCorpusRequest message. + * Verifies an UpdateRagEngineConfigOperationMetadata message. * @function verify - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusRequest + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - UpdateRagCorpusRequest.verify = function verify(message) { + UpdateRagEngineConfigOperationMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.ragCorpus != null && message.hasOwnProperty("ragCorpus")) { - var error = $root.google.cloud.aiplatform.v1.RagCorpus.verify(message.ragCorpus); + if (message.genericMetadata != null && message.hasOwnProperty("genericMetadata")) { + var error = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.verify(message.genericMetadata); if (error) - return "ragCorpus." + error; + return "genericMetadata." + error; } return null; }; /** - * Creates an UpdateRagCorpusRequest message from a plain object. Also converts values to their respective internal types. + * Creates an UpdateRagEngineConfigOperationMetadata message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusRequest + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.UpdateRagCorpusRequest} UpdateRagCorpusRequest + * @returns {google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata} UpdateRagEngineConfigOperationMetadata */ - UpdateRagCorpusRequest.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.UpdateRagCorpusRequest) + UpdateRagEngineConfigOperationMetadata.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata) return object; - var message = new $root.google.cloud.aiplatform.v1.UpdateRagCorpusRequest(); - if (object.ragCorpus != null) { - if (typeof object.ragCorpus !== "object") - throw TypeError(".google.cloud.aiplatform.v1.UpdateRagCorpusRequest.ragCorpus: object expected"); - message.ragCorpus = $root.google.cloud.aiplatform.v1.RagCorpus.fromObject(object.ragCorpus); + var message = new $root.google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata(); + if (object.genericMetadata != null) { + if (typeof object.genericMetadata !== "object") + throw TypeError(".google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata.genericMetadata: object expected"); + message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.fromObject(object.genericMetadata); } return message; }; /** - * Creates a plain object from an UpdateRagCorpusRequest message. Also converts values to other types if specified. + * Creates a plain object from an UpdateRagEngineConfigOperationMetadata message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusRequest + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata * @static - * @param {google.cloud.aiplatform.v1.UpdateRagCorpusRequest} message UpdateRagCorpusRequest + * @param {google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata} message UpdateRagEngineConfigOperationMetadata * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - UpdateRagCorpusRequest.toObject = function toObject(message, options) { + UpdateRagEngineConfigOperationMetadata.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) - object.ragCorpus = null; - if (message.ragCorpus != null && message.hasOwnProperty("ragCorpus")) - object.ragCorpus = $root.google.cloud.aiplatform.v1.RagCorpus.toObject(message.ragCorpus, options); + 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 UpdateRagCorpusRequest to JSON. + * Converts this UpdateRagEngineConfigOperationMetadata to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusRequest + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata * @instance * @returns {Object.} JSON object */ - UpdateRagCorpusRequest.prototype.toJSON = function toJSON() { + UpdateRagEngineConfigOperationMetadata.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for UpdateRagCorpusRequest + * Gets the default type url for UpdateRagEngineConfigOperationMetadata * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusRequest + * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - UpdateRagCorpusRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + UpdateRagEngineConfigOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.UpdateRagCorpusRequest"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata"; }; - return UpdateRagCorpusRequest; + return UpdateRagEngineConfigOperationMetadata; })(); - v1.UpdateRagCorpusOperationMetadata = (function() { + v1.VertexRagService = (function() { /** - * Properties of an UpdateRagCorpusOperationMetadata. + * Constructs a new VertexRagService service. * @memberof google.cloud.aiplatform.v1 - * @interface IUpdateRagCorpusOperationMetadata - * @property {google.cloud.aiplatform.v1.IGenericOperationMetadata|null} [genericMetadata] UpdateRagCorpusOperationMetadata genericMetadata + * @classdesc Represents a VertexRagService + * @extends $protobuf.rpc.Service + * @constructor + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited */ + function VertexRagService(rpcImpl, requestDelimited, responseDelimited) { + $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); + } + + (VertexRagService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = VertexRagService; /** - * Constructs a new UpdateRagCorpusOperationMetadata. + * Creates new VertexRagService service using the specified rpc implementation. + * @function create + * @memberof google.cloud.aiplatform.v1.VertexRagService + * @static + * @param {$protobuf.RPCImpl} rpcImpl RPC implementation + * @param {boolean} [requestDelimited=false] Whether requests are length-delimited + * @param {boolean} [responseDelimited=false] Whether responses are length-delimited + * @returns {VertexRagService} RPC service. Useful where requests and/or responses are streamed. + */ + VertexRagService.create = function create(rpcImpl, requestDelimited, responseDelimited) { + return new this(rpcImpl, requestDelimited, responseDelimited); + }; + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.VertexRagService|retrieveContexts}. + * @memberof google.cloud.aiplatform.v1.VertexRagService + * @typedef RetrieveContextsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.cloud.aiplatform.v1.RetrieveContextsResponse} [response] RetrieveContextsResponse + */ + + /** + * Calls RetrieveContexts. + * @function retrieveContexts + * @memberof google.cloud.aiplatform.v1.VertexRagService + * @instance + * @param {google.cloud.aiplatform.v1.IRetrieveContextsRequest} request RetrieveContextsRequest message or plain object + * @param {google.cloud.aiplatform.v1.VertexRagService.RetrieveContextsCallback} callback Node-style callback called with the error, if any, and RetrieveContextsResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(VertexRagService.prototype.retrieveContexts = function retrieveContexts(request, callback) { + return this.rpcCall(retrieveContexts, $root.google.cloud.aiplatform.v1.RetrieveContextsRequest, $root.google.cloud.aiplatform.v1.RetrieveContextsResponse, request, callback); + }, "name", { value: "RetrieveContexts" }); + + /** + * Calls RetrieveContexts. + * @function retrieveContexts + * @memberof google.cloud.aiplatform.v1.VertexRagService + * @instance + * @param {google.cloud.aiplatform.v1.IRetrieveContextsRequest} request RetrieveContextsRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.VertexRagService|augmentPrompt}. + * @memberof google.cloud.aiplatform.v1.VertexRagService + * @typedef AugmentPromptCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.cloud.aiplatform.v1.AugmentPromptResponse} [response] AugmentPromptResponse + */ + + /** + * Calls AugmentPrompt. + * @function augmentPrompt + * @memberof google.cloud.aiplatform.v1.VertexRagService + * @instance + * @param {google.cloud.aiplatform.v1.IAugmentPromptRequest} request AugmentPromptRequest message or plain object + * @param {google.cloud.aiplatform.v1.VertexRagService.AugmentPromptCallback} callback Node-style callback called with the error, if any, and AugmentPromptResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(VertexRagService.prototype.augmentPrompt = function augmentPrompt(request, callback) { + return this.rpcCall(augmentPrompt, $root.google.cloud.aiplatform.v1.AugmentPromptRequest, $root.google.cloud.aiplatform.v1.AugmentPromptResponse, request, callback); + }, "name", { value: "AugmentPrompt" }); + + /** + * Calls AugmentPrompt. + * @function augmentPrompt + * @memberof google.cloud.aiplatform.v1.VertexRagService + * @instance + * @param {google.cloud.aiplatform.v1.IAugmentPromptRequest} request AugmentPromptRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.VertexRagService|corroborateContent}. + * @memberof google.cloud.aiplatform.v1.VertexRagService + * @typedef CorroborateContentCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.cloud.aiplatform.v1.CorroborateContentResponse} [response] CorroborateContentResponse + */ + + /** + * Calls CorroborateContent. + * @function corroborateContent + * @memberof google.cloud.aiplatform.v1.VertexRagService + * @instance + * @param {google.cloud.aiplatform.v1.ICorroborateContentRequest} request CorroborateContentRequest message or plain object + * @param {google.cloud.aiplatform.v1.VertexRagService.CorroborateContentCallback} callback Node-style callback called with the error, if any, and CorroborateContentResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(VertexRagService.prototype.corroborateContent = function corroborateContent(request, callback) { + return this.rpcCall(corroborateContent, $root.google.cloud.aiplatform.v1.CorroborateContentRequest, $root.google.cloud.aiplatform.v1.CorroborateContentResponse, request, callback); + }, "name", { value: "CorroborateContent" }); + + /** + * Calls CorroborateContent. + * @function corroborateContent + * @memberof google.cloud.aiplatform.v1.VertexRagService + * @instance + * @param {google.cloud.aiplatform.v1.ICorroborateContentRequest} request CorroborateContentRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.VertexRagService|askContexts}. + * @memberof google.cloud.aiplatform.v1.VertexRagService + * @typedef AskContextsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.cloud.aiplatform.v1.AskContextsResponse} [response] AskContextsResponse + */ + + /** + * Calls AskContexts. + * @function askContexts + * @memberof google.cloud.aiplatform.v1.VertexRagService + * @instance + * @param {google.cloud.aiplatform.v1.IAskContextsRequest} request AskContextsRequest message or plain object + * @param {google.cloud.aiplatform.v1.VertexRagService.AskContextsCallback} callback Node-style callback called with the error, if any, and AskContextsResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(VertexRagService.prototype.askContexts = function askContexts(request, callback) { + return this.rpcCall(askContexts, $root.google.cloud.aiplatform.v1.AskContextsRequest, $root.google.cloud.aiplatform.v1.AskContextsResponse, request, callback); + }, "name", { value: "AskContexts" }); + + /** + * Calls AskContexts. + * @function askContexts + * @memberof google.cloud.aiplatform.v1.VertexRagService + * @instance + * @param {google.cloud.aiplatform.v1.IAskContextsRequest} request AskContextsRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1.VertexRagService|asyncRetrieveContexts}. + * @memberof google.cloud.aiplatform.v1.VertexRagService + * @typedef AsyncRetrieveContextsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.longrunning.Operation} [response] Operation + */ + + /** + * Calls AsyncRetrieveContexts. + * @function asyncRetrieveContexts + * @memberof google.cloud.aiplatform.v1.VertexRagService + * @instance + * @param {google.cloud.aiplatform.v1.IAsyncRetrieveContextsRequest} request AsyncRetrieveContextsRequest message or plain object + * @param {google.cloud.aiplatform.v1.VertexRagService.AsyncRetrieveContextsCallback} callback Node-style callback called with the error, if any, and Operation + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(VertexRagService.prototype.asyncRetrieveContexts = function asyncRetrieveContexts(request, callback) { + return this.rpcCall(asyncRetrieveContexts, $root.google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest, $root.google.longrunning.Operation, request, callback); + }, "name", { value: "AsyncRetrieveContexts" }); + + /** + * Calls AsyncRetrieveContexts. + * @function asyncRetrieveContexts + * @memberof google.cloud.aiplatform.v1.VertexRagService + * @instance + * @param {google.cloud.aiplatform.v1.IAsyncRetrieveContextsRequest} request AsyncRetrieveContextsRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + return VertexRagService; + })(); + + v1.RagQuery = (function() { + + /** + * Properties of a RagQuery. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents an UpdateRagCorpusOperationMetadata. - * @implements IUpdateRagCorpusOperationMetadata + * @interface IRagQuery + * @property {string|null} [text] RagQuery text + * @property {google.cloud.aiplatform.v1.IRagRetrievalConfig|null} [ragRetrievalConfig] RagQuery ragRetrievalConfig + */ + + /** + * Constructs a new RagQuery. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a RagQuery. + * @implements IRagQuery * @constructor - * @param {google.cloud.aiplatform.v1.IUpdateRagCorpusOperationMetadata=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IRagQuery=} [properties] Properties to set */ - function UpdateRagCorpusOperationMetadata(properties) { + function RagQuery(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -344497,77 +350679,105 @@ } /** - * UpdateRagCorpusOperationMetadata genericMetadata. - * @member {google.cloud.aiplatform.v1.IGenericOperationMetadata|null|undefined} genericMetadata - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * RagQuery text. + * @member {string|null|undefined} text + * @memberof google.cloud.aiplatform.v1.RagQuery * @instance */ - UpdateRagCorpusOperationMetadata.prototype.genericMetadata = null; + RagQuery.prototype.text = null; /** - * Creates a new UpdateRagCorpusOperationMetadata instance using the specified properties. + * RagQuery ragRetrievalConfig. + * @member {google.cloud.aiplatform.v1.IRagRetrievalConfig|null|undefined} ragRetrievalConfig + * @memberof google.cloud.aiplatform.v1.RagQuery + * @instance + */ + RagQuery.prototype.ragRetrievalConfig = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * RagQuery query. + * @member {"text"|undefined} query + * @memberof google.cloud.aiplatform.v1.RagQuery + * @instance + */ + Object.defineProperty(RagQuery.prototype, "query", { + get: $util.oneOfGetter($oneOfFields = ["text"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new RagQuery instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagQuery * @static - * @param {google.cloud.aiplatform.v1.IUpdateRagCorpusOperationMetadata=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata} UpdateRagCorpusOperationMetadata instance + * @param {google.cloud.aiplatform.v1.IRagQuery=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.RagQuery} RagQuery instance */ - UpdateRagCorpusOperationMetadata.create = function create(properties) { - return new UpdateRagCorpusOperationMetadata(properties); + RagQuery.create = function create(properties) { + return new RagQuery(properties); }; /** - * Encodes the specified UpdateRagCorpusOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata.verify|verify} messages. + * Encodes the specified RagQuery message. Does not implicitly {@link google.cloud.aiplatform.v1.RagQuery.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagQuery * @static - * @param {google.cloud.aiplatform.v1.IUpdateRagCorpusOperationMetadata} message UpdateRagCorpusOperationMetadata message or plain object to encode + * @param {google.cloud.aiplatform.v1.IRagQuery} message RagQuery message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - UpdateRagCorpusOperationMetadata.encode = function encode(message, writer) { + RagQuery.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(); + if (message.text != null && Object.hasOwnProperty.call(message, "text")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.text); + if (message.ragRetrievalConfig != null && Object.hasOwnProperty.call(message, "ragRetrievalConfig")) + $root.google.cloud.aiplatform.v1.RagRetrievalConfig.encode(message.ragRetrievalConfig, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); return writer; }; /** - * Encodes the specified UpdateRagCorpusOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata.verify|verify} messages. + * Encodes the specified RagQuery message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.RagQuery.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagQuery * @static - * @param {google.cloud.aiplatform.v1.IUpdateRagCorpusOperationMetadata} message UpdateRagCorpusOperationMetadata message or plain object to encode + * @param {google.cloud.aiplatform.v1.IRagQuery} message RagQuery message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - UpdateRagCorpusOperationMetadata.encodeDelimited = function encodeDelimited(message, writer) { + RagQuery.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes an UpdateRagCorpusOperationMetadata message from the specified reader or buffer. + * Decodes a RagQuery message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagQuery * @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.UpdateRagCorpusOperationMetadata} UpdateRagCorpusOperationMetadata + * @returns {google.cloud.aiplatform.v1.RagQuery} RagQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UpdateRagCorpusOperationMetadata.decode = function decode(reader, length, error) { + RagQuery.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.RagQuery(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.decode(reader, reader.uint32()); + message.text = reader.string(); + break; + } + case 6: { + message.ragRetrievalConfig = $root.google.cloud.aiplatform.v1.RagRetrievalConfig.decode(reader, reader.uint32()); break; } default: @@ -344579,130 +350789,142 @@ }; /** - * Decodes an UpdateRagCorpusOperationMetadata message from the specified reader or buffer, length delimited. + * Decodes a RagQuery message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagQuery * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata} UpdateRagCorpusOperationMetadata + * @returns {google.cloud.aiplatform.v1.RagQuery} RagQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UpdateRagCorpusOperationMetadata.decodeDelimited = function decodeDelimited(reader) { + RagQuery.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies an UpdateRagCorpusOperationMetadata message. + * Verifies a RagQuery message. * @function verify - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagQuery * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - UpdateRagCorpusOperationMetadata.verify = function verify(message) { + RagQuery.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); + var properties = {}; + if (message.text != null && message.hasOwnProperty("text")) { + properties.query = 1; + if (!$util.isString(message.text)) + return "text: string expected"; + } + if (message.ragRetrievalConfig != null && message.hasOwnProperty("ragRetrievalConfig")) { + var error = $root.google.cloud.aiplatform.v1.RagRetrievalConfig.verify(message.ragRetrievalConfig); if (error) - return "genericMetadata." + error; + return "ragRetrievalConfig." + error; } return null; }; /** - * Creates an UpdateRagCorpusOperationMetadata message from a plain object. Also converts values to their respective internal types. + * Creates a RagQuery message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagQuery * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata} UpdateRagCorpusOperationMetadata + * @returns {google.cloud.aiplatform.v1.RagQuery} RagQuery */ - UpdateRagCorpusOperationMetadata.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata) + RagQuery.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.RagQuery) return object; - var message = new $root.google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata(); - if (object.genericMetadata != null) { - if (typeof object.genericMetadata !== "object") - throw TypeError(".google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata.genericMetadata: object expected"); - message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.fromObject(object.genericMetadata); + var message = new $root.google.cloud.aiplatform.v1.RagQuery(); + if (object.text != null) + message.text = String(object.text); + if (object.ragRetrievalConfig != null) { + if (typeof object.ragRetrievalConfig !== "object") + throw TypeError(".google.cloud.aiplatform.v1.RagQuery.ragRetrievalConfig: object expected"); + message.ragRetrievalConfig = $root.google.cloud.aiplatform.v1.RagRetrievalConfig.fromObject(object.ragRetrievalConfig); } return message; }; /** - * Creates a plain object from an UpdateRagCorpusOperationMetadata message. Also converts values to other types if specified. + * Creates a plain object from a RagQuery message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagQuery * @static - * @param {google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata} message UpdateRagCorpusOperationMetadata + * @param {google.cloud.aiplatform.v1.RagQuery} message RagQuery * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - UpdateRagCorpusOperationMetadata.toObject = function toObject(message, options) { + RagQuery.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); + object.ragRetrievalConfig = null; + if (message.text != null && message.hasOwnProperty("text")) { + object.text = message.text; + if (options.oneofs) + object.query = "text"; + } + if (message.ragRetrievalConfig != null && message.hasOwnProperty("ragRetrievalConfig")) + object.ragRetrievalConfig = $root.google.cloud.aiplatform.v1.RagRetrievalConfig.toObject(message.ragRetrievalConfig, options); return object; }; /** - * Converts this UpdateRagCorpusOperationMetadata to JSON. + * Converts this RagQuery to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagQuery * @instance * @returns {Object.} JSON object */ - UpdateRagCorpusOperationMetadata.prototype.toJSON = function toJSON() { + RagQuery.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for UpdateRagCorpusOperationMetadata + * Gets the default type url for RagQuery * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagQuery * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - UpdateRagCorpusOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + RagQuery.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.UpdateRagCorpusOperationMetadata"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.RagQuery"; }; - return UpdateRagCorpusOperationMetadata; + return RagQuery; })(); - v1.ImportRagFilesOperationMetadata = (function() { + v1.RetrieveContextsRequest = (function() { /** - * Properties of an ImportRagFilesOperationMetadata. + * Properties of a RetrieveContextsRequest. * @memberof google.cloud.aiplatform.v1 - * @interface IImportRagFilesOperationMetadata - * @property {google.cloud.aiplatform.v1.IGenericOperationMetadata|null} [genericMetadata] ImportRagFilesOperationMetadata genericMetadata - * @property {number|Long|null} [ragCorpusId] ImportRagFilesOperationMetadata ragCorpusId - * @property {google.cloud.aiplatform.v1.IImportRagFilesConfig|null} [importRagFilesConfig] ImportRagFilesOperationMetadata importRagFilesConfig - * @property {number|null} [progressPercentage] ImportRagFilesOperationMetadata progressPercentage + * @interface IRetrieveContextsRequest + * @property {google.cloud.aiplatform.v1.RetrieveContextsRequest.IVertexRagStore|null} [vertexRagStore] RetrieveContextsRequest vertexRagStore + * @property {string|null} [parent] RetrieveContextsRequest parent + * @property {google.cloud.aiplatform.v1.IRagQuery|null} [query] RetrieveContextsRequest query */ /** - * Constructs a new ImportRagFilesOperationMetadata. + * Constructs a new RetrieveContextsRequest. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents an ImportRagFilesOperationMetadata. - * @implements IImportRagFilesOperationMetadata + * @classdesc Represents a RetrieveContextsRequest. + * @implements IRetrieveContextsRequest * @constructor - * @param {google.cloud.aiplatform.v1.IImportRagFilesOperationMetadata=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IRetrieveContextsRequest=} [properties] Properties to set */ - function ImportRagFilesOperationMetadata(properties) { + function RetrieveContextsRequest(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -344710,119 +350932,119 @@ } /** - * ImportRagFilesOperationMetadata genericMetadata. - * @member {google.cloud.aiplatform.v1.IGenericOperationMetadata|null|undefined} genericMetadata - * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * RetrieveContextsRequest vertexRagStore. + * @member {google.cloud.aiplatform.v1.RetrieveContextsRequest.IVertexRagStore|null|undefined} vertexRagStore + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest * @instance */ - ImportRagFilesOperationMetadata.prototype.genericMetadata = null; + RetrieveContextsRequest.prototype.vertexRagStore = null; /** - * ImportRagFilesOperationMetadata ragCorpusId. - * @member {number|Long} ragCorpusId - * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * RetrieveContextsRequest parent. + * @member {string} parent + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest * @instance */ - ImportRagFilesOperationMetadata.prototype.ragCorpusId = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + RetrieveContextsRequest.prototype.parent = ""; /** - * ImportRagFilesOperationMetadata importRagFilesConfig. - * @member {google.cloud.aiplatform.v1.IImportRagFilesConfig|null|undefined} importRagFilesConfig - * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * RetrieveContextsRequest query. + * @member {google.cloud.aiplatform.v1.IRagQuery|null|undefined} query + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest * @instance */ - ImportRagFilesOperationMetadata.prototype.importRagFilesConfig = null; + RetrieveContextsRequest.prototype.query = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; /** - * ImportRagFilesOperationMetadata progressPercentage. - * @member {number} progressPercentage - * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * RetrieveContextsRequest dataSource. + * @member {"vertexRagStore"|undefined} dataSource + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest * @instance */ - ImportRagFilesOperationMetadata.prototype.progressPercentage = 0; + Object.defineProperty(RetrieveContextsRequest.prototype, "dataSource", { + get: $util.oneOfGetter($oneOfFields = ["vertexRagStore"]), + set: $util.oneOfSetter($oneOfFields) + }); /** - * Creates a new ImportRagFilesOperationMetadata instance using the specified properties. + * Creates a new RetrieveContextsRequest instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest * @static - * @param {google.cloud.aiplatform.v1.IImportRagFilesOperationMetadata=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata} ImportRagFilesOperationMetadata instance + * @param {google.cloud.aiplatform.v1.IRetrieveContextsRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest} RetrieveContextsRequest instance */ - ImportRagFilesOperationMetadata.create = function create(properties) { - return new ImportRagFilesOperationMetadata(properties); + RetrieveContextsRequest.create = function create(properties) { + return new RetrieveContextsRequest(properties); }; /** - * Encodes the specified ImportRagFilesOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata.verify|verify} messages. + * Encodes the specified RetrieveContextsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.RetrieveContextsRequest.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest * @static - * @param {google.cloud.aiplatform.v1.IImportRagFilesOperationMetadata} message ImportRagFilesOperationMetadata message or plain object to encode + * @param {google.cloud.aiplatform.v1.IRetrieveContextsRequest} message RetrieveContextsRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ImportRagFilesOperationMetadata.encode = function encode(message, writer) { + RetrieveContextsRequest.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(); - if (message.ragCorpusId != null && Object.hasOwnProperty.call(message, "ragCorpusId")) - writer.uint32(/* id 2, wireType 0 =*/16).int64(message.ragCorpusId); - if (message.importRagFilesConfig != null && Object.hasOwnProperty.call(message, "importRagFilesConfig")) - $root.google.cloud.aiplatform.v1.ImportRagFilesConfig.encode(message.importRagFilesConfig, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.progressPercentage != null && Object.hasOwnProperty.call(message, "progressPercentage")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.progressPercentage); + if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent); + if (message.vertexRagStore != null && Object.hasOwnProperty.call(message, "vertexRagStore")) + $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.encode(message.vertexRagStore, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.query != null && Object.hasOwnProperty.call(message, "query")) + $root.google.cloud.aiplatform.v1.RagQuery.encode(message.query, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Encodes the specified ImportRagFilesOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata.verify|verify} messages. + * Encodes the specified RetrieveContextsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.RetrieveContextsRequest.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest * @static - * @param {google.cloud.aiplatform.v1.IImportRagFilesOperationMetadata} message ImportRagFilesOperationMetadata message or plain object to encode + * @param {google.cloud.aiplatform.v1.IRetrieveContextsRequest} message RetrieveContextsRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ImportRagFilesOperationMetadata.encodeDelimited = function encodeDelimited(message, writer) { + RetrieveContextsRequest.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes an ImportRagFilesOperationMetadata message from the specified reader or buffer. + * Decodes a RetrieveContextsRequest message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest * @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.ImportRagFilesOperationMetadata} ImportRagFilesOperationMetadata + * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest} RetrieveContextsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ImportRagFilesOperationMetadata.decode = function decode(reader, length, error) { + RetrieveContextsRequest.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.RetrieveContextsRequest(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { - case 1: { - message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.decode(reader, reader.uint32()); - break; - } case 2: { - message.ragCorpusId = reader.int64(); + message.vertexRagStore = $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.decode(reader, reader.uint32()); break; } - case 3: { - message.importRagFilesConfig = $root.google.cloud.aiplatform.v1.ImportRagFilesConfig.decode(reader, reader.uint32()); + case 1: { + message.parent = reader.string(); break; } - case 4: { - message.progressPercentage = reader.int32(); + case 3: { + message.query = $root.google.cloud.aiplatform.v1.RagQuery.decode(reader, reader.uint32()); break; } default: @@ -344834,381 +351056,664 @@ }; /** - * Decodes an ImportRagFilesOperationMetadata message from the specified reader or buffer, length delimited. + * Decodes a RetrieveContextsRequest message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata} ImportRagFilesOperationMetadata + * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest} RetrieveContextsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ImportRagFilesOperationMetadata.decodeDelimited = function decodeDelimited(reader) { + RetrieveContextsRequest.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies an ImportRagFilesOperationMetadata message. + * Verifies a RetrieveContextsRequest message. * @function verify - * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ImportRagFilesOperationMetadata.verify = function verify(message) { + RetrieveContextsRequest.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; + var properties = {}; + if (message.vertexRagStore != null && message.hasOwnProperty("vertexRagStore")) { + properties.dataSource = 1; + { + var error = $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.verify(message.vertexRagStore); + if (error) + return "vertexRagStore." + error; + } } - if (message.ragCorpusId != null && message.hasOwnProperty("ragCorpusId")) - if (!$util.isInteger(message.ragCorpusId) && !(message.ragCorpusId && $util.isInteger(message.ragCorpusId.low) && $util.isInteger(message.ragCorpusId.high))) - return "ragCorpusId: integer|Long expected"; - if (message.importRagFilesConfig != null && message.hasOwnProperty("importRagFilesConfig")) { - var error = $root.google.cloud.aiplatform.v1.ImportRagFilesConfig.verify(message.importRagFilesConfig); + if (message.parent != null && message.hasOwnProperty("parent")) + if (!$util.isString(message.parent)) + return "parent: string expected"; + if (message.query != null && message.hasOwnProperty("query")) { + var error = $root.google.cloud.aiplatform.v1.RagQuery.verify(message.query); if (error) - return "importRagFilesConfig." + error; + return "query." + error; } - if (message.progressPercentage != null && message.hasOwnProperty("progressPercentage")) - if (!$util.isInteger(message.progressPercentage)) - return "progressPercentage: integer expected"; return null; }; /** - * Creates an ImportRagFilesOperationMetadata message from a plain object. Also converts values to their respective internal types. + * Creates a RetrieveContextsRequest message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata} ImportRagFilesOperationMetadata + * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest} RetrieveContextsRequest */ - ImportRagFilesOperationMetadata.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata) + RetrieveContextsRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.RetrieveContextsRequest) return object; - var message = new $root.google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata(); - if (object.genericMetadata != null) { - if (typeof object.genericMetadata !== "object") - throw TypeError(".google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata.genericMetadata: object expected"); - message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.fromObject(object.genericMetadata); + var message = new $root.google.cloud.aiplatform.v1.RetrieveContextsRequest(); + if (object.vertexRagStore != null) { + if (typeof object.vertexRagStore !== "object") + throw TypeError(".google.cloud.aiplatform.v1.RetrieveContextsRequest.vertexRagStore: object expected"); + message.vertexRagStore = $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.fromObject(object.vertexRagStore); } - if (object.ragCorpusId != null) - if ($util.Long) - (message.ragCorpusId = $util.Long.fromValue(object.ragCorpusId)).unsigned = false; - else if (typeof object.ragCorpusId === "string") - message.ragCorpusId = parseInt(object.ragCorpusId, 10); - else if (typeof object.ragCorpusId === "number") - message.ragCorpusId = object.ragCorpusId; - else if (typeof object.ragCorpusId === "object") - message.ragCorpusId = new $util.LongBits(object.ragCorpusId.low >>> 0, object.ragCorpusId.high >>> 0).toNumber(); - if (object.importRagFilesConfig != null) { - if (typeof object.importRagFilesConfig !== "object") - throw TypeError(".google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata.importRagFilesConfig: object expected"); - message.importRagFilesConfig = $root.google.cloud.aiplatform.v1.ImportRagFilesConfig.fromObject(object.importRagFilesConfig); + if (object.parent != null) + message.parent = String(object.parent); + if (object.query != null) { + if (typeof object.query !== "object") + throw TypeError(".google.cloud.aiplatform.v1.RetrieveContextsRequest.query: object expected"); + message.query = $root.google.cloud.aiplatform.v1.RagQuery.fromObject(object.query); } - if (object.progressPercentage != null) - message.progressPercentage = object.progressPercentage | 0; return message; }; /** - * Creates a plain object from an ImportRagFilesOperationMetadata message. Also converts values to other types if specified. + * Creates a plain object from a RetrieveContextsRequest message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest * @static - * @param {google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata} message ImportRagFilesOperationMetadata + * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest} message RetrieveContextsRequest * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ImportRagFilesOperationMetadata.toObject = function toObject(message, options) { + RetrieveContextsRequest.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) { - object.genericMetadata = null; - if ($util.Long) { - var long = new $util.Long(0, 0, false); - object.ragCorpusId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.ragCorpusId = options.longs === String ? "0" : 0; - object.importRagFilesConfig = null; - object.progressPercentage = 0; + object.parent = ""; + object.query = null; } - if (message.genericMetadata != null && message.hasOwnProperty("genericMetadata")) - object.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.toObject(message.genericMetadata, options); - if (message.ragCorpusId != null && message.hasOwnProperty("ragCorpusId")) - if (typeof message.ragCorpusId === "number") - object.ragCorpusId = options.longs === String ? String(message.ragCorpusId) : message.ragCorpusId; - else - object.ragCorpusId = options.longs === String ? $util.Long.prototype.toString.call(message.ragCorpusId) : options.longs === Number ? new $util.LongBits(message.ragCorpusId.low >>> 0, message.ragCorpusId.high >>> 0).toNumber() : message.ragCorpusId; - if (message.importRagFilesConfig != null && message.hasOwnProperty("importRagFilesConfig")) - object.importRagFilesConfig = $root.google.cloud.aiplatform.v1.ImportRagFilesConfig.toObject(message.importRagFilesConfig, options); - if (message.progressPercentage != null && message.hasOwnProperty("progressPercentage")) - object.progressPercentage = message.progressPercentage; + if (message.parent != null && message.hasOwnProperty("parent")) + object.parent = message.parent; + if (message.vertexRagStore != null && message.hasOwnProperty("vertexRagStore")) { + object.vertexRagStore = $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.toObject(message.vertexRagStore, options); + if (options.oneofs) + object.dataSource = "vertexRagStore"; + } + if (message.query != null && message.hasOwnProperty("query")) + object.query = $root.google.cloud.aiplatform.v1.RagQuery.toObject(message.query, options); return object; }; /** - * Converts this ImportRagFilesOperationMetadata to JSON. + * Converts this RetrieveContextsRequest to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest * @instance * @returns {Object.} JSON object */ - ImportRagFilesOperationMetadata.prototype.toJSON = function toJSON() { + RetrieveContextsRequest.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ImportRagFilesOperationMetadata + * Gets the default type url for RetrieveContextsRequest * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - ImportRagFilesOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + RetrieveContextsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.RetrieveContextsRequest"; }; - return ImportRagFilesOperationMetadata; - })(); + RetrieveContextsRequest.VertexRagStore = (function() { - v1.UpdateRagEngineConfigRequest = (function() { + /** + * Properties of a VertexRagStore. + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest + * @interface IVertexRagStore + * @property {Array.|null} [ragResources] VertexRagStore ragResources + * @property {number|null} [vectorDistanceThreshold] VertexRagStore vectorDistanceThreshold + */ - /** - * Properties of an UpdateRagEngineConfigRequest. - * @memberof google.cloud.aiplatform.v1 - * @interface IUpdateRagEngineConfigRequest - * @property {google.cloud.aiplatform.v1.IRagEngineConfig|null} [ragEngineConfig] UpdateRagEngineConfigRequest ragEngineConfig - */ + /** + * Constructs a new VertexRagStore. + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest + * @classdesc Represents a VertexRagStore. + * @implements IVertexRagStore + * @constructor + * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.IVertexRagStore=} [properties] Properties to set + */ + function VertexRagStore(properties) { + this.ragResources = []; + 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]]; + } - /** - * Constructs a new UpdateRagEngineConfigRequest. - * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents an UpdateRagEngineConfigRequest. - * @implements IUpdateRagEngineConfigRequest - * @constructor - * @param {google.cloud.aiplatform.v1.IUpdateRagEngineConfigRequest=} [properties] Properties to set - */ - function UpdateRagEngineConfigRequest(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]]; - } + /** + * VertexRagStore ragResources. + * @member {Array.} ragResources + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @instance + */ + VertexRagStore.prototype.ragResources = $util.emptyArray; + + /** + * VertexRagStore vectorDistanceThreshold. + * @member {number|null|undefined} vectorDistanceThreshold + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @instance + */ + VertexRagStore.prototype.vectorDistanceThreshold = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + // Virtual OneOf for proto3 optional field + Object.defineProperty(VertexRagStore.prototype, "_vectorDistanceThreshold", { + get: $util.oneOfGetter($oneOfFields = ["vectorDistanceThreshold"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new VertexRagStore instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @static + * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.IVertexRagStore=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore} VertexRagStore instance + */ + VertexRagStore.create = function create(properties) { + return new VertexRagStore(properties); + }; + + /** + * Encodes the specified VertexRagStore message. Does not implicitly {@link google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @static + * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.IVertexRagStore} message VertexRagStore message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + VertexRagStore.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.vectorDistanceThreshold != null && Object.hasOwnProperty.call(message, "vectorDistanceThreshold")) + writer.uint32(/* id 2, wireType 1 =*/17).double(message.vectorDistanceThreshold); + if (message.ragResources != null && message.ragResources.length) + for (var i = 0; i < message.ragResources.length; ++i) + $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource.encode(message.ragResources[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified VertexRagStore message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @static + * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.IVertexRagStore} message VertexRagStore message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + VertexRagStore.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a VertexRagStore message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @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.RetrieveContextsRequest.VertexRagStore} VertexRagStore + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + VertexRagStore.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 3: { + if (!(message.ragResources && message.ragResources.length)) + message.ragResources = []; + message.ragResources.push($root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource.decode(reader, reader.uint32())); + break; + } + case 2: { + message.vectorDistanceThreshold = reader.double(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a VertexRagStore message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore} VertexRagStore + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + VertexRagStore.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a VertexRagStore message. + * @function verify + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + VertexRagStore.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.ragResources != null && message.hasOwnProperty("ragResources")) { + if (!Array.isArray(message.ragResources)) + return "ragResources: array expected"; + for (var i = 0; i < message.ragResources.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource.verify(message.ragResources[i]); + if (error) + return "ragResources." + error; + } + } + if (message.vectorDistanceThreshold != null && message.hasOwnProperty("vectorDistanceThreshold")) { + properties._vectorDistanceThreshold = 1; + if (typeof message.vectorDistanceThreshold !== "number") + return "vectorDistanceThreshold: number expected"; + } + return null; + }; + + /** + * Creates a VertexRagStore message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore} VertexRagStore + */ + VertexRagStore.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore) + return object; + var message = new $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore(); + if (object.ragResources) { + if (!Array.isArray(object.ragResources)) + throw TypeError(".google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.ragResources: array expected"); + message.ragResources = []; + for (var i = 0; i < object.ragResources.length; ++i) { + if (typeof object.ragResources[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.ragResources: object expected"); + message.ragResources[i] = $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource.fromObject(object.ragResources[i]); + } + } + if (object.vectorDistanceThreshold != null) + message.vectorDistanceThreshold = Number(object.vectorDistanceThreshold); + return message; + }; + + /** + * Creates a plain object from a VertexRagStore message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @static + * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore} message VertexRagStore + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + VertexRagStore.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.ragResources = []; + if (message.vectorDistanceThreshold != null && message.hasOwnProperty("vectorDistanceThreshold")) { + object.vectorDistanceThreshold = options.json && !isFinite(message.vectorDistanceThreshold) ? String(message.vectorDistanceThreshold) : message.vectorDistanceThreshold; + if (options.oneofs) + object._vectorDistanceThreshold = "vectorDistanceThreshold"; + } + if (message.ragResources && message.ragResources.length) { + object.ragResources = []; + for (var j = 0; j < message.ragResources.length; ++j) + object.ragResources[j] = $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource.toObject(message.ragResources[j], options); + } + return object; + }; + + /** + * Converts this VertexRagStore to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @instance + * @returns {Object.} JSON object + */ + VertexRagStore.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for VertexRagStore + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + VertexRagStore.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore"; + }; + + VertexRagStore.RagResource = (function() { + + /** + * Properties of a RagResource. + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @interface IRagResource + * @property {string|null} [ragCorpus] RagResource ragCorpus + * @property {Array.|null} [ragFileIds] RagResource ragFileIds + */ + + /** + * Constructs a new RagResource. + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @classdesc Represents a RagResource. + * @implements IRagResource + * @constructor + * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.IRagResource=} [properties] Properties to set + */ + function RagResource(properties) { + this.ragFileIds = []; + 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]]; + } + + /** + * RagResource ragCorpus. + * @member {string} ragCorpus + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource + * @instance + */ + RagResource.prototype.ragCorpus = ""; + + /** + * RagResource ragFileIds. + * @member {Array.} ragFileIds + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource + * @instance + */ + RagResource.prototype.ragFileIds = $util.emptyArray; + + /** + * Creates a new RagResource instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource + * @static + * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.IRagResource=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource} RagResource instance + */ + RagResource.create = function create(properties) { + return new RagResource(properties); + }; - /** - * UpdateRagEngineConfigRequest ragEngineConfig. - * @member {google.cloud.aiplatform.v1.IRagEngineConfig|null|undefined} ragEngineConfig - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest - * @instance - */ - UpdateRagEngineConfigRequest.prototype.ragEngineConfig = null; + /** + * Encodes the specified RagResource message. Does not implicitly {@link google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource + * @static + * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.IRagResource} message RagResource message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + RagResource.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.ragCorpus != null && Object.hasOwnProperty.call(message, "ragCorpus")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.ragCorpus); + if (message.ragFileIds != null && message.ragFileIds.length) + for (var i = 0; i < message.ragFileIds.length; ++i) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.ragFileIds[i]); + return writer; + }; - /** - * Creates a new UpdateRagEngineConfigRequest instance using the specified properties. - * @function create - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest - * @static - * @param {google.cloud.aiplatform.v1.IUpdateRagEngineConfigRequest=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest} UpdateRagEngineConfigRequest instance - */ - UpdateRagEngineConfigRequest.create = function create(properties) { - return new UpdateRagEngineConfigRequest(properties); - }; + /** + * Encodes the specified RagResource message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource + * @static + * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.IRagResource} message RagResource message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + RagResource.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; - /** - * Encodes the specified UpdateRagEngineConfigRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest.verify|verify} messages. - * @function encode - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest - * @static - * @param {google.cloud.aiplatform.v1.IUpdateRagEngineConfigRequest} message UpdateRagEngineConfigRequest message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - UpdateRagEngineConfigRequest.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.ragEngineConfig != null && Object.hasOwnProperty.call(message, "ragEngineConfig")) - $root.google.cloud.aiplatform.v1.RagEngineConfig.encode(message.ragEngineConfig, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - return writer; - }; + /** + * Decodes a RagResource message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource + * @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.RetrieveContextsRequest.VertexRagStore.RagResource} RagResource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + RagResource.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.ragCorpus = reader.string(); + break; + } + case 2: { + if (!(message.ragFileIds && message.ragFileIds.length)) + message.ragFileIds = []; + message.ragFileIds.push(reader.string()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; - /** - * Encodes the specified UpdateRagEngineConfigRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest - * @static - * @param {google.cloud.aiplatform.v1.IUpdateRagEngineConfigRequest} message UpdateRagEngineConfigRequest message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - UpdateRagEngineConfigRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; + /** + * Decodes a RagResource message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource} RagResource + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + RagResource.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; - /** - * Decodes an UpdateRagEngineConfigRequest message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest - * @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.UpdateRagEngineConfigRequest} UpdateRagEngineConfigRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - UpdateRagEngineConfigRequest.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.ragEngineConfig = $root.google.cloud.aiplatform.v1.RagEngineConfig.decode(reader, reader.uint32()); - break; + /** + * Verifies a RagResource message. + * @function verify + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + RagResource.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.ragCorpus != null && message.hasOwnProperty("ragCorpus")) + if (!$util.isString(message.ragCorpus)) + return "ragCorpus: string expected"; + if (message.ragFileIds != null && message.hasOwnProperty("ragFileIds")) { + if (!Array.isArray(message.ragFileIds)) + return "ragFileIds: array expected"; + for (var i = 0; i < message.ragFileIds.length; ++i) + if (!$util.isString(message.ragFileIds[i])) + return "ragFileIds: string[] expected"; } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; + return null; + }; - /** - * Decodes an UpdateRagEngineConfigRequest message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest} UpdateRagEngineConfigRequest - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - UpdateRagEngineConfigRequest.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; + /** + * Creates a RagResource message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource} RagResource + */ + RagResource.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource) + return object; + var message = new $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource(); + if (object.ragCorpus != null) + message.ragCorpus = String(object.ragCorpus); + if (object.ragFileIds) { + if (!Array.isArray(object.ragFileIds)) + throw TypeError(".google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource.ragFileIds: array expected"); + message.ragFileIds = []; + for (var i = 0; i < object.ragFileIds.length; ++i) + message.ragFileIds[i] = String(object.ragFileIds[i]); + } + return message; + }; - /** - * Verifies an UpdateRagEngineConfigRequest message. - * @function verify - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - UpdateRagEngineConfigRequest.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.ragEngineConfig != null && message.hasOwnProperty("ragEngineConfig")) { - var error = $root.google.cloud.aiplatform.v1.RagEngineConfig.verify(message.ragEngineConfig); - if (error) - return "ragEngineConfig." + error; - } - return null; - }; + /** + * Creates a plain object from a RagResource message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource + * @static + * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource} message RagResource + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + RagResource.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.ragFileIds = []; + if (options.defaults) + object.ragCorpus = ""; + if (message.ragCorpus != null && message.hasOwnProperty("ragCorpus")) + object.ragCorpus = message.ragCorpus; + if (message.ragFileIds && message.ragFileIds.length) { + object.ragFileIds = []; + for (var j = 0; j < message.ragFileIds.length; ++j) + object.ragFileIds[j] = message.ragFileIds[j]; + } + return object; + }; - /** - * Creates an UpdateRagEngineConfigRequest message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest} UpdateRagEngineConfigRequest - */ - UpdateRagEngineConfigRequest.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest) - return object; - var message = new $root.google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest(); - if (object.ragEngineConfig != null) { - if (typeof object.ragEngineConfig !== "object") - throw TypeError(".google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest.ragEngineConfig: object expected"); - message.ragEngineConfig = $root.google.cloud.aiplatform.v1.RagEngineConfig.fromObject(object.ragEngineConfig); - } - return message; - }; + /** + * Converts this RagResource to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource + * @instance + * @returns {Object.} JSON object + */ + RagResource.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; - /** - * Creates a plain object from an UpdateRagEngineConfigRequest message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest - * @static - * @param {google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest} message UpdateRagEngineConfigRequest - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - UpdateRagEngineConfigRequest.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) - object.ragEngineConfig = null; - if (message.ragEngineConfig != null && message.hasOwnProperty("ragEngineConfig")) - object.ragEngineConfig = $root.google.cloud.aiplatform.v1.RagEngineConfig.toObject(message.ragEngineConfig, options); - return object; - }; + /** + * Gets the default type url for RagResource + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + RagResource.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource"; + }; - /** - * Converts this UpdateRagEngineConfigRequest to JSON. - * @function toJSON - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest - * @instance - * @returns {Object.} JSON object - */ - UpdateRagEngineConfigRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; + return RagResource; + })(); - /** - * Gets the default type url for UpdateRagEngineConfigRequest - * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - UpdateRagEngineConfigRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest"; - }; + return VertexRagStore; + })(); - return UpdateRagEngineConfigRequest; + return RetrieveContextsRequest; })(); - v1.UpdateRagEngineConfigOperationMetadata = (function() { + v1.RagContexts = (function() { /** - * Properties of an UpdateRagEngineConfigOperationMetadata. + * Properties of a RagContexts. * @memberof google.cloud.aiplatform.v1 - * @interface IUpdateRagEngineConfigOperationMetadata - * @property {google.cloud.aiplatform.v1.IGenericOperationMetadata|null} [genericMetadata] UpdateRagEngineConfigOperationMetadata genericMetadata + * @interface IRagContexts + * @property {Array.|null} [contexts] RagContexts contexts */ /** - * Constructs a new UpdateRagEngineConfigOperationMetadata. + * Constructs a new RagContexts. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents an UpdateRagEngineConfigOperationMetadata. - * @implements IUpdateRagEngineConfigOperationMetadata + * @classdesc Represents a RagContexts. + * @implements IRagContexts * @constructor - * @param {google.cloud.aiplatform.v1.IUpdateRagEngineConfigOperationMetadata=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IRagContexts=} [properties] Properties to set */ - function UpdateRagEngineConfigOperationMetadata(properties) { + function RagContexts(properties) { + this.contexts = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -345216,77 +351721,80 @@ } /** - * UpdateRagEngineConfigOperationMetadata genericMetadata. - * @member {google.cloud.aiplatform.v1.IGenericOperationMetadata|null|undefined} genericMetadata - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata + * RagContexts contexts. + * @member {Array.} contexts + * @memberof google.cloud.aiplatform.v1.RagContexts * @instance */ - UpdateRagEngineConfigOperationMetadata.prototype.genericMetadata = null; + RagContexts.prototype.contexts = $util.emptyArray; /** - * Creates a new UpdateRagEngineConfigOperationMetadata instance using the specified properties. + * Creates a new RagContexts instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagContexts * @static - * @param {google.cloud.aiplatform.v1.IUpdateRagEngineConfigOperationMetadata=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata} UpdateRagEngineConfigOperationMetadata instance + * @param {google.cloud.aiplatform.v1.IRagContexts=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.RagContexts} RagContexts instance */ - UpdateRagEngineConfigOperationMetadata.create = function create(properties) { - return new UpdateRagEngineConfigOperationMetadata(properties); + RagContexts.create = function create(properties) { + return new RagContexts(properties); }; /** - * Encodes the specified UpdateRagEngineConfigOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata.verify|verify} messages. + * Encodes the specified RagContexts message. Does not implicitly {@link google.cloud.aiplatform.v1.RagContexts.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagContexts * @static - * @param {google.cloud.aiplatform.v1.IUpdateRagEngineConfigOperationMetadata} message UpdateRagEngineConfigOperationMetadata message or plain object to encode + * @param {google.cloud.aiplatform.v1.IRagContexts} message RagContexts message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - UpdateRagEngineConfigOperationMetadata.encode = function encode(message, writer) { + RagContexts.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(); + if (message.contexts != null && message.contexts.length) + for (var i = 0; i < message.contexts.length; ++i) + $root.google.cloud.aiplatform.v1.RagContexts.Context.encode(message.contexts[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Encodes the specified UpdateRagEngineConfigOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata.verify|verify} messages. + * Encodes the specified RagContexts message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.RagContexts.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagContexts * @static - * @param {google.cloud.aiplatform.v1.IUpdateRagEngineConfigOperationMetadata} message UpdateRagEngineConfigOperationMetadata message or plain object to encode + * @param {google.cloud.aiplatform.v1.IRagContexts} message RagContexts message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - UpdateRagEngineConfigOperationMetadata.encodeDelimited = function encodeDelimited(message, writer) { + RagContexts.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes an UpdateRagEngineConfigOperationMetadata message from the specified reader or buffer. + * Decodes a RagContexts message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagContexts * @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.UpdateRagEngineConfigOperationMetadata} UpdateRagEngineConfigOperationMetadata + * @returns {google.cloud.aiplatform.v1.RagContexts} RagContexts * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UpdateRagEngineConfigOperationMetadata.decode = function decode(reader, length, error) { + RagContexts.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.RagContexts(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.decode(reader, reader.uint32()); + if (!(message.contexts && message.contexts.length)) + message.contexts = []; + message.contexts.push($root.google.cloud.aiplatform.v1.RagContexts.Context.decode(reader, reader.uint32())); break; } default: @@ -345298,262 +351806,456 @@ }; /** - * Decodes an UpdateRagEngineConfigOperationMetadata message from the specified reader or buffer, length delimited. + * Decodes a RagContexts message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagContexts * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata} UpdateRagEngineConfigOperationMetadata + * @returns {google.cloud.aiplatform.v1.RagContexts} RagContexts * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UpdateRagEngineConfigOperationMetadata.decodeDelimited = function decodeDelimited(reader) { + RagContexts.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies an UpdateRagEngineConfigOperationMetadata message. + * Verifies a RagContexts message. * @function verify - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagContexts * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - UpdateRagEngineConfigOperationMetadata.verify = function verify(message) { + RagContexts.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; + if (message.contexts != null && message.hasOwnProperty("contexts")) { + if (!Array.isArray(message.contexts)) + return "contexts: array expected"; + for (var i = 0; i < message.contexts.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.RagContexts.Context.verify(message.contexts[i]); + if (error) + return "contexts." + error; + } } return null; }; /** - * Creates an UpdateRagEngineConfigOperationMetadata message from a plain object. Also converts values to their respective internal types. + * Creates a RagContexts message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagContexts * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata} UpdateRagEngineConfigOperationMetadata + * @returns {google.cloud.aiplatform.v1.RagContexts} RagContexts */ - UpdateRagEngineConfigOperationMetadata.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata) + RagContexts.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.RagContexts) return object; - var message = new $root.google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata(); - if (object.genericMetadata != null) { - if (typeof object.genericMetadata !== "object") - throw TypeError(".google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata.genericMetadata: object expected"); - message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.fromObject(object.genericMetadata); + var message = new $root.google.cloud.aiplatform.v1.RagContexts(); + if (object.contexts) { + if (!Array.isArray(object.contexts)) + throw TypeError(".google.cloud.aiplatform.v1.RagContexts.contexts: array expected"); + message.contexts = []; + for (var i = 0; i < object.contexts.length; ++i) { + if (typeof object.contexts[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.RagContexts.contexts: object expected"); + message.contexts[i] = $root.google.cloud.aiplatform.v1.RagContexts.Context.fromObject(object.contexts[i]); + } } return message; }; /** - * Creates a plain object from an UpdateRagEngineConfigOperationMetadata message. Also converts values to other types if specified. + * Creates a plain object from a RagContexts message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagContexts * @static - * @param {google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata} message UpdateRagEngineConfigOperationMetadata + * @param {google.cloud.aiplatform.v1.RagContexts} message RagContexts * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - UpdateRagEngineConfigOperationMetadata.toObject = function toObject(message, options) { + RagContexts.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); + if (options.arrays || options.defaults) + object.contexts = []; + if (message.contexts && message.contexts.length) { + object.contexts = []; + for (var j = 0; j < message.contexts.length; ++j) + object.contexts[j] = $root.google.cloud.aiplatform.v1.RagContexts.Context.toObject(message.contexts[j], options); + } return object; }; /** - * Converts this UpdateRagEngineConfigOperationMetadata to JSON. + * Converts this RagContexts to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagContexts * @instance * @returns {Object.} JSON object */ - UpdateRagEngineConfigOperationMetadata.prototype.toJSON = function toJSON() { + RagContexts.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for UpdateRagEngineConfigOperationMetadata + * Gets the default type url for RagContexts * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata + * @memberof google.cloud.aiplatform.v1.RagContexts * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - UpdateRagEngineConfigOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + RagContexts.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.UpdateRagEngineConfigOperationMetadata"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.RagContexts"; }; - return UpdateRagEngineConfigOperationMetadata; - })(); + RagContexts.Context = (function() { - v1.VertexRagService = (function() { + /** + * Properties of a Context. + * @memberof google.cloud.aiplatform.v1.RagContexts + * @interface IContext + * @property {string|null} [sourceUri] Context sourceUri + * @property {string|null} [sourceDisplayName] Context sourceDisplayName + * @property {string|null} [text] Context text + * @property {number|null} [score] Context score + * @property {google.cloud.aiplatform.v1.IRagChunk|null} [chunk] Context chunk + */ - /** - * Constructs a new VertexRagService service. - * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a VertexRagService - * @extends $protobuf.rpc.Service - * @constructor - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - */ - function VertexRagService(rpcImpl, requestDelimited, responseDelimited) { - $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); - } + /** + * Constructs a new Context. + * @memberof google.cloud.aiplatform.v1.RagContexts + * @classdesc Represents a Context. + * @implements IContext + * @constructor + * @param {google.cloud.aiplatform.v1.RagContexts.IContext=} [properties] Properties to set + */ + function Context(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]]; + } - (VertexRagService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = VertexRagService; + /** + * Context sourceUri. + * @member {string} sourceUri + * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @instance + */ + Context.prototype.sourceUri = ""; - /** - * Creates new VertexRagService service using the specified rpc implementation. - * @function create - * @memberof google.cloud.aiplatform.v1.VertexRagService - * @static - * @param {$protobuf.RPCImpl} rpcImpl RPC implementation - * @param {boolean} [requestDelimited=false] Whether requests are length-delimited - * @param {boolean} [responseDelimited=false] Whether responses are length-delimited - * @returns {VertexRagService} RPC service. Useful where requests and/or responses are streamed. - */ - VertexRagService.create = function create(rpcImpl, requestDelimited, responseDelimited) { - return new this(rpcImpl, requestDelimited, responseDelimited); - }; + /** + * Context sourceDisplayName. + * @member {string} sourceDisplayName + * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @instance + */ + Context.prototype.sourceDisplayName = ""; - /** - * Callback as used by {@link google.cloud.aiplatform.v1.VertexRagService|retrieveContexts}. - * @memberof google.cloud.aiplatform.v1.VertexRagService - * @typedef RetrieveContextsCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {google.cloud.aiplatform.v1.RetrieveContextsResponse} [response] RetrieveContextsResponse - */ + /** + * Context text. + * @member {string} text + * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @instance + */ + Context.prototype.text = ""; - /** - * Calls RetrieveContexts. - * @function retrieveContexts - * @memberof google.cloud.aiplatform.v1.VertexRagService - * @instance - * @param {google.cloud.aiplatform.v1.IRetrieveContextsRequest} request RetrieveContextsRequest message or plain object - * @param {google.cloud.aiplatform.v1.VertexRagService.RetrieveContextsCallback} callback Node-style callback called with the error, if any, and RetrieveContextsResponse - * @returns {undefined} - * @variation 1 - */ - Object.defineProperty(VertexRagService.prototype.retrieveContexts = function retrieveContexts(request, callback) { - return this.rpcCall(retrieveContexts, $root.google.cloud.aiplatform.v1.RetrieveContextsRequest, $root.google.cloud.aiplatform.v1.RetrieveContextsResponse, request, callback); - }, "name", { value: "RetrieveContexts" }); + /** + * Context score. + * @member {number|null|undefined} score + * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @instance + */ + Context.prototype.score = null; - /** - * Calls RetrieveContexts. - * @function retrieveContexts - * @memberof google.cloud.aiplatform.v1.VertexRagService - * @instance - * @param {google.cloud.aiplatform.v1.IRetrieveContextsRequest} request RetrieveContextsRequest message or plain object - * @returns {Promise} Promise - * @variation 2 - */ + /** + * Context chunk. + * @member {google.cloud.aiplatform.v1.IRagChunk|null|undefined} chunk + * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @instance + */ + Context.prototype.chunk = null; - /** - * Callback as used by {@link google.cloud.aiplatform.v1.VertexRagService|augmentPrompt}. - * @memberof google.cloud.aiplatform.v1.VertexRagService - * @typedef AugmentPromptCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {google.cloud.aiplatform.v1.AugmentPromptResponse} [response] AugmentPromptResponse - */ + // OneOf field names bound to virtual getters and setters + var $oneOfFields; - /** - * Calls AugmentPrompt. - * @function augmentPrompt - * @memberof google.cloud.aiplatform.v1.VertexRagService - * @instance - * @param {google.cloud.aiplatform.v1.IAugmentPromptRequest} request AugmentPromptRequest message or plain object - * @param {google.cloud.aiplatform.v1.VertexRagService.AugmentPromptCallback} callback Node-style callback called with the error, if any, and AugmentPromptResponse - * @returns {undefined} - * @variation 1 - */ - Object.defineProperty(VertexRagService.prototype.augmentPrompt = function augmentPrompt(request, callback) { - return this.rpcCall(augmentPrompt, $root.google.cloud.aiplatform.v1.AugmentPromptRequest, $root.google.cloud.aiplatform.v1.AugmentPromptResponse, request, callback); - }, "name", { value: "AugmentPrompt" }); + // Virtual OneOf for proto3 optional field + Object.defineProperty(Context.prototype, "_score", { + get: $util.oneOfGetter($oneOfFields = ["score"]), + set: $util.oneOfSetter($oneOfFields) + }); - /** - * Calls AugmentPrompt. - * @function augmentPrompt - * @memberof google.cloud.aiplatform.v1.VertexRagService - * @instance - * @param {google.cloud.aiplatform.v1.IAugmentPromptRequest} request AugmentPromptRequest message or plain object - * @returns {Promise} Promise - * @variation 2 - */ + /** + * Creates a new Context instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @static + * @param {google.cloud.aiplatform.v1.RagContexts.IContext=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.RagContexts.Context} Context instance + */ + Context.create = function create(properties) { + return new Context(properties); + }; - /** - * Callback as used by {@link google.cloud.aiplatform.v1.VertexRagService|corroborateContent}. - * @memberof google.cloud.aiplatform.v1.VertexRagService - * @typedef CorroborateContentCallback - * @type {function} - * @param {Error|null} error Error, if any - * @param {google.cloud.aiplatform.v1.CorroborateContentResponse} [response] CorroborateContentResponse - */ + /** + * Encodes the specified Context message. Does not implicitly {@link google.cloud.aiplatform.v1.RagContexts.Context.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @static + * @param {google.cloud.aiplatform.v1.RagContexts.IContext} message Context message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Context.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.sourceUri != null && Object.hasOwnProperty.call(message, "sourceUri")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.sourceUri); + if (message.text != null && Object.hasOwnProperty.call(message, "text")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.text); + if (message.sourceDisplayName != null && Object.hasOwnProperty.call(message, "sourceDisplayName")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.sourceDisplayName); + if (message.score != null && Object.hasOwnProperty.call(message, "score")) + writer.uint32(/* id 6, wireType 1 =*/49).double(message.score); + if (message.chunk != null && Object.hasOwnProperty.call(message, "chunk")) + $root.google.cloud.aiplatform.v1.RagChunk.encode(message.chunk, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + return writer; + }; - /** - * Calls CorroborateContent. - * @function corroborateContent - * @memberof google.cloud.aiplatform.v1.VertexRagService - * @instance - * @param {google.cloud.aiplatform.v1.ICorroborateContentRequest} request CorroborateContentRequest message or plain object - * @param {google.cloud.aiplatform.v1.VertexRagService.CorroborateContentCallback} callback Node-style callback called with the error, if any, and CorroborateContentResponse - * @returns {undefined} - * @variation 1 - */ - Object.defineProperty(VertexRagService.prototype.corroborateContent = function corroborateContent(request, callback) { - return this.rpcCall(corroborateContent, $root.google.cloud.aiplatform.v1.CorroborateContentRequest, $root.google.cloud.aiplatform.v1.CorroborateContentResponse, request, callback); - }, "name", { value: "CorroborateContent" }); + /** + * Encodes the specified Context message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.RagContexts.Context.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @static + * @param {google.cloud.aiplatform.v1.RagContexts.IContext} message Context message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Context.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; - /** - * Calls CorroborateContent. - * @function corroborateContent - * @memberof google.cloud.aiplatform.v1.VertexRagService - * @instance - * @param {google.cloud.aiplatform.v1.ICorroborateContentRequest} request CorroborateContentRequest message or plain object - * @returns {Promise} Promise - * @variation 2 - */ + /** + * Decodes a Context message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @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.RagContexts.Context} Context + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Context.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.RagContexts.Context(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.sourceUri = reader.string(); + break; + } + case 5: { + message.sourceDisplayName = reader.string(); + break; + } + case 2: { + message.text = reader.string(); + break; + } + case 6: { + message.score = reader.double(); + break; + } + case 7: { + message.chunk = $root.google.cloud.aiplatform.v1.RagChunk.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; - return VertexRagService; + /** + * Decodes a Context message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.RagContexts.Context} Context + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Context.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a Context message. + * @function verify + * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Context.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.sourceUri != null && message.hasOwnProperty("sourceUri")) + if (!$util.isString(message.sourceUri)) + return "sourceUri: string expected"; + if (message.sourceDisplayName != null && message.hasOwnProperty("sourceDisplayName")) + if (!$util.isString(message.sourceDisplayName)) + return "sourceDisplayName: string expected"; + if (message.text != null && message.hasOwnProperty("text")) + if (!$util.isString(message.text)) + return "text: string expected"; + if (message.score != null && message.hasOwnProperty("score")) { + properties._score = 1; + if (typeof message.score !== "number") + return "score: number expected"; + } + if (message.chunk != null && message.hasOwnProperty("chunk")) { + var error = $root.google.cloud.aiplatform.v1.RagChunk.verify(message.chunk); + if (error) + return "chunk." + error; + } + return null; + }; + + /** + * Creates a Context message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.RagContexts.Context} Context + */ + Context.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.RagContexts.Context) + return object; + var message = new $root.google.cloud.aiplatform.v1.RagContexts.Context(); + if (object.sourceUri != null) + message.sourceUri = String(object.sourceUri); + if (object.sourceDisplayName != null) + message.sourceDisplayName = String(object.sourceDisplayName); + if (object.text != null) + message.text = String(object.text); + if (object.score != null) + message.score = Number(object.score); + if (object.chunk != null) { + if (typeof object.chunk !== "object") + throw TypeError(".google.cloud.aiplatform.v1.RagContexts.Context.chunk: object expected"); + message.chunk = $root.google.cloud.aiplatform.v1.RagChunk.fromObject(object.chunk); + } + return message; + }; + + /** + * Creates a plain object from a Context message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @static + * @param {google.cloud.aiplatform.v1.RagContexts.Context} message Context + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + Context.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.sourceUri = ""; + object.text = ""; + object.sourceDisplayName = ""; + object.chunk = null; + } + if (message.sourceUri != null && message.hasOwnProperty("sourceUri")) + object.sourceUri = message.sourceUri; + if (message.text != null && message.hasOwnProperty("text")) + object.text = message.text; + if (message.sourceDisplayName != null && message.hasOwnProperty("sourceDisplayName")) + object.sourceDisplayName = message.sourceDisplayName; + if (message.score != null && message.hasOwnProperty("score")) { + object.score = options.json && !isFinite(message.score) ? String(message.score) : message.score; + if (options.oneofs) + object._score = "score"; + } + if (message.chunk != null && message.hasOwnProperty("chunk")) + object.chunk = $root.google.cloud.aiplatform.v1.RagChunk.toObject(message.chunk, options); + return object; + }; + + /** + * Converts this Context to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @instance + * @returns {Object.} JSON object + */ + Context.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for Context + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Context.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.RagContexts.Context"; + }; + + return Context; + })(); + + return RagContexts; })(); - v1.RagQuery = (function() { + v1.RetrieveContextsResponse = (function() { /** - * Properties of a RagQuery. + * Properties of a RetrieveContextsResponse. * @memberof google.cloud.aiplatform.v1 - * @interface IRagQuery - * @property {string|null} [text] RagQuery text - * @property {google.cloud.aiplatform.v1.IRagRetrievalConfig|null} [ragRetrievalConfig] RagQuery ragRetrievalConfig + * @interface IRetrieveContextsResponse + * @property {google.cloud.aiplatform.v1.IRagContexts|null} [contexts] RetrieveContextsResponse contexts */ /** - * Constructs a new RagQuery. + * Constructs a new RetrieveContextsResponse. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a RagQuery. - * @implements IRagQuery + * @classdesc Represents a RetrieveContextsResponse. + * @implements IRetrieveContextsResponse * @constructor - * @param {google.cloud.aiplatform.v1.IRagQuery=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IRetrieveContextsResponse=} [properties] Properties to set */ - function RagQuery(properties) { + function RetrieveContextsResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -345561,105 +352263,77 @@ } /** - * RagQuery text. - * @member {string|null|undefined} text - * @memberof google.cloud.aiplatform.v1.RagQuery - * @instance - */ - RagQuery.prototype.text = null; - - /** - * RagQuery ragRetrievalConfig. - * @member {google.cloud.aiplatform.v1.IRagRetrievalConfig|null|undefined} ragRetrievalConfig - * @memberof google.cloud.aiplatform.v1.RagQuery - * @instance - */ - RagQuery.prototype.ragRetrievalConfig = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - /** - * RagQuery query. - * @member {"text"|undefined} query - * @memberof google.cloud.aiplatform.v1.RagQuery + * RetrieveContextsResponse contexts. + * @member {google.cloud.aiplatform.v1.IRagContexts|null|undefined} contexts + * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse * @instance */ - Object.defineProperty(RagQuery.prototype, "query", { - get: $util.oneOfGetter($oneOfFields = ["text"]), - set: $util.oneOfSetter($oneOfFields) - }); + RetrieveContextsResponse.prototype.contexts = null; /** - * Creates a new RagQuery instance using the specified properties. + * Creates a new RetrieveContextsResponse instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.RagQuery + * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse * @static - * @param {google.cloud.aiplatform.v1.IRagQuery=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.RagQuery} RagQuery instance + * @param {google.cloud.aiplatform.v1.IRetrieveContextsResponse=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.RetrieveContextsResponse} RetrieveContextsResponse instance */ - RagQuery.create = function create(properties) { - return new RagQuery(properties); + RetrieveContextsResponse.create = function create(properties) { + return new RetrieveContextsResponse(properties); }; /** - * Encodes the specified RagQuery message. Does not implicitly {@link google.cloud.aiplatform.v1.RagQuery.verify|verify} messages. + * Encodes the specified RetrieveContextsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.RetrieveContextsResponse.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.RagQuery + * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse * @static - * @param {google.cloud.aiplatform.v1.IRagQuery} message RagQuery message or plain object to encode + * @param {google.cloud.aiplatform.v1.IRetrieveContextsResponse} message RetrieveContextsResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - RagQuery.encode = function encode(message, writer) { + RetrieveContextsResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.text != null && Object.hasOwnProperty.call(message, "text")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.text); - if (message.ragRetrievalConfig != null && Object.hasOwnProperty.call(message, "ragRetrievalConfig")) - $root.google.cloud.aiplatform.v1.RagRetrievalConfig.encode(message.ragRetrievalConfig, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + if (message.contexts != null && Object.hasOwnProperty.call(message, "contexts")) + $root.google.cloud.aiplatform.v1.RagContexts.encode(message.contexts, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); return writer; }; /** - * Encodes the specified RagQuery message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.RagQuery.verify|verify} messages. + * Encodes the specified RetrieveContextsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.RetrieveContextsResponse.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.RagQuery + * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse * @static - * @param {google.cloud.aiplatform.v1.IRagQuery} message RagQuery message or plain object to encode + * @param {google.cloud.aiplatform.v1.IRetrieveContextsResponse} message RetrieveContextsResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - RagQuery.encodeDelimited = function encodeDelimited(message, writer) { + RetrieveContextsResponse.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a RagQuery message from the specified reader or buffer. + * Decodes a RetrieveContextsResponse message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.RagQuery + * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse * @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.RagQuery} RagQuery + * @returns {google.cloud.aiplatform.v1.RetrieveContextsResponse} RetrieveContextsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - RagQuery.decode = function decode(reader, length, error) { + RetrieveContextsResponse.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.RagQuery(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.RetrieveContextsResponse(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.text = reader.string(); - break; - } - case 6: { - message.ragRetrievalConfig = $root.google.cloud.aiplatform.v1.RagRetrievalConfig.decode(reader, reader.uint32()); + message.contexts = $root.google.cloud.aiplatform.v1.RagContexts.decode(reader, reader.uint32()); break; } default: @@ -345671,142 +352345,131 @@ }; /** - * Decodes a RagQuery message from the specified reader or buffer, length delimited. + * Decodes a RetrieveContextsResponse message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.RagQuery + * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.RagQuery} RagQuery + * @returns {google.cloud.aiplatform.v1.RetrieveContextsResponse} RetrieveContextsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - RagQuery.decodeDelimited = function decodeDelimited(reader) { + RetrieveContextsResponse.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a RagQuery message. + * Verifies a RetrieveContextsResponse message. * @function verify - * @memberof google.cloud.aiplatform.v1.RagQuery + * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - RagQuery.verify = function verify(message) { + RetrieveContextsResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.text != null && message.hasOwnProperty("text")) { - properties.query = 1; - if (!$util.isString(message.text)) - return "text: string expected"; - } - if (message.ragRetrievalConfig != null && message.hasOwnProperty("ragRetrievalConfig")) { - var error = $root.google.cloud.aiplatform.v1.RagRetrievalConfig.verify(message.ragRetrievalConfig); + if (message.contexts != null && message.hasOwnProperty("contexts")) { + var error = $root.google.cloud.aiplatform.v1.RagContexts.verify(message.contexts); if (error) - return "ragRetrievalConfig." + error; + return "contexts." + error; } return null; }; /** - * Creates a RagQuery message from a plain object. Also converts values to their respective internal types. + * Creates a RetrieveContextsResponse message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.RagQuery + * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.RagQuery} RagQuery + * @returns {google.cloud.aiplatform.v1.RetrieveContextsResponse} RetrieveContextsResponse */ - RagQuery.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.RagQuery) + RetrieveContextsResponse.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.RetrieveContextsResponse) return object; - var message = new $root.google.cloud.aiplatform.v1.RagQuery(); - if (object.text != null) - message.text = String(object.text); - if (object.ragRetrievalConfig != null) { - if (typeof object.ragRetrievalConfig !== "object") - throw TypeError(".google.cloud.aiplatform.v1.RagQuery.ragRetrievalConfig: object expected"); - message.ragRetrievalConfig = $root.google.cloud.aiplatform.v1.RagRetrievalConfig.fromObject(object.ragRetrievalConfig); + var message = new $root.google.cloud.aiplatform.v1.RetrieveContextsResponse(); + if (object.contexts != null) { + if (typeof object.contexts !== "object") + throw TypeError(".google.cloud.aiplatform.v1.RetrieveContextsResponse.contexts: object expected"); + message.contexts = $root.google.cloud.aiplatform.v1.RagContexts.fromObject(object.contexts); } return message; }; /** - * Creates a plain object from a RagQuery message. Also converts values to other types if specified. + * Creates a plain object from a RetrieveContextsResponse message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.RagQuery + * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse * @static - * @param {google.cloud.aiplatform.v1.RagQuery} message RagQuery + * @param {google.cloud.aiplatform.v1.RetrieveContextsResponse} message RetrieveContextsResponse * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - RagQuery.toObject = function toObject(message, options) { + RetrieveContextsResponse.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.defaults) - object.ragRetrievalConfig = null; - if (message.text != null && message.hasOwnProperty("text")) { - object.text = message.text; - if (options.oneofs) - object.query = "text"; - } - if (message.ragRetrievalConfig != null && message.hasOwnProperty("ragRetrievalConfig")) - object.ragRetrievalConfig = $root.google.cloud.aiplatform.v1.RagRetrievalConfig.toObject(message.ragRetrievalConfig, options); + object.contexts = null; + if (message.contexts != null && message.hasOwnProperty("contexts")) + object.contexts = $root.google.cloud.aiplatform.v1.RagContexts.toObject(message.contexts, options); return object; }; /** - * Converts this RagQuery to JSON. + * Converts this RetrieveContextsResponse to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.RagQuery + * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse * @instance * @returns {Object.} JSON object */ - RagQuery.prototype.toJSON = function toJSON() { + RetrieveContextsResponse.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for RagQuery + * Gets the default type url for RetrieveContextsResponse * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.RagQuery + * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - RagQuery.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + RetrieveContextsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.RagQuery"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.RetrieveContextsResponse"; }; - return RagQuery; + return RetrieveContextsResponse; })(); - v1.RetrieveContextsRequest = (function() { + v1.AugmentPromptRequest = (function() { /** - * Properties of a RetrieveContextsRequest. + * Properties of an AugmentPromptRequest. * @memberof google.cloud.aiplatform.v1 - * @interface IRetrieveContextsRequest - * @property {google.cloud.aiplatform.v1.RetrieveContextsRequest.IVertexRagStore|null} [vertexRagStore] RetrieveContextsRequest vertexRagStore - * @property {string|null} [parent] RetrieveContextsRequest parent - * @property {google.cloud.aiplatform.v1.IRagQuery|null} [query] RetrieveContextsRequest query + * @interface IAugmentPromptRequest + * @property {google.cloud.aiplatform.v1.IVertexRagStore|null} [vertexRagStore] AugmentPromptRequest vertexRagStore + * @property {string|null} [parent] AugmentPromptRequest parent + * @property {Array.|null} [contents] AugmentPromptRequest contents + * @property {google.cloud.aiplatform.v1.AugmentPromptRequest.IModel|null} [model] AugmentPromptRequest model */ /** - * Constructs a new RetrieveContextsRequest. + * Constructs a new AugmentPromptRequest. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a RetrieveContextsRequest. - * @implements IRetrieveContextsRequest + * @classdesc Represents an AugmentPromptRequest. + * @implements IAugmentPromptRequest * @constructor - * @param {google.cloud.aiplatform.v1.IRetrieveContextsRequest=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IAugmentPromptRequest=} [properties] Properties to set */ - function RetrieveContextsRequest(properties) { + function AugmentPromptRequest(properties) { + this.contents = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -345814,119 +352477,136 @@ } /** - * RetrieveContextsRequest vertexRagStore. - * @member {google.cloud.aiplatform.v1.RetrieveContextsRequest.IVertexRagStore|null|undefined} vertexRagStore - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest + * AugmentPromptRequest vertexRagStore. + * @member {google.cloud.aiplatform.v1.IVertexRagStore|null|undefined} vertexRagStore + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest * @instance */ - RetrieveContextsRequest.prototype.vertexRagStore = null; + AugmentPromptRequest.prototype.vertexRagStore = null; /** - * RetrieveContextsRequest parent. + * AugmentPromptRequest parent. * @member {string} parent - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest * @instance */ - RetrieveContextsRequest.prototype.parent = ""; + AugmentPromptRequest.prototype.parent = ""; /** - * RetrieveContextsRequest query. - * @member {google.cloud.aiplatform.v1.IRagQuery|null|undefined} query - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest + * AugmentPromptRequest contents. + * @member {Array.} contents + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest * @instance */ - RetrieveContextsRequest.prototype.query = null; + AugmentPromptRequest.prototype.contents = $util.emptyArray; + + /** + * AugmentPromptRequest model. + * @member {google.cloud.aiplatform.v1.AugmentPromptRequest.IModel|null|undefined} model + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * @instance + */ + AugmentPromptRequest.prototype.model = null; // OneOf field names bound to virtual getters and setters var $oneOfFields; /** - * RetrieveContextsRequest dataSource. + * AugmentPromptRequest dataSource. * @member {"vertexRagStore"|undefined} dataSource - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest * @instance */ - Object.defineProperty(RetrieveContextsRequest.prototype, "dataSource", { + Object.defineProperty(AugmentPromptRequest.prototype, "dataSource", { get: $util.oneOfGetter($oneOfFields = ["vertexRagStore"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new RetrieveContextsRequest instance using the specified properties. + * Creates a new AugmentPromptRequest instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest * @static - * @param {google.cloud.aiplatform.v1.IRetrieveContextsRequest=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest} RetrieveContextsRequest instance + * @param {google.cloud.aiplatform.v1.IAugmentPromptRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.AugmentPromptRequest} AugmentPromptRequest instance */ - RetrieveContextsRequest.create = function create(properties) { - return new RetrieveContextsRequest(properties); + AugmentPromptRequest.create = function create(properties) { + return new AugmentPromptRequest(properties); }; /** - * Encodes the specified RetrieveContextsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.RetrieveContextsRequest.verify|verify} messages. + * Encodes the specified AugmentPromptRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.AugmentPromptRequest.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest * @static - * @param {google.cloud.aiplatform.v1.IRetrieveContextsRequest} message RetrieveContextsRequest message or plain object to encode + * @param {google.cloud.aiplatform.v1.IAugmentPromptRequest} message AugmentPromptRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - RetrieveContextsRequest.encode = function encode(message, writer) { + AugmentPromptRequest.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.contents != null && message.contents.length) + for (var i = 0; i < message.contents.length; ++i) + $root.google.cloud.aiplatform.v1.Content.encode(message.contents[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.model != null && Object.hasOwnProperty.call(message, "model")) + $root.google.cloud.aiplatform.v1.AugmentPromptRequest.Model.encode(message.model, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); if (message.vertexRagStore != null && Object.hasOwnProperty.call(message, "vertexRagStore")) - $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.encode(message.vertexRagStore, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.query != null && Object.hasOwnProperty.call(message, "query")) - $root.google.cloud.aiplatform.v1.RagQuery.encode(message.query, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + $root.google.cloud.aiplatform.v1.VertexRagStore.encode(message.vertexRagStore, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); return writer; }; /** - * Encodes the specified RetrieveContextsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.RetrieveContextsRequest.verify|verify} messages. + * Encodes the specified AugmentPromptRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AugmentPromptRequest.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest * @static - * @param {google.cloud.aiplatform.v1.IRetrieveContextsRequest} message RetrieveContextsRequest message or plain object to encode + * @param {google.cloud.aiplatform.v1.IAugmentPromptRequest} message AugmentPromptRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - RetrieveContextsRequest.encodeDelimited = function encodeDelimited(message, writer) { + AugmentPromptRequest.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a RetrieveContextsRequest message from the specified reader or buffer. + * Decodes an AugmentPromptRequest message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest * @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.RetrieveContextsRequest} RetrieveContextsRequest + * @returns {google.cloud.aiplatform.v1.AugmentPromptRequest} AugmentPromptRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - RetrieveContextsRequest.decode = function decode(reader, length, error) { + AugmentPromptRequest.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.RetrieveContextsRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.AugmentPromptRequest(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { - case 2: { - message.vertexRagStore = $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.decode(reader, reader.uint32()); + case 4: { + message.vertexRagStore = $root.google.cloud.aiplatform.v1.VertexRagStore.decode(reader, reader.uint32()); break; } case 1: { message.parent = reader.string(); break; } + case 2: { + if (!(message.contents && message.contents.length)) + message.contents = []; + message.contents.push($root.google.cloud.aiplatform.v1.Content.decode(reader, reader.uint32())); + break; + } case 3: { - message.query = $root.google.cloud.aiplatform.v1.RagQuery.decode(reader, reader.uint32()); + message.model = $root.google.cloud.aiplatform.v1.AugmentPromptRequest.Model.decode(reader, reader.uint32()); break; } default: @@ -345938,37 +352618,37 @@ }; /** - * Decodes a RetrieveContextsRequest message from the specified reader or buffer, length delimited. + * Decodes an AugmentPromptRequest message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest} RetrieveContextsRequest + * @returns {google.cloud.aiplatform.v1.AugmentPromptRequest} AugmentPromptRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - RetrieveContextsRequest.decodeDelimited = function decodeDelimited(reader) { + AugmentPromptRequest.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a RetrieveContextsRequest message. + * Verifies an AugmentPromptRequest message. * @function verify - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - RetrieveContextsRequest.verify = function verify(message) { + AugmentPromptRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; if (message.vertexRagStore != null && message.hasOwnProperty("vertexRagStore")) { properties.dataSource = 1; { - var error = $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.verify(message.vertexRagStore); + var error = $root.google.cloud.aiplatform.v1.VertexRagStore.verify(message.vertexRagStore); if (error) return "vertexRagStore." + error; } @@ -345976,116 +352656,141 @@ if (message.parent != null && message.hasOwnProperty("parent")) if (!$util.isString(message.parent)) return "parent: string expected"; - if (message.query != null && message.hasOwnProperty("query")) { - var error = $root.google.cloud.aiplatform.v1.RagQuery.verify(message.query); + if (message.contents != null && message.hasOwnProperty("contents")) { + if (!Array.isArray(message.contents)) + return "contents: array expected"; + for (var i = 0; i < message.contents.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.Content.verify(message.contents[i]); + if (error) + return "contents." + error; + } + } + if (message.model != null && message.hasOwnProperty("model")) { + var error = $root.google.cloud.aiplatform.v1.AugmentPromptRequest.Model.verify(message.model); if (error) - return "query." + error; + return "model." + error; } return null; }; /** - * Creates a RetrieveContextsRequest message from a plain object. Also converts values to their respective internal types. + * Creates an AugmentPromptRequest message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest} RetrieveContextsRequest + * @returns {google.cloud.aiplatform.v1.AugmentPromptRequest} AugmentPromptRequest */ - RetrieveContextsRequest.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.RetrieveContextsRequest) + AugmentPromptRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.AugmentPromptRequest) return object; - var message = new $root.google.cloud.aiplatform.v1.RetrieveContextsRequest(); + var message = new $root.google.cloud.aiplatform.v1.AugmentPromptRequest(); if (object.vertexRagStore != null) { if (typeof object.vertexRagStore !== "object") - throw TypeError(".google.cloud.aiplatform.v1.RetrieveContextsRequest.vertexRagStore: object expected"); - message.vertexRagStore = $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.fromObject(object.vertexRagStore); + throw TypeError(".google.cloud.aiplatform.v1.AugmentPromptRequest.vertexRagStore: object expected"); + message.vertexRagStore = $root.google.cloud.aiplatform.v1.VertexRagStore.fromObject(object.vertexRagStore); } if (object.parent != null) message.parent = String(object.parent); - if (object.query != null) { - if (typeof object.query !== "object") - throw TypeError(".google.cloud.aiplatform.v1.RetrieveContextsRequest.query: object expected"); - message.query = $root.google.cloud.aiplatform.v1.RagQuery.fromObject(object.query); + if (object.contents) { + if (!Array.isArray(object.contents)) + throw TypeError(".google.cloud.aiplatform.v1.AugmentPromptRequest.contents: array expected"); + message.contents = []; + for (var i = 0; i < object.contents.length; ++i) { + if (typeof object.contents[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.AugmentPromptRequest.contents: object expected"); + message.contents[i] = $root.google.cloud.aiplatform.v1.Content.fromObject(object.contents[i]); + } + } + if (object.model != null) { + if (typeof object.model !== "object") + throw TypeError(".google.cloud.aiplatform.v1.AugmentPromptRequest.model: object expected"); + message.model = $root.google.cloud.aiplatform.v1.AugmentPromptRequest.Model.fromObject(object.model); } return message; }; /** - * Creates a plain object from a RetrieveContextsRequest message. Also converts values to other types if specified. + * Creates a plain object from an AugmentPromptRequest message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest * @static - * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest} message RetrieveContextsRequest + * @param {google.cloud.aiplatform.v1.AugmentPromptRequest} message AugmentPromptRequest * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - RetrieveContextsRequest.toObject = function toObject(message, options) { + AugmentPromptRequest.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; + if (options.arrays || options.defaults) + object.contents = []; if (options.defaults) { object.parent = ""; - object.query = null; + object.model = null; } if (message.parent != null && message.hasOwnProperty("parent")) object.parent = message.parent; + if (message.contents && message.contents.length) { + object.contents = []; + for (var j = 0; j < message.contents.length; ++j) + object.contents[j] = $root.google.cloud.aiplatform.v1.Content.toObject(message.contents[j], options); + } + if (message.model != null && message.hasOwnProperty("model")) + object.model = $root.google.cloud.aiplatform.v1.AugmentPromptRequest.Model.toObject(message.model, options); if (message.vertexRagStore != null && message.hasOwnProperty("vertexRagStore")) { - object.vertexRagStore = $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.toObject(message.vertexRagStore, options); + object.vertexRagStore = $root.google.cloud.aiplatform.v1.VertexRagStore.toObject(message.vertexRagStore, options); if (options.oneofs) object.dataSource = "vertexRagStore"; } - if (message.query != null && message.hasOwnProperty("query")) - object.query = $root.google.cloud.aiplatform.v1.RagQuery.toObject(message.query, options); return object; }; /** - * Converts this RetrieveContextsRequest to JSON. + * Converts this AugmentPromptRequest to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest * @instance * @returns {Object.} JSON object */ - RetrieveContextsRequest.prototype.toJSON = function toJSON() { + AugmentPromptRequest.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for RetrieveContextsRequest + * Gets the default type url for AugmentPromptRequest * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - RetrieveContextsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + AugmentPromptRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.RetrieveContextsRequest"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.AugmentPromptRequest"; }; - RetrieveContextsRequest.VertexRagStore = (function() { + AugmentPromptRequest.Model = (function() { /** - * Properties of a VertexRagStore. - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest - * @interface IVertexRagStore - * @property {Array.|null} [ragResources] VertexRagStore ragResources - * @property {number|null} [vectorDistanceThreshold] VertexRagStore vectorDistanceThreshold + * Properties of a Model. + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * @interface IModel + * @property {string|null} [model] Model model + * @property {string|null} [modelVersion] Model modelVersion */ /** - * Constructs a new VertexRagStore. - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest - * @classdesc Represents a VertexRagStore. - * @implements IVertexRagStore + * Constructs a new Model. + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * @classdesc Represents a Model. + * @implements IModel * @constructor - * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.IVertexRagStore=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.AugmentPromptRequest.IModel=} [properties] Properties to set */ - function VertexRagStore(properties) { - this.ragResources = []; + function Model(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -346093,103 +352798,91 @@ } /** - * VertexRagStore ragResources. - * @member {Array.} ragResources - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * Model model. + * @member {string} model + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model * @instance */ - VertexRagStore.prototype.ragResources = $util.emptyArray; + Model.prototype.model = ""; /** - * VertexRagStore vectorDistanceThreshold. - * @member {number|null|undefined} vectorDistanceThreshold - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * Model modelVersion. + * @member {string} modelVersion + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model * @instance */ - VertexRagStore.prototype.vectorDistanceThreshold = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - // Virtual OneOf for proto3 optional field - Object.defineProperty(VertexRagStore.prototype, "_vectorDistanceThreshold", { - get: $util.oneOfGetter($oneOfFields = ["vectorDistanceThreshold"]), - set: $util.oneOfSetter($oneOfFields) - }); + Model.prototype.modelVersion = ""; /** - * Creates a new VertexRagStore instance using the specified properties. + * Creates a new Model instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model * @static - * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.IVertexRagStore=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore} VertexRagStore instance + * @param {google.cloud.aiplatform.v1.AugmentPromptRequest.IModel=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.AugmentPromptRequest.Model} Model instance */ - VertexRagStore.create = function create(properties) { - return new VertexRagStore(properties); + Model.create = function create(properties) { + return new Model(properties); }; /** - * Encodes the specified VertexRagStore message. Does not implicitly {@link google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.verify|verify} messages. + * Encodes the specified Model message. Does not implicitly {@link google.cloud.aiplatform.v1.AugmentPromptRequest.Model.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model * @static - * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.IVertexRagStore} message VertexRagStore message or plain object to encode + * @param {google.cloud.aiplatform.v1.AugmentPromptRequest.IModel} message Model message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - VertexRagStore.encode = function encode(message, writer) { + Model.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.vectorDistanceThreshold != null && Object.hasOwnProperty.call(message, "vectorDistanceThreshold")) - writer.uint32(/* id 2, wireType 1 =*/17).double(message.vectorDistanceThreshold); - if (message.ragResources != null && message.ragResources.length) - for (var i = 0; i < message.ragResources.length; ++i) - $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource.encode(message.ragResources[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.model != null && Object.hasOwnProperty.call(message, "model")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.model); + if (message.modelVersion != null && Object.hasOwnProperty.call(message, "modelVersion")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.modelVersion); return writer; }; /** - * Encodes the specified VertexRagStore message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.verify|verify} messages. + * Encodes the specified Model message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AugmentPromptRequest.Model.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model * @static - * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.IVertexRagStore} message VertexRagStore message or plain object to encode + * @param {google.cloud.aiplatform.v1.AugmentPromptRequest.IModel} message Model message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - VertexRagStore.encodeDelimited = function encodeDelimited(message, writer) { + Model.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a VertexRagStore message from the specified reader or buffer. + * Decodes a Model message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model * @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.RetrieveContextsRequest.VertexRagStore} VertexRagStore + * @returns {google.cloud.aiplatform.v1.AugmentPromptRequest.Model} Model * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - VertexRagStore.decode = function decode(reader, length, error) { + Model.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.AugmentPromptRequest.Model(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { - case 3: { - if (!(message.ragResources && message.ragResources.length)) - message.ragResources = []; - message.ragResources.push($root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource.decode(reader, reader.uint32())); + case 1: { + message.model = reader.string(); break; } case 2: { - message.vectorDistanceThreshold = reader.double(); + message.modelVersion = reader.string(); break; } default: @@ -346201,401 +352894,409 @@ }; /** - * Decodes a VertexRagStore message from the specified reader or buffer, length delimited. + * Decodes a Model message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore} VertexRagStore + * @returns {google.cloud.aiplatform.v1.AugmentPromptRequest.Model} Model * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - VertexRagStore.decodeDelimited = function decodeDelimited(reader) { + Model.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a VertexRagStore message. + * Verifies a Model message. * @function verify - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - VertexRagStore.verify = function verify(message) { + Model.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.ragResources != null && message.hasOwnProperty("ragResources")) { - if (!Array.isArray(message.ragResources)) - return "ragResources: array expected"; - for (var i = 0; i < message.ragResources.length; ++i) { - var error = $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource.verify(message.ragResources[i]); - if (error) - return "ragResources." + error; - } - } - if (message.vectorDistanceThreshold != null && message.hasOwnProperty("vectorDistanceThreshold")) { - properties._vectorDistanceThreshold = 1; - if (typeof message.vectorDistanceThreshold !== "number") - return "vectorDistanceThreshold: number expected"; - } + if (message.model != null && message.hasOwnProperty("model")) + if (!$util.isString(message.model)) + return "model: string expected"; + if (message.modelVersion != null && message.hasOwnProperty("modelVersion")) + if (!$util.isString(message.modelVersion)) + return "modelVersion: string expected"; return null; }; /** - * Creates a VertexRagStore message from a plain object. Also converts values to their respective internal types. + * Creates a Model message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore} VertexRagStore + * @returns {google.cloud.aiplatform.v1.AugmentPromptRequest.Model} Model */ - VertexRagStore.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore) + Model.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.AugmentPromptRequest.Model) return object; - var message = new $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore(); - if (object.ragResources) { - if (!Array.isArray(object.ragResources)) - throw TypeError(".google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.ragResources: array expected"); - message.ragResources = []; - for (var i = 0; i < object.ragResources.length; ++i) { - if (typeof object.ragResources[i] !== "object") - throw TypeError(".google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.ragResources: object expected"); - message.ragResources[i] = $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource.fromObject(object.ragResources[i]); - } - } - if (object.vectorDistanceThreshold != null) - message.vectorDistanceThreshold = Number(object.vectorDistanceThreshold); + var message = new $root.google.cloud.aiplatform.v1.AugmentPromptRequest.Model(); + if (object.model != null) + message.model = String(object.model); + if (object.modelVersion != null) + message.modelVersion = String(object.modelVersion); return message; }; /** - * Creates a plain object from a VertexRagStore message. Also converts values to other types if specified. + * Creates a plain object from a Model message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model * @static - * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore} message VertexRagStore + * @param {google.cloud.aiplatform.v1.AugmentPromptRequest.Model} message Model * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - VertexRagStore.toObject = function toObject(message, options) { + Model.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.arrays || options.defaults) - object.ragResources = []; - if (message.vectorDistanceThreshold != null && message.hasOwnProperty("vectorDistanceThreshold")) { - object.vectorDistanceThreshold = options.json && !isFinite(message.vectorDistanceThreshold) ? String(message.vectorDistanceThreshold) : message.vectorDistanceThreshold; - if (options.oneofs) - object._vectorDistanceThreshold = "vectorDistanceThreshold"; - } - if (message.ragResources && message.ragResources.length) { - object.ragResources = []; - for (var j = 0; j < message.ragResources.length; ++j) - object.ragResources[j] = $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource.toObject(message.ragResources[j], options); + if (options.defaults) { + object.model = ""; + object.modelVersion = ""; } + if (message.model != null && message.hasOwnProperty("model")) + object.model = message.model; + if (message.modelVersion != null && message.hasOwnProperty("modelVersion")) + object.modelVersion = message.modelVersion; return object; }; /** - * Converts this VertexRagStore to JSON. + * Converts this Model to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model * @instance * @returns {Object.} JSON object */ - VertexRagStore.prototype.toJSON = function toJSON() { + Model.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for VertexRagStore + * Gets the default type url for Model * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore + * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - VertexRagStore.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + Model.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.AugmentPromptRequest.Model"; }; - VertexRagStore.RagResource = (function() { + return Model; + })(); - /** - * Properties of a RagResource. - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore - * @interface IRagResource - * @property {string|null} [ragCorpus] RagResource ragCorpus - * @property {Array.|null} [ragFileIds] RagResource ragFileIds - */ + return AugmentPromptRequest; + })(); - /** - * Constructs a new RagResource. - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore - * @classdesc Represents a RagResource. - * @implements IRagResource - * @constructor - * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.IRagResource=} [properties] Properties to set - */ - function RagResource(properties) { - this.ragFileIds = []; - 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]]; - } + v1.AugmentPromptResponse = (function() { - /** - * RagResource ragCorpus. - * @member {string} ragCorpus - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource - * @instance - */ - RagResource.prototype.ragCorpus = ""; + /** + * Properties of an AugmentPromptResponse. + * @memberof google.cloud.aiplatform.v1 + * @interface IAugmentPromptResponse + * @property {Array.|null} [augmentedPrompt] AugmentPromptResponse augmentedPrompt + * @property {Array.|null} [facts] AugmentPromptResponse facts + */ - /** - * RagResource ragFileIds. - * @member {Array.} ragFileIds - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource - * @instance - */ - RagResource.prototype.ragFileIds = $util.emptyArray; + /** + * Constructs a new AugmentPromptResponse. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents an AugmentPromptResponse. + * @implements IAugmentPromptResponse + * @constructor + * @param {google.cloud.aiplatform.v1.IAugmentPromptResponse=} [properties] Properties to set + */ + function AugmentPromptResponse(properties) { + this.augmentedPrompt = []; + this.facts = []; + 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]]; + } - /** - * Creates a new RagResource instance using the specified properties. - * @function create - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource - * @static - * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.IRagResource=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource} RagResource instance - */ - RagResource.create = function create(properties) { - return new RagResource(properties); - }; + /** + * AugmentPromptResponse augmentedPrompt. + * @member {Array.} augmentedPrompt + * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @instance + */ + AugmentPromptResponse.prototype.augmentedPrompt = $util.emptyArray; - /** - * Encodes the specified RagResource message. Does not implicitly {@link google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource.verify|verify} messages. - * @function encode - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource - * @static - * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.IRagResource} message RagResource message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - RagResource.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.ragCorpus != null && Object.hasOwnProperty.call(message, "ragCorpus")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.ragCorpus); - if (message.ragFileIds != null && message.ragFileIds.length) - for (var i = 0; i < message.ragFileIds.length; ++i) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.ragFileIds[i]); - return writer; - }; + /** + * AugmentPromptResponse facts. + * @member {Array.} facts + * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @instance + */ + AugmentPromptResponse.prototype.facts = $util.emptyArray; - /** - * Encodes the specified RagResource message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource - * @static - * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.IRagResource} message RagResource message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - RagResource.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; + /** + * Creates a new AugmentPromptResponse instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @static + * @param {google.cloud.aiplatform.v1.IAugmentPromptResponse=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.AugmentPromptResponse} AugmentPromptResponse instance + */ + AugmentPromptResponse.create = function create(properties) { + return new AugmentPromptResponse(properties); + }; - /** - * Decodes a RagResource message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource - * @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.RetrieveContextsRequest.VertexRagStore.RagResource} RagResource - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - RagResource.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.ragCorpus = reader.string(); - break; - } - case 2: { - if (!(message.ragFileIds && message.ragFileIds.length)) - message.ragFileIds = []; - message.ragFileIds.push(reader.string()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; + /** + * Encodes the specified AugmentPromptResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.AugmentPromptResponse.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @static + * @param {google.cloud.aiplatform.v1.IAugmentPromptResponse} message AugmentPromptResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AugmentPromptResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.augmentedPrompt != null && message.augmentedPrompt.length) + for (var i = 0; i < message.augmentedPrompt.length; ++i) + $root.google.cloud.aiplatform.v1.Content.encode(message.augmentedPrompt[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.facts != null && message.facts.length) + for (var i = 0; i < message.facts.length; ++i) + $root.google.cloud.aiplatform.v1.Fact.encode(message.facts[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; - /** - * Decodes a RagResource message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource} RagResource - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - RagResource.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; + /** + * Encodes the specified AugmentPromptResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AugmentPromptResponse.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @static + * @param {google.cloud.aiplatform.v1.IAugmentPromptResponse} message AugmentPromptResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AugmentPromptResponse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; - /** - * Verifies a RagResource message. - * @function verify - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - RagResource.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.ragCorpus != null && message.hasOwnProperty("ragCorpus")) - if (!$util.isString(message.ragCorpus)) - return "ragCorpus: string expected"; - if (message.ragFileIds != null && message.hasOwnProperty("ragFileIds")) { - if (!Array.isArray(message.ragFileIds)) - return "ragFileIds: array expected"; - for (var i = 0; i < message.ragFileIds.length; ++i) - if (!$util.isString(message.ragFileIds[i])) - return "ragFileIds: string[] expected"; + /** + * Decodes an AugmentPromptResponse message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @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.AugmentPromptResponse} AugmentPromptResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AugmentPromptResponse.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.AugmentPromptResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + if (!(message.augmentedPrompt && message.augmentedPrompt.length)) + message.augmentedPrompt = []; + message.augmentedPrompt.push($root.google.cloud.aiplatform.v1.Content.decode(reader, reader.uint32())); + break; } - return null; - }; - - /** - * Creates a RagResource message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource} RagResource - */ - RagResource.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource) - return object; - var message = new $root.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource(); - if (object.ragCorpus != null) - message.ragCorpus = String(object.ragCorpus); - if (object.ragFileIds) { - if (!Array.isArray(object.ragFileIds)) - throw TypeError(".google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource.ragFileIds: array expected"); - message.ragFileIds = []; - for (var i = 0; i < object.ragFileIds.length; ++i) - message.ragFileIds[i] = String(object.ragFileIds[i]); + case 2: { + if (!(message.facts && message.facts.length)) + message.facts = []; + message.facts.push($root.google.cloud.aiplatform.v1.Fact.decode(reader, reader.uint32())); + break; } - return message; - }; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; - /** - * Creates a plain object from a RagResource message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource - * @static - * @param {google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource} message RagResource - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - RagResource.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.ragFileIds = []; - if (options.defaults) - object.ragCorpus = ""; - if (message.ragCorpus != null && message.hasOwnProperty("ragCorpus")) - object.ragCorpus = message.ragCorpus; - if (message.ragFileIds && message.ragFileIds.length) { - object.ragFileIds = []; - for (var j = 0; j < message.ragFileIds.length; ++j) - object.ragFileIds[j] = message.ragFileIds[j]; - } - return object; - }; + /** + * Decodes an AugmentPromptResponse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.AugmentPromptResponse} AugmentPromptResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AugmentPromptResponse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; - /** - * Converts this RagResource to JSON. - * @function toJSON - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource - * @instance - * @returns {Object.} JSON object - */ - RagResource.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; + /** + * Verifies an AugmentPromptResponse message. + * @function verify + * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + AugmentPromptResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.augmentedPrompt != null && message.hasOwnProperty("augmentedPrompt")) { + if (!Array.isArray(message.augmentedPrompt)) + return "augmentedPrompt: array expected"; + for (var i = 0; i < message.augmentedPrompt.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.Content.verify(message.augmentedPrompt[i]); + if (error) + return "augmentedPrompt." + error; + } + } + if (message.facts != null && message.hasOwnProperty("facts")) { + if (!Array.isArray(message.facts)) + return "facts: array expected"; + for (var i = 0; i < message.facts.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.Fact.verify(message.facts[i]); + if (error) + return "facts." + error; + } + } + return null; + }; - /** - * Gets the default type url for RagResource - * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - RagResource.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResource"; - }; + /** + * Creates an AugmentPromptResponse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.AugmentPromptResponse} AugmentPromptResponse + */ + AugmentPromptResponse.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.AugmentPromptResponse) + return object; + var message = new $root.google.cloud.aiplatform.v1.AugmentPromptResponse(); + if (object.augmentedPrompt) { + if (!Array.isArray(object.augmentedPrompt)) + throw TypeError(".google.cloud.aiplatform.v1.AugmentPromptResponse.augmentedPrompt: array expected"); + message.augmentedPrompt = []; + for (var i = 0; i < object.augmentedPrompt.length; ++i) { + if (typeof object.augmentedPrompt[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.AugmentPromptResponse.augmentedPrompt: object expected"); + message.augmentedPrompt[i] = $root.google.cloud.aiplatform.v1.Content.fromObject(object.augmentedPrompt[i]); + } + } + if (object.facts) { + if (!Array.isArray(object.facts)) + throw TypeError(".google.cloud.aiplatform.v1.AugmentPromptResponse.facts: array expected"); + message.facts = []; + for (var i = 0; i < object.facts.length; ++i) { + if (typeof object.facts[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.AugmentPromptResponse.facts: object expected"); + message.facts[i] = $root.google.cloud.aiplatform.v1.Fact.fromObject(object.facts[i]); + } + } + return message; + }; - return RagResource; - })(); + /** + * Creates a plain object from an AugmentPromptResponse message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @static + * @param {google.cloud.aiplatform.v1.AugmentPromptResponse} message AugmentPromptResponse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + AugmentPromptResponse.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) { + object.augmentedPrompt = []; + object.facts = []; + } + if (message.augmentedPrompt && message.augmentedPrompt.length) { + object.augmentedPrompt = []; + for (var j = 0; j < message.augmentedPrompt.length; ++j) + object.augmentedPrompt[j] = $root.google.cloud.aiplatform.v1.Content.toObject(message.augmentedPrompt[j], options); + } + if (message.facts && message.facts.length) { + object.facts = []; + for (var j = 0; j < message.facts.length; ++j) + object.facts[j] = $root.google.cloud.aiplatform.v1.Fact.toObject(message.facts[j], options); + } + return object; + }; - return VertexRagStore; - })(); + /** + * Converts this AugmentPromptResponse to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @instance + * @returns {Object.} JSON object + */ + AugmentPromptResponse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; - return RetrieveContextsRequest; + /** + * Gets the default type url for AugmentPromptResponse + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AugmentPromptResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.AugmentPromptResponse"; + }; + + return AugmentPromptResponse; })(); - v1.RagContexts = (function() { + v1.CorroborateContentRequest = (function() { /** - * Properties of a RagContexts. + * Properties of a CorroborateContentRequest. * @memberof google.cloud.aiplatform.v1 - * @interface IRagContexts - * @property {Array.|null} [contexts] RagContexts contexts + * @interface ICorroborateContentRequest + * @property {string|null} [parent] CorroborateContentRequest parent + * @property {google.cloud.aiplatform.v1.IContent|null} [content] CorroborateContentRequest content + * @property {Array.|null} [facts] CorroborateContentRequest facts + * @property {google.cloud.aiplatform.v1.CorroborateContentRequest.IParameters|null} [parameters] CorroborateContentRequest parameters */ /** - * Constructs a new RagContexts. + * Constructs a new CorroborateContentRequest. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a RagContexts. - * @implements IRagContexts + * @classdesc Represents a CorroborateContentRequest. + * @implements ICorroborateContentRequest * @constructor - * @param {google.cloud.aiplatform.v1.IRagContexts=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.ICorroborateContentRequest=} [properties] Properties to set */ - function RagContexts(properties) { - this.contexts = []; + function CorroborateContentRequest(properties) { + this.facts = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -346603,80 +353304,131 @@ } /** - * RagContexts contexts. - * @member {Array.} contexts - * @memberof google.cloud.aiplatform.v1.RagContexts + * CorroborateContentRequest parent. + * @member {string} parent + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest * @instance */ - RagContexts.prototype.contexts = $util.emptyArray; + CorroborateContentRequest.prototype.parent = ""; /** - * Creates a new RagContexts instance using the specified properties. + * CorroborateContentRequest content. + * @member {google.cloud.aiplatform.v1.IContent|null|undefined} content + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest + * @instance + */ + CorroborateContentRequest.prototype.content = null; + + /** + * CorroborateContentRequest facts. + * @member {Array.} facts + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest + * @instance + */ + CorroborateContentRequest.prototype.facts = $util.emptyArray; + + /** + * CorroborateContentRequest parameters. + * @member {google.cloud.aiplatform.v1.CorroborateContentRequest.IParameters|null|undefined} parameters + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest + * @instance + */ + CorroborateContentRequest.prototype.parameters = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + // Virtual OneOf for proto3 optional field + Object.defineProperty(CorroborateContentRequest.prototype, "_content", { + get: $util.oneOfGetter($oneOfFields = ["content"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new CorroborateContentRequest instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.RagContexts + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest * @static - * @param {google.cloud.aiplatform.v1.IRagContexts=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.RagContexts} RagContexts instance + * @param {google.cloud.aiplatform.v1.ICorroborateContentRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.CorroborateContentRequest} CorroborateContentRequest instance */ - RagContexts.create = function create(properties) { - return new RagContexts(properties); + CorroborateContentRequest.create = function create(properties) { + return new CorroborateContentRequest(properties); }; /** - * Encodes the specified RagContexts message. Does not implicitly {@link google.cloud.aiplatform.v1.RagContexts.verify|verify} messages. + * Encodes the specified CorroborateContentRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.CorroborateContentRequest.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.RagContexts + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest * @static - * @param {google.cloud.aiplatform.v1.IRagContexts} message RagContexts message or plain object to encode + * @param {google.cloud.aiplatform.v1.ICorroborateContentRequest} message CorroborateContentRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - RagContexts.encode = function encode(message, writer) { + CorroborateContentRequest.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.contexts != null && message.contexts.length) - for (var i = 0; i < message.contexts.length; ++i) - $root.google.cloud.aiplatform.v1.RagContexts.Context.encode(message.contexts[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.parent != null && Object.hasOwnProperty.call(message, "parent")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent); + if (message.content != null && Object.hasOwnProperty.call(message, "content")) + $root.google.cloud.aiplatform.v1.Content.encode(message.content, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.facts != null && message.facts.length) + for (var i = 0; i < message.facts.length; ++i) + $root.google.cloud.aiplatform.v1.Fact.encode(message.facts[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.parameters != null && Object.hasOwnProperty.call(message, "parameters")) + $root.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters.encode(message.parameters, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); return writer; }; /** - * Encodes the specified RagContexts message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.RagContexts.verify|verify} messages. + * Encodes the specified CorroborateContentRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.CorroborateContentRequest.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.RagContexts + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest * @static - * @param {google.cloud.aiplatform.v1.IRagContexts} message RagContexts message or plain object to encode + * @param {google.cloud.aiplatform.v1.ICorroborateContentRequest} message CorroborateContentRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - RagContexts.encodeDelimited = function encodeDelimited(message, writer) { + CorroborateContentRequest.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a RagContexts message from the specified reader or buffer. + * Decodes a CorroborateContentRequest message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.RagContexts + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest * @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.RagContexts} RagContexts + * @returns {google.cloud.aiplatform.v1.CorroborateContentRequest} CorroborateContentRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - RagContexts.decode = function decode(reader, length, error) { + CorroborateContentRequest.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.RagContexts(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.CorroborateContentRequest(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - if (!(message.contexts && message.contexts.length)) - message.contexts = []; - message.contexts.push($root.google.cloud.aiplatform.v1.RagContexts.Context.decode(reader, reader.uint32())); + message.parent = reader.string(); + break; + } + case 2: { + message.content = $root.google.cloud.aiplatform.v1.Content.decode(reader, reader.uint32()); + break; + } + case 3: { + if (!(message.facts && message.facts.length)) + message.facts = []; + message.facts.push($root.google.cloud.aiplatform.v1.Fact.decode(reader, reader.uint32())); + break; + } + case 4: { + message.parameters = $root.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters.decode(reader, reader.uint32()); break; } default: @@ -346688,140 +353440,178 @@ }; /** - * Decodes a RagContexts message from the specified reader or buffer, length delimited. + * Decodes a CorroborateContentRequest message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.RagContexts + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.RagContexts} RagContexts + * @returns {google.cloud.aiplatform.v1.CorroborateContentRequest} CorroborateContentRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - RagContexts.decodeDelimited = function decodeDelimited(reader) { + CorroborateContentRequest.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a RagContexts message. + * Verifies a CorroborateContentRequest message. * @function verify - * @memberof google.cloud.aiplatform.v1.RagContexts + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - RagContexts.verify = function verify(message) { + CorroborateContentRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.contexts != null && message.hasOwnProperty("contexts")) { - if (!Array.isArray(message.contexts)) - return "contexts: array expected"; - for (var i = 0; i < message.contexts.length; ++i) { - var error = $root.google.cloud.aiplatform.v1.RagContexts.Context.verify(message.contexts[i]); + var properties = {}; + if (message.parent != null && message.hasOwnProperty("parent")) + if (!$util.isString(message.parent)) + return "parent: string expected"; + if (message.content != null && message.hasOwnProperty("content")) { + properties._content = 1; + { + var error = $root.google.cloud.aiplatform.v1.Content.verify(message.content); if (error) - return "contexts." + error; + return "content." + error; + } + } + if (message.facts != null && message.hasOwnProperty("facts")) { + if (!Array.isArray(message.facts)) + return "facts: array expected"; + for (var i = 0; i < message.facts.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.Fact.verify(message.facts[i]); + if (error) + return "facts." + error; } } + if (message.parameters != null && message.hasOwnProperty("parameters")) { + var error = $root.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters.verify(message.parameters); + if (error) + return "parameters." + error; + } return null; }; /** - * Creates a RagContexts message from a plain object. Also converts values to their respective internal types. + * Creates a CorroborateContentRequest message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.RagContexts + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.RagContexts} RagContexts + * @returns {google.cloud.aiplatform.v1.CorroborateContentRequest} CorroborateContentRequest */ - RagContexts.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.RagContexts) + CorroborateContentRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.CorroborateContentRequest) return object; - var message = new $root.google.cloud.aiplatform.v1.RagContexts(); - if (object.contexts) { - if (!Array.isArray(object.contexts)) - throw TypeError(".google.cloud.aiplatform.v1.RagContexts.contexts: array expected"); - message.contexts = []; - for (var i = 0; i < object.contexts.length; ++i) { - if (typeof object.contexts[i] !== "object") - throw TypeError(".google.cloud.aiplatform.v1.RagContexts.contexts: object expected"); - message.contexts[i] = $root.google.cloud.aiplatform.v1.RagContexts.Context.fromObject(object.contexts[i]); + var message = new $root.google.cloud.aiplatform.v1.CorroborateContentRequest(); + if (object.parent != null) + message.parent = String(object.parent); + if (object.content != null) { + if (typeof object.content !== "object") + throw TypeError(".google.cloud.aiplatform.v1.CorroborateContentRequest.content: object expected"); + message.content = $root.google.cloud.aiplatform.v1.Content.fromObject(object.content); + } + if (object.facts) { + if (!Array.isArray(object.facts)) + throw TypeError(".google.cloud.aiplatform.v1.CorroborateContentRequest.facts: array expected"); + message.facts = []; + for (var i = 0; i < object.facts.length; ++i) { + if (typeof object.facts[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.CorroborateContentRequest.facts: object expected"); + message.facts[i] = $root.google.cloud.aiplatform.v1.Fact.fromObject(object.facts[i]); } } + if (object.parameters != null) { + if (typeof object.parameters !== "object") + throw TypeError(".google.cloud.aiplatform.v1.CorroborateContentRequest.parameters: object expected"); + message.parameters = $root.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters.fromObject(object.parameters); + } return message; }; /** - * Creates a plain object from a RagContexts message. Also converts values to other types if specified. + * Creates a plain object from a CorroborateContentRequest message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.RagContexts + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest * @static - * @param {google.cloud.aiplatform.v1.RagContexts} message RagContexts + * @param {google.cloud.aiplatform.v1.CorroborateContentRequest} message CorroborateContentRequest * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - RagContexts.toObject = function toObject(message, options) { + CorroborateContentRequest.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.arrays || options.defaults) - object.contexts = []; - if (message.contexts && message.contexts.length) { - object.contexts = []; - for (var j = 0; j < message.contexts.length; ++j) - object.contexts[j] = $root.google.cloud.aiplatform.v1.RagContexts.Context.toObject(message.contexts[j], options); + object.facts = []; + if (options.defaults) { + object.parent = ""; + object.parameters = null; + } + if (message.parent != null && message.hasOwnProperty("parent")) + object.parent = message.parent; + if (message.content != null && message.hasOwnProperty("content")) { + object.content = $root.google.cloud.aiplatform.v1.Content.toObject(message.content, options); + if (options.oneofs) + object._content = "content"; + } + if (message.facts && message.facts.length) { + object.facts = []; + for (var j = 0; j < message.facts.length; ++j) + object.facts[j] = $root.google.cloud.aiplatform.v1.Fact.toObject(message.facts[j], options); } + if (message.parameters != null && message.hasOwnProperty("parameters")) + object.parameters = $root.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters.toObject(message.parameters, options); return object; }; /** - * Converts this RagContexts to JSON. + * Converts this CorroborateContentRequest to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.RagContexts + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest * @instance * @returns {Object.} JSON object */ - RagContexts.prototype.toJSON = function toJSON() { + CorroborateContentRequest.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for RagContexts + * Gets the default type url for CorroborateContentRequest * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.RagContexts + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - RagContexts.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + CorroborateContentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.RagContexts"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.CorroborateContentRequest"; }; - RagContexts.Context = (function() { + CorroborateContentRequest.Parameters = (function() { /** - * Properties of a Context. - * @memberof google.cloud.aiplatform.v1.RagContexts - * @interface IContext - * @property {string|null} [sourceUri] Context sourceUri - * @property {string|null} [sourceDisplayName] Context sourceDisplayName - * @property {string|null} [text] Context text - * @property {number|null} [score] Context score - * @property {google.cloud.aiplatform.v1.IRagChunk|null} [chunk] Context chunk + * Properties of a Parameters. + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest + * @interface IParameters + * @property {number|null} [citationThreshold] Parameters citationThreshold */ /** - * Constructs a new Context. - * @memberof google.cloud.aiplatform.v1.RagContexts - * @classdesc Represents a Context. - * @implements IContext + * Constructs a new Parameters. + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest + * @classdesc Represents a Parameters. + * @implements IParameters * @constructor - * @param {google.cloud.aiplatform.v1.RagContexts.IContext=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.CorroborateContentRequest.IParameters=} [properties] Properties to set */ - function Context(properties) { + function Parameters(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -346829,142 +353619,77 @@ } /** - * Context sourceUri. - * @member {string} sourceUri - * @memberof google.cloud.aiplatform.v1.RagContexts.Context - * @instance - */ - Context.prototype.sourceUri = ""; - - /** - * Context sourceDisplayName. - * @member {string} sourceDisplayName - * @memberof google.cloud.aiplatform.v1.RagContexts.Context - * @instance - */ - Context.prototype.sourceDisplayName = ""; - - /** - * Context text. - * @member {string} text - * @memberof google.cloud.aiplatform.v1.RagContexts.Context - * @instance - */ - Context.prototype.text = ""; - - /** - * Context score. - * @member {number|null|undefined} score - * @memberof google.cloud.aiplatform.v1.RagContexts.Context - * @instance - */ - Context.prototype.score = null; - - /** - * Context chunk. - * @member {google.cloud.aiplatform.v1.IRagChunk|null|undefined} chunk - * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * Parameters citationThreshold. + * @member {number} citationThreshold + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters * @instance */ - Context.prototype.chunk = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - // Virtual OneOf for proto3 optional field - Object.defineProperty(Context.prototype, "_score", { - get: $util.oneOfGetter($oneOfFields = ["score"]), - set: $util.oneOfSetter($oneOfFields) - }); + Parameters.prototype.citationThreshold = 0; /** - * Creates a new Context instance using the specified properties. + * Creates a new Parameters instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters * @static - * @param {google.cloud.aiplatform.v1.RagContexts.IContext=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.RagContexts.Context} Context instance + * @param {google.cloud.aiplatform.v1.CorroborateContentRequest.IParameters=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters} Parameters instance */ - Context.create = function create(properties) { - return new Context(properties); + Parameters.create = function create(properties) { + return new Parameters(properties); }; /** - * Encodes the specified Context message. Does not implicitly {@link google.cloud.aiplatform.v1.RagContexts.Context.verify|verify} messages. + * Encodes the specified Parameters message. Does not implicitly {@link google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters * @static - * @param {google.cloud.aiplatform.v1.RagContexts.IContext} message Context message or plain object to encode + * @param {google.cloud.aiplatform.v1.CorroborateContentRequest.IParameters} message Parameters message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Context.encode = function encode(message, writer) { + Parameters.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.sourceUri != null && Object.hasOwnProperty.call(message, "sourceUri")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.sourceUri); - if (message.text != null && Object.hasOwnProperty.call(message, "text")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.text); - if (message.sourceDisplayName != null && Object.hasOwnProperty.call(message, "sourceDisplayName")) - writer.uint32(/* id 5, wireType 2 =*/42).string(message.sourceDisplayName); - if (message.score != null && Object.hasOwnProperty.call(message, "score")) - writer.uint32(/* id 6, wireType 1 =*/49).double(message.score); - if (message.chunk != null && Object.hasOwnProperty.call(message, "chunk")) - $root.google.cloud.aiplatform.v1.RagChunk.encode(message.chunk, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.citationThreshold != null && Object.hasOwnProperty.call(message, "citationThreshold")) + writer.uint32(/* id 1, wireType 1 =*/9).double(message.citationThreshold); return writer; }; /** - * Encodes the specified Context message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.RagContexts.Context.verify|verify} messages. + * Encodes the specified Parameters message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters * @static - * @param {google.cloud.aiplatform.v1.RagContexts.IContext} message Context message or plain object to encode + * @param {google.cloud.aiplatform.v1.CorroborateContentRequest.IParameters} message Parameters message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Context.encodeDelimited = function encodeDelimited(message, writer) { + Parameters.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a Context message from the specified reader or buffer. + * Decodes a Parameters message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters * @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.RagContexts.Context} Context + * @returns {google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters} Parameters * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Context.decode = function decode(reader, length, error) { + Parameters.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.RagContexts.Context(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.sourceUri = reader.string(); - break; - } - case 5: { - message.sourceDisplayName = reader.string(); - break; - } - case 2: { - message.text = reader.string(); - break; - } - case 6: { - message.score = reader.double(); - break; - } - case 7: { - message.chunk = $root.google.cloud.aiplatform.v1.RagChunk.decode(reader, reader.uint32()); + message.citationThreshold = reader.double(); break; } default: @@ -346976,168 +353701,127 @@ }; /** - * Decodes a Context message from the specified reader or buffer, length delimited. + * Decodes a Parameters message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.RagContexts.Context} Context + * @returns {google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters} Parameters * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Context.decodeDelimited = function decodeDelimited(reader) { + Parameters.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a Context message. + * Verifies a Parameters message. * @function verify - * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Context.verify = function verify(message) { + Parameters.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.sourceUri != null && message.hasOwnProperty("sourceUri")) - if (!$util.isString(message.sourceUri)) - return "sourceUri: string expected"; - if (message.sourceDisplayName != null && message.hasOwnProperty("sourceDisplayName")) - if (!$util.isString(message.sourceDisplayName)) - return "sourceDisplayName: string expected"; - if (message.text != null && message.hasOwnProperty("text")) - if (!$util.isString(message.text)) - return "text: string expected"; - if (message.score != null && message.hasOwnProperty("score")) { - properties._score = 1; - if (typeof message.score !== "number") - return "score: number expected"; - } - if (message.chunk != null && message.hasOwnProperty("chunk")) { - var error = $root.google.cloud.aiplatform.v1.RagChunk.verify(message.chunk); - if (error) - return "chunk." + error; - } + if (message.citationThreshold != null && message.hasOwnProperty("citationThreshold")) + if (typeof message.citationThreshold !== "number") + return "citationThreshold: number expected"; return null; }; /** - * Creates a Context message from a plain object. Also converts values to their respective internal types. + * Creates a Parameters message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.RagContexts.Context} Context + * @returns {google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters} Parameters */ - Context.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.RagContexts.Context) + Parameters.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters) return object; - var message = new $root.google.cloud.aiplatform.v1.RagContexts.Context(); - if (object.sourceUri != null) - message.sourceUri = String(object.sourceUri); - if (object.sourceDisplayName != null) - message.sourceDisplayName = String(object.sourceDisplayName); - if (object.text != null) - message.text = String(object.text); - if (object.score != null) - message.score = Number(object.score); - if (object.chunk != null) { - if (typeof object.chunk !== "object") - throw TypeError(".google.cloud.aiplatform.v1.RagContexts.Context.chunk: object expected"); - message.chunk = $root.google.cloud.aiplatform.v1.RagChunk.fromObject(object.chunk); - } + var message = new $root.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters(); + if (object.citationThreshold != null) + message.citationThreshold = Number(object.citationThreshold); return message; }; /** - * Creates a plain object from a Context message. Also converts values to other types if specified. + * Creates a plain object from a Parameters message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters * @static - * @param {google.cloud.aiplatform.v1.RagContexts.Context} message Context + * @param {google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters} message Parameters * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - Context.toObject = function toObject(message, options) { + Parameters.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.defaults) { - object.sourceUri = ""; - object.text = ""; - object.sourceDisplayName = ""; - object.chunk = null; - } - if (message.sourceUri != null && message.hasOwnProperty("sourceUri")) - object.sourceUri = message.sourceUri; - if (message.text != null && message.hasOwnProperty("text")) - object.text = message.text; - if (message.sourceDisplayName != null && message.hasOwnProperty("sourceDisplayName")) - object.sourceDisplayName = message.sourceDisplayName; - if (message.score != null && message.hasOwnProperty("score")) { - object.score = options.json && !isFinite(message.score) ? String(message.score) : message.score; - if (options.oneofs) - object._score = "score"; - } - if (message.chunk != null && message.hasOwnProperty("chunk")) - object.chunk = $root.google.cloud.aiplatform.v1.RagChunk.toObject(message.chunk, options); + if (options.defaults) + object.citationThreshold = 0; + if (message.citationThreshold != null && message.hasOwnProperty("citationThreshold")) + object.citationThreshold = options.json && !isFinite(message.citationThreshold) ? String(message.citationThreshold) : message.citationThreshold; return object; }; /** - * Converts this Context to JSON. + * Converts this Parameters to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters * @instance * @returns {Object.} JSON object */ - Context.prototype.toJSON = function toJSON() { + Parameters.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for Context + * Gets the default type url for Parameters * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.RagContexts.Context + * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - Context.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + Parameters.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.RagContexts.Context"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters"; }; - return Context; + return Parameters; })(); - return RagContexts; + return CorroborateContentRequest; })(); - v1.RetrieveContextsResponse = (function() { + v1.CorroborateContentResponse = (function() { /** - * Properties of a RetrieveContextsResponse. + * Properties of a CorroborateContentResponse. * @memberof google.cloud.aiplatform.v1 - * @interface IRetrieveContextsResponse - * @property {google.cloud.aiplatform.v1.IRagContexts|null} [contexts] RetrieveContextsResponse contexts + * @interface ICorroborateContentResponse + * @property {number|null} [corroborationScore] CorroborateContentResponse corroborationScore + * @property {Array.|null} [claims] CorroborateContentResponse claims */ /** - * Constructs a new RetrieveContextsResponse. + * Constructs a new CorroborateContentResponse. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a RetrieveContextsResponse. - * @implements IRetrieveContextsResponse + * @classdesc Represents a CorroborateContentResponse. + * @implements ICorroborateContentResponse * @constructor - * @param {google.cloud.aiplatform.v1.IRetrieveContextsResponse=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.ICorroborateContentResponse=} [properties] Properties to set */ - function RetrieveContextsResponse(properties) { + function CorroborateContentResponse(properties) { + this.claims = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -347145,77 +353829,103 @@ } /** - * RetrieveContextsResponse contexts. - * @member {google.cloud.aiplatform.v1.IRagContexts|null|undefined} contexts - * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse + * CorroborateContentResponse corroborationScore. + * @member {number|null|undefined} corroborationScore + * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse * @instance */ - RetrieveContextsResponse.prototype.contexts = null; + CorroborateContentResponse.prototype.corroborationScore = null; /** - * Creates a new RetrieveContextsResponse instance using the specified properties. + * CorroborateContentResponse claims. + * @member {Array.} claims + * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse + * @instance + */ + CorroborateContentResponse.prototype.claims = $util.emptyArray; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + // Virtual OneOf for proto3 optional field + Object.defineProperty(CorroborateContentResponse.prototype, "_corroborationScore", { + get: $util.oneOfGetter($oneOfFields = ["corroborationScore"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new CorroborateContentResponse instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse + * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse * @static - * @param {google.cloud.aiplatform.v1.IRetrieveContextsResponse=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.RetrieveContextsResponse} RetrieveContextsResponse instance + * @param {google.cloud.aiplatform.v1.ICorroborateContentResponse=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.CorroborateContentResponse} CorroborateContentResponse instance */ - RetrieveContextsResponse.create = function create(properties) { - return new RetrieveContextsResponse(properties); + CorroborateContentResponse.create = function create(properties) { + return new CorroborateContentResponse(properties); }; /** - * Encodes the specified RetrieveContextsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.RetrieveContextsResponse.verify|verify} messages. + * Encodes the specified CorroborateContentResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.CorroborateContentResponse.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse + * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse * @static - * @param {google.cloud.aiplatform.v1.IRetrieveContextsResponse} message RetrieveContextsResponse message or plain object to encode + * @param {google.cloud.aiplatform.v1.ICorroborateContentResponse} message CorroborateContentResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - RetrieveContextsResponse.encode = function encode(message, writer) { + CorroborateContentResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.contexts != null && Object.hasOwnProperty.call(message, "contexts")) - $root.google.cloud.aiplatform.v1.RagContexts.encode(message.contexts, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.corroborationScore != null && Object.hasOwnProperty.call(message, "corroborationScore")) + writer.uint32(/* id 1, wireType 5 =*/13).float(message.corroborationScore); + if (message.claims != null && message.claims.length) + for (var i = 0; i < message.claims.length; ++i) + $root.google.cloud.aiplatform.v1.Claim.encode(message.claims[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Encodes the specified RetrieveContextsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.RetrieveContextsResponse.verify|verify} messages. + * Encodes the specified CorroborateContentResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.CorroborateContentResponse.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse + * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse * @static - * @param {google.cloud.aiplatform.v1.IRetrieveContextsResponse} message RetrieveContextsResponse message or plain object to encode + * @param {google.cloud.aiplatform.v1.ICorroborateContentResponse} message CorroborateContentResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - RetrieveContextsResponse.encodeDelimited = function encodeDelimited(message, writer) { + CorroborateContentResponse.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a RetrieveContextsResponse message from the specified reader or buffer. + * Decodes a CorroborateContentResponse message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse + * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse * @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.RetrieveContextsResponse} RetrieveContextsResponse + * @returns {google.cloud.aiplatform.v1.CorroborateContentResponse} CorroborateContentResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - RetrieveContextsResponse.decode = function decode(reader, length, error) { + CorroborateContentResponse.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.RetrieveContextsResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.CorroborateContentResponse(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.contexts = $root.google.cloud.aiplatform.v1.RagContexts.decode(reader, reader.uint32()); + message.corroborationScore = reader.float(); + break; + } + case 2: { + if (!(message.claims && message.claims.length)) + message.claims = []; + message.claims.push($root.google.cloud.aiplatform.v1.Claim.decode(reader, reader.uint32())); break; } default: @@ -347227,131 +353937,158 @@ }; /** - * Decodes a RetrieveContextsResponse message from the specified reader or buffer, length delimited. + * Decodes a CorroborateContentResponse message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse + * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.RetrieveContextsResponse} RetrieveContextsResponse + * @returns {google.cloud.aiplatform.v1.CorroborateContentResponse} CorroborateContentResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - RetrieveContextsResponse.decodeDelimited = function decodeDelimited(reader) { + CorroborateContentResponse.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a RetrieveContextsResponse message. + * Verifies a CorroborateContentResponse message. * @function verify - * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse + * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - RetrieveContextsResponse.verify = function verify(message) { + CorroborateContentResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.contexts != null && message.hasOwnProperty("contexts")) { - var error = $root.google.cloud.aiplatform.v1.RagContexts.verify(message.contexts); - if (error) - return "contexts." + error; + var properties = {}; + if (message.corroborationScore != null && message.hasOwnProperty("corroborationScore")) { + properties._corroborationScore = 1; + if (typeof message.corroborationScore !== "number") + return "corroborationScore: number expected"; + } + if (message.claims != null && message.hasOwnProperty("claims")) { + if (!Array.isArray(message.claims)) + return "claims: array expected"; + for (var i = 0; i < message.claims.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.Claim.verify(message.claims[i]); + if (error) + return "claims." + error; + } } return null; }; /** - * Creates a RetrieveContextsResponse message from a plain object. Also converts values to their respective internal types. + * Creates a CorroborateContentResponse message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse + * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.RetrieveContextsResponse} RetrieveContextsResponse + * @returns {google.cloud.aiplatform.v1.CorroborateContentResponse} CorroborateContentResponse */ - RetrieveContextsResponse.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.RetrieveContextsResponse) + CorroborateContentResponse.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.CorroborateContentResponse) return object; - var message = new $root.google.cloud.aiplatform.v1.RetrieveContextsResponse(); - if (object.contexts != null) { - if (typeof object.contexts !== "object") - throw TypeError(".google.cloud.aiplatform.v1.RetrieveContextsResponse.contexts: object expected"); - message.contexts = $root.google.cloud.aiplatform.v1.RagContexts.fromObject(object.contexts); + var message = new $root.google.cloud.aiplatform.v1.CorroborateContentResponse(); + if (object.corroborationScore != null) + message.corroborationScore = Number(object.corroborationScore); + if (object.claims) { + if (!Array.isArray(object.claims)) + throw TypeError(".google.cloud.aiplatform.v1.CorroborateContentResponse.claims: array expected"); + message.claims = []; + for (var i = 0; i < object.claims.length; ++i) { + if (typeof object.claims[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.CorroborateContentResponse.claims: object expected"); + message.claims[i] = $root.google.cloud.aiplatform.v1.Claim.fromObject(object.claims[i]); + } } return message; }; /** - * Creates a plain object from a RetrieveContextsResponse message. Also converts values to other types if specified. + * Creates a plain object from a CorroborateContentResponse message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse + * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse * @static - * @param {google.cloud.aiplatform.v1.RetrieveContextsResponse} message RetrieveContextsResponse + * @param {google.cloud.aiplatform.v1.CorroborateContentResponse} message CorroborateContentResponse * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - RetrieveContextsResponse.toObject = function toObject(message, options) { + CorroborateContentResponse.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.defaults) - object.contexts = null; - if (message.contexts != null && message.hasOwnProperty("contexts")) - object.contexts = $root.google.cloud.aiplatform.v1.RagContexts.toObject(message.contexts, options); + if (options.arrays || options.defaults) + object.claims = []; + if (message.corroborationScore != null && message.hasOwnProperty("corroborationScore")) { + object.corroborationScore = options.json && !isFinite(message.corroborationScore) ? String(message.corroborationScore) : message.corroborationScore; + if (options.oneofs) + object._corroborationScore = "corroborationScore"; + } + if (message.claims && message.claims.length) { + object.claims = []; + for (var j = 0; j < message.claims.length; ++j) + object.claims[j] = $root.google.cloud.aiplatform.v1.Claim.toObject(message.claims[j], options); + } return object; }; /** - * Converts this RetrieveContextsResponse to JSON. + * Converts this CorroborateContentResponse to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse + * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse * @instance * @returns {Object.} JSON object */ - RetrieveContextsResponse.prototype.toJSON = function toJSON() { + CorroborateContentResponse.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for RetrieveContextsResponse + * Gets the default type url for CorroborateContentResponse * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.RetrieveContextsResponse + * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - RetrieveContextsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + CorroborateContentResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.RetrieveContextsResponse"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.CorroborateContentResponse"; }; - return RetrieveContextsResponse; + return CorroborateContentResponse; })(); - v1.AugmentPromptRequest = (function() { + v1.Fact = (function() { /** - * Properties of an AugmentPromptRequest. + * Properties of a Fact. * @memberof google.cloud.aiplatform.v1 - * @interface IAugmentPromptRequest - * @property {google.cloud.aiplatform.v1.IVertexRagStore|null} [vertexRagStore] AugmentPromptRequest vertexRagStore - * @property {string|null} [parent] AugmentPromptRequest parent - * @property {Array.|null} [contents] AugmentPromptRequest contents - * @property {google.cloud.aiplatform.v1.AugmentPromptRequest.IModel|null} [model] AugmentPromptRequest model + * @interface IFact + * @property {string|null} [query] Fact query + * @property {string|null} [title] Fact title + * @property {string|null} [uri] Fact uri + * @property {string|null} [summary] Fact summary + * @property {number|null} [vectorDistance] Fact vectorDistance + * @property {number|null} [score] Fact score + * @property {google.cloud.aiplatform.v1.IRagChunk|null} [chunk] Fact chunk */ /** - * Constructs a new AugmentPromptRequest. + * Constructs a new Fact. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents an AugmentPromptRequest. - * @implements IAugmentPromptRequest + * @classdesc Represents a Fact. + * @implements IFact * @constructor - * @param {google.cloud.aiplatform.v1.IAugmentPromptRequest=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IFact=} [properties] Properties to set */ - function AugmentPromptRequest(properties) { - this.contents = []; + function Fact(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -347359,136 +354096,206 @@ } /** - * AugmentPromptRequest vertexRagStore. - * @member {google.cloud.aiplatform.v1.IVertexRagStore|null|undefined} vertexRagStore - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * Fact query. + * @member {string|null|undefined} query + * @memberof google.cloud.aiplatform.v1.Fact * @instance */ - AugmentPromptRequest.prototype.vertexRagStore = null; + Fact.prototype.query = null; /** - * AugmentPromptRequest parent. - * @member {string} parent - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * Fact title. + * @member {string|null|undefined} title + * @memberof google.cloud.aiplatform.v1.Fact * @instance */ - AugmentPromptRequest.prototype.parent = ""; + Fact.prototype.title = null; /** - * AugmentPromptRequest contents. - * @member {Array.} contents - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * Fact uri. + * @member {string|null|undefined} uri + * @memberof google.cloud.aiplatform.v1.Fact * @instance */ - AugmentPromptRequest.prototype.contents = $util.emptyArray; + Fact.prototype.uri = null; /** - * AugmentPromptRequest model. - * @member {google.cloud.aiplatform.v1.AugmentPromptRequest.IModel|null|undefined} model - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * Fact summary. + * @member {string|null|undefined} summary + * @memberof google.cloud.aiplatform.v1.Fact * @instance */ - AugmentPromptRequest.prototype.model = null; + Fact.prototype.summary = null; - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + /** + * Fact vectorDistance. + * @member {number|null|undefined} vectorDistance + * @memberof google.cloud.aiplatform.v1.Fact + * @instance + */ + Fact.prototype.vectorDistance = null; /** - * AugmentPromptRequest dataSource. - * @member {"vertexRagStore"|undefined} dataSource - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * Fact score. + * @member {number|null|undefined} score + * @memberof google.cloud.aiplatform.v1.Fact * @instance */ - Object.defineProperty(AugmentPromptRequest.prototype, "dataSource", { - get: $util.oneOfGetter($oneOfFields = ["vertexRagStore"]), + Fact.prototype.score = null; + + /** + * Fact chunk. + * @member {google.cloud.aiplatform.v1.IRagChunk|null|undefined} chunk + * @memberof google.cloud.aiplatform.v1.Fact + * @instance + */ + Fact.prototype.chunk = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + // Virtual OneOf for proto3 optional field + Object.defineProperty(Fact.prototype, "_query", { + get: $util.oneOfGetter($oneOfFields = ["query"]), + set: $util.oneOfSetter($oneOfFields) + }); + + // Virtual OneOf for proto3 optional field + Object.defineProperty(Fact.prototype, "_title", { + get: $util.oneOfGetter($oneOfFields = ["title"]), + set: $util.oneOfSetter($oneOfFields) + }); + + // Virtual OneOf for proto3 optional field + Object.defineProperty(Fact.prototype, "_uri", { + get: $util.oneOfGetter($oneOfFields = ["uri"]), + set: $util.oneOfSetter($oneOfFields) + }); + + // Virtual OneOf for proto3 optional field + Object.defineProperty(Fact.prototype, "_summary", { + get: $util.oneOfGetter($oneOfFields = ["summary"]), + set: $util.oneOfSetter($oneOfFields) + }); + + // Virtual OneOf for proto3 optional field + Object.defineProperty(Fact.prototype, "_vectorDistance", { + get: $util.oneOfGetter($oneOfFields = ["vectorDistance"]), + set: $util.oneOfSetter($oneOfFields) + }); + + // Virtual OneOf for proto3 optional field + Object.defineProperty(Fact.prototype, "_score", { + get: $util.oneOfGetter($oneOfFields = ["score"]), + set: $util.oneOfSetter($oneOfFields) + }); + + // Virtual OneOf for proto3 optional field + Object.defineProperty(Fact.prototype, "_chunk", { + get: $util.oneOfGetter($oneOfFields = ["chunk"]), set: $util.oneOfSetter($oneOfFields) }); /** - * Creates a new AugmentPromptRequest instance using the specified properties. + * Creates a new Fact instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * @memberof google.cloud.aiplatform.v1.Fact * @static - * @param {google.cloud.aiplatform.v1.IAugmentPromptRequest=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.AugmentPromptRequest} AugmentPromptRequest instance + * @param {google.cloud.aiplatform.v1.IFact=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.Fact} Fact instance */ - AugmentPromptRequest.create = function create(properties) { - return new AugmentPromptRequest(properties); + Fact.create = function create(properties) { + return new Fact(properties); }; /** - * Encodes the specified AugmentPromptRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.AugmentPromptRequest.verify|verify} messages. + * Encodes the specified Fact message. Does not implicitly {@link google.cloud.aiplatform.v1.Fact.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * @memberof google.cloud.aiplatform.v1.Fact * @static - * @param {google.cloud.aiplatform.v1.IAugmentPromptRequest} message AugmentPromptRequest message or plain object to encode + * @param {google.cloud.aiplatform.v1.IFact} message Fact message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - AugmentPromptRequest.encode = function encode(message, writer) { + Fact.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.contents != null && message.contents.length) - for (var i = 0; i < message.contents.length; ++i) - $root.google.cloud.aiplatform.v1.Content.encode(message.contents[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.model != null && Object.hasOwnProperty.call(message, "model")) - $root.google.cloud.aiplatform.v1.AugmentPromptRequest.Model.encode(message.model, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.vertexRagStore != null && Object.hasOwnProperty.call(message, "vertexRagStore")) - $root.google.cloud.aiplatform.v1.VertexRagStore.encode(message.vertexRagStore, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.query != null && Object.hasOwnProperty.call(message, "query")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.query); + if (message.title != null && Object.hasOwnProperty.call(message, "title")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.title); + if (message.uri != null && Object.hasOwnProperty.call(message, "uri")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.uri); + if (message.summary != null && Object.hasOwnProperty.call(message, "summary")) + writer.uint32(/* id 4, wireType 2 =*/34).string(message.summary); + if (message.vectorDistance != null && Object.hasOwnProperty.call(message, "vectorDistance")) + writer.uint32(/* id 5, wireType 1 =*/41).double(message.vectorDistance); + if (message.score != null && Object.hasOwnProperty.call(message, "score")) + writer.uint32(/* id 6, wireType 1 =*/49).double(message.score); + if (message.chunk != null && Object.hasOwnProperty.call(message, "chunk")) + $root.google.cloud.aiplatform.v1.RagChunk.encode(message.chunk, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); return writer; }; /** - * Encodes the specified AugmentPromptRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AugmentPromptRequest.verify|verify} messages. + * Encodes the specified Fact message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Fact.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * @memberof google.cloud.aiplatform.v1.Fact * @static - * @param {google.cloud.aiplatform.v1.IAugmentPromptRequest} message AugmentPromptRequest message or plain object to encode + * @param {google.cloud.aiplatform.v1.IFact} message Fact message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - AugmentPromptRequest.encodeDelimited = function encodeDelimited(message, writer) { + Fact.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes an AugmentPromptRequest message from the specified reader or buffer. + * Decodes a Fact message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * @memberof google.cloud.aiplatform.v1.Fact * @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.AugmentPromptRequest} AugmentPromptRequest + * @returns {google.cloud.aiplatform.v1.Fact} Fact * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - AugmentPromptRequest.decode = function decode(reader, length, error) { + Fact.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.AugmentPromptRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.Fact(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { - case 4: { - message.vertexRagStore = $root.google.cloud.aiplatform.v1.VertexRagStore.decode(reader, reader.uint32()); - break; - } case 1: { - message.parent = reader.string(); + message.query = reader.string(); break; } case 2: { - if (!(message.contents && message.contents.length)) - message.contents = []; - message.contents.push($root.google.cloud.aiplatform.v1.Content.decode(reader, reader.uint32())); + message.title = reader.string(); break; } case 3: { - message.model = $root.google.cloud.aiplatform.v1.AugmentPromptRequest.Model.decode(reader, reader.uint32()); + message.uri = reader.string(); + break; + } + case 4: { + message.summary = reader.string(); + break; + } + case 5: { + message.vectorDistance = reader.double(); + break; + } + case 6: { + message.score = reader.double(); + break; + } + case 7: { + message.chunk = $root.google.cloud.aiplatform.v1.RagChunk.decode(reader, reader.uint32()); break; } default: @@ -347500,413 +354307,208 @@ }; /** - * Decodes an AugmentPromptRequest message from the specified reader or buffer, length delimited. + * Decodes a Fact message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * @memberof google.cloud.aiplatform.v1.Fact * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.AugmentPromptRequest} AugmentPromptRequest + * @returns {google.cloud.aiplatform.v1.Fact} Fact * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - AugmentPromptRequest.decodeDelimited = function decodeDelimited(reader) { + Fact.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies an AugmentPromptRequest message. + * Verifies a Fact message. * @function verify - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * @memberof google.cloud.aiplatform.v1.Fact * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - AugmentPromptRequest.verify = function verify(message) { + Fact.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; var properties = {}; - if (message.vertexRagStore != null && message.hasOwnProperty("vertexRagStore")) { - properties.dataSource = 1; - { - var error = $root.google.cloud.aiplatform.v1.VertexRagStore.verify(message.vertexRagStore); - if (error) - return "vertexRagStore." + error; - } + if (message.query != null && message.hasOwnProperty("query")) { + properties._query = 1; + if (!$util.isString(message.query)) + return "query: string expected"; } - if (message.parent != null && message.hasOwnProperty("parent")) - if (!$util.isString(message.parent)) - return "parent: string expected"; - if (message.contents != null && message.hasOwnProperty("contents")) { - if (!Array.isArray(message.contents)) - return "contents: array expected"; - for (var i = 0; i < message.contents.length; ++i) { - var error = $root.google.cloud.aiplatform.v1.Content.verify(message.contents[i]); + if (message.title != null && message.hasOwnProperty("title")) { + properties._title = 1; + if (!$util.isString(message.title)) + return "title: string expected"; + } + if (message.uri != null && message.hasOwnProperty("uri")) { + properties._uri = 1; + if (!$util.isString(message.uri)) + return "uri: string expected"; + } + if (message.summary != null && message.hasOwnProperty("summary")) { + properties._summary = 1; + if (!$util.isString(message.summary)) + return "summary: string expected"; + } + if (message.vectorDistance != null && message.hasOwnProperty("vectorDistance")) { + properties._vectorDistance = 1; + if (typeof message.vectorDistance !== "number") + return "vectorDistance: number expected"; + } + if (message.score != null && message.hasOwnProperty("score")) { + properties._score = 1; + if (typeof message.score !== "number") + return "score: number expected"; + } + if (message.chunk != null && message.hasOwnProperty("chunk")) { + properties._chunk = 1; + { + var error = $root.google.cloud.aiplatform.v1.RagChunk.verify(message.chunk); if (error) - return "contents." + error; + return "chunk." + error; } } - if (message.model != null && message.hasOwnProperty("model")) { - var error = $root.google.cloud.aiplatform.v1.AugmentPromptRequest.Model.verify(message.model); - if (error) - return "model." + error; - } return null; }; - /** - * Creates an AugmentPromptRequest message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.AugmentPromptRequest} AugmentPromptRequest - */ - AugmentPromptRequest.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.AugmentPromptRequest) - return object; - var message = new $root.google.cloud.aiplatform.v1.AugmentPromptRequest(); - if (object.vertexRagStore != null) { - if (typeof object.vertexRagStore !== "object") - throw TypeError(".google.cloud.aiplatform.v1.AugmentPromptRequest.vertexRagStore: object expected"); - message.vertexRagStore = $root.google.cloud.aiplatform.v1.VertexRagStore.fromObject(object.vertexRagStore); - } - if (object.parent != null) - message.parent = String(object.parent); - if (object.contents) { - if (!Array.isArray(object.contents)) - throw TypeError(".google.cloud.aiplatform.v1.AugmentPromptRequest.contents: array expected"); - message.contents = []; - for (var i = 0; i < object.contents.length; ++i) { - if (typeof object.contents[i] !== "object") - throw TypeError(".google.cloud.aiplatform.v1.AugmentPromptRequest.contents: object expected"); - message.contents[i] = $root.google.cloud.aiplatform.v1.Content.fromObject(object.contents[i]); - } - } - if (object.model != null) { - if (typeof object.model !== "object") - throw TypeError(".google.cloud.aiplatform.v1.AugmentPromptRequest.model: object expected"); - message.model = $root.google.cloud.aiplatform.v1.AugmentPromptRequest.Model.fromObject(object.model); + /** + * Creates a Fact message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.Fact + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.Fact} Fact + */ + Fact.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.Fact) + return object; + var message = new $root.google.cloud.aiplatform.v1.Fact(); + if (object.query != null) + message.query = String(object.query); + if (object.title != null) + message.title = String(object.title); + if (object.uri != null) + message.uri = String(object.uri); + if (object.summary != null) + message.summary = String(object.summary); + if (object.vectorDistance != null) + message.vectorDistance = Number(object.vectorDistance); + if (object.score != null) + message.score = Number(object.score); + if (object.chunk != null) { + if (typeof object.chunk !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Fact.chunk: object expected"); + message.chunk = $root.google.cloud.aiplatform.v1.RagChunk.fromObject(object.chunk); } return message; }; /** - * Creates a plain object from an AugmentPromptRequest message. Also converts values to other types if specified. + * Creates a plain object from a Fact message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * @memberof google.cloud.aiplatform.v1.Fact * @static - * @param {google.cloud.aiplatform.v1.AugmentPromptRequest} message AugmentPromptRequest + * @param {google.cloud.aiplatform.v1.Fact} message Fact * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - AugmentPromptRequest.toObject = function toObject(message, options) { + Fact.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.arrays || options.defaults) - object.contents = []; - if (options.defaults) { - object.parent = ""; - object.model = null; + if (message.query != null && message.hasOwnProperty("query")) { + object.query = message.query; + if (options.oneofs) + object._query = "query"; } - if (message.parent != null && message.hasOwnProperty("parent")) - object.parent = message.parent; - if (message.contents && message.contents.length) { - object.contents = []; - for (var j = 0; j < message.contents.length; ++j) - object.contents[j] = $root.google.cloud.aiplatform.v1.Content.toObject(message.contents[j], options); + if (message.title != null && message.hasOwnProperty("title")) { + object.title = message.title; + if (options.oneofs) + object._title = "title"; } - if (message.model != null && message.hasOwnProperty("model")) - object.model = $root.google.cloud.aiplatform.v1.AugmentPromptRequest.Model.toObject(message.model, options); - if (message.vertexRagStore != null && message.hasOwnProperty("vertexRagStore")) { - object.vertexRagStore = $root.google.cloud.aiplatform.v1.VertexRagStore.toObject(message.vertexRagStore, options); + if (message.uri != null && message.hasOwnProperty("uri")) { + object.uri = message.uri; if (options.oneofs) - object.dataSource = "vertexRagStore"; + object._uri = "uri"; + } + if (message.summary != null && message.hasOwnProperty("summary")) { + object.summary = message.summary; + if (options.oneofs) + object._summary = "summary"; + } + if (message.vectorDistance != null && message.hasOwnProperty("vectorDistance")) { + object.vectorDistance = options.json && !isFinite(message.vectorDistance) ? String(message.vectorDistance) : message.vectorDistance; + if (options.oneofs) + object._vectorDistance = "vectorDistance"; + } + if (message.score != null && message.hasOwnProperty("score")) { + object.score = options.json && !isFinite(message.score) ? String(message.score) : message.score; + if (options.oneofs) + object._score = "score"; + } + if (message.chunk != null && message.hasOwnProperty("chunk")) { + object.chunk = $root.google.cloud.aiplatform.v1.RagChunk.toObject(message.chunk, options); + if (options.oneofs) + object._chunk = "chunk"; } return object; }; /** - * Converts this AugmentPromptRequest to JSON. + * Converts this Fact to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * @memberof google.cloud.aiplatform.v1.Fact * @instance * @returns {Object.} JSON object */ - AugmentPromptRequest.prototype.toJSON = function toJSON() { + Fact.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for AugmentPromptRequest + * Gets the default type url for Fact * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest + * @memberof google.cloud.aiplatform.v1.Fact * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - AugmentPromptRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + Fact.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.AugmentPromptRequest"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.Fact"; }; - AugmentPromptRequest.Model = (function() { - - /** - * Properties of a Model. - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest - * @interface IModel - * @property {string|null} [model] Model model - * @property {string|null} [modelVersion] Model modelVersion - */ - - /** - * Constructs a new Model. - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest - * @classdesc Represents a Model. - * @implements IModel - * @constructor - * @param {google.cloud.aiplatform.v1.AugmentPromptRequest.IModel=} [properties] Properties to set - */ - function Model(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]]; - } - - /** - * Model model. - * @member {string} model - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model - * @instance - */ - Model.prototype.model = ""; - - /** - * Model modelVersion. - * @member {string} modelVersion - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model - * @instance - */ - Model.prototype.modelVersion = ""; - - /** - * Creates a new Model instance using the specified properties. - * @function create - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model - * @static - * @param {google.cloud.aiplatform.v1.AugmentPromptRequest.IModel=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.AugmentPromptRequest.Model} Model instance - */ - Model.create = function create(properties) { - return new Model(properties); - }; - - /** - * Encodes the specified Model message. Does not implicitly {@link google.cloud.aiplatform.v1.AugmentPromptRequest.Model.verify|verify} messages. - * @function encode - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model - * @static - * @param {google.cloud.aiplatform.v1.AugmentPromptRequest.IModel} message Model message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Model.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.model != null && Object.hasOwnProperty.call(message, "model")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.model); - if (message.modelVersion != null && Object.hasOwnProperty.call(message, "modelVersion")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.modelVersion); - return writer; - }; - - /** - * Encodes the specified Model message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AugmentPromptRequest.Model.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model - * @static - * @param {google.cloud.aiplatform.v1.AugmentPromptRequest.IModel} message Model message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Model.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Model message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model - * @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.AugmentPromptRequest.Model} Model - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Model.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.AugmentPromptRequest.Model(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.model = reader.string(); - break; - } - case 2: { - message.modelVersion = reader.string(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Model message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.AugmentPromptRequest.Model} Model - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Model.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Model message. - * @function verify - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Model.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.model != null && message.hasOwnProperty("model")) - if (!$util.isString(message.model)) - return "model: string expected"; - if (message.modelVersion != null && message.hasOwnProperty("modelVersion")) - if (!$util.isString(message.modelVersion)) - return "modelVersion: string expected"; - return null; - }; - - /** - * Creates a Model message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.AugmentPromptRequest.Model} Model - */ - Model.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.AugmentPromptRequest.Model) - return object; - var message = new $root.google.cloud.aiplatform.v1.AugmentPromptRequest.Model(); - if (object.model != null) - message.model = String(object.model); - if (object.modelVersion != null) - message.modelVersion = String(object.modelVersion); - return message; - }; - - /** - * Creates a plain object from a Model message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model - * @static - * @param {google.cloud.aiplatform.v1.AugmentPromptRequest.Model} message Model - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Model.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.model = ""; - object.modelVersion = ""; - } - if (message.model != null && message.hasOwnProperty("model")) - object.model = message.model; - if (message.modelVersion != null && message.hasOwnProperty("modelVersion")) - object.modelVersion = message.modelVersion; - return object; - }; - - /** - * Converts this Model to JSON. - * @function toJSON - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model - * @instance - * @returns {Object.} JSON object - */ - Model.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for Model - * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.AugmentPromptRequest.Model - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Model.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.AugmentPromptRequest.Model"; - }; - - return Model; - })(); - - return AugmentPromptRequest; + return Fact; })(); - v1.AugmentPromptResponse = (function() { + v1.Claim = (function() { /** - * Properties of an AugmentPromptResponse. + * Properties of a Claim. * @memberof google.cloud.aiplatform.v1 - * @interface IAugmentPromptResponse - * @property {Array.|null} [augmentedPrompt] AugmentPromptResponse augmentedPrompt - * @property {Array.|null} [facts] AugmentPromptResponse facts + * @interface IClaim + * @property {number|null} [startIndex] Claim startIndex + * @property {number|null} [endIndex] Claim endIndex + * @property {Array.|null} [factIndexes] Claim factIndexes + * @property {number|null} [score] Claim score */ /** - * Constructs a new AugmentPromptResponse. + * Constructs a new Claim. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents an AugmentPromptResponse. - * @implements IAugmentPromptResponse + * @classdesc Represents a Claim. + * @implements IClaim * @constructor - * @param {google.cloud.aiplatform.v1.IAugmentPromptResponse=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IClaim=} [properties] Properties to set */ - function AugmentPromptResponse(properties) { - this.augmentedPrompt = []; - this.facts = []; + function Claim(properties) { + this.factIndexes = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -347914,97 +354516,151 @@ } /** - * AugmentPromptResponse augmentedPrompt. - * @member {Array.} augmentedPrompt - * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * Claim startIndex. + * @member {number|null|undefined} startIndex + * @memberof google.cloud.aiplatform.v1.Claim * @instance */ - AugmentPromptResponse.prototype.augmentedPrompt = $util.emptyArray; + Claim.prototype.startIndex = null; /** - * AugmentPromptResponse facts. - * @member {Array.} facts - * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * Claim endIndex. + * @member {number|null|undefined} endIndex + * @memberof google.cloud.aiplatform.v1.Claim * @instance */ - AugmentPromptResponse.prototype.facts = $util.emptyArray; + Claim.prototype.endIndex = null; /** - * Creates a new AugmentPromptResponse instance using the specified properties. + * Claim factIndexes. + * @member {Array.} factIndexes + * @memberof google.cloud.aiplatform.v1.Claim + * @instance + */ + Claim.prototype.factIndexes = $util.emptyArray; + + /** + * Claim score. + * @member {number|null|undefined} score + * @memberof google.cloud.aiplatform.v1.Claim + * @instance + */ + Claim.prototype.score = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + // Virtual OneOf for proto3 optional field + Object.defineProperty(Claim.prototype, "_startIndex", { + get: $util.oneOfGetter($oneOfFields = ["startIndex"]), + set: $util.oneOfSetter($oneOfFields) + }); + + // Virtual OneOf for proto3 optional field + Object.defineProperty(Claim.prototype, "_endIndex", { + get: $util.oneOfGetter($oneOfFields = ["endIndex"]), + set: $util.oneOfSetter($oneOfFields) + }); + + // Virtual OneOf for proto3 optional field + Object.defineProperty(Claim.prototype, "_score", { + get: $util.oneOfGetter($oneOfFields = ["score"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new Claim instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @memberof google.cloud.aiplatform.v1.Claim * @static - * @param {google.cloud.aiplatform.v1.IAugmentPromptResponse=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.AugmentPromptResponse} AugmentPromptResponse instance + * @param {google.cloud.aiplatform.v1.IClaim=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.Claim} Claim instance */ - AugmentPromptResponse.create = function create(properties) { - return new AugmentPromptResponse(properties); + Claim.create = function create(properties) { + return new Claim(properties); }; /** - * Encodes the specified AugmentPromptResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.AugmentPromptResponse.verify|verify} messages. + * Encodes the specified Claim message. Does not implicitly {@link google.cloud.aiplatform.v1.Claim.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @memberof google.cloud.aiplatform.v1.Claim * @static - * @param {google.cloud.aiplatform.v1.IAugmentPromptResponse} message AugmentPromptResponse message or plain object to encode + * @param {google.cloud.aiplatform.v1.IClaim} message Claim message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - AugmentPromptResponse.encode = function encode(message, writer) { + Claim.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.augmentedPrompt != null && message.augmentedPrompt.length) - for (var i = 0; i < message.augmentedPrompt.length; ++i) - $root.google.cloud.aiplatform.v1.Content.encode(message.augmentedPrompt[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.facts != null && message.facts.length) - for (var i = 0; i < message.facts.length; ++i) - $root.google.cloud.aiplatform.v1.Fact.encode(message.facts[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.startIndex != null && Object.hasOwnProperty.call(message, "startIndex")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.startIndex); + if (message.endIndex != null && Object.hasOwnProperty.call(message, "endIndex")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.endIndex); + if (message.factIndexes != null && message.factIndexes.length) { + writer.uint32(/* id 3, wireType 2 =*/26).fork(); + for (var i = 0; i < message.factIndexes.length; ++i) + writer.int32(message.factIndexes[i]); + writer.ldelim(); + } + if (message.score != null && Object.hasOwnProperty.call(message, "score")) + writer.uint32(/* id 4, wireType 5 =*/37).float(message.score); return writer; }; /** - * Encodes the specified AugmentPromptResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AugmentPromptResponse.verify|verify} messages. + * Encodes the specified Claim message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Claim.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @memberof google.cloud.aiplatform.v1.Claim * @static - * @param {google.cloud.aiplatform.v1.IAugmentPromptResponse} message AugmentPromptResponse message or plain object to encode + * @param {google.cloud.aiplatform.v1.IClaim} message Claim message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - AugmentPromptResponse.encodeDelimited = function encodeDelimited(message, writer) { + Claim.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes an AugmentPromptResponse message from the specified reader or buffer. + * Decodes a Claim message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @memberof google.cloud.aiplatform.v1.Claim * @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.AugmentPromptResponse} AugmentPromptResponse + * @returns {google.cloud.aiplatform.v1.Claim} Claim * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - AugmentPromptResponse.decode = function decode(reader, length, error) { + Claim.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.AugmentPromptResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.Claim(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - if (!(message.augmentedPrompt && message.augmentedPrompt.length)) - message.augmentedPrompt = []; - message.augmentedPrompt.push($root.google.cloud.aiplatform.v1.Content.decode(reader, reader.uint32())); + message.startIndex = reader.int32(); break; } case 2: { - if (!(message.facts && message.facts.length)) - message.facts = []; - message.facts.push($root.google.cloud.aiplatform.v1.Fact.decode(reader, reader.uint32())); + message.endIndex = reader.int32(); + break; + } + case 3: { + if (!(message.factIndexes && message.factIndexes.length)) + message.factIndexes = []; + if ((tag & 7) === 2) { + var end2 = reader.uint32() + reader.pos; + while (reader.pos < end2) + message.factIndexes.push(reader.int32()); + } else + message.factIndexes.push(reader.int32()); + break; + } + case 4: { + message.score = reader.float(); break; } default: @@ -348016,169 +354672,174 @@ }; /** - * Decodes an AugmentPromptResponse message from the specified reader or buffer, length delimited. + * Decodes a Claim message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @memberof google.cloud.aiplatform.v1.Claim * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.AugmentPromptResponse} AugmentPromptResponse + * @returns {google.cloud.aiplatform.v1.Claim} Claim * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - AugmentPromptResponse.decodeDelimited = function decodeDelimited(reader) { + Claim.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies an AugmentPromptResponse message. + * Verifies a Claim message. * @function verify - * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @memberof google.cloud.aiplatform.v1.Claim * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - AugmentPromptResponse.verify = function verify(message) { + Claim.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.augmentedPrompt != null && message.hasOwnProperty("augmentedPrompt")) { - if (!Array.isArray(message.augmentedPrompt)) - return "augmentedPrompt: array expected"; - for (var i = 0; i < message.augmentedPrompt.length; ++i) { - var error = $root.google.cloud.aiplatform.v1.Content.verify(message.augmentedPrompt[i]); - if (error) - return "augmentedPrompt." + error; - } + var properties = {}; + if (message.startIndex != null && message.hasOwnProperty("startIndex")) { + properties._startIndex = 1; + if (!$util.isInteger(message.startIndex)) + return "startIndex: integer expected"; } - if (message.facts != null && message.hasOwnProperty("facts")) { - if (!Array.isArray(message.facts)) - return "facts: array expected"; - for (var i = 0; i < message.facts.length; ++i) { - var error = $root.google.cloud.aiplatform.v1.Fact.verify(message.facts[i]); - if (error) - return "facts." + error; - } + if (message.endIndex != null && message.hasOwnProperty("endIndex")) { + properties._endIndex = 1; + if (!$util.isInteger(message.endIndex)) + return "endIndex: integer expected"; + } + if (message.factIndexes != null && message.hasOwnProperty("factIndexes")) { + if (!Array.isArray(message.factIndexes)) + return "factIndexes: array expected"; + for (var i = 0; i < message.factIndexes.length; ++i) + if (!$util.isInteger(message.factIndexes[i])) + return "factIndexes: integer[] expected"; + } + if (message.score != null && message.hasOwnProperty("score")) { + properties._score = 1; + if (typeof message.score !== "number") + return "score: number expected"; } return null; }; /** - * Creates an AugmentPromptResponse message from a plain object. Also converts values to their respective internal types. + * Creates a Claim message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @memberof google.cloud.aiplatform.v1.Claim * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.AugmentPromptResponse} AugmentPromptResponse + * @returns {google.cloud.aiplatform.v1.Claim} Claim */ - AugmentPromptResponse.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.AugmentPromptResponse) + Claim.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.Claim) return object; - var message = new $root.google.cloud.aiplatform.v1.AugmentPromptResponse(); - if (object.augmentedPrompt) { - if (!Array.isArray(object.augmentedPrompt)) - throw TypeError(".google.cloud.aiplatform.v1.AugmentPromptResponse.augmentedPrompt: array expected"); - message.augmentedPrompt = []; - for (var i = 0; i < object.augmentedPrompt.length; ++i) { - if (typeof object.augmentedPrompt[i] !== "object") - throw TypeError(".google.cloud.aiplatform.v1.AugmentPromptResponse.augmentedPrompt: object expected"); - message.augmentedPrompt[i] = $root.google.cloud.aiplatform.v1.Content.fromObject(object.augmentedPrompt[i]); - } - } - if (object.facts) { - if (!Array.isArray(object.facts)) - throw TypeError(".google.cloud.aiplatform.v1.AugmentPromptResponse.facts: array expected"); - message.facts = []; - for (var i = 0; i < object.facts.length; ++i) { - if (typeof object.facts[i] !== "object") - throw TypeError(".google.cloud.aiplatform.v1.AugmentPromptResponse.facts: object expected"); - message.facts[i] = $root.google.cloud.aiplatform.v1.Fact.fromObject(object.facts[i]); - } + var message = new $root.google.cloud.aiplatform.v1.Claim(); + if (object.startIndex != null) + message.startIndex = object.startIndex | 0; + if (object.endIndex != null) + message.endIndex = object.endIndex | 0; + if (object.factIndexes) { + if (!Array.isArray(object.factIndexes)) + throw TypeError(".google.cloud.aiplatform.v1.Claim.factIndexes: array expected"); + message.factIndexes = []; + for (var i = 0; i < object.factIndexes.length; ++i) + message.factIndexes[i] = object.factIndexes[i] | 0; } + if (object.score != null) + message.score = Number(object.score); return message; }; /** - * Creates a plain object from an AugmentPromptResponse message. Also converts values to other types if specified. + * Creates a plain object from a Claim message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @memberof google.cloud.aiplatform.v1.Claim * @static - * @param {google.cloud.aiplatform.v1.AugmentPromptResponse} message AugmentPromptResponse + * @param {google.cloud.aiplatform.v1.Claim} message Claim * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - AugmentPromptResponse.toObject = function toObject(message, options) { + Claim.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.arrays || options.defaults) { - object.augmentedPrompt = []; - object.facts = []; + if (options.arrays || options.defaults) + object.factIndexes = []; + if (message.startIndex != null && message.hasOwnProperty("startIndex")) { + object.startIndex = message.startIndex; + if (options.oneofs) + object._startIndex = "startIndex"; } - if (message.augmentedPrompt && message.augmentedPrompt.length) { - object.augmentedPrompt = []; - for (var j = 0; j < message.augmentedPrompt.length; ++j) - object.augmentedPrompt[j] = $root.google.cloud.aiplatform.v1.Content.toObject(message.augmentedPrompt[j], options); + if (message.endIndex != null && message.hasOwnProperty("endIndex")) { + object.endIndex = message.endIndex; + if (options.oneofs) + object._endIndex = "endIndex"; } - if (message.facts && message.facts.length) { - object.facts = []; - for (var j = 0; j < message.facts.length; ++j) - object.facts[j] = $root.google.cloud.aiplatform.v1.Fact.toObject(message.facts[j], options); + if (message.factIndexes && message.factIndexes.length) { + object.factIndexes = []; + for (var j = 0; j < message.factIndexes.length; ++j) + object.factIndexes[j] = message.factIndexes[j]; + } + if (message.score != null && message.hasOwnProperty("score")) { + object.score = options.json && !isFinite(message.score) ? String(message.score) : message.score; + if (options.oneofs) + object._score = "score"; } return object; }; /** - * Converts this AugmentPromptResponse to JSON. + * Converts this Claim to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @memberof google.cloud.aiplatform.v1.Claim * @instance * @returns {Object.} JSON object */ - AugmentPromptResponse.prototype.toJSON = function toJSON() { + Claim.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for AugmentPromptResponse + * Gets the default type url for Claim * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.AugmentPromptResponse + * @memberof google.cloud.aiplatform.v1.Claim * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - AugmentPromptResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + Claim.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.AugmentPromptResponse"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.Claim"; }; - return AugmentPromptResponse; + return Claim; })(); - v1.CorroborateContentRequest = (function() { + v1.AskContextsRequest = (function() { /** - * Properties of a CorroborateContentRequest. + * Properties of an AskContextsRequest. * @memberof google.cloud.aiplatform.v1 - * @interface ICorroborateContentRequest - * @property {string|null} [parent] CorroborateContentRequest parent - * @property {google.cloud.aiplatform.v1.IContent|null} [content] CorroborateContentRequest content - * @property {Array.|null} [facts] CorroborateContentRequest facts - * @property {google.cloud.aiplatform.v1.CorroborateContentRequest.IParameters|null} [parameters] CorroborateContentRequest parameters + * @interface IAskContextsRequest + * @property {string|null} [parent] AskContextsRequest parent + * @property {google.cloud.aiplatform.v1.IRagQuery|null} [query] AskContextsRequest query + * @property {Array.|null} [tools] AskContextsRequest tools */ /** - * Constructs a new CorroborateContentRequest. + * Constructs a new AskContextsRequest. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a CorroborateContentRequest. - * @implements ICorroborateContentRequest + * @classdesc Represents an AskContextsRequest. + * @implements IAskContextsRequest * @constructor - * @param {google.cloud.aiplatform.v1.ICorroborateContentRequest=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IAskContextsRequest=} [properties] Properties to set */ - function CorroborateContentRequest(properties) { - this.facts = []; + function AskContextsRequest(properties) { + this.tools = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -348186,110 +354847,91 @@ } /** - * CorroborateContentRequest parent. + * AskContextsRequest parent. * @member {string} parent - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest - * @instance - */ - CorroborateContentRequest.prototype.parent = ""; - - /** - * CorroborateContentRequest content. - * @member {google.cloud.aiplatform.v1.IContent|null|undefined} content - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest + * @memberof google.cloud.aiplatform.v1.AskContextsRequest * @instance */ - CorroborateContentRequest.prototype.content = null; + AskContextsRequest.prototype.parent = ""; /** - * CorroborateContentRequest facts. - * @member {Array.} facts - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest + * AskContextsRequest query. + * @member {google.cloud.aiplatform.v1.IRagQuery|null|undefined} query + * @memberof google.cloud.aiplatform.v1.AskContextsRequest * @instance */ - CorroborateContentRequest.prototype.facts = $util.emptyArray; + AskContextsRequest.prototype.query = null; /** - * CorroborateContentRequest parameters. - * @member {google.cloud.aiplatform.v1.CorroborateContentRequest.IParameters|null|undefined} parameters - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest + * AskContextsRequest tools. + * @member {Array.} tools + * @memberof google.cloud.aiplatform.v1.AskContextsRequest * @instance */ - CorroborateContentRequest.prototype.parameters = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - // Virtual OneOf for proto3 optional field - Object.defineProperty(CorroborateContentRequest.prototype, "_content", { - get: $util.oneOfGetter($oneOfFields = ["content"]), - set: $util.oneOfSetter($oneOfFields) - }); + AskContextsRequest.prototype.tools = $util.emptyArray; /** - * Creates a new CorroborateContentRequest instance using the specified properties. + * Creates a new AskContextsRequest instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest + * @memberof google.cloud.aiplatform.v1.AskContextsRequest * @static - * @param {google.cloud.aiplatform.v1.ICorroborateContentRequest=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.CorroborateContentRequest} CorroborateContentRequest instance + * @param {google.cloud.aiplatform.v1.IAskContextsRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.AskContextsRequest} AskContextsRequest instance */ - CorroborateContentRequest.create = function create(properties) { - return new CorroborateContentRequest(properties); + AskContextsRequest.create = function create(properties) { + return new AskContextsRequest(properties); }; /** - * Encodes the specified CorroborateContentRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.CorroborateContentRequest.verify|verify} messages. + * Encodes the specified AskContextsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.AskContextsRequest.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest + * @memberof google.cloud.aiplatform.v1.AskContextsRequest * @static - * @param {google.cloud.aiplatform.v1.ICorroborateContentRequest} message CorroborateContentRequest message or plain object to encode + * @param {google.cloud.aiplatform.v1.IAskContextsRequest} message AskContextsRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CorroborateContentRequest.encode = function encode(message, writer) { + AskContextsRequest.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.content != null && Object.hasOwnProperty.call(message, "content")) - $root.google.cloud.aiplatform.v1.Content.encode(message.content, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.facts != null && message.facts.length) - for (var i = 0; i < message.facts.length; ++i) - $root.google.cloud.aiplatform.v1.Fact.encode(message.facts[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.parameters != null && Object.hasOwnProperty.call(message, "parameters")) - $root.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters.encode(message.parameters, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.query != null && Object.hasOwnProperty.call(message, "query")) + $root.google.cloud.aiplatform.v1.RagQuery.encode(message.query, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.tools != null && message.tools.length) + for (var i = 0; i < message.tools.length; ++i) + $root.google.cloud.aiplatform.v1.Tool.encode(message.tools[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Encodes the specified CorroborateContentRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.CorroborateContentRequest.verify|verify} messages. + * Encodes the specified AskContextsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AskContextsRequest.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest + * @memberof google.cloud.aiplatform.v1.AskContextsRequest * @static - * @param {google.cloud.aiplatform.v1.ICorroborateContentRequest} message CorroborateContentRequest message or plain object to encode + * @param {google.cloud.aiplatform.v1.IAskContextsRequest} message AskContextsRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CorroborateContentRequest.encodeDelimited = function encodeDelimited(message, writer) { + AskContextsRequest.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a CorroborateContentRequest message from the specified reader or buffer. + * Decodes an AskContextsRequest message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest + * @memberof google.cloud.aiplatform.v1.AskContextsRequest * @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.CorroborateContentRequest} CorroborateContentRequest + * @returns {google.cloud.aiplatform.v1.AskContextsRequest} AskContextsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CorroborateContentRequest.decode = function decode(reader, length, error) { + AskContextsRequest.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.CorroborateContentRequest(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.AskContextsRequest(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) @@ -348300,17 +354942,13 @@ break; } case 2: { - message.content = $root.google.cloud.aiplatform.v1.Content.decode(reader, reader.uint32()); + message.query = $root.google.cloud.aiplatform.v1.RagQuery.decode(reader, reader.uint32()); break; } case 3: { - if (!(message.facts && message.facts.length)) - message.facts = []; - message.facts.push($root.google.cloud.aiplatform.v1.Fact.decode(reader, reader.uint32())); - break; - } - case 4: { - message.parameters = $root.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters.decode(reader, reader.uint32()); + if (!(message.tools && message.tools.length)) + message.tools = []; + message.tools.push($root.google.cloud.aiplatform.v1.Tool.decode(reader, reader.uint32())); break; } default: @@ -348322,388 +354960,163 @@ }; /** - * Decodes a CorroborateContentRequest message from the specified reader or buffer, length delimited. + * Decodes an AskContextsRequest message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest + * @memberof google.cloud.aiplatform.v1.AskContextsRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.CorroborateContentRequest} CorroborateContentRequest + * @returns {google.cloud.aiplatform.v1.AskContextsRequest} AskContextsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CorroborateContentRequest.decodeDelimited = function decodeDelimited(reader) { + AskContextsRequest.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a CorroborateContentRequest message. + * Verifies an AskContextsRequest message. * @function verify - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest + * @memberof google.cloud.aiplatform.v1.AskContextsRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CorroborateContentRequest.verify = function verify(message) { + AskContextsRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; if (message.parent != null && message.hasOwnProperty("parent")) if (!$util.isString(message.parent)) return "parent: string expected"; - if (message.content != null && message.hasOwnProperty("content")) { - properties._content = 1; - { - var error = $root.google.cloud.aiplatform.v1.Content.verify(message.content); - if (error) - return "content." + error; - } + if (message.query != null && message.hasOwnProperty("query")) { + var error = $root.google.cloud.aiplatform.v1.RagQuery.verify(message.query); + if (error) + return "query." + error; } - if (message.facts != null && message.hasOwnProperty("facts")) { - if (!Array.isArray(message.facts)) - return "facts: array expected"; - for (var i = 0; i < message.facts.length; ++i) { - var error = $root.google.cloud.aiplatform.v1.Fact.verify(message.facts[i]); + if (message.tools != null && message.hasOwnProperty("tools")) { + if (!Array.isArray(message.tools)) + return "tools: array expected"; + for (var i = 0; i < message.tools.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.Tool.verify(message.tools[i]); if (error) - return "facts." + error; + return "tools." + error; } } - if (message.parameters != null && message.hasOwnProperty("parameters")) { - var error = $root.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters.verify(message.parameters); - if (error) - return "parameters." + error; - } return null; }; /** - * Creates a CorroborateContentRequest message from a plain object. Also converts values to their respective internal types. + * Creates an AskContextsRequest message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest + * @memberof google.cloud.aiplatform.v1.AskContextsRequest * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.CorroborateContentRequest} CorroborateContentRequest + * @returns {google.cloud.aiplatform.v1.AskContextsRequest} AskContextsRequest */ - CorroborateContentRequest.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.CorroborateContentRequest) + AskContextsRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.AskContextsRequest) return object; - var message = new $root.google.cloud.aiplatform.v1.CorroborateContentRequest(); + var message = new $root.google.cloud.aiplatform.v1.AskContextsRequest(); if (object.parent != null) message.parent = String(object.parent); - if (object.content != null) { - if (typeof object.content !== "object") - throw TypeError(".google.cloud.aiplatform.v1.CorroborateContentRequest.content: object expected"); - message.content = $root.google.cloud.aiplatform.v1.Content.fromObject(object.content); + if (object.query != null) { + if (typeof object.query !== "object") + throw TypeError(".google.cloud.aiplatform.v1.AskContextsRequest.query: object expected"); + message.query = $root.google.cloud.aiplatform.v1.RagQuery.fromObject(object.query); } - if (object.facts) { - if (!Array.isArray(object.facts)) - throw TypeError(".google.cloud.aiplatform.v1.CorroborateContentRequest.facts: array expected"); - message.facts = []; - for (var i = 0; i < object.facts.length; ++i) { - if (typeof object.facts[i] !== "object") - throw TypeError(".google.cloud.aiplatform.v1.CorroborateContentRequest.facts: object expected"); - message.facts[i] = $root.google.cloud.aiplatform.v1.Fact.fromObject(object.facts[i]); + if (object.tools) { + if (!Array.isArray(object.tools)) + throw TypeError(".google.cloud.aiplatform.v1.AskContextsRequest.tools: array expected"); + message.tools = []; + for (var i = 0; i < object.tools.length; ++i) { + if (typeof object.tools[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.AskContextsRequest.tools: object expected"); + message.tools[i] = $root.google.cloud.aiplatform.v1.Tool.fromObject(object.tools[i]); } } - if (object.parameters != null) { - if (typeof object.parameters !== "object") - throw TypeError(".google.cloud.aiplatform.v1.CorroborateContentRequest.parameters: object expected"); - message.parameters = $root.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters.fromObject(object.parameters); - } return message; }; /** - * Creates a plain object from a CorroborateContentRequest message. Also converts values to other types if specified. + * Creates a plain object from an AskContextsRequest message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest + * @memberof google.cloud.aiplatform.v1.AskContextsRequest * @static - * @param {google.cloud.aiplatform.v1.CorroborateContentRequest} message CorroborateContentRequest + * @param {google.cloud.aiplatform.v1.AskContextsRequest} message AskContextsRequest * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CorroborateContentRequest.toObject = function toObject(message, options) { + AskContextsRequest.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; if (options.arrays || options.defaults) - object.facts = []; + object.tools = []; if (options.defaults) { object.parent = ""; - object.parameters = null; + object.query = null; } if (message.parent != null && message.hasOwnProperty("parent")) object.parent = message.parent; - if (message.content != null && message.hasOwnProperty("content")) { - object.content = $root.google.cloud.aiplatform.v1.Content.toObject(message.content, options); - if (options.oneofs) - object._content = "content"; - } - if (message.facts && message.facts.length) { - object.facts = []; - for (var j = 0; j < message.facts.length; ++j) - object.facts[j] = $root.google.cloud.aiplatform.v1.Fact.toObject(message.facts[j], options); - } - if (message.parameters != null && message.hasOwnProperty("parameters")) - object.parameters = $root.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters.toObject(message.parameters, options); - return object; - }; - - /** - * Converts this CorroborateContentRequest to JSON. - * @function toJSON - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest - * @instance - * @returns {Object.} JSON object - */ - CorroborateContentRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for CorroborateContentRequest - * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - CorroborateContentRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.CorroborateContentRequest"; - }; - - CorroborateContentRequest.Parameters = (function() { - - /** - * Properties of a Parameters. - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest - * @interface IParameters - * @property {number|null} [citationThreshold] Parameters citationThreshold - */ - - /** - * Constructs a new Parameters. - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest - * @classdesc Represents a Parameters. - * @implements IParameters - * @constructor - * @param {google.cloud.aiplatform.v1.CorroborateContentRequest.IParameters=} [properties] Properties to set - */ - function Parameters(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]]; - } - - /** - * Parameters citationThreshold. - * @member {number} citationThreshold - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters - * @instance - */ - Parameters.prototype.citationThreshold = 0; - - /** - * Creates a new Parameters instance using the specified properties. - * @function create - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters - * @static - * @param {google.cloud.aiplatform.v1.CorroborateContentRequest.IParameters=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters} Parameters instance - */ - Parameters.create = function create(properties) { - return new Parameters(properties); - }; - - /** - * Encodes the specified Parameters message. Does not implicitly {@link google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters.verify|verify} messages. - * @function encode - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters - * @static - * @param {google.cloud.aiplatform.v1.CorroborateContentRequest.IParameters} message Parameters message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Parameters.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.citationThreshold != null && Object.hasOwnProperty.call(message, "citationThreshold")) - writer.uint32(/* id 1, wireType 1 =*/9).double(message.citationThreshold); - return writer; - }; - - /** - * Encodes the specified Parameters message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters.verify|verify} messages. - * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters - * @static - * @param {google.cloud.aiplatform.v1.CorroborateContentRequest.IParameters} message Parameters message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - Parameters.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; - - /** - * Decodes a Parameters message from the specified reader or buffer. - * @function decode - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters - * @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.CorroborateContentRequest.Parameters} Parameters - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Parameters.decode = function decode(reader, length, error) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters(); - while (reader.pos < end) { - var tag = reader.uint32(); - if (tag === error) - break; - switch (tag >>> 3) { - case 1: { - message.citationThreshold = reader.double(); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes a Parameters message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters} Parameters - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - Parameters.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a Parameters message. - * @function verify - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - Parameters.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.citationThreshold != null && message.hasOwnProperty("citationThreshold")) - if (typeof message.citationThreshold !== "number") - return "citationThreshold: number expected"; - return null; - }; - - /** - * Creates a Parameters message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters - * @static - * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters} Parameters - */ - Parameters.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters) - return object; - var message = new $root.google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters(); - if (object.citationThreshold != null) - message.citationThreshold = Number(object.citationThreshold); - return message; - }; - - /** - * Creates a plain object from a Parameters message. Also converts values to other types if specified. - * @function toObject - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters - * @static - * @param {google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters} message Parameters - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - Parameters.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) - object.citationThreshold = 0; - if (message.citationThreshold != null && message.hasOwnProperty("citationThreshold")) - object.citationThreshold = options.json && !isFinite(message.citationThreshold) ? String(message.citationThreshold) : message.citationThreshold; - return object; - }; - - /** - * Converts this Parameters to JSON. - * @function toJSON - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters - * @instance - * @returns {Object.} JSON object - */ - Parameters.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; + if (message.query != null && message.hasOwnProperty("query")) + object.query = $root.google.cloud.aiplatform.v1.RagQuery.toObject(message.query, options); + if (message.tools && message.tools.length) { + object.tools = []; + for (var j = 0; j < message.tools.length; ++j) + object.tools[j] = $root.google.cloud.aiplatform.v1.Tool.toObject(message.tools[j], options); + } + return object; + }; - /** - * Gets the default type url for Parameters - * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - Parameters.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters"; - }; + /** + * Converts this AskContextsRequest to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.AskContextsRequest + * @instance + * @returns {Object.} JSON object + */ + AskContextsRequest.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; - return Parameters; - })(); + /** + * Gets the default type url for AskContextsRequest + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.AskContextsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AskContextsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.AskContextsRequest"; + }; - return CorroborateContentRequest; + return AskContextsRequest; })(); - v1.CorroborateContentResponse = (function() { + v1.AskContextsResponse = (function() { /** - * Properties of a CorroborateContentResponse. + * Properties of an AskContextsResponse. * @memberof google.cloud.aiplatform.v1 - * @interface ICorroborateContentResponse - * @property {number|null} [corroborationScore] CorroborateContentResponse corroborationScore - * @property {Array.|null} [claims] CorroborateContentResponse claims + * @interface IAskContextsResponse + * @property {string|null} [response] AskContextsResponse response + * @property {google.cloud.aiplatform.v1.IRagContexts|null} [contexts] AskContextsResponse contexts */ /** - * Constructs a new CorroborateContentResponse. + * Constructs a new AskContextsResponse. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a CorroborateContentResponse. - * @implements ICorroborateContentResponse + * @classdesc Represents an AskContextsResponse. + * @implements IAskContextsResponse * @constructor - * @param {google.cloud.aiplatform.v1.ICorroborateContentResponse=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IAskContextsResponse=} [properties] Properties to set */ - function CorroborateContentResponse(properties) { - this.claims = []; + function AskContextsResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -348711,103 +355124,91 @@ } /** - * CorroborateContentResponse corroborationScore. - * @member {number|null|undefined} corroborationScore - * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse + * AskContextsResponse response. + * @member {string} response + * @memberof google.cloud.aiplatform.v1.AskContextsResponse * @instance */ - CorroborateContentResponse.prototype.corroborationScore = null; + AskContextsResponse.prototype.response = ""; /** - * CorroborateContentResponse claims. - * @member {Array.} claims - * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse + * AskContextsResponse contexts. + * @member {google.cloud.aiplatform.v1.IRagContexts|null|undefined} contexts + * @memberof google.cloud.aiplatform.v1.AskContextsResponse * @instance */ - CorroborateContentResponse.prototype.claims = $util.emptyArray; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - // Virtual OneOf for proto3 optional field - Object.defineProperty(CorroborateContentResponse.prototype, "_corroborationScore", { - get: $util.oneOfGetter($oneOfFields = ["corroborationScore"]), - set: $util.oneOfSetter($oneOfFields) - }); + AskContextsResponse.prototype.contexts = null; /** - * Creates a new CorroborateContentResponse instance using the specified properties. + * Creates a new AskContextsResponse instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse + * @memberof google.cloud.aiplatform.v1.AskContextsResponse * @static - * @param {google.cloud.aiplatform.v1.ICorroborateContentResponse=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.CorroborateContentResponse} CorroborateContentResponse instance + * @param {google.cloud.aiplatform.v1.IAskContextsResponse=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.AskContextsResponse} AskContextsResponse instance */ - CorroborateContentResponse.create = function create(properties) { - return new CorroborateContentResponse(properties); + AskContextsResponse.create = function create(properties) { + return new AskContextsResponse(properties); }; /** - * Encodes the specified CorroborateContentResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.CorroborateContentResponse.verify|verify} messages. + * Encodes the specified AskContextsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.AskContextsResponse.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse + * @memberof google.cloud.aiplatform.v1.AskContextsResponse * @static - * @param {google.cloud.aiplatform.v1.ICorroborateContentResponse} message CorroborateContentResponse message or plain object to encode + * @param {google.cloud.aiplatform.v1.IAskContextsResponse} message AskContextsResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CorroborateContentResponse.encode = function encode(message, writer) { + AskContextsResponse.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.corroborationScore != null && Object.hasOwnProperty.call(message, "corroborationScore")) - writer.uint32(/* id 1, wireType 5 =*/13).float(message.corroborationScore); - if (message.claims != null && message.claims.length) - for (var i = 0; i < message.claims.length; ++i) - $root.google.cloud.aiplatform.v1.Claim.encode(message.claims[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.response != null && Object.hasOwnProperty.call(message, "response")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.response); + if (message.contexts != null && Object.hasOwnProperty.call(message, "contexts")) + $root.google.cloud.aiplatform.v1.RagContexts.encode(message.contexts, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); return writer; }; /** - * Encodes the specified CorroborateContentResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.CorroborateContentResponse.verify|verify} messages. + * Encodes the specified AskContextsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AskContextsResponse.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse + * @memberof google.cloud.aiplatform.v1.AskContextsResponse * @static - * @param {google.cloud.aiplatform.v1.ICorroborateContentResponse} message CorroborateContentResponse message or plain object to encode + * @param {google.cloud.aiplatform.v1.IAskContextsResponse} message AskContextsResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CorroborateContentResponse.encodeDelimited = function encodeDelimited(message, writer) { + AskContextsResponse.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a CorroborateContentResponse message from the specified reader or buffer. + * Decodes an AskContextsResponse message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse + * @memberof google.cloud.aiplatform.v1.AskContextsResponse * @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.CorroborateContentResponse} CorroborateContentResponse + * @returns {google.cloud.aiplatform.v1.AskContextsResponse} AskContextsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CorroborateContentResponse.decode = function decode(reader, length, error) { + AskContextsResponse.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.CorroborateContentResponse(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.AskContextsResponse(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.corroborationScore = reader.float(); + message.response = reader.string(); break; } case 2: { - if (!(message.claims && message.claims.length)) - message.claims = []; - message.claims.push($root.google.cloud.aiplatform.v1.Claim.decode(reader, reader.uint32())); + message.contexts = $root.google.cloud.aiplatform.v1.RagContexts.decode(reader, reader.uint32()); break; } default: @@ -348819,158 +355220,139 @@ }; /** - * Decodes a CorroborateContentResponse message from the specified reader or buffer, length delimited. + * Decodes an AskContextsResponse message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse + * @memberof google.cloud.aiplatform.v1.AskContextsResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.CorroborateContentResponse} CorroborateContentResponse + * @returns {google.cloud.aiplatform.v1.AskContextsResponse} AskContextsResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CorroborateContentResponse.decodeDelimited = function decodeDelimited(reader) { + AskContextsResponse.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a CorroborateContentResponse message. + * Verifies an AskContextsResponse message. * @function verify - * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse + * @memberof google.cloud.aiplatform.v1.AskContextsResponse * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CorroborateContentResponse.verify = function verify(message) { + AskContextsResponse.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.corroborationScore != null && message.hasOwnProperty("corroborationScore")) { - properties._corroborationScore = 1; - if (typeof message.corroborationScore !== "number") - return "corroborationScore: number expected"; - } - if (message.claims != null && message.hasOwnProperty("claims")) { - if (!Array.isArray(message.claims)) - return "claims: array expected"; - for (var i = 0; i < message.claims.length; ++i) { - var error = $root.google.cloud.aiplatform.v1.Claim.verify(message.claims[i]); - if (error) - return "claims." + error; - } + if (message.response != null && message.hasOwnProperty("response")) + if (!$util.isString(message.response)) + return "response: string expected"; + if (message.contexts != null && message.hasOwnProperty("contexts")) { + var error = $root.google.cloud.aiplatform.v1.RagContexts.verify(message.contexts); + if (error) + return "contexts." + error; } return null; }; /** - * Creates a CorroborateContentResponse message from a plain object. Also converts values to their respective internal types. + * Creates an AskContextsResponse message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse + * @memberof google.cloud.aiplatform.v1.AskContextsResponse * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.CorroborateContentResponse} CorroborateContentResponse + * @returns {google.cloud.aiplatform.v1.AskContextsResponse} AskContextsResponse */ - CorroborateContentResponse.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.CorroborateContentResponse) + AskContextsResponse.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.AskContextsResponse) return object; - var message = new $root.google.cloud.aiplatform.v1.CorroborateContentResponse(); - if (object.corroborationScore != null) - message.corroborationScore = Number(object.corroborationScore); - if (object.claims) { - if (!Array.isArray(object.claims)) - throw TypeError(".google.cloud.aiplatform.v1.CorroborateContentResponse.claims: array expected"); - message.claims = []; - for (var i = 0; i < object.claims.length; ++i) { - if (typeof object.claims[i] !== "object") - throw TypeError(".google.cloud.aiplatform.v1.CorroborateContentResponse.claims: object expected"); - message.claims[i] = $root.google.cloud.aiplatform.v1.Claim.fromObject(object.claims[i]); - } + var message = new $root.google.cloud.aiplatform.v1.AskContextsResponse(); + if (object.response != null) + message.response = String(object.response); + if (object.contexts != null) { + if (typeof object.contexts !== "object") + throw TypeError(".google.cloud.aiplatform.v1.AskContextsResponse.contexts: object expected"); + message.contexts = $root.google.cloud.aiplatform.v1.RagContexts.fromObject(object.contexts); } return message; }; /** - * Creates a plain object from a CorroborateContentResponse message. Also converts values to other types if specified. + * Creates a plain object from an AskContextsResponse message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse + * @memberof google.cloud.aiplatform.v1.AskContextsResponse * @static - * @param {google.cloud.aiplatform.v1.CorroborateContentResponse} message CorroborateContentResponse + * @param {google.cloud.aiplatform.v1.AskContextsResponse} message AskContextsResponse * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CorroborateContentResponse.toObject = function toObject(message, options) { + AskContextsResponse.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.arrays || options.defaults) - object.claims = []; - if (message.corroborationScore != null && message.hasOwnProperty("corroborationScore")) { - object.corroborationScore = options.json && !isFinite(message.corroborationScore) ? String(message.corroborationScore) : message.corroborationScore; - if (options.oneofs) - object._corroborationScore = "corroborationScore"; - } - if (message.claims && message.claims.length) { - object.claims = []; - for (var j = 0; j < message.claims.length; ++j) - object.claims[j] = $root.google.cloud.aiplatform.v1.Claim.toObject(message.claims[j], options); + if (options.defaults) { + object.response = ""; + object.contexts = null; } + if (message.response != null && message.hasOwnProperty("response")) + object.response = message.response; + if (message.contexts != null && message.hasOwnProperty("contexts")) + object.contexts = $root.google.cloud.aiplatform.v1.RagContexts.toObject(message.contexts, options); return object; }; /** - * Converts this CorroborateContentResponse to JSON. + * Converts this AskContextsResponse to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse + * @memberof google.cloud.aiplatform.v1.AskContextsResponse * @instance * @returns {Object.} JSON object */ - CorroborateContentResponse.prototype.toJSON = function toJSON() { + AskContextsResponse.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CorroborateContentResponse + * Gets the default type url for AskContextsResponse * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.CorroborateContentResponse + * @memberof google.cloud.aiplatform.v1.AskContextsResponse * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - CorroborateContentResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + AskContextsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.CorroborateContentResponse"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.AskContextsResponse"; }; - return CorroborateContentResponse; + return AskContextsResponse; })(); - v1.Fact = (function() { + v1.AsyncRetrieveContextsRequest = (function() { /** - * Properties of a Fact. + * Properties of an AsyncRetrieveContextsRequest. * @memberof google.cloud.aiplatform.v1 - * @interface IFact - * @property {string|null} [query] Fact query - * @property {string|null} [title] Fact title - * @property {string|null} [uri] Fact uri - * @property {string|null} [summary] Fact summary - * @property {number|null} [vectorDistance] Fact vectorDistance - * @property {number|null} [score] Fact score - * @property {google.cloud.aiplatform.v1.IRagChunk|null} [chunk] Fact chunk + * @interface IAsyncRetrieveContextsRequest + * @property {string|null} [parent] AsyncRetrieveContextsRequest parent + * @property {google.cloud.aiplatform.v1.IRagQuery|null} [query] AsyncRetrieveContextsRequest query + * @property {Array.|null} [tools] AsyncRetrieveContextsRequest tools */ /** - * Constructs a new Fact. + * Constructs a new AsyncRetrieveContextsRequest. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a Fact. - * @implements IFact + * @classdesc Represents an AsyncRetrieveContextsRequest. + * @implements IAsyncRetrieveContextsRequest * @constructor - * @param {google.cloud.aiplatform.v1.IFact=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IAsyncRetrieveContextsRequest=} [properties] Properties to set */ - function Fact(properties) { + function AsyncRetrieveContextsRequest(properties) { + this.tools = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -348978,206 +355360,108 @@ } /** - * Fact query. - * @member {string|null|undefined} query - * @memberof google.cloud.aiplatform.v1.Fact - * @instance - */ - Fact.prototype.query = null; - - /** - * Fact title. - * @member {string|null|undefined} title - * @memberof google.cloud.aiplatform.v1.Fact - * @instance - */ - Fact.prototype.title = null; - - /** - * Fact uri. - * @member {string|null|undefined} uri - * @memberof google.cloud.aiplatform.v1.Fact - * @instance - */ - Fact.prototype.uri = null; - - /** - * Fact summary. - * @member {string|null|undefined} summary - * @memberof google.cloud.aiplatform.v1.Fact - * @instance - */ - Fact.prototype.summary = null; - - /** - * Fact vectorDistance. - * @member {number|null|undefined} vectorDistance - * @memberof google.cloud.aiplatform.v1.Fact + * AsyncRetrieveContextsRequest parent. + * @member {string} parent + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest * @instance */ - Fact.prototype.vectorDistance = null; + AsyncRetrieveContextsRequest.prototype.parent = ""; /** - * Fact score. - * @member {number|null|undefined} score - * @memberof google.cloud.aiplatform.v1.Fact + * AsyncRetrieveContextsRequest query. + * @member {google.cloud.aiplatform.v1.IRagQuery|null|undefined} query + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest * @instance */ - Fact.prototype.score = null; + AsyncRetrieveContextsRequest.prototype.query = null; /** - * Fact chunk. - * @member {google.cloud.aiplatform.v1.IRagChunk|null|undefined} chunk - * @memberof google.cloud.aiplatform.v1.Fact + * AsyncRetrieveContextsRequest tools. + * @member {Array.} tools + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest * @instance */ - Fact.prototype.chunk = null; - - // OneOf field names bound to virtual getters and setters - var $oneOfFields; - - // Virtual OneOf for proto3 optional field - Object.defineProperty(Fact.prototype, "_query", { - get: $util.oneOfGetter($oneOfFields = ["query"]), - set: $util.oneOfSetter($oneOfFields) - }); - - // Virtual OneOf for proto3 optional field - Object.defineProperty(Fact.prototype, "_title", { - get: $util.oneOfGetter($oneOfFields = ["title"]), - set: $util.oneOfSetter($oneOfFields) - }); - - // Virtual OneOf for proto3 optional field - Object.defineProperty(Fact.prototype, "_uri", { - get: $util.oneOfGetter($oneOfFields = ["uri"]), - set: $util.oneOfSetter($oneOfFields) - }); - - // Virtual OneOf for proto3 optional field - Object.defineProperty(Fact.prototype, "_summary", { - get: $util.oneOfGetter($oneOfFields = ["summary"]), - set: $util.oneOfSetter($oneOfFields) - }); - - // Virtual OneOf for proto3 optional field - Object.defineProperty(Fact.prototype, "_vectorDistance", { - get: $util.oneOfGetter($oneOfFields = ["vectorDistance"]), - set: $util.oneOfSetter($oneOfFields) - }); - - // Virtual OneOf for proto3 optional field - Object.defineProperty(Fact.prototype, "_score", { - get: $util.oneOfGetter($oneOfFields = ["score"]), - set: $util.oneOfSetter($oneOfFields) - }); - - // Virtual OneOf for proto3 optional field - Object.defineProperty(Fact.prototype, "_chunk", { - get: $util.oneOfGetter($oneOfFields = ["chunk"]), - set: $util.oneOfSetter($oneOfFields) - }); + AsyncRetrieveContextsRequest.prototype.tools = $util.emptyArray; /** - * Creates a new Fact instance using the specified properties. + * Creates a new AsyncRetrieveContextsRequest instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.Fact + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest * @static - * @param {google.cloud.aiplatform.v1.IFact=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.Fact} Fact instance + * @param {google.cloud.aiplatform.v1.IAsyncRetrieveContextsRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest} AsyncRetrieveContextsRequest instance */ - Fact.create = function create(properties) { - return new Fact(properties); + AsyncRetrieveContextsRequest.create = function create(properties) { + return new AsyncRetrieveContextsRequest(properties); }; /** - * Encodes the specified Fact message. Does not implicitly {@link google.cloud.aiplatform.v1.Fact.verify|verify} messages. + * Encodes the specified AsyncRetrieveContextsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.Fact + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest * @static - * @param {google.cloud.aiplatform.v1.IFact} message Fact message or plain object to encode + * @param {google.cloud.aiplatform.v1.IAsyncRetrieveContextsRequest} message AsyncRetrieveContextsRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Fact.encode = function encode(message, writer) { + AsyncRetrieveContextsRequest.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.query != null && Object.hasOwnProperty.call(message, "query")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.query); - if (message.title != null && Object.hasOwnProperty.call(message, "title")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.title); - if (message.uri != null && Object.hasOwnProperty.call(message, "uri")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.uri); - if (message.summary != null && Object.hasOwnProperty.call(message, "summary")) - writer.uint32(/* id 4, wireType 2 =*/34).string(message.summary); - if (message.vectorDistance != null && Object.hasOwnProperty.call(message, "vectorDistance")) - writer.uint32(/* id 5, wireType 1 =*/41).double(message.vectorDistance); - if (message.score != null && Object.hasOwnProperty.call(message, "score")) - writer.uint32(/* id 6, wireType 1 =*/49).double(message.score); - if (message.chunk != null && Object.hasOwnProperty.call(message, "chunk")) - $root.google.cloud.aiplatform.v1.RagChunk.encode(message.chunk, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + $root.google.cloud.aiplatform.v1.RagQuery.encode(message.query, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.tools != null && message.tools.length) + for (var i = 0; i < message.tools.length; ++i) + $root.google.cloud.aiplatform.v1.Tool.encode(message.tools[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); return writer; }; /** - * Encodes the specified Fact message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Fact.verify|verify} messages. + * Encodes the specified AsyncRetrieveContextsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.Fact + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest * @static - * @param {google.cloud.aiplatform.v1.IFact} message Fact message or plain object to encode + * @param {google.cloud.aiplatform.v1.IAsyncRetrieveContextsRequest} message AsyncRetrieveContextsRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Fact.encodeDelimited = function encodeDelimited(message, writer) { + AsyncRetrieveContextsRequest.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a Fact message from the specified reader or buffer. + * Decodes an AsyncRetrieveContextsRequest message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.Fact + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest * @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.Fact} Fact + * @returns {google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest} AsyncRetrieveContextsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Fact.decode = function decode(reader, length, error) { + AsyncRetrieveContextsRequest.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.Fact(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.query = reader.string(); + message.parent = reader.string(); break; } case 2: { - message.title = reader.string(); + message.query = $root.google.cloud.aiplatform.v1.RagQuery.decode(reader, reader.uint32()); break; } case 3: { - message.uri = reader.string(); - break; - } - case 4: { - message.summary = reader.string(); - break; - } - case 5: { - message.vectorDistance = reader.double(); - break; - } - case 6: { - message.score = reader.double(); - break; - } - case 7: { - message.chunk = $root.google.cloud.aiplatform.v1.RagChunk.decode(reader, reader.uint32()); + if (!(message.tools && message.tools.length)) + message.tools = []; + message.tools.push($root.google.cloud.aiplatform.v1.Tool.decode(reader, reader.uint32())); break; } default: @@ -349189,208 +355473,162 @@ }; /** - * Decodes a Fact message from the specified reader or buffer, length delimited. + * Decodes an AsyncRetrieveContextsRequest message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.Fact + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.Fact} Fact + * @returns {google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest} AsyncRetrieveContextsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Fact.decodeDelimited = function decodeDelimited(reader) { + AsyncRetrieveContextsRequest.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a Fact message. + * Verifies an AsyncRetrieveContextsRequest message. * @function verify - * @memberof google.cloud.aiplatform.v1.Fact + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Fact.verify = function verify(message) { + AsyncRetrieveContextsRequest.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; + if (message.parent != null && message.hasOwnProperty("parent")) + if (!$util.isString(message.parent)) + return "parent: string expected"; if (message.query != null && message.hasOwnProperty("query")) { - properties._query = 1; - if (!$util.isString(message.query)) - return "query: string expected"; - } - if (message.title != null && message.hasOwnProperty("title")) { - properties._title = 1; - if (!$util.isString(message.title)) - return "title: string expected"; - } - if (message.uri != null && message.hasOwnProperty("uri")) { - properties._uri = 1; - if (!$util.isString(message.uri)) - return "uri: string expected"; - } - if (message.summary != null && message.hasOwnProperty("summary")) { - properties._summary = 1; - if (!$util.isString(message.summary)) - return "summary: string expected"; - } - if (message.vectorDistance != null && message.hasOwnProperty("vectorDistance")) { - properties._vectorDistance = 1; - if (typeof message.vectorDistance !== "number") - return "vectorDistance: number expected"; - } - if (message.score != null && message.hasOwnProperty("score")) { - properties._score = 1; - if (typeof message.score !== "number") - return "score: number expected"; + var error = $root.google.cloud.aiplatform.v1.RagQuery.verify(message.query); + if (error) + return "query." + error; } - if (message.chunk != null && message.hasOwnProperty("chunk")) { - properties._chunk = 1; - { - var error = $root.google.cloud.aiplatform.v1.RagChunk.verify(message.chunk); + if (message.tools != null && message.hasOwnProperty("tools")) { + if (!Array.isArray(message.tools)) + return "tools: array expected"; + for (var i = 0; i < message.tools.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.Tool.verify(message.tools[i]); if (error) - return "chunk." + error; + return "tools." + error; } } return null; }; /** - * Creates a Fact message from a plain object. Also converts values to their respective internal types. + * Creates an AsyncRetrieveContextsRequest message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.Fact + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.Fact} Fact + * @returns {google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest} AsyncRetrieveContextsRequest */ - Fact.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.Fact) + AsyncRetrieveContextsRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest) return object; - var message = new $root.google.cloud.aiplatform.v1.Fact(); - if (object.query != null) - message.query = String(object.query); - if (object.title != null) - message.title = String(object.title); - if (object.uri != null) - message.uri = String(object.uri); - if (object.summary != null) - message.summary = String(object.summary); - if (object.vectorDistance != null) - message.vectorDistance = Number(object.vectorDistance); - if (object.score != null) - message.score = Number(object.score); - if (object.chunk != null) { - if (typeof object.chunk !== "object") - throw TypeError(".google.cloud.aiplatform.v1.Fact.chunk: object expected"); - message.chunk = $root.google.cloud.aiplatform.v1.RagChunk.fromObject(object.chunk); + var message = new $root.google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest(); + if (object.parent != null) + message.parent = String(object.parent); + if (object.query != null) { + if (typeof object.query !== "object") + throw TypeError(".google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest.query: object expected"); + message.query = $root.google.cloud.aiplatform.v1.RagQuery.fromObject(object.query); + } + if (object.tools) { + if (!Array.isArray(object.tools)) + throw TypeError(".google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest.tools: array expected"); + message.tools = []; + for (var i = 0; i < object.tools.length; ++i) { + if (typeof object.tools[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest.tools: object expected"); + message.tools[i] = $root.google.cloud.aiplatform.v1.Tool.fromObject(object.tools[i]); + } } return message; }; /** - * Creates a plain object from a Fact message. Also converts values to other types if specified. + * Creates a plain object from an AsyncRetrieveContextsRequest message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.Fact + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest * @static - * @param {google.cloud.aiplatform.v1.Fact} message Fact + * @param {google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest} message AsyncRetrieveContextsRequest * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - Fact.toObject = function toObject(message, options) { + AsyncRetrieveContextsRequest.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (message.query != null && message.hasOwnProperty("query")) { - object.query = message.query; - if (options.oneofs) - object._query = "query"; - } - if (message.title != null && message.hasOwnProperty("title")) { - object.title = message.title; - if (options.oneofs) - object._title = "title"; - } - if (message.uri != null && message.hasOwnProperty("uri")) { - object.uri = message.uri; - if (options.oneofs) - object._uri = "uri"; - } - if (message.summary != null && message.hasOwnProperty("summary")) { - object.summary = message.summary; - if (options.oneofs) - object._summary = "summary"; - } - if (message.vectorDistance != null && message.hasOwnProperty("vectorDistance")) { - object.vectorDistance = options.json && !isFinite(message.vectorDistance) ? String(message.vectorDistance) : message.vectorDistance; - if (options.oneofs) - object._vectorDistance = "vectorDistance"; - } - if (message.score != null && message.hasOwnProperty("score")) { - object.score = options.json && !isFinite(message.score) ? String(message.score) : message.score; - if (options.oneofs) - object._score = "score"; + if (options.arrays || options.defaults) + object.tools = []; + if (options.defaults) { + object.parent = ""; + object.query = null; } - if (message.chunk != null && message.hasOwnProperty("chunk")) { - object.chunk = $root.google.cloud.aiplatform.v1.RagChunk.toObject(message.chunk, options); - if (options.oneofs) - object._chunk = "chunk"; + if (message.parent != null && message.hasOwnProperty("parent")) + object.parent = message.parent; + if (message.query != null && message.hasOwnProperty("query")) + object.query = $root.google.cloud.aiplatform.v1.RagQuery.toObject(message.query, options); + if (message.tools && message.tools.length) { + object.tools = []; + for (var j = 0; j < message.tools.length; ++j) + object.tools[j] = $root.google.cloud.aiplatform.v1.Tool.toObject(message.tools[j], options); } return object; }; /** - * Converts this Fact to JSON. + * Converts this AsyncRetrieveContextsRequest to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.Fact + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest * @instance * @returns {Object.} JSON object */ - Fact.prototype.toJSON = function toJSON() { + AsyncRetrieveContextsRequest.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for Fact + * Gets the default type url for AsyncRetrieveContextsRequest * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.Fact + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - Fact.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + AsyncRetrieveContextsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.Fact"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest"; }; - return Fact; + return AsyncRetrieveContextsRequest; })(); - v1.Claim = (function() { + v1.AsyncRetrieveContextsResponse = (function() { /** - * Properties of a Claim. + * Properties of an AsyncRetrieveContextsResponse. * @memberof google.cloud.aiplatform.v1 - * @interface IClaim - * @property {number|null} [startIndex] Claim startIndex - * @property {number|null} [endIndex] Claim endIndex - * @property {Array.|null} [factIndexes] Claim factIndexes - * @property {number|null} [score] Claim score + * @interface IAsyncRetrieveContextsResponse + * @property {google.cloud.aiplatform.v1.IRagContexts|null} [contexts] AsyncRetrieveContextsResponse contexts */ /** - * Constructs a new Claim. + * Constructs a new AsyncRetrieveContextsResponse. * @memberof google.cloud.aiplatform.v1 - * @classdesc Represents a Claim. - * @implements IClaim + * @classdesc Represents an AsyncRetrieveContextsResponse. + * @implements IAsyncRetrieveContextsResponse * @constructor - * @param {google.cloud.aiplatform.v1.IClaim=} [properties] Properties to set + * @param {google.cloud.aiplatform.v1.IAsyncRetrieveContextsResponse=} [properties] Properties to set */ - function Claim(properties) { - this.factIndexes = []; + function AsyncRetrieveContextsResponse(properties) { if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -349398,151 +355636,287 @@ } /** - * Claim startIndex. - * @member {number|null|undefined} startIndex - * @memberof google.cloud.aiplatform.v1.Claim + * AsyncRetrieveContextsResponse contexts. + * @member {google.cloud.aiplatform.v1.IRagContexts|null|undefined} contexts + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse * @instance */ - Claim.prototype.startIndex = null; + AsyncRetrieveContextsResponse.prototype.contexts = null; /** - * Claim endIndex. - * @member {number|null|undefined} endIndex - * @memberof google.cloud.aiplatform.v1.Claim - * @instance + * Creates a new AsyncRetrieveContextsResponse instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse + * @static + * @param {google.cloud.aiplatform.v1.IAsyncRetrieveContextsResponse=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse} AsyncRetrieveContextsResponse instance */ - Claim.prototype.endIndex = null; + AsyncRetrieveContextsResponse.create = function create(properties) { + return new AsyncRetrieveContextsResponse(properties); + }; /** - * Claim factIndexes. - * @member {Array.} factIndexes - * @memberof google.cloud.aiplatform.v1.Claim - * @instance + * Encodes the specified AsyncRetrieveContextsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse + * @static + * @param {google.cloud.aiplatform.v1.IAsyncRetrieveContextsResponse} message AsyncRetrieveContextsResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - Claim.prototype.factIndexes = $util.emptyArray; + AsyncRetrieveContextsResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.contexts != null && Object.hasOwnProperty.call(message, "contexts")) + $root.google.cloud.aiplatform.v1.RagContexts.encode(message.contexts, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; /** - * Claim score. - * @member {number|null|undefined} score - * @memberof google.cloud.aiplatform.v1.Claim + * Encodes the specified AsyncRetrieveContextsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse + * @static + * @param {google.cloud.aiplatform.v1.IAsyncRetrieveContextsResponse} message AsyncRetrieveContextsResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AsyncRetrieveContextsResponse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an AsyncRetrieveContextsResponse message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse + * @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.AsyncRetrieveContextsResponse} AsyncRetrieveContextsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AsyncRetrieveContextsResponse.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.contexts = $root.google.cloud.aiplatform.v1.RagContexts.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an AsyncRetrieveContextsResponse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse} AsyncRetrieveContextsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AsyncRetrieveContextsResponse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an AsyncRetrieveContextsResponse message. + * @function verify + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + AsyncRetrieveContextsResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.contexts != null && message.hasOwnProperty("contexts")) { + var error = $root.google.cloud.aiplatform.v1.RagContexts.verify(message.contexts); + if (error) + return "contexts." + error; + } + return null; + }; + + /** + * Creates an AsyncRetrieveContextsResponse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse} AsyncRetrieveContextsResponse + */ + AsyncRetrieveContextsResponse.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse) + return object; + var message = new $root.google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse(); + if (object.contexts != null) { + if (typeof object.contexts !== "object") + throw TypeError(".google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse.contexts: object expected"); + message.contexts = $root.google.cloud.aiplatform.v1.RagContexts.fromObject(object.contexts); + } + return message; + }; + + /** + * Creates a plain object from an AsyncRetrieveContextsResponse message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse + * @static + * @param {google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse} message AsyncRetrieveContextsResponse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + AsyncRetrieveContextsResponse.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.contexts = null; + if (message.contexts != null && message.hasOwnProperty("contexts")) + object.contexts = $root.google.cloud.aiplatform.v1.RagContexts.toObject(message.contexts, options); + return object; + }; + + /** + * Converts this AsyncRetrieveContextsResponse to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse * @instance + * @returns {Object.} JSON object */ - Claim.prototype.score = null; + AsyncRetrieveContextsResponse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; - // OneOf field names bound to virtual getters and setters - var $oneOfFields; + /** + * Gets the default type url for AsyncRetrieveContextsResponse + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AsyncRetrieveContextsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse"; + }; - // Virtual OneOf for proto3 optional field - Object.defineProperty(Claim.prototype, "_startIndex", { - get: $util.oneOfGetter($oneOfFields = ["startIndex"]), - set: $util.oneOfSetter($oneOfFields) - }); + return AsyncRetrieveContextsResponse; + })(); - // Virtual OneOf for proto3 optional field - Object.defineProperty(Claim.prototype, "_endIndex", { - get: $util.oneOfGetter($oneOfFields = ["endIndex"]), - set: $util.oneOfSetter($oneOfFields) - }); + v1.AsyncRetrieveContextsOperationMetadata = (function() { - // Virtual OneOf for proto3 optional field - Object.defineProperty(Claim.prototype, "_score", { - get: $util.oneOfGetter($oneOfFields = ["score"]), - set: $util.oneOfSetter($oneOfFields) - }); + /** + * Properties of an AsyncRetrieveContextsOperationMetadata. + * @memberof google.cloud.aiplatform.v1 + * @interface IAsyncRetrieveContextsOperationMetadata + * @property {google.cloud.aiplatform.v1.IGenericOperationMetadata|null} [genericMetadata] AsyncRetrieveContextsOperationMetadata genericMetadata + */ /** - * Creates a new Claim instance using the specified properties. + * Constructs a new AsyncRetrieveContextsOperationMetadata. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents an AsyncRetrieveContextsOperationMetadata. + * @implements IAsyncRetrieveContextsOperationMetadata + * @constructor + * @param {google.cloud.aiplatform.v1.IAsyncRetrieveContextsOperationMetadata=} [properties] Properties to set + */ + function AsyncRetrieveContextsOperationMetadata(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]]; + } + + /** + * AsyncRetrieveContextsOperationMetadata genericMetadata. + * @member {google.cloud.aiplatform.v1.IGenericOperationMetadata|null|undefined} genericMetadata + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata + * @instance + */ + AsyncRetrieveContextsOperationMetadata.prototype.genericMetadata = null; + + /** + * Creates a new AsyncRetrieveContextsOperationMetadata instance using the specified properties. * @function create - * @memberof google.cloud.aiplatform.v1.Claim + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata * @static - * @param {google.cloud.aiplatform.v1.IClaim=} [properties] Properties to set - * @returns {google.cloud.aiplatform.v1.Claim} Claim instance + * @param {google.cloud.aiplatform.v1.IAsyncRetrieveContextsOperationMetadata=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata} AsyncRetrieveContextsOperationMetadata instance */ - Claim.create = function create(properties) { - return new Claim(properties); + AsyncRetrieveContextsOperationMetadata.create = function create(properties) { + return new AsyncRetrieveContextsOperationMetadata(properties); }; /** - * Encodes the specified Claim message. Does not implicitly {@link google.cloud.aiplatform.v1.Claim.verify|verify} messages. + * Encodes the specified AsyncRetrieveContextsOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata.verify|verify} messages. * @function encode - * @memberof google.cloud.aiplatform.v1.Claim + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata * @static - * @param {google.cloud.aiplatform.v1.IClaim} message Claim message or plain object to encode + * @param {google.cloud.aiplatform.v1.IAsyncRetrieveContextsOperationMetadata} message AsyncRetrieveContextsOperationMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Claim.encode = function encode(message, writer) { + AsyncRetrieveContextsOperationMetadata.encode = function encode(message, writer) { if (!writer) writer = $Writer.create(); - if (message.startIndex != null && Object.hasOwnProperty.call(message, "startIndex")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.startIndex); - if (message.endIndex != null && Object.hasOwnProperty.call(message, "endIndex")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.endIndex); - if (message.factIndexes != null && message.factIndexes.length) { - writer.uint32(/* id 3, wireType 2 =*/26).fork(); - for (var i = 0; i < message.factIndexes.length; ++i) - writer.int32(message.factIndexes[i]); - writer.ldelim(); - } - if (message.score != null && Object.hasOwnProperty.call(message, "score")) - writer.uint32(/* id 4, wireType 5 =*/37).float(message.score); + 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 Claim message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Claim.verify|verify} messages. + * Encodes the specified AsyncRetrieveContextsOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata.verify|verify} messages. * @function encodeDelimited - * @memberof google.cloud.aiplatform.v1.Claim + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata * @static - * @param {google.cloud.aiplatform.v1.IClaim} message Claim message or plain object to encode + * @param {google.cloud.aiplatform.v1.IAsyncRetrieveContextsOperationMetadata} message AsyncRetrieveContextsOperationMetadata message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Claim.encodeDelimited = function encodeDelimited(message, writer) { + AsyncRetrieveContextsOperationMetadata.encodeDelimited = function encodeDelimited(message, writer) { return this.encode(message, writer).ldelim(); }; /** - * Decodes a Claim message from the specified reader or buffer. + * Decodes an AsyncRetrieveContextsOperationMetadata message from the specified reader or buffer. * @function decode - * @memberof google.cloud.aiplatform.v1.Claim + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata * @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.Claim} Claim + * @returns {google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata} AsyncRetrieveContextsOperationMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Claim.decode = function decode(reader, length, error) { + AsyncRetrieveContextsOperationMetadata.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.Claim(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata(); while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) break; switch (tag >>> 3) { case 1: { - message.startIndex = reader.int32(); - break; - } - case 2: { - message.endIndex = reader.int32(); - break; - } - case 3: { - if (!(message.factIndexes && message.factIndexes.length)) - message.factIndexes = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.factIndexes.push(reader.int32()); - } else - message.factIndexes.push(reader.int32()); - break; - } - case 4: { - message.score = reader.float(); + message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.decode(reader, reader.uint32()); break; } default: @@ -349554,151 +355928,107 @@ }; /** - * Decodes a Claim message from the specified reader or buffer, length delimited. + * Decodes an AsyncRetrieveContextsOperationMetadata message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.cloud.aiplatform.v1.Claim + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.cloud.aiplatform.v1.Claim} Claim + * @returns {google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata} AsyncRetrieveContextsOperationMetadata * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Claim.decodeDelimited = function decodeDelimited(reader) { + AsyncRetrieveContextsOperationMetadata.decodeDelimited = function decodeDelimited(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a Claim message. + * Verifies an AsyncRetrieveContextsOperationMetadata message. * @function verify - * @memberof google.cloud.aiplatform.v1.Claim + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Claim.verify = function verify(message) { + AsyncRetrieveContextsOperationMetadata.verify = function verify(message) { if (typeof message !== "object" || message === null) return "object expected"; - var properties = {}; - if (message.startIndex != null && message.hasOwnProperty("startIndex")) { - properties._startIndex = 1; - if (!$util.isInteger(message.startIndex)) - return "startIndex: integer expected"; - } - if (message.endIndex != null && message.hasOwnProperty("endIndex")) { - properties._endIndex = 1; - if (!$util.isInteger(message.endIndex)) - return "endIndex: integer expected"; - } - if (message.factIndexes != null && message.hasOwnProperty("factIndexes")) { - if (!Array.isArray(message.factIndexes)) - return "factIndexes: array expected"; - for (var i = 0; i < message.factIndexes.length; ++i) - if (!$util.isInteger(message.factIndexes[i])) - return "factIndexes: integer[] expected"; - } - if (message.score != null && message.hasOwnProperty("score")) { - properties._score = 1; - if (typeof message.score !== "number") - return "score: number 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 Claim message from a plain object. Also converts values to their respective internal types. + * Creates an AsyncRetrieveContextsOperationMetadata message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.cloud.aiplatform.v1.Claim + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata * @static * @param {Object.} object Plain object - * @returns {google.cloud.aiplatform.v1.Claim} Claim + * @returns {google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata} AsyncRetrieveContextsOperationMetadata */ - Claim.fromObject = function fromObject(object) { - if (object instanceof $root.google.cloud.aiplatform.v1.Claim) + AsyncRetrieveContextsOperationMetadata.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata) return object; - var message = new $root.google.cloud.aiplatform.v1.Claim(); - if (object.startIndex != null) - message.startIndex = object.startIndex | 0; - if (object.endIndex != null) - message.endIndex = object.endIndex | 0; - if (object.factIndexes) { - if (!Array.isArray(object.factIndexes)) - throw TypeError(".google.cloud.aiplatform.v1.Claim.factIndexes: array expected"); - message.factIndexes = []; - for (var i = 0; i < object.factIndexes.length; ++i) - message.factIndexes[i] = object.factIndexes[i] | 0; + var message = new $root.google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata(); + if (object.genericMetadata != null) { + if (typeof object.genericMetadata !== "object") + throw TypeError(".google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata.genericMetadata: object expected"); + message.genericMetadata = $root.google.cloud.aiplatform.v1.GenericOperationMetadata.fromObject(object.genericMetadata); } - if (object.score != null) - message.score = Number(object.score); return message; }; /** - * Creates a plain object from a Claim message. Also converts values to other types if specified. + * Creates a plain object from an AsyncRetrieveContextsOperationMetadata message. Also converts values to other types if specified. * @function toObject - * @memberof google.cloud.aiplatform.v1.Claim + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata * @static - * @param {google.cloud.aiplatform.v1.Claim} message Claim + * @param {google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata} message AsyncRetrieveContextsOperationMetadata * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - Claim.toObject = function toObject(message, options) { + AsyncRetrieveContextsOperationMetadata.toObject = function toObject(message, options) { if (!options) options = {}; var object = {}; - if (options.arrays || options.defaults) - object.factIndexes = []; - if (message.startIndex != null && message.hasOwnProperty("startIndex")) { - object.startIndex = message.startIndex; - if (options.oneofs) - object._startIndex = "startIndex"; - } - if (message.endIndex != null && message.hasOwnProperty("endIndex")) { - object.endIndex = message.endIndex; - if (options.oneofs) - object._endIndex = "endIndex"; - } - if (message.factIndexes && message.factIndexes.length) { - object.factIndexes = []; - for (var j = 0; j < message.factIndexes.length; ++j) - object.factIndexes[j] = message.factIndexes[j]; - } - if (message.score != null && message.hasOwnProperty("score")) { - object.score = options.json && !isFinite(message.score) ? String(message.score) : message.score; - if (options.oneofs) - object._score = "score"; - } + 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 Claim to JSON. + * Converts this AsyncRetrieveContextsOperationMetadata to JSON. * @function toJSON - * @memberof google.cloud.aiplatform.v1.Claim + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata * @instance * @returns {Object.} JSON object */ - Claim.prototype.toJSON = function toJSON() { + AsyncRetrieveContextsOperationMetadata.prototype.toJSON = function toJSON() { return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for Claim + * Gets the default type url for AsyncRetrieveContextsOperationMetadata * @function getTypeUrl - * @memberof google.cloud.aiplatform.v1.Claim + * @memberof google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata * @static * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns {string} The default type url */ - Claim.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + AsyncRetrieveContextsOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { if (typeUrlPrefix === undefined) { typeUrlPrefix = "type.googleapis.com"; } - return typeUrlPrefix + "/google.cloud.aiplatform.v1.Claim"; + return typeUrlPrefix + "/google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata"; }; - return Claim; + return AsyncRetrieveContextsOperationMetadata; })(); v1.VizierService = (function() { @@ -587213,6 +593543,7 @@ * @property {Array.|null} [metrics] EvaluationConfig metrics * @property {google.cloud.aiplatform.v1beta1.IOutputConfig|null} [outputConfig] EvaluationConfig outputConfig * @property {google.cloud.aiplatform.v1beta1.IAutoraterConfig|null} [autoraterConfig] EvaluationConfig autoraterConfig + * @property {google.cloud.aiplatform.v1beta1.IGenerationConfig|null} [inferenceGenerationConfig] EvaluationConfig inferenceGenerationConfig */ /** @@ -587255,6 +593586,14 @@ */ EvaluationConfig.prototype.autoraterConfig = null; + /** + * EvaluationConfig inferenceGenerationConfig. + * @member {google.cloud.aiplatform.v1beta1.IGenerationConfig|null|undefined} inferenceGenerationConfig + * @memberof google.cloud.aiplatform.v1beta1.EvaluationConfig + * @instance + */ + EvaluationConfig.prototype.inferenceGenerationConfig = null; + /** * Creates a new EvaluationConfig instance using the specified properties. * @function create @@ -587286,6 +593625,8 @@ $root.google.cloud.aiplatform.v1beta1.OutputConfig.encode(message.outputConfig, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.autoraterConfig != null && Object.hasOwnProperty.call(message, "autoraterConfig")) $root.google.cloud.aiplatform.v1beta1.AutoraterConfig.encode(message.autoraterConfig, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.inferenceGenerationConfig != null && Object.hasOwnProperty.call(message, "inferenceGenerationConfig")) + $root.google.cloud.aiplatform.v1beta1.GenerationConfig.encode(message.inferenceGenerationConfig, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; @@ -587336,6 +593677,10 @@ message.autoraterConfig = $root.google.cloud.aiplatform.v1beta1.AutoraterConfig.decode(reader, reader.uint32()); break; } + case 5: { + message.inferenceGenerationConfig = $root.google.cloud.aiplatform.v1beta1.GenerationConfig.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -587390,6 +593735,11 @@ if (error) return "autoraterConfig." + error; } + if (message.inferenceGenerationConfig != null && message.hasOwnProperty("inferenceGenerationConfig")) { + var error = $root.google.cloud.aiplatform.v1beta1.GenerationConfig.verify(message.inferenceGenerationConfig); + if (error) + return "inferenceGenerationConfig." + error; + } return null; }; @@ -587425,6 +593775,11 @@ throw TypeError(".google.cloud.aiplatform.v1beta1.EvaluationConfig.autoraterConfig: object expected"); message.autoraterConfig = $root.google.cloud.aiplatform.v1beta1.AutoraterConfig.fromObject(object.autoraterConfig); } + if (object.inferenceGenerationConfig != null) { + if (typeof object.inferenceGenerationConfig !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.EvaluationConfig.inferenceGenerationConfig: object expected"); + message.inferenceGenerationConfig = $root.google.cloud.aiplatform.v1beta1.GenerationConfig.fromObject(object.inferenceGenerationConfig); + } return message; }; @@ -587446,6 +593801,7 @@ if (options.defaults) { object.outputConfig = null; object.autoraterConfig = null; + object.inferenceGenerationConfig = null; } if (message.metrics && message.metrics.length) { object.metrics = []; @@ -587456,6 +593812,8 @@ object.outputConfig = $root.google.cloud.aiplatform.v1beta1.OutputConfig.toObject(message.outputConfig, options); if (message.autoraterConfig != null && message.hasOwnProperty("autoraterConfig")) object.autoraterConfig = $root.google.cloud.aiplatform.v1beta1.AutoraterConfig.toObject(message.autoraterConfig, options); + if (message.inferenceGenerationConfig != null && message.hasOwnProperty("inferenceGenerationConfig")) + object.inferenceGenerationConfig = $root.google.cloud.aiplatform.v1beta1.GenerationConfig.toObject(message.inferenceGenerationConfig, options); return object; }; @@ -587495,6 +593853,7 @@ * @memberof google.cloud.aiplatform.v1beta1 * @interface IEvaluateDatasetRun * @property {string|null} [operationName] EvaluateDatasetRun operationName + * @property {string|null} [evaluationRun] EvaluateDatasetRun evaluationRun * @property {string|null} [checkpointId] EvaluateDatasetRun checkpointId * @property {google.cloud.aiplatform.v1beta1.IEvaluateDatasetResponse|null} [evaluateDatasetResponse] EvaluateDatasetRun evaluateDatasetResponse * @property {google.rpc.IStatus|null} [error] EvaluateDatasetRun error @@ -587523,6 +593882,14 @@ */ EvaluateDatasetRun.prototype.operationName = ""; + /** + * EvaluateDatasetRun evaluationRun. + * @member {string} evaluationRun + * @memberof google.cloud.aiplatform.v1beta1.EvaluateDatasetRun + * @instance + */ + EvaluateDatasetRun.prototype.evaluationRun = ""; + /** * EvaluateDatasetRun checkpointId. * @member {string} checkpointId @@ -587579,6 +593946,8 @@ $root.google.cloud.aiplatform.v1beta1.EvaluateDatasetResponse.encode(message.evaluateDatasetResponse, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); if (message.error != null && Object.hasOwnProperty.call(message, "error")) $root.google.rpc.Status.encode(message.error, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.evaluationRun != null && Object.hasOwnProperty.call(message, "evaluationRun")) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.evaluationRun); return writer; }; @@ -587619,6 +593988,10 @@ message.operationName = reader.string(); break; } + case 5: { + message.evaluationRun = reader.string(); + break; + } case 2: { message.checkpointId = reader.string(); break; @@ -587669,6 +594042,9 @@ if (message.operationName != null && message.hasOwnProperty("operationName")) if (!$util.isString(message.operationName)) return "operationName: string expected"; + if (message.evaluationRun != null && message.hasOwnProperty("evaluationRun")) + if (!$util.isString(message.evaluationRun)) + return "evaluationRun: string expected"; if (message.checkpointId != null && message.hasOwnProperty("checkpointId")) if (!$util.isString(message.checkpointId)) return "checkpointId: string expected"; @@ -587699,6 +594075,8 @@ var message = new $root.google.cloud.aiplatform.v1beta1.EvaluateDatasetRun(); if (object.operationName != null) message.operationName = String(object.operationName); + if (object.evaluationRun != null) + message.evaluationRun = String(object.evaluationRun); if (object.checkpointId != null) message.checkpointId = String(object.checkpointId); if (object.evaluateDatasetResponse != null) { @@ -587732,6 +594110,7 @@ object.checkpointId = ""; object.evaluateDatasetResponse = null; object.error = null; + object.evaluationRun = ""; } if (message.operationName != null && message.hasOwnProperty("operationName")) object.operationName = message.operationName; @@ -587741,6 +594120,8 @@ object.evaluateDatasetResponse = $root.google.cloud.aiplatform.v1beta1.EvaluateDatasetResponse.toObject(message.evaluateDatasetResponse, options); if (message.error != null && message.hasOwnProperty("error")) object.error = $root.google.rpc.Status.toObject(message.error, options); + if (message.evaluationRun != null && message.hasOwnProperty("evaluationRun")) + object.evaluationRun = message.evaluationRun; return object; }; @@ -737009,6 +743390,7 @@ * @property {google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IInlineSource|null} [inlineSource] SourceCodeSpec inlineSource * @property {google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IDeveloperConnectSource|null} [developerConnectSource] SourceCodeSpec developerConnectSource * @property {google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IPythonSpec|null} [pythonSpec] SourceCodeSpec pythonSpec + * @property {google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec|null} [imageSpec] SourceCodeSpec imageSpec */ /** @@ -737050,6 +743432,14 @@ */ SourceCodeSpec.prototype.pythonSpec = null; + /** + * SourceCodeSpec imageSpec. + * @member {google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec|null|undefined} imageSpec + * @memberof google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + * @instance + */ + SourceCodeSpec.prototype.imageSpec = null; + // OneOf field names bound to virtual getters and setters var $oneOfFields; @@ -737066,12 +743456,12 @@ /** * SourceCodeSpec languageSpec. - * @member {"pythonSpec"|undefined} languageSpec + * @member {"pythonSpec"|"imageSpec"|undefined} languageSpec * @memberof google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec * @instance */ Object.defineProperty(SourceCodeSpec.prototype, "languageSpec", { - get: $util.oneOfGetter($oneOfFields = ["pythonSpec"]), + get: $util.oneOfGetter($oneOfFields = ["pythonSpec", "imageSpec"]), set: $util.oneOfSetter($oneOfFields) }); @@ -737105,6 +743495,8 @@ $root.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec.encode(message.pythonSpec, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.developerConnectSource != null && Object.hasOwnProperty.call(message, "developerConnectSource")) $root.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.DeveloperConnectSource.encode(message.developerConnectSource, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.imageSpec != null && Object.hasOwnProperty.call(message, "imageSpec")) + $root.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.encode(message.imageSpec, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); return writer; }; @@ -737153,6 +743545,10 @@ message.pythonSpec = $root.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec.decode(reader, reader.uint32()); break; } + case 5: { + message.imageSpec = $root.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -737215,6 +743611,16 @@ return "pythonSpec." + error; } } + if (message.imageSpec != null && message.hasOwnProperty("imageSpec")) { + if (properties.languageSpec === 1) + return "languageSpec: multiple values"; + properties.languageSpec = 1; + { + var error = $root.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.verify(message.imageSpec); + if (error) + return "imageSpec." + error; + } + } return null; }; @@ -737245,6 +743651,11 @@ throw TypeError(".google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.pythonSpec: object expected"); message.pythonSpec = $root.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec.fromObject(object.pythonSpec); } + if (object.imageSpec != null) { + if (typeof object.imageSpec !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.imageSpec: object expected"); + message.imageSpec = $root.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.fromObject(object.imageSpec); + } return message; }; @@ -737276,6 +743687,11 @@ if (options.oneofs) object.source = "developerConnectSource"; } + if (message.imageSpec != null && message.hasOwnProperty("imageSpec")) { + object.imageSpec = $root.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.toObject(message.imageSpec, options); + if (options.oneofs) + object.languageSpec = "imageSpec"; + } return object; }; @@ -737519,6 +743935,246 @@ return InlineSource; })(); + SourceCodeSpec.ImageSpec = (function() { + + /** + * Properties of an ImageSpec. + * @memberof google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + * @interface IImageSpec + * @property {Object.|null} [buildArgs] ImageSpec buildArgs + */ + + /** + * Constructs a new ImageSpec. + * @memberof google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec + * @classdesc Represents an ImageSpec. + * @implements IImageSpec + * @constructor + * @param {google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec=} [properties] Properties to set + */ + function ImageSpec(properties) { + this.buildArgs = {}; + 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]]; + } + + /** + * ImageSpec buildArgs. + * @member {Object.} buildArgs + * @memberof google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @instance + */ + ImageSpec.prototype.buildArgs = $util.emptyObject; + + /** + * Creates a new ImageSpec instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @static + * @param {google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec} ImageSpec instance + */ + ImageSpec.create = function create(properties) { + return new ImageSpec(properties); + }; + + /** + * Encodes the specified ImageSpec message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @static + * @param {google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec} message ImageSpec message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ImageSpec.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.buildArgs != null && Object.hasOwnProperty.call(message, "buildArgs")) + for (var keys = Object.keys(message.buildArgs), i = 0; i < keys.length; ++i) + writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.buildArgs[keys[i]]).ldelim(); + return writer; + }; + + /** + * Encodes the specified ImageSpec message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @static + * @param {google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.IImageSpec} message ImageSpec message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ImageSpec.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an ImageSpec message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @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.ReasoningEngineSpec.SourceCodeSpec.ImageSpec} ImageSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ImageSpec.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec(), key, value; + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + if (message.buildArgs === $util.emptyObject) + message.buildArgs = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } + } + message.buildArgs[key] = value; + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an ImageSpec message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec} ImageSpec + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ImageSpec.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an ImageSpec message. + * @function verify + * @memberof google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ImageSpec.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.buildArgs != null && message.hasOwnProperty("buildArgs")) { + if (!$util.isObject(message.buildArgs)) + return "buildArgs: object expected"; + var key = Object.keys(message.buildArgs); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.buildArgs[key[i]])) + return "buildArgs: string{k:string} expected"; + } + return null; + }; + + /** + * Creates an ImageSpec message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec} ImageSpec + */ + ImageSpec.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec) + return object; + var message = new $root.google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec(); + if (object.buildArgs) { + if (typeof object.buildArgs !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.buildArgs: object expected"); + message.buildArgs = {}; + for (var keys = Object.keys(object.buildArgs), i = 0; i < keys.length; ++i) + message.buildArgs[keys[i]] = String(object.buildArgs[keys[i]]); + } + return message; + }; + + /** + * Creates a plain object from an ImageSpec message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @static + * @param {google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec} message ImageSpec + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ImageSpec.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.objects || options.defaults) + object.buildArgs = {}; + var keys2; + if (message.buildArgs && (keys2 = Object.keys(message.buildArgs)).length) { + object.buildArgs = {}; + for (var j = 0; j < keys2.length; ++j) + object.buildArgs[keys2[j]] = message.buildArgs[keys2[j]]; + } + return object; + }; + + /** + * Converts this ImageSpec to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @instance + * @returns {Object.} JSON object + */ + ImageSpec.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for ImageSpec + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + ImageSpec.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec"; + }; + + return ImageSpec; + })(); + SourceCodeSpec.DeveloperConnectConfig = (function() { /** @@ -772639,6 +779295,7 @@ * @property {google.protobuf.ITimestamp|null} [createTime] Session createTime * @property {google.protobuf.ITimestamp|null} [updateTime] Session updateTime * @property {string|null} [displayName] Session displayName + * @property {Object.|null} [labels] Session labels * @property {google.protobuf.IStruct|null} [sessionState] Session sessionState * @property {string|null} [userId] Session userId */ @@ -772652,6 +779309,7 @@ * @param {google.cloud.aiplatform.v1beta1.ISession=} [properties] Properties to set */ function Session(properties) { + this.labels = {}; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -772706,6 +779364,14 @@ */ Session.prototype.displayName = ""; + /** + * Session labels. + * @member {Object.} labels + * @memberof google.cloud.aiplatform.v1beta1.Session + * @instance + */ + Session.prototype.labels = $util.emptyObject; + /** * Session sessionState. * @member {google.protobuf.IStruct|null|undefined} sessionState @@ -772768,6 +779434,9 @@ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); if (message.displayName != null && Object.hasOwnProperty.call(message, "displayName")) writer.uint32(/* id 5, wireType 2 =*/42).string(message.displayName); + if (message.labels != null && Object.hasOwnProperty.call(message, "labels")) + for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i) + writer.uint32(/* id 8, wireType 2 =*/66).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); if (message.sessionState != null && Object.hasOwnProperty.call(message, "sessionState")) $root.google.protobuf.Struct.encode(message.sessionState, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); if (message.userId != null && Object.hasOwnProperty.call(message, "userId")) @@ -772806,7 +779475,7 @@ Session.decode = function decode(reader, length, error) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.Session(); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.Session(), key, value; while (reader.pos < end) { var tag = reader.uint32(); if (tag === error) @@ -772836,6 +779505,29 @@ message.displayName = reader.string(); break; } + case 8: { + if (message.labels === $util.emptyObject) + message.labels = {}; + var end2 = reader.uint32() + reader.pos; + key = ""; + value = ""; + while (reader.pos < end2) { + var tag2 = reader.uint32(); + switch (tag2 >>> 3) { + case 1: + key = reader.string(); + break; + case 2: + value = reader.string(); + break; + default: + reader.skipType(tag2 & 7); + break; + } + } + message.labels[key] = value; + break; + } case 10: { message.sessionState = $root.google.protobuf.Struct.decode(reader, reader.uint32()); break; @@ -772914,6 +779606,14 @@ if (message.displayName != null && message.hasOwnProperty("displayName")) if (!$util.isString(message.displayName)) return "displayName: string expected"; + if (message.labels != null && message.hasOwnProperty("labels")) { + if (!$util.isObject(message.labels)) + return "labels: object expected"; + var key = Object.keys(message.labels); + for (var i = 0; i < key.length; ++i) + if (!$util.isString(message.labels[key[i]])) + return "labels: string{k:string} expected"; + } if (message.sessionState != null && message.hasOwnProperty("sessionState")) { var error = $root.google.protobuf.Struct.verify(message.sessionState); if (error) @@ -772961,6 +779661,13 @@ } if (object.displayName != null) message.displayName = String(object.displayName); + if (object.labels) { + if (typeof object.labels !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.Session.labels: object expected"); + message.labels = {}; + for (var keys = Object.keys(object.labels), i = 0; i < keys.length; ++i) + message.labels[keys[i]] = String(object.labels[keys[i]]); + } if (object.sessionState != null) { if (typeof object.sessionState !== "object") throw TypeError(".google.cloud.aiplatform.v1beta1.Session.sessionState: object expected"); @@ -772984,6 +779691,8 @@ if (!options) options = {}; var object = {}; + if (options.objects || options.defaults) + object.labels = {}; if (options.defaults) { object.name = ""; object.createTime = null; @@ -773000,6 +779709,12 @@ object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options); if (message.displayName != null && message.hasOwnProperty("displayName")) object.displayName = message.displayName; + var keys2; + if (message.labels && (keys2 = Object.keys(message.labels)).length) { + object.labels = {}; + for (var j = 0; j < keys2.length; ++j) + object.labels[keys2[j]] = message.labels[keys2[j]]; + } if (message.sessionState != null && message.hasOwnProperty("sessionState")) object.sessionState = $root.google.protobuf.Struct.toObject(message.sessionState, options); if (message.userId != null && message.hasOwnProperty("userId")) @@ -773469,6 +780184,8 @@ * @property {Array.|null} [longRunningToolIds] EventMetadata longRunningToolIds * @property {string|null} [branch] EventMetadata branch * @property {google.protobuf.IStruct|null} [customMetadata] EventMetadata customMetadata + * @property {google.cloud.aiplatform.v1beta1.ITranscription|null} [inputTranscription] EventMetadata inputTranscription + * @property {google.cloud.aiplatform.v1beta1.ITranscription|null} [outputTranscription] EventMetadata outputTranscription */ /** @@ -773543,6 +780260,22 @@ */ EventMetadata.prototype.customMetadata = null; + /** + * EventMetadata inputTranscription. + * @member {google.cloud.aiplatform.v1beta1.ITranscription|null|undefined} inputTranscription + * @memberof google.cloud.aiplatform.v1beta1.EventMetadata + * @instance + */ + EventMetadata.prototype.inputTranscription = null; + + /** + * EventMetadata outputTranscription. + * @member {google.cloud.aiplatform.v1beta1.ITranscription|null|undefined} outputTranscription + * @memberof google.cloud.aiplatform.v1beta1.EventMetadata + * @instance + */ + EventMetadata.prototype.outputTranscription = null; + /** * Creates a new EventMetadata instance using the specified properties. * @function create @@ -773582,6 +780315,10 @@ writer.uint32(/* id 6, wireType 2 =*/50).string(message.branch); if (message.customMetadata != null && Object.hasOwnProperty.call(message, "customMetadata")) $root.google.protobuf.Struct.encode(message.customMetadata, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + if (message.inputTranscription != null && Object.hasOwnProperty.call(message, "inputTranscription")) + $root.google.cloud.aiplatform.v1beta1.Transcription.encode(message.inputTranscription, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); + if (message.outputTranscription != null && Object.hasOwnProperty.call(message, "outputTranscription")) + $root.google.cloud.aiplatform.v1beta1.Transcription.encode(message.outputTranscription, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); return writer; }; @@ -773648,6 +780385,14 @@ message.customMetadata = $root.google.protobuf.Struct.decode(reader, reader.uint32()); break; } + case 10: { + message.inputTranscription = $root.google.cloud.aiplatform.v1beta1.Transcription.decode(reader, reader.uint32()); + break; + } + case 11: { + message.outputTranscription = $root.google.cloud.aiplatform.v1beta1.Transcription.decode(reader, reader.uint32()); + break; + } default: reader.skipType(tag & 7); break; @@ -773712,6 +780457,16 @@ if (error) return "customMetadata." + error; } + if (message.inputTranscription != null && message.hasOwnProperty("inputTranscription")) { + var error = $root.google.cloud.aiplatform.v1beta1.Transcription.verify(message.inputTranscription); + if (error) + return "inputTranscription." + error; + } + if (message.outputTranscription != null && message.hasOwnProperty("outputTranscription")) { + var error = $root.google.cloud.aiplatform.v1beta1.Transcription.verify(message.outputTranscription); + if (error) + return "outputTranscription." + error; + } return null; }; @@ -773752,6 +780507,16 @@ throw TypeError(".google.cloud.aiplatform.v1beta1.EventMetadata.customMetadata: object expected"); message.customMetadata = $root.google.protobuf.Struct.fromObject(object.customMetadata); } + if (object.inputTranscription != null) { + if (typeof object.inputTranscription !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.EventMetadata.inputTranscription: object expected"); + message.inputTranscription = $root.google.cloud.aiplatform.v1beta1.Transcription.fromObject(object.inputTranscription); + } + if (object.outputTranscription != null) { + if (typeof object.outputTranscription !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.EventMetadata.outputTranscription: object expected"); + message.outputTranscription = $root.google.cloud.aiplatform.v1beta1.Transcription.fromObject(object.outputTranscription); + } return message; }; @@ -773777,6 +780542,8 @@ object.interrupted = false; object.branch = ""; object.customMetadata = null; + object.inputTranscription = null; + object.outputTranscription = null; } if (message.groundingMetadata != null && message.hasOwnProperty("groundingMetadata")) object.groundingMetadata = $root.google.cloud.aiplatform.v1beta1.GroundingMetadata.toObject(message.groundingMetadata, options); @@ -773795,6 +780562,10 @@ object.branch = message.branch; if (message.customMetadata != null && message.hasOwnProperty("customMetadata")) object.customMetadata = $root.google.protobuf.Struct.toObject(message.customMetadata, options); + if (message.inputTranscription != null && message.hasOwnProperty("inputTranscription")) + object.inputTranscription = $root.google.cloud.aiplatform.v1beta1.Transcription.toObject(message.inputTranscription, options); + if (message.outputTranscription != null && message.hasOwnProperty("outputTranscription")) + object.outputTranscription = $root.google.cloud.aiplatform.v1beta1.Transcription.toObject(message.outputTranscription, options); return object; }; @@ -774194,6 +780965,235 @@ return EventActions; })(); + v1beta1.Transcription = (function() { + + /** + * Properties of a Transcription. + * @memberof google.cloud.aiplatform.v1beta1 + * @interface ITranscription + * @property {string|null} [text] Transcription text + * @property {boolean|null} [finished] Transcription finished + */ + + /** + * Constructs a new Transcription. + * @memberof google.cloud.aiplatform.v1beta1 + * @classdesc Represents a Transcription. + * @implements ITranscription + * @constructor + * @param {google.cloud.aiplatform.v1beta1.ITranscription=} [properties] Properties to set + */ + function Transcription(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]]; + } + + /** + * Transcription text. + * @member {string} text + * @memberof google.cloud.aiplatform.v1beta1.Transcription + * @instance + */ + Transcription.prototype.text = ""; + + /** + * Transcription finished. + * @member {boolean} finished + * @memberof google.cloud.aiplatform.v1beta1.Transcription + * @instance + */ + Transcription.prototype.finished = false; + + /** + * Creates a new Transcription instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1beta1.Transcription + * @static + * @param {google.cloud.aiplatform.v1beta1.ITranscription=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1beta1.Transcription} Transcription instance + */ + Transcription.create = function create(properties) { + return new Transcription(properties); + }; + + /** + * Encodes the specified Transcription message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.Transcription.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1beta1.Transcription + * @static + * @param {google.cloud.aiplatform.v1beta1.ITranscription} message Transcription message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Transcription.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.text != null && Object.hasOwnProperty.call(message, "text")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.text); + if (message.finished != null && Object.hasOwnProperty.call(message, "finished")) + writer.uint32(/* id 2, wireType 0 =*/16).bool(message.finished); + return writer; + }; + + /** + * Encodes the specified Transcription message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.Transcription.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.Transcription + * @static + * @param {google.cloud.aiplatform.v1beta1.ITranscription} message Transcription message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Transcription.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a Transcription message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1beta1.Transcription + * @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.Transcription} Transcription + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Transcription.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.Transcription(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.text = reader.string(); + break; + } + case 2: { + message.finished = reader.bool(); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a Transcription message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.Transcription + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1beta1.Transcription} Transcription + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Transcription.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a Transcription message. + * @function verify + * @memberof google.cloud.aiplatform.v1beta1.Transcription + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Transcription.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.text != null && message.hasOwnProperty("text")) + if (!$util.isString(message.text)) + return "text: string expected"; + if (message.finished != null && message.hasOwnProperty("finished")) + if (typeof message.finished !== "boolean") + return "finished: boolean expected"; + return null; + }; + + /** + * Creates a Transcription message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1beta1.Transcription + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1beta1.Transcription} Transcription + */ + Transcription.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1beta1.Transcription) + return object; + var message = new $root.google.cloud.aiplatform.v1beta1.Transcription(); + if (object.text != null) + message.text = String(object.text); + if (object.finished != null) + message.finished = Boolean(object.finished); + return message; + }; + + /** + * Creates a plain object from a Transcription message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1beta1.Transcription + * @static + * @param {google.cloud.aiplatform.v1beta1.Transcription} message Transcription + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + Transcription.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.text = ""; + object.finished = false; + } + if (message.text != null && message.hasOwnProperty("text")) + object.text = message.text; + if (message.finished != null && message.hasOwnProperty("finished")) + object.finished = message.finished; + return object; + }; + + /** + * Converts this Transcription to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1beta1.Transcription + * @instance + * @returns {Object.} JSON object + */ + Transcription.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for Transcription + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1beta1.Transcription + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + Transcription.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1beta1.Transcription"; + }; + + return Transcription; + })(); + v1beta1.SessionService = (function() { /** @@ -801016,6 +808016,72 @@ * @variation 2 */ + /** + * Callback as used by {@link google.cloud.aiplatform.v1beta1.VertexRagService|askContexts}. + * @memberof google.cloud.aiplatform.v1beta1.VertexRagService + * @typedef AskContextsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.cloud.aiplatform.v1beta1.AskContextsResponse} [response] AskContextsResponse + */ + + /** + * Calls AskContexts. + * @function askContexts + * @memberof google.cloud.aiplatform.v1beta1.VertexRagService + * @instance + * @param {google.cloud.aiplatform.v1beta1.IAskContextsRequest} request AskContextsRequest message or plain object + * @param {google.cloud.aiplatform.v1beta1.VertexRagService.AskContextsCallback} callback Node-style callback called with the error, if any, and AskContextsResponse + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(VertexRagService.prototype.askContexts = function askContexts(request, callback) { + return this.rpcCall(askContexts, $root.google.cloud.aiplatform.v1beta1.AskContextsRequest, $root.google.cloud.aiplatform.v1beta1.AskContextsResponse, request, callback); + }, "name", { value: "AskContexts" }); + + /** + * Calls AskContexts. + * @function askContexts + * @memberof google.cloud.aiplatform.v1beta1.VertexRagService + * @instance + * @param {google.cloud.aiplatform.v1beta1.IAskContextsRequest} request AskContextsRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + + /** + * Callback as used by {@link google.cloud.aiplatform.v1beta1.VertexRagService|asyncRetrieveContexts}. + * @memberof google.cloud.aiplatform.v1beta1.VertexRagService + * @typedef AsyncRetrieveContextsCallback + * @type {function} + * @param {Error|null} error Error, if any + * @param {google.longrunning.Operation} [response] Operation + */ + + /** + * Calls AsyncRetrieveContexts. + * @function asyncRetrieveContexts + * @memberof google.cloud.aiplatform.v1beta1.VertexRagService + * @instance + * @param {google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsRequest} request AsyncRetrieveContextsRequest message or plain object + * @param {google.cloud.aiplatform.v1beta1.VertexRagService.AsyncRetrieveContextsCallback} callback Node-style callback called with the error, if any, and Operation + * @returns {undefined} + * @variation 1 + */ + Object.defineProperty(VertexRagService.prototype.asyncRetrieveContexts = function asyncRetrieveContexts(request, callback) { + return this.rpcCall(asyncRetrieveContexts, $root.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest, $root.google.longrunning.Operation, request, callback); + }, "name", { value: "AsyncRetrieveContexts" }); + + /** + * Calls AsyncRetrieveContexts. + * @function asyncRetrieveContexts + * @memberof google.cloud.aiplatform.v1beta1.VertexRagService + * @instance + * @param {google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsRequest} request AsyncRetrieveContextsRequest message or plain object + * @returns {Promise} Promise + * @variation 2 + */ + return VertexRagService; })(); @@ -805541,6 +812607,1218 @@ return Claim; })(); + v1beta1.AskContextsRequest = (function() { + + /** + * Properties of an AskContextsRequest. + * @memberof google.cloud.aiplatform.v1beta1 + * @interface IAskContextsRequest + * @property {string|null} [parent] AskContextsRequest parent + * @property {google.cloud.aiplatform.v1beta1.IRagQuery|null} [query] AskContextsRequest query + * @property {Array.|null} [tools] AskContextsRequest tools + */ + + /** + * Constructs a new AskContextsRequest. + * @memberof google.cloud.aiplatform.v1beta1 + * @classdesc Represents an AskContextsRequest. + * @implements IAskContextsRequest + * @constructor + * @param {google.cloud.aiplatform.v1beta1.IAskContextsRequest=} [properties] Properties to set + */ + function AskContextsRequest(properties) { + this.tools = []; + 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]]; + } + + /** + * AskContextsRequest parent. + * @member {string} parent + * @memberof google.cloud.aiplatform.v1beta1.AskContextsRequest + * @instance + */ + AskContextsRequest.prototype.parent = ""; + + /** + * AskContextsRequest query. + * @member {google.cloud.aiplatform.v1beta1.IRagQuery|null|undefined} query + * @memberof google.cloud.aiplatform.v1beta1.AskContextsRequest + * @instance + */ + AskContextsRequest.prototype.query = null; + + /** + * AskContextsRequest tools. + * @member {Array.} tools + * @memberof google.cloud.aiplatform.v1beta1.AskContextsRequest + * @instance + */ + AskContextsRequest.prototype.tools = $util.emptyArray; + + /** + * Creates a new AskContextsRequest instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1beta1.AskContextsRequest + * @static + * @param {google.cloud.aiplatform.v1beta1.IAskContextsRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1beta1.AskContextsRequest} AskContextsRequest instance + */ + AskContextsRequest.create = function create(properties) { + return new AskContextsRequest(properties); + }; + + /** + * Encodes the specified AskContextsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AskContextsRequest.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1beta1.AskContextsRequest + * @static + * @param {google.cloud.aiplatform.v1beta1.IAskContextsRequest} message AskContextsRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AskContextsRequest.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.query != null && Object.hasOwnProperty.call(message, "query")) + $root.google.cloud.aiplatform.v1beta1.RagQuery.encode(message.query, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.tools != null && message.tools.length) + for (var i = 0; i < message.tools.length; ++i) + $root.google.cloud.aiplatform.v1beta1.Tool.encode(message.tools[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified AskContextsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AskContextsRequest.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.AskContextsRequest + * @static + * @param {google.cloud.aiplatform.v1beta1.IAskContextsRequest} message AskContextsRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AskContextsRequest.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an AskContextsRequest message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1beta1.AskContextsRequest + * @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.AskContextsRequest} AskContextsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AskContextsRequest.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.AskContextsRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.query = $root.google.cloud.aiplatform.v1beta1.RagQuery.decode(reader, reader.uint32()); + break; + } + case 3: { + if (!(message.tools && message.tools.length)) + message.tools = []; + message.tools.push($root.google.cloud.aiplatform.v1beta1.Tool.decode(reader, reader.uint32())); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an AskContextsRequest message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.AskContextsRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1beta1.AskContextsRequest} AskContextsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AskContextsRequest.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an AskContextsRequest message. + * @function verify + * @memberof google.cloud.aiplatform.v1beta1.AskContextsRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + AskContextsRequest.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.query != null && message.hasOwnProperty("query")) { + var error = $root.google.cloud.aiplatform.v1beta1.RagQuery.verify(message.query); + if (error) + return "query." + error; + } + if (message.tools != null && message.hasOwnProperty("tools")) { + if (!Array.isArray(message.tools)) + return "tools: array expected"; + for (var i = 0; i < message.tools.length; ++i) { + var error = $root.google.cloud.aiplatform.v1beta1.Tool.verify(message.tools[i]); + if (error) + return "tools." + error; + } + } + return null; + }; + + /** + * Creates an AskContextsRequest message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1beta1.AskContextsRequest + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1beta1.AskContextsRequest} AskContextsRequest + */ + AskContextsRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1beta1.AskContextsRequest) + return object; + var message = new $root.google.cloud.aiplatform.v1beta1.AskContextsRequest(); + if (object.parent != null) + message.parent = String(object.parent); + if (object.query != null) { + if (typeof object.query !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.AskContextsRequest.query: object expected"); + message.query = $root.google.cloud.aiplatform.v1beta1.RagQuery.fromObject(object.query); + } + if (object.tools) { + if (!Array.isArray(object.tools)) + throw TypeError(".google.cloud.aiplatform.v1beta1.AskContextsRequest.tools: array expected"); + message.tools = []; + for (var i = 0; i < object.tools.length; ++i) { + if (typeof object.tools[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.AskContextsRequest.tools: object expected"); + message.tools[i] = $root.google.cloud.aiplatform.v1beta1.Tool.fromObject(object.tools[i]); + } + } + return message; + }; + + /** + * Creates a plain object from an AskContextsRequest message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1beta1.AskContextsRequest + * @static + * @param {google.cloud.aiplatform.v1beta1.AskContextsRequest} message AskContextsRequest + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + AskContextsRequest.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.tools = []; + if (options.defaults) { + object.parent = ""; + object.query = null; + } + if (message.parent != null && message.hasOwnProperty("parent")) + object.parent = message.parent; + if (message.query != null && message.hasOwnProperty("query")) + object.query = $root.google.cloud.aiplatform.v1beta1.RagQuery.toObject(message.query, options); + if (message.tools && message.tools.length) { + object.tools = []; + for (var j = 0; j < message.tools.length; ++j) + object.tools[j] = $root.google.cloud.aiplatform.v1beta1.Tool.toObject(message.tools[j], options); + } + return object; + }; + + /** + * Converts this AskContextsRequest to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1beta1.AskContextsRequest + * @instance + * @returns {Object.} JSON object + */ + AskContextsRequest.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for AskContextsRequest + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1beta1.AskContextsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AskContextsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1beta1.AskContextsRequest"; + }; + + return AskContextsRequest; + })(); + + v1beta1.AskContextsResponse = (function() { + + /** + * Properties of an AskContextsResponse. + * @memberof google.cloud.aiplatform.v1beta1 + * @interface IAskContextsResponse + * @property {string|null} [response] AskContextsResponse response + * @property {google.cloud.aiplatform.v1beta1.IRagContexts|null} [contexts] AskContextsResponse contexts + */ + + /** + * Constructs a new AskContextsResponse. + * @memberof google.cloud.aiplatform.v1beta1 + * @classdesc Represents an AskContextsResponse. + * @implements IAskContextsResponse + * @constructor + * @param {google.cloud.aiplatform.v1beta1.IAskContextsResponse=} [properties] Properties to set + */ + function AskContextsResponse(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]]; + } + + /** + * AskContextsResponse response. + * @member {string} response + * @memberof google.cloud.aiplatform.v1beta1.AskContextsResponse + * @instance + */ + AskContextsResponse.prototype.response = ""; + + /** + * AskContextsResponse contexts. + * @member {google.cloud.aiplatform.v1beta1.IRagContexts|null|undefined} contexts + * @memberof google.cloud.aiplatform.v1beta1.AskContextsResponse + * @instance + */ + AskContextsResponse.prototype.contexts = null; + + /** + * Creates a new AskContextsResponse instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1beta1.AskContextsResponse + * @static + * @param {google.cloud.aiplatform.v1beta1.IAskContextsResponse=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1beta1.AskContextsResponse} AskContextsResponse instance + */ + AskContextsResponse.create = function create(properties) { + return new AskContextsResponse(properties); + }; + + /** + * Encodes the specified AskContextsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AskContextsResponse.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1beta1.AskContextsResponse + * @static + * @param {google.cloud.aiplatform.v1beta1.IAskContextsResponse} message AskContextsResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AskContextsResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.response != null && Object.hasOwnProperty.call(message, "response")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.response); + if (message.contexts != null && Object.hasOwnProperty.call(message, "contexts")) + $root.google.cloud.aiplatform.v1beta1.RagContexts.encode(message.contexts, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified AskContextsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AskContextsResponse.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.AskContextsResponse + * @static + * @param {google.cloud.aiplatform.v1beta1.IAskContextsResponse} message AskContextsResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AskContextsResponse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an AskContextsResponse message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1beta1.AskContextsResponse + * @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.AskContextsResponse} AskContextsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AskContextsResponse.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.AskContextsResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.response = reader.string(); + break; + } + case 2: { + message.contexts = $root.google.cloud.aiplatform.v1beta1.RagContexts.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an AskContextsResponse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.AskContextsResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1beta1.AskContextsResponse} AskContextsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AskContextsResponse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an AskContextsResponse message. + * @function verify + * @memberof google.cloud.aiplatform.v1beta1.AskContextsResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + AskContextsResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.response != null && message.hasOwnProperty("response")) + if (!$util.isString(message.response)) + return "response: string expected"; + if (message.contexts != null && message.hasOwnProperty("contexts")) { + var error = $root.google.cloud.aiplatform.v1beta1.RagContexts.verify(message.contexts); + if (error) + return "contexts." + error; + } + return null; + }; + + /** + * Creates an AskContextsResponse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1beta1.AskContextsResponse + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1beta1.AskContextsResponse} AskContextsResponse + */ + AskContextsResponse.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1beta1.AskContextsResponse) + return object; + var message = new $root.google.cloud.aiplatform.v1beta1.AskContextsResponse(); + if (object.response != null) + message.response = String(object.response); + if (object.contexts != null) { + if (typeof object.contexts !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.AskContextsResponse.contexts: object expected"); + message.contexts = $root.google.cloud.aiplatform.v1beta1.RagContexts.fromObject(object.contexts); + } + return message; + }; + + /** + * Creates a plain object from an AskContextsResponse message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1beta1.AskContextsResponse + * @static + * @param {google.cloud.aiplatform.v1beta1.AskContextsResponse} message AskContextsResponse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + AskContextsResponse.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.response = ""; + object.contexts = null; + } + if (message.response != null && message.hasOwnProperty("response")) + object.response = message.response; + if (message.contexts != null && message.hasOwnProperty("contexts")) + object.contexts = $root.google.cloud.aiplatform.v1beta1.RagContexts.toObject(message.contexts, options); + return object; + }; + + /** + * Converts this AskContextsResponse to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1beta1.AskContextsResponse + * @instance + * @returns {Object.} JSON object + */ + AskContextsResponse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for AskContextsResponse + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1beta1.AskContextsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AskContextsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1beta1.AskContextsResponse"; + }; + + return AskContextsResponse; + })(); + + v1beta1.AsyncRetrieveContextsRequest = (function() { + + /** + * Properties of an AsyncRetrieveContextsRequest. + * @memberof google.cloud.aiplatform.v1beta1 + * @interface IAsyncRetrieveContextsRequest + * @property {string|null} [parent] AsyncRetrieveContextsRequest parent + * @property {google.cloud.aiplatform.v1beta1.IRagQuery|null} [query] AsyncRetrieveContextsRequest query + * @property {Array.|null} [tools] AsyncRetrieveContextsRequest tools + */ + + /** + * Constructs a new AsyncRetrieveContextsRequest. + * @memberof google.cloud.aiplatform.v1beta1 + * @classdesc Represents an AsyncRetrieveContextsRequest. + * @implements IAsyncRetrieveContextsRequest + * @constructor + * @param {google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsRequest=} [properties] Properties to set + */ + function AsyncRetrieveContextsRequest(properties) { + this.tools = []; + 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]]; + } + + /** + * AsyncRetrieveContextsRequest parent. + * @member {string} parent + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest + * @instance + */ + AsyncRetrieveContextsRequest.prototype.parent = ""; + + /** + * AsyncRetrieveContextsRequest query. + * @member {google.cloud.aiplatform.v1beta1.IRagQuery|null|undefined} query + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest + * @instance + */ + AsyncRetrieveContextsRequest.prototype.query = null; + + /** + * AsyncRetrieveContextsRequest tools. + * @member {Array.} tools + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest + * @instance + */ + AsyncRetrieveContextsRequest.prototype.tools = $util.emptyArray; + + /** + * Creates a new AsyncRetrieveContextsRequest instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest + * @static + * @param {google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsRequest=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest} AsyncRetrieveContextsRequest instance + */ + AsyncRetrieveContextsRequest.create = function create(properties) { + return new AsyncRetrieveContextsRequest(properties); + }; + + /** + * Encodes the specified AsyncRetrieveContextsRequest message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest + * @static + * @param {google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsRequest} message AsyncRetrieveContextsRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AsyncRetrieveContextsRequest.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.query != null && Object.hasOwnProperty.call(message, "query")) + $root.google.cloud.aiplatform.v1beta1.RagQuery.encode(message.query, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.tools != null && message.tools.length) + for (var i = 0; i < message.tools.length; ++i) + $root.google.cloud.aiplatform.v1beta1.Tool.encode(message.tools[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified AsyncRetrieveContextsRequest message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest + * @static + * @param {google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsRequest} message AsyncRetrieveContextsRequest message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AsyncRetrieveContextsRequest.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an AsyncRetrieveContextsRequest message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest + * @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.AsyncRetrieveContextsRequest} AsyncRetrieveContextsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AsyncRetrieveContextsRequest.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.parent = reader.string(); + break; + } + case 2: { + message.query = $root.google.cloud.aiplatform.v1beta1.RagQuery.decode(reader, reader.uint32()); + break; + } + case 3: { + if (!(message.tools && message.tools.length)) + message.tools = []; + message.tools.push($root.google.cloud.aiplatform.v1beta1.Tool.decode(reader, reader.uint32())); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an AsyncRetrieveContextsRequest message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest} AsyncRetrieveContextsRequest + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AsyncRetrieveContextsRequest.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an AsyncRetrieveContextsRequest message. + * @function verify + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + AsyncRetrieveContextsRequest.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.query != null && message.hasOwnProperty("query")) { + var error = $root.google.cloud.aiplatform.v1beta1.RagQuery.verify(message.query); + if (error) + return "query." + error; + } + if (message.tools != null && message.hasOwnProperty("tools")) { + if (!Array.isArray(message.tools)) + return "tools: array expected"; + for (var i = 0; i < message.tools.length; ++i) { + var error = $root.google.cloud.aiplatform.v1beta1.Tool.verify(message.tools[i]); + if (error) + return "tools." + error; + } + } + return null; + }; + + /** + * Creates an AsyncRetrieveContextsRequest message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest} AsyncRetrieveContextsRequest + */ + AsyncRetrieveContextsRequest.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest) + return object; + var message = new $root.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest(); + if (object.parent != null) + message.parent = String(object.parent); + if (object.query != null) { + if (typeof object.query !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest.query: object expected"); + message.query = $root.google.cloud.aiplatform.v1beta1.RagQuery.fromObject(object.query); + } + if (object.tools) { + if (!Array.isArray(object.tools)) + throw TypeError(".google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest.tools: array expected"); + message.tools = []; + for (var i = 0; i < object.tools.length; ++i) { + if (typeof object.tools[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest.tools: object expected"); + message.tools[i] = $root.google.cloud.aiplatform.v1beta1.Tool.fromObject(object.tools[i]); + } + } + return message; + }; + + /** + * Creates a plain object from an AsyncRetrieveContextsRequest message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest + * @static + * @param {google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest} message AsyncRetrieveContextsRequest + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + AsyncRetrieveContextsRequest.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.arrays || options.defaults) + object.tools = []; + if (options.defaults) { + object.parent = ""; + object.query = null; + } + if (message.parent != null && message.hasOwnProperty("parent")) + object.parent = message.parent; + if (message.query != null && message.hasOwnProperty("query")) + object.query = $root.google.cloud.aiplatform.v1beta1.RagQuery.toObject(message.query, options); + if (message.tools && message.tools.length) { + object.tools = []; + for (var j = 0; j < message.tools.length; ++j) + object.tools[j] = $root.google.cloud.aiplatform.v1beta1.Tool.toObject(message.tools[j], options); + } + return object; + }; + + /** + * Converts this AsyncRetrieveContextsRequest to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest + * @instance + * @returns {Object.} JSON object + */ + AsyncRetrieveContextsRequest.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for AsyncRetrieveContextsRequest + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AsyncRetrieveContextsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest"; + }; + + return AsyncRetrieveContextsRequest; + })(); + + v1beta1.AsyncRetrieveContextsResponse = (function() { + + /** + * Properties of an AsyncRetrieveContextsResponse. + * @memberof google.cloud.aiplatform.v1beta1 + * @interface IAsyncRetrieveContextsResponse + * @property {google.cloud.aiplatform.v1beta1.IRagContexts|null} [contexts] AsyncRetrieveContextsResponse contexts + */ + + /** + * Constructs a new AsyncRetrieveContextsResponse. + * @memberof google.cloud.aiplatform.v1beta1 + * @classdesc Represents an AsyncRetrieveContextsResponse. + * @implements IAsyncRetrieveContextsResponse + * @constructor + * @param {google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsResponse=} [properties] Properties to set + */ + function AsyncRetrieveContextsResponse(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]]; + } + + /** + * AsyncRetrieveContextsResponse contexts. + * @member {google.cloud.aiplatform.v1beta1.IRagContexts|null|undefined} contexts + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse + * @instance + */ + AsyncRetrieveContextsResponse.prototype.contexts = null; + + /** + * Creates a new AsyncRetrieveContextsResponse instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse + * @static + * @param {google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsResponse=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse} AsyncRetrieveContextsResponse instance + */ + AsyncRetrieveContextsResponse.create = function create(properties) { + return new AsyncRetrieveContextsResponse(properties); + }; + + /** + * Encodes the specified AsyncRetrieveContextsResponse message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse + * @static + * @param {google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsResponse} message AsyncRetrieveContextsResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AsyncRetrieveContextsResponse.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.contexts != null && Object.hasOwnProperty.call(message, "contexts")) + $root.google.cloud.aiplatform.v1beta1.RagContexts.encode(message.contexts, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified AsyncRetrieveContextsResponse message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse + * @static + * @param {google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsResponse} message AsyncRetrieveContextsResponse message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AsyncRetrieveContextsResponse.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an AsyncRetrieveContextsResponse message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse + * @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.AsyncRetrieveContextsResponse} AsyncRetrieveContextsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AsyncRetrieveContextsResponse.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.contexts = $root.google.cloud.aiplatform.v1beta1.RagContexts.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an AsyncRetrieveContextsResponse message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse} AsyncRetrieveContextsResponse + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AsyncRetrieveContextsResponse.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an AsyncRetrieveContextsResponse message. + * @function verify + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + AsyncRetrieveContextsResponse.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.contexts != null && message.hasOwnProperty("contexts")) { + var error = $root.google.cloud.aiplatform.v1beta1.RagContexts.verify(message.contexts); + if (error) + return "contexts." + error; + } + return null; + }; + + /** + * Creates an AsyncRetrieveContextsResponse message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse} AsyncRetrieveContextsResponse + */ + AsyncRetrieveContextsResponse.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse) + return object; + var message = new $root.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse(); + if (object.contexts != null) { + if (typeof object.contexts !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse.contexts: object expected"); + message.contexts = $root.google.cloud.aiplatform.v1beta1.RagContexts.fromObject(object.contexts); + } + return message; + }; + + /** + * Creates a plain object from an AsyncRetrieveContextsResponse message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse + * @static + * @param {google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse} message AsyncRetrieveContextsResponse + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + AsyncRetrieveContextsResponse.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) + object.contexts = null; + if (message.contexts != null && message.hasOwnProperty("contexts")) + object.contexts = $root.google.cloud.aiplatform.v1beta1.RagContexts.toObject(message.contexts, options); + return object; + }; + + /** + * Converts this AsyncRetrieveContextsResponse to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse + * @instance + * @returns {Object.} JSON object + */ + AsyncRetrieveContextsResponse.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for AsyncRetrieveContextsResponse + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AsyncRetrieveContextsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse"; + }; + + return AsyncRetrieveContextsResponse; + })(); + + v1beta1.AsyncRetrieveContextsOperationMetadata = (function() { + + /** + * Properties of an AsyncRetrieveContextsOperationMetadata. + * @memberof google.cloud.aiplatform.v1beta1 + * @interface IAsyncRetrieveContextsOperationMetadata + * @property {google.cloud.aiplatform.v1beta1.IGenericOperationMetadata|null} [genericMetadata] AsyncRetrieveContextsOperationMetadata genericMetadata + */ + + /** + * Constructs a new AsyncRetrieveContextsOperationMetadata. + * @memberof google.cloud.aiplatform.v1beta1 + * @classdesc Represents an AsyncRetrieveContextsOperationMetadata. + * @implements IAsyncRetrieveContextsOperationMetadata + * @constructor + * @param {google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsOperationMetadata=} [properties] Properties to set + */ + function AsyncRetrieveContextsOperationMetadata(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]]; + } + + /** + * AsyncRetrieveContextsOperationMetadata genericMetadata. + * @member {google.cloud.aiplatform.v1beta1.IGenericOperationMetadata|null|undefined} genericMetadata + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata + * @instance + */ + AsyncRetrieveContextsOperationMetadata.prototype.genericMetadata = null; + + /** + * Creates a new AsyncRetrieveContextsOperationMetadata instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsOperationMetadata=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata} AsyncRetrieveContextsOperationMetadata instance + */ + AsyncRetrieveContextsOperationMetadata.create = function create(properties) { + return new AsyncRetrieveContextsOperationMetadata(properties); + }; + + /** + * Encodes the specified AsyncRetrieveContextsOperationMetadata message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsOperationMetadata} message AsyncRetrieveContextsOperationMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AsyncRetrieveContextsOperationMetadata.encode = function encode(message, writer) { + if (!writer) + 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(); + return writer; + }; + + /** + * Encodes the specified AsyncRetrieveContextsOperationMetadata message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsOperationMetadata} message AsyncRetrieveContextsOperationMetadata message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + AsyncRetrieveContextsOperationMetadata.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an AsyncRetrieveContextsOperationMetadata message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata + * @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.AsyncRetrieveContextsOperationMetadata} AsyncRetrieveContextsOperationMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AsyncRetrieveContextsOperationMetadata.decode = function decode(reader, length, error) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata(); + while (reader.pos < end) { + var tag = reader.uint32(); + if (tag === error) + break; + switch (tag >>> 3) { + case 1: { + message.genericMetadata = $root.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.decode(reader, reader.uint32()); + break; + } + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an AsyncRetrieveContextsOperationMetadata message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata} AsyncRetrieveContextsOperationMetadata + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + AsyncRetrieveContextsOperationMetadata.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an AsyncRetrieveContextsOperationMetadata message. + * @function verify + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + AsyncRetrieveContextsOperationMetadata.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.v1beta1.GenericOperationMetadata.verify(message.genericMetadata); + if (error) + return "genericMetadata." + error; + } + return null; + }; + + /** + * Creates an AsyncRetrieveContextsOperationMetadata message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata} AsyncRetrieveContextsOperationMetadata + */ + AsyncRetrieveContextsOperationMetadata.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata) + return object; + var message = new $root.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata(); + if (object.genericMetadata != null) { + if (typeof object.genericMetadata !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata.genericMetadata: object expected"); + message.genericMetadata = $root.google.cloud.aiplatform.v1beta1.GenericOperationMetadata.fromObject(object.genericMetadata); + } + return message; + }; + + /** + * Creates a plain object from an AsyncRetrieveContextsOperationMetadata message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata + * @static + * @param {google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata} message AsyncRetrieveContextsOperationMetadata + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + AsyncRetrieveContextsOperationMetadata.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.v1beta1.GenericOperationMetadata.toObject(message.genericMetadata, options); + return object; + }; + + /** + * Converts this AsyncRetrieveContextsOperationMetadata to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata + * @instance + * @returns {Object.} JSON object + */ + AsyncRetrieveContextsOperationMetadata.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the default type url for AsyncRetrieveContextsOperationMetadata + * @function getTypeUrl + * @memberof google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata + * @static + * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") + * @returns {string} The default type url + */ + AsyncRetrieveContextsOperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) { + if (typeUrlPrefix === undefined) { + typeUrlPrefix = "type.googleapis.com"; + } + return typeUrlPrefix + "/google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata"; + }; + + return AsyncRetrieveContextsOperationMetadata; + })(); + v1beta1.VizierService = (function() { /** diff --git a/packages/google-cloud-aiplatform/protos/protos.json b/packages/google-cloud-aiplatform/protos/protos.json index 089ab8afeeb..800acf7361a 100644 --- a/packages/google-cloud-aiplatform/protos/protos.json +++ b/packages/google-cloud-aiplatform/protos/protos.json @@ -33125,7 +33125,8 @@ }, "languageSpec": { "oneof": [ - "pythonSpec" + "pythonSpec", + "imageSpec" ] } }, @@ -33141,6 +33142,13 @@ "pythonSpec": { "type": "PythonSpec", "id": 2 + }, + "imageSpec": { + "type": "ImageSpec", + "id": 5, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } } }, "nested": { @@ -33155,6 +33163,18 @@ } } }, + "ImageSpec": { + "fields": { + "buildArgs": { + "keyType": "string", + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, "DeveloperConnectConfig": { "fields": { "gitRepositoryLink": { @@ -35163,6 +35183,641 @@ } } }, + "Session": { + "options": { + "(google.api.resource).type": "aiplatform.googleapis.com/Session", + "(google.api.resource).pattern": "projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}", + "(google.api.resource).plural": "sessions", + "(google.api.resource).singular": "session" + }, + "oneofs": { + "expiration": { + "oneof": [ + "expireTime", + "ttl" + ] + } + }, + "fields": { + "expireTime": { + "type": "google.protobuf.Timestamp", + "id": 13, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "ttl": { + "type": "google.protobuf.Duration", + "id": 14, + "options": { + "(google.api.field_behavior)": "INPUT_ONLY" + } + }, + "name": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "IDENTIFIER" + } + }, + "createTime": { + "type": "google.protobuf.Timestamp", + "id": 3, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, + "updateTime": { + "type": "google.protobuf.Timestamp", + "id": 4, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, + "displayName": { + "type": "string", + "id": 5, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "labels": { + "keyType": "string", + "type": "string", + "id": 8 + }, + "sessionState": { + "type": "google.protobuf.Struct", + "id": 10, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "userId": { + "type": "string", + "id": 12, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + } + } + }, + "SessionEvent": { + "options": { + "(google.api.resource).type": "aiplatform.googleapis.com/SessionEvent", + "(google.api.resource).pattern": "projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}", + "(google.api.resource).plural": "sessionEvents", + "(google.api.resource).singular": "sessionEvent" + }, + "fields": { + "name": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "IDENTIFIER" + } + }, + "author": { + "type": "string", + "id": 3, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + }, + "content": { + "type": "Content", + "id": 4, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "invocationId": { + "type": "string", + "id": 5, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + }, + "actions": { + "type": "EventActions", + "id": 6, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "timestamp": { + "type": "google.protobuf.Timestamp", + "id": 8, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + }, + "errorCode": { + "type": "string", + "id": 9, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "errorMessage": { + "type": "string", + "id": 10, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "eventMetadata": { + "type": "EventMetadata", + "id": 11, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, + "EventMetadata": { + "fields": { + "groundingMetadata": { + "type": "GroundingMetadata", + "id": 1, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "partial": { + "type": "bool", + "id": 2, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "turnComplete": { + "type": "bool", + "id": 3, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "interrupted": { + "type": "bool", + "id": 4, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "longRunningToolIds": { + "rule": "repeated", + "type": "string", + "id": 5, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "branch": { + "type": "string", + "id": 6, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "customMetadata": { + "type": "google.protobuf.Struct", + "id": 7 + }, + "inputTranscription": { + "type": "Transcription", + "id": 10, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "outputTranscription": { + "type": "Transcription", + "id": 11, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, + "EventActions": { + "fields": { + "skipSummarization": { + "type": "bool", + "id": 1, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "stateDelta": { + "type": "google.protobuf.Struct", + "id": 2, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "artifactDelta": { + "keyType": "string", + "type": "int32", + "id": 3, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "escalate": { + "type": "bool", + "id": 6, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "requestedAuthConfigs": { + "type": "google.protobuf.Struct", + "id": 7, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "transferAgent": { + "type": "string", + "id": 8, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, + "Transcription": { + "fields": { + "text": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "finished": { + "type": "bool", + "id": 2, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, + "SessionService": { + "options": { + "(google.api.default_host)": "aiplatform.googleapis.com", + "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" + }, + "methods": { + "CreateSession": { + "requestType": "CreateSessionRequest", + "responseType": "google.longrunning.Operation", + "options": { + "(google.api.http).post": "/v1/{parent=projects/*/locations/*/reasoningEngines/*}/sessions", + "(google.api.http).body": "session", + "(google.api.method_signature)": "parent,session", + "(google.longrunning.operation_info).response_type": "Session", + "(google.longrunning.operation_info).metadata_type": "CreateSessionOperationMetadata" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "post": "/v1/{parent=projects/*/locations/*/reasoningEngines/*}/sessions", + "body": "session" + } + }, + { + "(google.api.method_signature)": "parent,session" + }, + { + "(google.longrunning.operation_info)": { + "response_type": "Session", + "metadata_type": "CreateSessionOperationMetadata" + } + } + ] + }, + "GetSession": { + "requestType": "GetSessionRequest", + "responseType": "Session", + "options": { + "(google.api.http).get": "/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}", + "(google.api.method_signature)": "name" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "get": "/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}" + } + }, + { + "(google.api.method_signature)": "name" + } + ] + }, + "ListSessions": { + "requestType": "ListSessionsRequest", + "responseType": "ListSessionsResponse", + "options": { + "(google.api.http).get": "/v1/{parent=projects/*/locations/*/reasoningEngines/*}/sessions", + "(google.api.method_signature)": "parent" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "get": "/v1/{parent=projects/*/locations/*/reasoningEngines/*}/sessions" + } + }, + { + "(google.api.method_signature)": "parent" + } + ] + }, + "UpdateSession": { + "requestType": "UpdateSessionRequest", + "responseType": "Session", + "options": { + "(google.api.http).patch": "/v1/{session.name=projects/*/locations/*/reasoningEngines/*/sessions/*}", + "(google.api.http).body": "session", + "(google.api.method_signature)": "session,update_mask" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "patch": "/v1/{session.name=projects/*/locations/*/reasoningEngines/*/sessions/*}", + "body": "session" + } + }, + { + "(google.api.method_signature)": "session,update_mask" + } + ] + }, + "DeleteSession": { + "requestType": "DeleteSessionRequest", + "responseType": "google.longrunning.Operation", + "options": { + "(google.api.http).delete": "/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}", + "(google.api.method_signature)": "name", + "(google.longrunning.operation_info).response_type": "google.protobuf.Empty", + "(google.longrunning.operation_info).metadata_type": "DeleteOperationMetadata" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "delete": "/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}" + } + }, + { + "(google.api.method_signature)": "name" + }, + { + "(google.longrunning.operation_info)": { + "response_type": "google.protobuf.Empty", + "metadata_type": "DeleteOperationMetadata" + } + } + ] + }, + "ListEvents": { + "requestType": "ListEventsRequest", + "responseType": "ListEventsResponse", + "options": { + "(google.api.http).get": "/v1/{parent=projects/*/locations/*/reasoningEngines/*/sessions/*}/events", + "(google.api.method_signature)": "parent" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "get": "/v1/{parent=projects/*/locations/*/reasoningEngines/*/sessions/*}/events" + } + }, + { + "(google.api.method_signature)": "parent" + } + ] + }, + "AppendEvent": { + "requestType": "AppendEventRequest", + "responseType": "AppendEventResponse", + "options": { + "(google.api.http).post": "/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}:appendEvent", + "(google.api.http).body": "event", + "(google.api.method_signature)": "name,event" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "post": "/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}:appendEvent", + "body": "event" + } + }, + { + "(google.api.method_signature)": "name,event" + } + ] + } + } + }, + "CreateSessionRequest": { + "fields": { + "parent": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED", + "(google.api.resource_reference).type": "aiplatform.googleapis.com/ReasoningEngine" + } + }, + "session": { + "type": "Session", + "id": 2, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + } + } + }, + "CreateSessionOperationMetadata": { + "fields": { + "genericMetadata": { + "type": "GenericOperationMetadata", + "id": 1 + } + } + }, + "GetSessionRequest": { + "fields": { + "name": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED", + "(google.api.resource_reference).type": "aiplatform.googleapis.com/Session" + } + } + } + }, + "ListSessionsRequest": { + "fields": { + "parent": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED", + "(google.api.resource_reference).type": "aiplatform.googleapis.com/ReasoningEngine" + } + }, + "pageSize": { + "type": "int32", + "id": 2, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "pageToken": { + "type": "string", + "id": 3, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "filter": { + "type": "string", + "id": 4, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "orderBy": { + "type": "string", + "id": 5, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, + "ListSessionsResponse": { + "fields": { + "sessions": { + "rule": "repeated", + "type": "Session", + "id": 1 + }, + "nextPageToken": { + "type": "string", + "id": 2 + } + } + }, + "UpdateSessionRequest": { + "fields": { + "session": { + "type": "Session", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + }, + "updateMask": { + "type": "google.protobuf.FieldMask", + "id": 2, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, + "DeleteSessionRequest": { + "fields": { + "name": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED", + "(google.api.resource_reference).type": "aiplatform.googleapis.com/Session" + } + } + } + }, + "ListEventsRequest": { + "fields": { + "parent": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED", + "(google.api.resource_reference).type": "aiplatform.googleapis.com/Session" + } + }, + "pageSize": { + "type": "int32", + "id": 2, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "pageToken": { + "type": "string", + "id": 3, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "filter": { + "type": "string", + "id": 4, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "orderBy": { + "type": "string", + "id": 5, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, + "ListEventsResponse": { + "fields": { + "sessionEvents": { + "rule": "repeated", + "type": "SessionEvent", + "id": 1 + }, + "nextPageToken": { + "type": "string", + "id": 2 + } + } + }, + "AppendEventRequest": { + "fields": { + "name": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED", + "(google.api.resource_reference).type": "aiplatform.googleapis.com/Session" + } + }, + "event": { + "type": "SessionEvent", + "id": 2, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + } + } + }, + "AppendEventResponse": { + "fields": {} + }, "SpecialistPool": { "options": { "(google.api.resource).type": "aiplatform.googleapis.com/SpecialistPool", @@ -37916,6 +38571,54 @@ "(google.api.method_signature)": "parent,content,facts" } ] + }, + "AskContexts": { + "requestType": "AskContextsRequest", + "responseType": "AskContextsResponse", + "options": { + "(google.api.http).post": "/v1/{parent=projects/*/locations/*}:askContexts", + "(google.api.http).body": "*", + "(google.api.method_signature)": "parent,query" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "post": "/v1/{parent=projects/*/locations/*}:askContexts", + "body": "*" + } + }, + { + "(google.api.method_signature)": "parent,query" + } + ] + }, + "AsyncRetrieveContexts": { + "requestType": "AsyncRetrieveContextsRequest", + "responseType": "google.longrunning.Operation", + "options": { + "(google.api.http).post": "/v1/{parent=projects/*/locations/*}:asyncRetrieveContexts", + "(google.api.http).body": "*", + "(google.api.method_signature)": "parent,query", + "(google.longrunning.operation_info).response_type": "AsyncRetrieveContextsResponse", + "(google.longrunning.operation_info).metadata_type": "AsyncRetrieveContextsOperationMetadata" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "post": "/v1/{parent=projects/*/locations/*}:asyncRetrieveContexts", + "body": "*" + } + }, + { + "(google.api.method_signature)": "parent,query" + }, + { + "(google.longrunning.operation_info)": { + "response_type": "AsyncRetrieveContextsResponse", + "metadata_type": "AsyncRetrieveContextsOperationMetadata" + } + } + ] } } }, @@ -38370,6 +39073,88 @@ } } }, + "AskContextsRequest": { + "fields": { + "parent": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED", + "(google.api.resource_reference).type": "locations.googleapis.com/Location" + } + }, + "query": { + "type": "RagQuery", + "id": 2, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + }, + "tools": { + "rule": "repeated", + "type": "Tool", + "id": 3, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, + "AskContextsResponse": { + "fields": { + "response": { + "type": "string", + "id": 1 + }, + "contexts": { + "type": "RagContexts", + "id": 2 + } + } + }, + "AsyncRetrieveContextsRequest": { + "fields": { + "parent": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED", + "(google.api.resource_reference).type": "locations.googleapis.com/Location" + } + }, + "query": { + "type": "RagQuery", + "id": 2, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + }, + "tools": { + "rule": "repeated", + "type": "Tool", + "id": 3, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, + "AsyncRetrieveContextsResponse": { + "fields": { + "contexts": { + "type": "RagContexts", + "id": 1 + } + } + }, + "AsyncRetrieveContextsOperationMetadata": { + "fields": { + "genericMetadata": { + "type": "GenericOperationMetadata", + "id": 1 + } + } + }, "VizierService": { "options": { "(google.api.default_host)": "aiplatform.googleapis.com", @@ -63858,6 +64643,13 @@ "options": { "(google.api.field_behavior)": "OPTIONAL" } + }, + "inferenceGenerationConfig": { + "type": "GenerationConfig", + "id": 5, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } } } }, @@ -63870,6 +64662,13 @@ "(google.api.field_behavior)": "OUTPUT_ONLY" } }, + "evaluationRun": { + "type": "string", + "id": 5, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, "checkpointId": { "type": "string", "id": 2, @@ -80737,7 +81536,8 @@ }, "languageSpec": { "oneof": [ - "pythonSpec" + "pythonSpec", + "imageSpec" ] } }, @@ -80753,6 +81553,13 @@ "pythonSpec": { "type": "PythonSpec", "id": 2 + }, + "imageSpec": { + "type": "ImageSpec", + "id": 5, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } } }, "nested": { @@ -80767,6 +81574,18 @@ } } }, + "ImageSpec": { + "fields": { + "buildArgs": { + "keyType": "string", + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, "DeveloperConnectConfig": { "fields": { "gitRepositoryLink": { @@ -83679,6 +84498,11 @@ "(google.api.field_behavior)": "OPTIONAL" } }, + "labels": { + "keyType": "string", + "type": "string", + "id": 8 + }, "sessionState": { "type": "google.protobuf.Struct", "id": 10, @@ -83816,6 +84640,20 @@ "customMetadata": { "type": "google.protobuf.Struct", "id": 7 + }, + "inputTranscription": { + "type": "Transcription", + "id": 10, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "outputTranscription": { + "type": "Transcription", + "id": 11, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } } } }, @@ -83866,6 +84704,24 @@ } } }, + "Transcription": { + "fields": { + "text": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "finished": { + "type": "bool", + "id": 2, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, "SessionService": { "options": { "(google.api.default_host)": "aiplatform.googleapis.com", @@ -87020,6 +87876,54 @@ "(google.api.method_signature)": "parent,content,facts" } ] + }, + "AskContexts": { + "requestType": "AskContextsRequest", + "responseType": "AskContextsResponse", + "options": { + "(google.api.http).post": "/v1beta1/{parent=projects/*/locations/*}:askContexts", + "(google.api.http).body": "*", + "(google.api.method_signature)": "parent,query" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "post": "/v1beta1/{parent=projects/*/locations/*}:askContexts", + "body": "*" + } + }, + { + "(google.api.method_signature)": "parent,query" + } + ] + }, + "AsyncRetrieveContexts": { + "requestType": "AsyncRetrieveContextsRequest", + "responseType": "google.longrunning.Operation", + "options": { + "(google.api.http).post": "/v1beta1/{parent=projects/*/locations/*}:asyncRetrieveContexts", + "(google.api.http).body": "*", + "(google.api.method_signature)": "parent,query", + "(google.longrunning.operation_info).response_type": "AsyncRetrieveContextsResponse", + "(google.longrunning.operation_info).metadata_type": "AsyncRetrieveContextsOperationMetadata" + }, + "parsedOptions": [ + { + "(google.api.http)": { + "post": "/v1beta1/{parent=projects/*/locations/*}:asyncRetrieveContexts", + "body": "*" + } + }, + { + "(google.api.method_signature)": "parent,query" + }, + { + "(google.longrunning.operation_info)": { + "response_type": "AsyncRetrieveContextsResponse", + "metadata_type": "AsyncRetrieveContextsOperationMetadata" + } + } + ] } } }, @@ -87534,6 +88438,88 @@ } } }, + "AskContextsRequest": { + "fields": { + "parent": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED", + "(google.api.resource_reference).type": "locations.googleapis.com/Location" + } + }, + "query": { + "type": "RagQuery", + "id": 2, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + }, + "tools": { + "rule": "repeated", + "type": "Tool", + "id": 3, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, + "AskContextsResponse": { + "fields": { + "response": { + "type": "string", + "id": 1 + }, + "contexts": { + "type": "RagContexts", + "id": 2 + } + } + }, + "AsyncRetrieveContextsRequest": { + "fields": { + "parent": { + "type": "string", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED", + "(google.api.resource_reference).type": "locations.googleapis.com/Location" + } + }, + "query": { + "type": "RagQuery", + "id": 2, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + }, + "tools": { + "rule": "repeated", + "type": "Tool", + "id": 3, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, + "AsyncRetrieveContextsResponse": { + "fields": { + "contexts": { + "type": "RagContexts", + "id": 1 + } + } + }, + "AsyncRetrieveContextsOperationMetadata": { + "fields": { + "genericMetadata": { + "type": "GenericOperationMetadata", + "id": 1 + } + } + }, "VizierService": { "options": { "(google.api.default_host)": "aiplatform.googleapis.com", diff --git a/packages/google-cloud-aiplatform/samples/generated/v1/session_service.append_event.js b/packages/google-cloud-aiplatform/samples/generated/v1/session_service.append_event.js new file mode 100644 index 00000000000..14b181c0799 --- /dev/null +++ b/packages/google-cloud-aiplatform/samples/generated/v1/session_service.append_event.js @@ -0,0 +1,68 @@ +// Copyright 2026 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(name, event) { + // [START aiplatform_v1_generated_SessionService_AppendEvent_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 resource name of the session to append event to. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + */ + // const name = 'abc123' + /** + * Required. The event to append to the session. + */ + // const event = {} + + // Imports the Aiplatform library + const {SessionServiceClient} = require('@google-cloud/aiplatform').v1; + + // Instantiates a client + const aiplatformClient = new SessionServiceClient(); + + async function callAppendEvent() { + // Construct request + const request = { + name, + event, + }; + + // Run request + const response = await aiplatformClient.appendEvent(request); + console.log(response); + } + + callAppendEvent(); + // [END aiplatform_v1_generated_SessionService_AppendEvent_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/session_service.create_session.js b/packages/google-cloud-aiplatform/samples/generated/v1/session_service.create_session.js new file mode 100644 index 00000000000..79bdbdd7e72 --- /dev/null +++ b/packages/google-cloud-aiplatform/samples/generated/v1/session_service.create_session.js @@ -0,0 +1,69 @@ +// Copyright 2026 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, session) { + // [START aiplatform_v1_generated_SessionService_CreateSession_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 resource name of the location to create the session in. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + */ + // const parent = 'abc123' + /** + * Required. The session to create. + */ + // const session = {} + + // Imports the Aiplatform library + const {SessionServiceClient} = require('@google-cloud/aiplatform').v1; + + // Instantiates a client + const aiplatformClient = new SessionServiceClient(); + + async function callCreateSession() { + // Construct request + const request = { + parent, + session, + }; + + // Run request + const [operation] = await aiplatformClient.createSession(request); + const [response] = await operation.promise(); + console.log(response); + } + + callCreateSession(); + // [END aiplatform_v1_generated_SessionService_CreateSession_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/session_service.delete_session.js b/packages/google-cloud-aiplatform/samples/generated/v1/session_service.delete_session.js new file mode 100644 index 00000000000..95d7e8537c7 --- /dev/null +++ b/packages/google-cloud-aiplatform/samples/generated/v1/session_service.delete_session.js @@ -0,0 +1,64 @@ +// Copyright 2026 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(name) { + // [START aiplatform_v1_generated_SessionService_DeleteSession_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 resource name of the session. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + */ + // const name = 'abc123' + + // Imports the Aiplatform library + const {SessionServiceClient} = require('@google-cloud/aiplatform').v1; + + // Instantiates a client + const aiplatformClient = new SessionServiceClient(); + + async function callDeleteSession() { + // Construct request + const request = { + name, + }; + + // Run request + const [operation] = await aiplatformClient.deleteSession(request); + const [response] = await operation.promise(); + console.log(response); + } + + callDeleteSession(); + // [END aiplatform_v1_generated_SessionService_DeleteSession_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/session_service.get_session.js b/packages/google-cloud-aiplatform/samples/generated/v1/session_service.get_session.js new file mode 100644 index 00000000000..50aa5f48c91 --- /dev/null +++ b/packages/google-cloud-aiplatform/samples/generated/v1/session_service.get_session.js @@ -0,0 +1,63 @@ +// Copyright 2026 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(name) { + // [START aiplatform_v1_generated_SessionService_GetSession_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 resource name of the session. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + */ + // const name = 'abc123' + + // Imports the Aiplatform library + const {SessionServiceClient} = require('@google-cloud/aiplatform').v1; + + // Instantiates a client + const aiplatformClient = new SessionServiceClient(); + + async function callGetSession() { + // Construct request + const request = { + name, + }; + + // Run request + const response = await aiplatformClient.getSession(request); + console.log(response); + } + + callGetSession(); + // [END aiplatform_v1_generated_SessionService_GetSession_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/session_service.list_events.js b/packages/google-cloud-aiplatform/samples/generated/v1/session_service.list_events.js new file mode 100644 index 00000000000..1e43aa8db4c --- /dev/null +++ b/packages/google-cloud-aiplatform/samples/generated/v1/session_service.list_events.js @@ -0,0 +1,94 @@ +// Copyright 2026 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) { + // [START aiplatform_v1_generated_SessionService_ListEvents_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 resource name of the session to list events from. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + */ + // const parent = 'abc123' + /** + * Optional. The maximum number of events to return. The service may return + * fewer than this value. If unspecified, at most 100 events will be returned. + * These events are ordered by timestamp in ascending order. + */ + // const pageSize = 1234 + /** + * Optional. The + * next_page_token google.cloud.aiplatform.v1.ListEventsResponse.next_page_token + * value returned from a previous list + * SessionService.ListEvents google.cloud.aiplatform.v1.SessionService.ListEvents + * call. + */ + // const pageToken = 'abc123' + /** + * Optional. The standard list filter. + * Supported fields: + * * `timestamp` range (i.e. `timestamp>="2025-01-31T11:30:00-04:00"` where + * the timestamp is in RFC 3339 format) + * More detail in AIP-160 (https://google.aip.dev/160). + */ + // const filter = 'abc123' + /** + * Optional. A comma-separated list of fields to order by, sorted in ascending + * order. Use "desc" after a field name for descending. Supported fields: + * * `timestamp` + * Example: `timestamp desc`. + */ + // const orderBy = 'abc123' + + // Imports the Aiplatform library + const {SessionServiceClient} = require('@google-cloud/aiplatform').v1; + + // Instantiates a client + const aiplatformClient = new SessionServiceClient(); + + async function callListEvents() { + // Construct request + const request = { + parent, + }; + + // Run request + const iterable = aiplatformClient.listEventsAsync(request); + for await (const response of iterable) { + console.log(response); + } + } + + callListEvents(); + // [END aiplatform_v1_generated_SessionService_ListEvents_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/session_service.list_sessions.js b/packages/google-cloud-aiplatform/samples/generated/v1/session_service.list_sessions.js new file mode 100644 index 00000000000..14a6302970a --- /dev/null +++ b/packages/google-cloud-aiplatform/samples/generated/v1/session_service.list_sessions.js @@ -0,0 +1,96 @@ +// Copyright 2026 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) { + // [START aiplatform_v1_generated_SessionService_ListSessions_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 resource name of the location to list sessions from. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + */ + // const parent = 'abc123' + /** + * Optional. The maximum number of sessions to return. The service may return + * fewer than this value. If unspecified, at most 100 sessions will be + * returned. + */ + // const pageSize = 1234 + /** + * Optional. The + * next_page_token google.cloud.aiplatform.v1.ListSessionsResponse.next_page_token + * value returned from a previous list + * SessionService.ListSessions google.cloud.aiplatform.v1.SessionService.ListSessions + * call. + */ + // const pageToken = 'abc123' + /** + * Optional. The standard list filter. + * Supported fields: + * * `display_name` + * * `user_id` + * * `labels` + * Example: `display_name="abc"`, `user_id="123"`, `labels.key="value"`. + */ + // const filter = 'abc123' + /** + * Optional. A comma-separated list of fields to order by, sorted in ascending + * order. Use "desc" after a field name for descending. Supported fields: + * * `create_time` + * * `update_time` + * Example: `create_time desc`. + */ + // const orderBy = 'abc123' + + // Imports the Aiplatform library + const {SessionServiceClient} = require('@google-cloud/aiplatform').v1; + + // Instantiates a client + const aiplatformClient = new SessionServiceClient(); + + async function callListSessions() { + // Construct request + const request = { + parent, + }; + + // Run request + const iterable = aiplatformClient.listSessionsAsync(request); + for await (const response of iterable) { + console.log(response); + } + } + + callListSessions(); + // [END aiplatform_v1_generated_SessionService_ListSessions_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/session_service.update_session.js b/packages/google-cloud-aiplatform/samples/generated/v1/session_service.update_session.js new file mode 100644 index 00000000000..27d4fc62569 --- /dev/null +++ b/packages/google-cloud-aiplatform/samples/generated/v1/session_service.update_session.js @@ -0,0 +1,68 @@ +// Copyright 2026 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(session) { + // [START aiplatform_v1_generated_SessionService_UpdateSession_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 session to update. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + */ + // const session = {} + /** + * Optional. Field mask is used to control which fields get updated. If the + * mask is not present, all fields will be updated. + */ + // const updateMask = {} + + // Imports the Aiplatform library + const {SessionServiceClient} = require('@google-cloud/aiplatform').v1; + + // Instantiates a client + const aiplatformClient = new SessionServiceClient(); + + async function callUpdateSession() { + // Construct request + const request = { + session, + }; + + // Run request + const response = await aiplatformClient.updateSession(request); + console.log(response); + } + + callUpdateSession(); + // [END aiplatform_v1_generated_SessionService_UpdateSession_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 ba099920ba3..efb87d16097 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 @@ -12723,6 +12723,330 @@ } } }, + { + "regionTag": "aiplatform_v1_generated_SessionService_CreateSession_async", + "title": "DataFoundryService createSession Sample", + "origin": "API_DEFINITION", + "description": " Creates a new [Session][google.cloud.aiplatform.v1.Session].", + "canonical": true, + "file": "session_service.create_session.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 61, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateSession", + "fullName": "google.cloud.aiplatform.v1.SessionService.CreateSession", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "session", + "type": ".google.cloud.aiplatform.v1.Session" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.aiplatform.v1.SessionServiceClient" + }, + "method": { + "shortName": "CreateSession", + "fullName": "google.cloud.aiplatform.v1.SessionService.CreateSession", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.aiplatform.v1.SessionService" + } + } + } + }, + { + "regionTag": "aiplatform_v1_generated_SessionService_GetSession_async", + "title": "DataFoundryService getSession Sample", + "origin": "API_DEFINITION", + "description": " Gets details of the specific [Session][google.cloud.aiplatform.v1.Session].", + "canonical": true, + "file": "session_service.get_session.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 55, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetSession", + "fullName": "google.cloud.aiplatform.v1.SessionService.GetSession", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.aiplatform.v1.Session", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.aiplatform.v1.SessionServiceClient" + }, + "method": { + "shortName": "GetSession", + "fullName": "google.cloud.aiplatform.v1.SessionService.GetSession", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.aiplatform.v1.SessionService" + } + } + } + }, + { + "regionTag": "aiplatform_v1_generated_SessionService_ListSessions_async", + "title": "DataFoundryService listSessions Sample", + "origin": "API_DEFINITION", + "description": " Lists [Sessions][google.cloud.aiplatform.v1.Session] in a given reasoning engine.", + "canonical": true, + "file": "session_service.list_sessions.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 88, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListSessions", + "fullName": "google.cloud.aiplatform.v1.SessionService.ListSessions", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.aiplatform.v1.ListSessionsResponse", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.aiplatform.v1.SessionServiceClient" + }, + "method": { + "shortName": "ListSessions", + "fullName": "google.cloud.aiplatform.v1.SessionService.ListSessions", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.aiplatform.v1.SessionService" + } + } + } + }, + { + "regionTag": "aiplatform_v1_generated_SessionService_UpdateSession_async", + "title": "DataFoundryService updateSession Sample", + "origin": "API_DEFINITION", + "description": " Updates the specific [Session][google.cloud.aiplatform.v1.Session].", + "canonical": true, + "file": "session_service.update_session.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "UpdateSession", + "fullName": "google.cloud.aiplatform.v1.SessionService.UpdateSession", + "async": true, + "parameters": [ + { + "name": "session", + "type": ".google.cloud.aiplatform.v1.Session" + }, + { + "name": "update_mask", + "type": ".google.protobuf.FieldMask" + } + ], + "resultType": ".google.cloud.aiplatform.v1.Session", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.aiplatform.v1.SessionServiceClient" + }, + "method": { + "shortName": "UpdateSession", + "fullName": "google.cloud.aiplatform.v1.SessionService.UpdateSession", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.aiplatform.v1.SessionService" + } + } + } + }, + { + "regionTag": "aiplatform_v1_generated_SessionService_DeleteSession_async", + "title": "DataFoundryService deleteSession Sample", + "origin": "API_DEFINITION", + "description": " Deletes details of the specific [Session][google.cloud.aiplatform.v1.Session].", + "canonical": true, + "file": "session_service.delete_session.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteSession", + "fullName": "google.cloud.aiplatform.v1.SessionService.DeleteSession", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.aiplatform.v1.SessionServiceClient" + }, + "method": { + "shortName": "DeleteSession", + "fullName": "google.cloud.aiplatform.v1.SessionService.DeleteSession", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.aiplatform.v1.SessionService" + } + } + } + }, + { + "regionTag": "aiplatform_v1_generated_SessionService_ListEvents_async", + "title": "DataFoundryService listEvents Sample", + "origin": "API_DEFINITION", + "description": " Lists [Events][google.cloud.aiplatform.v1.Event] in a given session.", + "canonical": true, + "file": "session_service.list_events.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 86, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListEvents", + "fullName": "google.cloud.aiplatform.v1.SessionService.ListEvents", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.aiplatform.v1.ListEventsResponse", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.aiplatform.v1.SessionServiceClient" + }, + "method": { + "shortName": "ListEvents", + "fullName": "google.cloud.aiplatform.v1.SessionService.ListEvents", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.aiplatform.v1.SessionService" + } + } + } + }, + { + "regionTag": "aiplatform_v1_generated_SessionService_AppendEvent_async", + "title": "DataFoundryService appendEvent Sample", + "origin": "API_DEFINITION", + "description": " Appends an event to a given session.", + "canonical": true, + "file": "session_service.append_event.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 60, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AppendEvent", + "fullName": "google.cloud.aiplatform.v1.SessionService.AppendEvent", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "event", + "type": ".google.cloud.aiplatform.v1.SessionEvent" + } + ], + "resultType": ".google.cloud.aiplatform.v1.AppendEventResponse", + "client": { + "shortName": "SessionServiceClient", + "fullName": "google.cloud.aiplatform.v1.SessionServiceClient" + }, + "method": { + "shortName": "AppendEvent", + "fullName": "google.cloud.aiplatform.v1.SessionService.AppendEvent", + "service": { + "shortName": "SessionService", + "fullName": "google.cloud.aiplatform.v1.SessionService" + } + } + } + }, { "regionTag": "aiplatform_v1_generated_SpecialistPoolService_CreateSpecialistPool_async", "title": "DataFoundryService createSpecialistPool Sample", @@ -14987,6 +15311,102 @@ } } }, + { + "regionTag": "aiplatform_v1_generated_VertexRagService_AskContexts_async", + "title": "DataFoundryService askContexts Sample", + "origin": "API_DEFINITION", + "description": " Agentic Retrieval Ask API for RAG.", + "canonical": true, + "file": "vertex_rag_service.ask_contexts.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AskContexts", + "fullName": "google.cloud.aiplatform.v1.VertexRagService.AskContexts", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": ".google.cloud.aiplatform.v1.RagQuery" + }, + { + "name": "tools", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.aiplatform.v1.AskContextsResponse", + "client": { + "shortName": "VertexRagServiceClient", + "fullName": "google.cloud.aiplatform.v1.VertexRagServiceClient" + }, + "method": { + "shortName": "AskContexts", + "fullName": "google.cloud.aiplatform.v1.VertexRagService.AskContexts", + "service": { + "shortName": "VertexRagService", + "fullName": "google.cloud.aiplatform.v1.VertexRagService" + } + } + } + }, + { + "regionTag": "aiplatform_v1_generated_VertexRagService_AsyncRetrieveContexts_async", + "title": "DataFoundryService asyncRetrieveContexts Sample", + "origin": "API_DEFINITION", + "description": " Asynchronous API to retrieves relevant contexts for a query.", + "canonical": true, + "file": "vertex_rag_service.async_retrieve_contexts.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AsyncRetrieveContexts", + "fullName": "google.cloud.aiplatform.v1.VertexRagService.AsyncRetrieveContexts", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": ".google.cloud.aiplatform.v1.RagQuery" + }, + { + "name": "tools", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "VertexRagServiceClient", + "fullName": "google.cloud.aiplatform.v1.VertexRagServiceClient" + }, + "method": { + "shortName": "AsyncRetrieveContexts", + "fullName": "google.cloud.aiplatform.v1.VertexRagService.AsyncRetrieveContexts", + "service": { + "shortName": "VertexRagService", + "fullName": "google.cloud.aiplatform.v1.VertexRagService" + } + } + } + }, { "regionTag": "aiplatform_v1_generated_VizierService_CreateStudy_async", "title": "DataFoundryService createStudy Sample", diff --git a/packages/google-cloud-aiplatform/samples/generated/v1/vertex_rag_service.ask_contexts.js b/packages/google-cloud-aiplatform/samples/generated/v1/vertex_rag_service.ask_contexts.js new file mode 100644 index 00000000000..14374770a3f --- /dev/null +++ b/packages/google-cloud-aiplatform/samples/generated/v1/vertex_rag_service.ask_contexts.js @@ -0,0 +1,73 @@ +// Copyright 2026 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, query) { + // [START aiplatform_v1_generated_VertexRagService_AskContexts_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 resource name of the Location from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. + */ + // const parent = 'abc123' + /** + * Required. Single RAG retrieve query. + */ + // const query = {} + /** + * Optional. The tools to use for AskContexts. + */ + // const tools = [1,2,3,4] + + // Imports the Aiplatform library + const {VertexRagServiceClient} = require('@google-cloud/aiplatform').v1; + + // Instantiates a client + const aiplatformClient = new VertexRagServiceClient(); + + async function callAskContexts() { + // Construct request + const request = { + parent, + query, + }; + + // Run request + const response = await aiplatformClient.askContexts(request); + console.log(response); + } + + callAskContexts(); + // [END aiplatform_v1_generated_VertexRagService_AskContexts_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/vertex_rag_service.async_retrieve_contexts.js b/packages/google-cloud-aiplatform/samples/generated/v1/vertex_rag_service.async_retrieve_contexts.js new file mode 100644 index 00000000000..4b421cd60d7 --- /dev/null +++ b/packages/google-cloud-aiplatform/samples/generated/v1/vertex_rag_service.async_retrieve_contexts.js @@ -0,0 +1,74 @@ +// Copyright 2026 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, query) { + // [START aiplatform_v1_generated_VertexRagService_AsyncRetrieveContexts_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 resource name of the Location from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. + */ + // const parent = 'abc123' + /** + * Required. Single RAG retrieve query. + */ + // const query = {} + /** + * Optional. The tools to use for AskContexts. + */ + // const tools = [1,2,3,4] + + // Imports the Aiplatform library + const {VertexRagServiceClient} = require('@google-cloud/aiplatform').v1; + + // Instantiates a client + const aiplatformClient = new VertexRagServiceClient(); + + async function callAsyncRetrieveContexts() { + // Construct request + const request = { + parent, + query, + }; + + // Run request + const [operation] = await aiplatformClient.asyncRetrieveContexts(request); + const [response] = await operation.promise(); + console.log(response); + } + + callAsyncRetrieveContexts(); + // [END aiplatform_v1_generated_VertexRagService_AsyncRetrieveContexts_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/v1beta1/session_service.list_sessions.js b/packages/google-cloud-aiplatform/samples/generated/v1beta1/session_service.list_sessions.js index 5e44708ed94..a36060c91e8 100644 --- a/packages/google-cloud-aiplatform/samples/generated/v1beta1/session_service.list_sessions.js +++ b/packages/google-cloud-aiplatform/samples/generated/v1beta1/session_service.list_sessions.js @@ -53,7 +53,8 @@ function main(parent) { * Supported fields: * * `display_name` * * `user_id` - * Example: `display_name="abc"`, `user_id="123"`. + * * `labels` + * Example: `display_name="abc"`, `user_id="123"`, `labels.key="value"`. */ // const filter = 'abc123' /** 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 717589042f4..dff8eae76c8 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 @@ -15498,7 +15498,7 @@ "segments": [ { "start": 25, - "end": 87, + "end": 88, "type": "FULL" } ], @@ -17999,6 +17999,102 @@ } } }, + { + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_AskContexts_async", + "title": "DatasetService askContexts Sample", + "origin": "API_DEFINITION", + "description": " Agentic Retrieval Ask API for RAG.", + "canonical": true, + "file": "vertex_rag_service.ask_contexts.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 65, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AskContexts", + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService.AskContexts", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": ".google.cloud.aiplatform.v1beta1.RagQuery" + }, + { + "name": "tools", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.cloud.aiplatform.v1beta1.AskContextsResponse", + "client": { + "shortName": "VertexRagServiceClient", + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagServiceClient" + }, + "method": { + "shortName": "AskContexts", + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService.AskContexts", + "service": { + "shortName": "VertexRagService", + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService" + } + } + } + }, + { + "regionTag": "aiplatform_v1beta1_generated_VertexRagService_AsyncRetrieveContexts_async", + "title": "DatasetService asyncRetrieveContexts Sample", + "origin": "API_DEFINITION", + "description": " Asynchronous API to retrieves relevant contexts for a query.", + "canonical": true, + "file": "vertex_rag_service.async_retrieve_contexts.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 66, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "AsyncRetrieveContexts", + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService.AsyncRetrieveContexts", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "query", + "type": ".google.cloud.aiplatform.v1beta1.RagQuery" + }, + { + "name": "tools", + "type": "TYPE_MESSAGE[]" + } + ], + "resultType": ".google.longrunning.Operation", + "client": { + "shortName": "VertexRagServiceClient", + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagServiceClient" + }, + "method": { + "shortName": "AsyncRetrieveContexts", + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService.AsyncRetrieveContexts", + "service": { + "shortName": "VertexRagService", + "fullName": "google.cloud.aiplatform.v1beta1.VertexRagService" + } + } + } + }, { "regionTag": "aiplatform_v1beta1_generated_VizierService_CreateStudy_async", "title": "DatasetService createStudy Sample", diff --git a/packages/google-cloud-aiplatform/samples/generated/v1beta1/vertex_rag_service.ask_contexts.js b/packages/google-cloud-aiplatform/samples/generated/v1beta1/vertex_rag_service.ask_contexts.js new file mode 100644 index 00000000000..cba958c3e40 --- /dev/null +++ b/packages/google-cloud-aiplatform/samples/generated/v1beta1/vertex_rag_service.ask_contexts.js @@ -0,0 +1,73 @@ +// Copyright 2026 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, query) { + // [START aiplatform_v1beta1_generated_VertexRagService_AskContexts_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 resource name of the Location from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. + */ + // const parent = 'abc123' + /** + * Required. Single RAG retrieve query. + */ + // const query = {} + /** + * Optional. The tools to use for AskContexts. + */ + // const tools = [1,2,3,4] + + // Imports the Aiplatform library + const {VertexRagServiceClient} = require('@google-cloud/aiplatform').v1beta1; + + // Instantiates a client + const aiplatformClient = new VertexRagServiceClient(); + + async function callAskContexts() { + // Construct request + const request = { + parent, + query, + }; + + // Run request + const response = await aiplatformClient.askContexts(request); + console.log(response); + } + + callAskContexts(); + // [END aiplatform_v1beta1_generated_VertexRagService_AskContexts_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/v1beta1/vertex_rag_service.async_retrieve_contexts.js b/packages/google-cloud-aiplatform/samples/generated/v1beta1/vertex_rag_service.async_retrieve_contexts.js new file mode 100644 index 00000000000..43ce63935dd --- /dev/null +++ b/packages/google-cloud-aiplatform/samples/generated/v1beta1/vertex_rag_service.async_retrieve_contexts.js @@ -0,0 +1,74 @@ +// Copyright 2026 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, query) { + // [START aiplatform_v1beta1_generated_VertexRagService_AsyncRetrieveContexts_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 resource name of the Location from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. + */ + // const parent = 'abc123' + /** + * Required. Single RAG retrieve query. + */ + // const query = {} + /** + * Optional. The tools to use for AskContexts. + */ + // const tools = [1,2,3,4] + + // Imports the Aiplatform library + const {VertexRagServiceClient} = require('@google-cloud/aiplatform').v1beta1; + + // Instantiates a client + const aiplatformClient = new VertexRagServiceClient(); + + async function callAsyncRetrieveContexts() { + // Construct request + const request = { + parent, + query, + }; + + // Run request + const [operation] = await aiplatformClient.asyncRetrieveContexts(request); + const [response] = await operation.promise(); + console.log(response); + } + + callAsyncRetrieveContexts(); + // [END aiplatform_v1beta1_generated_VertexRagService_AsyncRetrieveContexts_async] +} + +process.on('unhandledRejection', err => { + console.error(err.message); + process.exitCode = 1; +}); +main(...process.argv.slice(2)); diff --git a/packages/google-cloud-aiplatform/src/v1/data_foundry_service_client.ts b/packages/google-cloud-aiplatform/src/v1/data_foundry_service_client.ts index ce19a4c2d8f..15bdf49f602 100644 --- a/packages/google-cloud-aiplatform/src/v1/data_foundry_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/data_foundry_service_client.ts @@ -327,6 +327,12 @@ export class DataFoundryServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -3377,6 +3383,143 @@ export class DataFoundryServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/data_foundry_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/data_foundry_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/data_foundry_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/data_foundry_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", 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 dd077b1bdd8..86086b5676f 100644 --- a/packages/google-cloud-aiplatform/src/v1/dataset_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/dataset_service_client.ts @@ -328,6 +328,12 @@ export class DatasetServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -390,11 +396,11 @@ export class DatasetServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -6487,6 +6493,143 @@ export class DatasetServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/dataset_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/dataset_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/dataset_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/dataset_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", 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 c701ba37b82..3ba34901e18 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 @@ -331,6 +331,12 @@ export class DeploymentResourcePoolServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -385,11 +391,11 @@ export class DeploymentResourcePoolServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -4449,6 +4455,143 @@ export class DeploymentResourcePoolServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/deployment_resource_pool_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/deployment_resource_pool_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/deployment_resource_pool_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/deployment_resource_pool_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", 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 3118fb96e64..53f27dd7b3d 100644 --- a/packages/google-cloud-aiplatform/src/v1/endpoint_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/endpoint_service_client.ts @@ -328,6 +328,12 @@ export class EndpointServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -380,11 +386,11 @@ export class EndpointServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -4802,6 +4808,143 @@ export class EndpointServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/endpoint_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/endpoint_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/endpoint_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/endpoint_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/evaluation_service_client.ts b/packages/google-cloud-aiplatform/src/v1/evaluation_service_client.ts index 05dcde4e95a..e78902f2d3c 100644 --- a/packages/google-cloud-aiplatform/src/v1/evaluation_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/evaluation_service_client.ts @@ -327,6 +327,12 @@ export class EvaluationServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -3424,6 +3430,143 @@ export class EvaluationServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/evaluation_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/evaluation_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/evaluation_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/evaluation_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", 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 8db9e075ad1..2a85ffa0379 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 @@ -332,6 +332,12 @@ export class FeatureOnlineStoreAdminServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -388,11 +394,11 @@ export class FeatureOnlineStoreAdminServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -5600,6 +5606,143 @@ export class FeatureOnlineStoreAdminServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/feature_online_store_admin_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/feature_online_store_admin_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/feature_online_store_admin_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/feature_online_store_admin_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/feature_online_store_service_client.ts b/packages/google-cloud-aiplatform/src/v1/feature_online_store_service_client.ts index 3320d6660fe..c1338d079ee 100644 --- a/packages/google-cloud-aiplatform/src/v1/feature_online_store_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/feature_online_store_service_client.ts @@ -324,6 +324,12 @@ export class FeatureOnlineStoreServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -3572,6 +3578,143 @@ export class FeatureOnlineStoreServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/feature_online_store_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/feature_online_store_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/feature_online_store_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/feature_online_store_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", 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 ad2b7743e00..37b01505ef2 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 @@ -332,6 +332,12 @@ export class FeatureRegistryServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -386,11 +392,11 @@ export class FeatureRegistryServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -5301,6 +5307,143 @@ export class FeatureRegistryServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/feature_registry_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/feature_registry_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/feature_registry_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/feature_registry_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/featurestore_online_serving_service_client.ts b/packages/google-cloud-aiplatform/src/v1/featurestore_online_serving_service_client.ts index 598d3f8b931..aa31bdef01f 100644 --- a/packages/google-cloud-aiplatform/src/v1/featurestore_online_serving_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/featurestore_online_serving_service_client.ts @@ -324,6 +324,12 @@ export class FeaturestoreOnlineServingServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -3507,6 +3513,143 @@ export class FeaturestoreOnlineServingServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/featurestore_online_serving_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/featurestore_online_serving_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/featurestore_online_serving_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/featurestore_online_serving_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", 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 641d25c5f7b..18aa1e71ea0 100644 --- a/packages/google-cloud-aiplatform/src/v1/featurestore_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/featurestore_service_client.ts @@ -331,6 +331,12 @@ export class FeaturestoreServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -389,11 +395,11 @@ export class FeaturestoreServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -7069,6 +7075,143 @@ export class FeaturestoreServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/featurestore_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/featurestore_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/featurestore_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/featurestore_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/gapic_metadata.json b/packages/google-cloud-aiplatform/src/v1/gapic_metadata.json index d35a83b276d..1122b3fd10b 100644 --- a/packages/google-cloud-aiplatform/src/v1/gapic_metadata.json +++ b/packages/google-cloud-aiplatform/src/v1/gapic_metadata.json @@ -3233,6 +3233,98 @@ } } }, + "SessionService": { + "clients": { + "grpc": { + "libraryClient": "SessionServiceClient", + "rpcs": { + "GetSession": { + "methods": [ + "getSession" + ] + }, + "UpdateSession": { + "methods": [ + "updateSession" + ] + }, + "AppendEvent": { + "methods": [ + "appendEvent" + ] + }, + "CreateSession": { + "methods": [ + "createSession" + ] + }, + "DeleteSession": { + "methods": [ + "deleteSession" + ] + }, + "ListSessions": { + "methods": [ + "listSessions", + "listSessionsStream", + "listSessionsAsync" + ] + }, + "ListEvents": { + "methods": [ + "listEvents", + "listEventsStream", + "listEventsAsync" + ] + } + } + }, + "grpc-fallback": { + "libraryClient": "SessionServiceClient", + "rpcs": { + "GetSession": { + "methods": [ + "getSession" + ] + }, + "UpdateSession": { + "methods": [ + "updateSession" + ] + }, + "AppendEvent": { + "methods": [ + "appendEvent" + ] + }, + "CreateSession": { + "methods": [ + "createSession" + ] + }, + "DeleteSession": { + "methods": [ + "deleteSession" + ] + }, + "ListSessions": { + "methods": [ + "listSessions", + "listSessionsStream", + "listSessionsAsync" + ] + }, + "ListEvents": { + "methods": [ + "listEvents", + "listEventsStream", + "listEventsAsync" + ] + } + } + } + } + }, "SpecialistPoolService": { "clients": { "grpc": { @@ -3791,6 +3883,16 @@ "methods": [ "corroborateContent" ] + }, + "AskContexts": { + "methods": [ + "askContexts" + ] + }, + "AsyncRetrieveContexts": { + "methods": [ + "asyncRetrieveContexts" + ] } } }, @@ -3811,6 +3913,16 @@ "methods": [ "corroborateContent" ] + }, + "AskContexts": { + "methods": [ + "askContexts" + ] + }, + "AsyncRetrieveContexts": { + "methods": [ + "asyncRetrieveContexts" + ] } } } diff --git a/packages/google-cloud-aiplatform/src/v1/gen_ai_cache_service_client.ts b/packages/google-cloud-aiplatform/src/v1/gen_ai_cache_service_client.ts index 60509d37333..ca309bfb1f6 100644 --- a/packages/google-cloud-aiplatform/src/v1/gen_ai_cache_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/gen_ai_cache_service_client.ts @@ -330,6 +330,12 @@ export class GenAiCacheServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -3900,6 +3906,143 @@ export class GenAiCacheServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/gen_ai_cache_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/gen_ai_cache_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/gen_ai_cache_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/gen_ai_cache_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/gen_ai_tuning_service_client.ts b/packages/google-cloud-aiplatform/src/v1/gen_ai_tuning_service_client.ts index de6d29f6d86..1b5567374a8 100644 --- a/packages/google-cloud-aiplatform/src/v1/gen_ai_tuning_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/gen_ai_tuning_service_client.ts @@ -328,6 +328,12 @@ export class GenAiTuningServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -380,11 +386,11 @@ export class GenAiTuningServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -4169,6 +4175,143 @@ export class GenAiTuningServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/gen_ai_tuning_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/gen_ai_tuning_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/gen_ai_tuning_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/gen_ai_tuning_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/index.ts b/packages/google-cloud-aiplatform/src/v1/index.ts index a81c195c67d..1d4f198047e 100644 --- a/packages/google-cloud-aiplatform/src/v1/index.ts +++ b/packages/google-cloud-aiplatform/src/v1/index.ts @@ -44,6 +44,7 @@ export {PredictionServiceClient} from './prediction_service_client'; export {ReasoningEngineExecutionServiceClient} from './reasoning_engine_execution_service_client'; export {ReasoningEngineServiceClient} from './reasoning_engine_service_client'; export {ScheduleServiceClient} from './schedule_service_client'; +export {SessionServiceClient} from './session_service_client'; export {SpecialistPoolServiceClient} from './specialist_pool_service_client'; export {TensorboardServiceClient} from './tensorboard_service_client'; export {VertexRagDataServiceClient} from './vertex_rag_data_service_client'; 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 328207372bb..284010b4671 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 @@ -328,6 +328,12 @@ export class IndexEndpointServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -380,11 +386,11 @@ export class IndexEndpointServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -4599,6 +4605,143 @@ export class IndexEndpointServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/index_endpoint_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/index_endpoint_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/index_endpoint_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/index_endpoint_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", 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 f142051bab0..843acc1f802 100644 --- a/packages/google-cloud-aiplatform/src/v1/index_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/index_service_client.ts @@ -328,6 +328,12 @@ export class IndexServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -380,11 +386,11 @@ export class IndexServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -4412,6 +4418,143 @@ export class IndexServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/index_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/index_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/index_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/index_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", 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 9dad445e2c4..92499d71354 100644 --- a/packages/google-cloud-aiplatform/src/v1/job_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/job_service_client.ts @@ -328,6 +328,12 @@ export class JobServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -394,11 +400,11 @@ export class JobServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -8506,6 +8512,143 @@ export class JobServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/job_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/job_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/job_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/job_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/llm_utility_service_client.ts b/packages/google-cloud-aiplatform/src/v1/llm_utility_service_client.ts index a95785d4959..bb31f1b2550 100644 --- a/packages/google-cloud-aiplatform/src/v1/llm_utility_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/llm_utility_service_client.ts @@ -324,6 +324,12 @@ export class LlmUtilityServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -3457,6 +3463,143 @@ export class LlmUtilityServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/llm_utility_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/llm_utility_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/llm_utility_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/llm_utility_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/match_service_client.ts b/packages/google-cloud-aiplatform/src/v1/match_service_client.ts index 045400a0bb3..372c4c9d450 100644 --- a/packages/google-cloud-aiplatform/src/v1/match_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/match_service_client.ts @@ -325,6 +325,12 @@ export class MatchServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -3445,6 +3451,143 @@ export class MatchServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/match_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/match_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/match_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/match_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", 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 4b38683334b..7f6214099db 100644 --- a/packages/google-cloud-aiplatform/src/v1/metadata_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/metadata_service_client.ts @@ -331,6 +331,12 @@ export class MetadataServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -391,11 +397,11 @@ export class MetadataServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -7983,6 +7989,143 @@ export class MetadataServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/metadata_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/metadata_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/metadata_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/metadata_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", 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 d81bfdc8e17..12145e824a6 100644 --- a/packages/google-cloud-aiplatform/src/v1/migration_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/migration_service_client.ts @@ -329,6 +329,12 @@ export class MigrationServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -381,11 +387,11 @@ export class MigrationServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -3900,6 +3906,143 @@ export class MigrationServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/migration_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/migration_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/migration_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/migration_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/model_garden_service_client.ts b/packages/google-cloud-aiplatform/src/v1/model_garden_service_client.ts index 8e08e59ef67..03ca28247a5 100644 --- a/packages/google-cloud-aiplatform/src/v1/model_garden_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/model_garden_service_client.ts @@ -328,6 +328,12 @@ export class ModelGardenServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -372,11 +378,11 @@ export class ModelGardenServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -3764,6 +3770,143 @@ export class ModelGardenServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/model_garden_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/model_garden_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/model_garden_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/model_garden_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", 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 d37bc4d31e8..b4377b24568 100644 --- a/packages/google-cloud-aiplatform/src/v1/model_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/model_service_client.ts @@ -328,6 +328,12 @@ export class ModelServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -388,11 +394,11 @@ export class ModelServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -6372,6 +6378,143 @@ export class ModelServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/model_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/model_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/model_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/model_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/notebook_service_client.ts b/packages/google-cloud-aiplatform/src/v1/notebook_service_client.ts index a7d03830f2a..b417ae497f9 100644 --- a/packages/google-cloud-aiplatform/src/v1/notebook_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/notebook_service_client.ts @@ -328,6 +328,12 @@ export class NotebookServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -384,11 +390,11 @@ export class NotebookServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -5969,6 +5975,143 @@ export class NotebookServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/notebook_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/notebook_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/notebook_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/notebook_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/persistent_resource_service_client.ts b/packages/google-cloud-aiplatform/src/v1/persistent_resource_service_client.ts index dd92a242fca..e7a832790d1 100644 --- a/packages/google-cloud-aiplatform/src/v1/persistent_resource_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/persistent_resource_service_client.ts @@ -328,6 +328,12 @@ export class PersistentResourceServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -380,11 +386,11 @@ export class PersistentResourceServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -4313,6 +4319,143 @@ export class PersistentResourceServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/persistent_resource_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/persistent_resource_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/persistent_resource_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/persistent_resource_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", 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 418d814fffc..388ec6faa34 100644 --- a/packages/google-cloud-aiplatform/src/v1/pipeline_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/pipeline_service_client.ts @@ -333,6 +333,12 @@ export class PipelineServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -387,11 +393,11 @@ export class PipelineServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -5299,6 +5305,143 @@ export class PipelineServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/pipeline_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/pipeline_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/pipeline_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/pipeline_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/prediction_service_client.ts b/packages/google-cloud-aiplatform/src/v1/prediction_service_client.ts index 1fbfa219913..ce89b5490eb 100644 --- a/packages/google-cloud-aiplatform/src/v1/prediction_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/prediction_service_client.ts @@ -324,6 +324,12 @@ export class PredictionServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -4338,6 +4344,143 @@ export class PredictionServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/prediction_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/prediction_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/prediction_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/prediction_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/reasoning_engine_execution_service_client.ts b/packages/google-cloud-aiplatform/src/v1/reasoning_engine_execution_service_client.ts index d622fc816e0..7c4f6799bf3 100644 --- a/packages/google-cloud-aiplatform/src/v1/reasoning_engine_execution_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/reasoning_engine_execution_service_client.ts @@ -324,6 +324,12 @@ export class ReasoningEngineExecutionServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -3391,6 +3397,143 @@ export class ReasoningEngineExecutionServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/reasoning_engine_execution_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/reasoning_engine_execution_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/reasoning_engine_execution_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/reasoning_engine_execution_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/reasoning_engine_service_client.ts b/packages/google-cloud-aiplatform/src/v1/reasoning_engine_service_client.ts index 3fd9ab0e4dd..d3ed68c268f 100644 --- a/packages/google-cloud-aiplatform/src/v1/reasoning_engine_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/reasoning_engine_service_client.ts @@ -328,6 +328,12 @@ export class ReasoningEngineServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -380,11 +386,11 @@ export class ReasoningEngineServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -4189,6 +4195,143 @@ export class ReasoningEngineServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/reasoning_engine_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/reasoning_engine_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/reasoning_engine_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/reasoning_engine_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", 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 4a12f1aaa9f..effb318e2a9 100644 --- a/packages/google-cloud-aiplatform/src/v1/schedule_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/schedule_service_client.ts @@ -329,6 +329,12 @@ export class ScheduleServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -381,11 +387,11 @@ export class ScheduleServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -4521,6 +4527,143 @@ export class ScheduleServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/schedule_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/schedule_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/schedule_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/schedule_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/session_service_client.ts b/packages/google-cloud-aiplatform/src/v1/session_service_client.ts new file mode 100644 index 00000000000..71902ce0ed5 --- /dev/null +++ b/packages/google-cloud-aiplatform/src/v1/session_service_client.ts @@ -0,0 +1,5239 @@ +// Copyright 2026 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. ** + +/* global window */ +import type * as gax from 'google-gax'; +import type {Callback, CallOptions, Descriptors, ClientOptions, GrpcClientOptions, LROperation, PaginationCallback, GaxCall, IamClient, IamProtos, LocationsClient, LocationProtos} from 'google-gax'; +import {Transform} from 'stream'; +import * as protos from '../../protos/protos'; +import jsonProtos = require('../../protos/protos.json'); +import {loggingUtils as logging, decodeAnyProtosInArray} from 'google-gax'; + +/** + * Client JSON configuration object, loaded from + * `src/v1/session_service_client_config.json`. + * This file defines retry strategy and timeouts for all API methods in this library. + */ +import * as gapicConfig from './session_service_client_config.json'; +const version = require('../../../package.json').version; + +/** + * The service that manages Vertex Session related resources. + * @class + * @memberof v1 + */ +export class SessionServiceClient { + private _terminated = false; + private _opts: ClientOptions; + private _providedCustomServicePath: boolean; + private _gaxModule: typeof gax | typeof gax.fallback; + private _gaxGrpc: gax.GrpcClient | gax.fallback.GrpcClient; + private _protos: {}; + private _defaults: {[method: string]: gax.CallSettings}; + private _universeDomain: string; + private _servicePath: string; + private _log = logging.log('aiplatform'); + + auth: gax.GoogleAuth; + descriptors: Descriptors = { + page: {}, + stream: {}, + longrunning: {}, + batching: {}, + }; + warn: (code: string, message: string, warnType?: string) => void; + innerApiCalls: {[name: string]: Function}; + iamClient: IamClient; + locationsClient: LocationsClient; + pathTemplates: {[name: string]: gax.PathTemplate}; + operationsClient: gax.OperationsClient; + sessionServiceStub?: Promise<{[name: string]: Function}>; + + /** + * Construct an instance of SessionServiceClient. + * + * @param {object} [options] - The configuration object. + * The options accepted by the constructor are described in detail + * in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance). + * The common options are: + * @param {object} [options.credentials] - Credentials object. + * @param {string} [options.credentials.client_email] + * @param {string} [options.credentials.private_key] + * @param {string} [options.email] - Account email address. Required when + * using a .pem or .p12 keyFilename. + * @param {string} [options.keyFilename] - Full path to the a .json, .pem, or + * .p12 key downloaded from the Google Developers Console. If you provide + * a path to a JSON file, the projectId option below is not necessary. + * NOTE: .pem and .p12 require you to specify options.email as well. + * @param {number} [options.port] - The port on which to connect to + * the remote host. + * @param {string} [options.projectId] - The project ID from the Google + * Developer's Console, e.g. 'grape-spaceship-123'. We will also check + * the environment variable GCLOUD_PROJECT for your project ID. If your + * app is running in an environment which supports + * {@link https://cloud.google.com/docs/authentication/application-default-credentials Application Default Credentials}, + * your project ID will be detected automatically. + * @param {string} [options.apiEndpoint] - The domain name of the + * API remote host. + * @param {gax.ClientConfig} [options.clientConfig] - Client configuration override. + * Follows the structure of {@link gapicConfig}. + * @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode. + * For more information, please check the + * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}. + * @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you + * need to avoid loading the default gRPC version and want to use the fallback + * HTTP implementation. Load only fallback version and pass it to the constructor: + * ``` + * const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC + * const client = new SessionServiceClient({fallback: true}, gax); + * ``` + */ + constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback) { + // Ensure that options include all the required fields. + const staticMembers = this.constructor as typeof SessionServiceClient; + if (opts?.universe_domain && opts?.universeDomain && opts?.universe_domain !== opts?.universeDomain) { + throw new Error('Please set either universe_domain or universeDomain, but not both.'); + } + const universeDomainEnvVar = (typeof process === 'object' && typeof process.env === 'object') ? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] : undefined; + this._universeDomain = opts?.universeDomain ?? opts?.universe_domain ?? universeDomainEnvVar ?? 'googleapis.com'; + this._servicePath = 'aiplatform.' + this._universeDomain; + const servicePath = opts?.servicePath || opts?.apiEndpoint || this._servicePath; + this._providedCustomServicePath = !!(opts?.servicePath || opts?.apiEndpoint); + const port = opts?.port || staticMembers.port; + const clientConfig = opts?.clientConfig ?? {}; + const fallback = opts?.fallback ?? (typeof window !== 'undefined' && typeof window?.fetch === 'function'); + opts = Object.assign({servicePath, port, clientConfig, fallback}, opts); + + // Request numeric enum values if REST transport is used. + opts.numericEnums = true; + + // If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case. + if (servicePath !== this._servicePath && !('scopes' in opts)) { + opts['scopes'] = staticMembers.scopes; + } + + // Load google-gax module synchronously if needed + if (!gaxInstance) { + gaxInstance = require('google-gax') as typeof gax; + } + + // Choose either gRPC or proto-over-HTTP implementation of google-gax. + this._gaxModule = opts.fallback ? gaxInstance.fallback : gaxInstance; + + // Create a `gaxGrpc` object, with any grpc-specific options sent to the client. + this._gaxGrpc = new this._gaxModule.GrpcClient(opts); + + // Save options to use in initialize() method. + this._opts = opts; + + // Save the auth object to the client, for use by other methods. + this.auth = (this._gaxGrpc.auth as gax.GoogleAuth); + + // Set useJWTAccessWithScope on the auth object. + this.auth.useJWTAccessWithScope = true; + + // Set defaultServicePath on the auth object. + this.auth.defaultServicePath = this._servicePath; + + // Set the default scopes in auth client if needed. + if (servicePath === this._servicePath) { + this.auth.defaultScopes = staticMembers.scopes; + } + this.iamClient = new this._gaxModule.IamClient(this._gaxGrpc, opts); + + this.locationsClient = new this._gaxModule.LocationsClient( + this._gaxGrpc, + opts + ); + + + // Determine the client header string. + const clientHeader = [ + `gax/${this._gaxModule.version}`, + `gapic/${version}`, + ]; + if (typeof process === 'object' && 'versions' in process) { + clientHeader.push(`gl-node/${process.versions.node}`); + } else { + clientHeader.push(`gl-web/${this._gaxModule.version}`); + } + if (!opts.fallback) { + clientHeader.push(`grpc/${this._gaxGrpc.grpcVersion}`); + } else { + clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`); + } + if (opts.libName && opts.libVersion) { + clientHeader.push(`${opts.libName}/${opts.libVersion}`); + } + // Load the applicable protos. + this._protos = this._gaxGrpc.loadProtoJSON(jsonProtos); + + // This API contains "path templates"; forward-slash-separated + // identifiers to uniquely identify resources within the API. + // Create useful helper objects for these. + this.pathTemplates = { + annotationPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}/annotations/{annotation}' + ), + annotationSpecPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}' + ), + artifactPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}' + ), + batchPredictionJobPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}' + ), + cachedContentPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/cachedContents/{cached_content}' + ), + contextPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/metadataStores/{metadata_store}/contexts/{context}' + ), + customJobPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/customJobs/{custom_job}' + ), + dataItemPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}' + ), + dataLabelingJobPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}' + ), + datasetPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/datasets/{dataset}' + ), + datasetVersionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}' + ), + deploymentResourcePoolPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}' + ), + entityTypePathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}' + ), + executionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/metadataStores/{metadata_store}/executions/{execution}' + ), + featureGroupPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/featureGroups/{feature_group}' + ), + featureOnlineStorePathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}' + ), + featureViewPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}' + ), + featureViewSyncPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/feature_view_sync' + ), + featurestorePathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/featurestores/{featurestore}' + ), + hyperparameterTuningJobPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}' + ), + indexPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/indexes/{index}' + ), + indexEndpointPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}' + ), + metadataSchemaPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/metadataStores/{metadata_store}/metadataSchemas/{metadata_schema}' + ), + metadataStorePathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/metadataStores/{metadata_store}' + ), + modelPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/models/{model}' + ), + modelDeploymentMonitoringJobPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}' + ), + modelEvaluationPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}' + ), + modelEvaluationSlicePathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}' + ), + nasJobPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/nasJobs/{nas_job}' + ), + nasTrialDetailPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}' + ), + notebookExecutionJobPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/notebookExecutionJobs/{notebook_execution_job}' + ), + notebookRuntimePathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/notebookRuntimes/{notebook_runtime}' + ), + notebookRuntimeTemplatePathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}' + ), + persistentResourcePathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/persistentResources/{persistent_resource}' + ), + pipelineJobPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}' + ), + projectLocationEndpointPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/endpoints/{endpoint}' + ), + projectLocationFeatureGroupFeaturesPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}' + ), + projectLocationFeaturestoreEntityTypeFeaturesPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}' + ), + projectLocationPublisherModelPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/publishers/{publisher}/models/{model}' + ), + publisherModelPathTemplate: new this._gaxModule.PathTemplate( + 'publishers/{publisher}/models/{model}' + ), + ragCorpusPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/ragCorpora/{rag_corpus}' + ), + ragEngineConfigPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/ragEngineConfig' + ), + ragFilePathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}' + ), + reasoningEnginePathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}' + ), + savedQueryPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}' + ), + schedulePathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/schedules/{schedule}' + ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), + specialistPoolPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' + ), + studyPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/studies/{study}' + ), + tensorboardPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/tensorboards/{tensorboard}' + ), + tensorboardExperimentPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}' + ), + tensorboardRunPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}' + ), + tensorboardTimeSeriesPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}' + ), + trainingPipelinePathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}' + ), + trialPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/studies/{study}/trials/{trial}' + ), + tuningJobPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/tuningJobs/{tuning_job}' + ), + }; + + // Some of the methods on this service return "paged" results, + // (e.g. 50 results at a time, with tokens to get subsequent + // pages). Denote the keys used for pagination and results. + this.descriptors.page = { + listSessions: + new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'sessions'), + listEvents: + new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'sessionEvents') + }; + + const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos); + // This API contains "long-running operations", which return a + // an Operation object that allows for tracking of the operation, + // rather than holding a request open. + const lroOptions: GrpcClientOptions = { + auth: this.auth, + grpc: 'grpc' in this._gaxGrpc ? this._gaxGrpc.grpc : undefined + }; + if (opts.fallback) { + lroOptions.protoJson = protoFilesRoot; + lroOptions.httpRules = [{selector: 'google.cloud.location.Locations.GetLocation',get: '/ui/{name=projects/*/locations/*}',additional_bindings: [{get: '/v1/{name=projects/*/locations/*}',}], + },{selector: 'google.cloud.location.Locations.ListLocations',get: '/ui/{name=projects/*}/locations',additional_bindings: [{get: '/v1/{name=projects/*}/locations',}], + },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], + },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], + },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], + }]; + } + this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); + const createSessionResponse = protoFilesRoot.lookup( + '.google.cloud.aiplatform.v1.Session') as gax.protobuf.Type; + const createSessionMetadata = protoFilesRoot.lookup( + '.google.cloud.aiplatform.v1.CreateSessionOperationMetadata') as gax.protobuf.Type; + const deleteSessionResponse = protoFilesRoot.lookup( + '.google.protobuf.Empty') as gax.protobuf.Type; + const deleteSessionMetadata = protoFilesRoot.lookup( + '.google.cloud.aiplatform.v1.DeleteOperationMetadata') as gax.protobuf.Type; + + this.descriptors.longrunning = { + createSession: new this._gaxModule.LongrunningDescriptor( + this.operationsClient, + createSessionResponse.decode.bind(createSessionResponse), + createSessionMetadata.decode.bind(createSessionMetadata)), + deleteSession: new this._gaxModule.LongrunningDescriptor( + this.operationsClient, + deleteSessionResponse.decode.bind(deleteSessionResponse), + deleteSessionMetadata.decode.bind(deleteSessionMetadata)) + }; + + // Put together the default options sent with requests. + this._defaults = this._gaxGrpc.constructSettings( + 'google.cloud.aiplatform.v1.SessionService', gapicConfig as gax.ClientConfig, + opts.clientConfig || {}, {'x-goog-api-client': clientHeader.join(' ')}); + + // Set up a dictionary of "inner API calls"; the core implementation + // of calling the API is handled in `google-gax`, with this code + // merely providing the destination and request information. + this.innerApiCalls = {}; + + // Add a warn function to the client constructor so it can be easily tested. + this.warn = this._gaxModule.warn; + } + + /** + * Initialize the client. + * Performs asynchronous operations (such as authentication) and prepares the client. + * This function will be called automatically when any class method is called for the + * first time, but if you need to initialize it before calling an actual method, + * feel free to call initialize() directly. + * + * You can await on this method if you want to make sure the client is initialized. + * + * @returns {Promise} A promise that resolves to an authenticated service stub. + */ + initialize() { + // If the client stub promise is already initialized, return immediately. + if (this.sessionServiceStub) { + return this.sessionServiceStub; + } + + // Put together the "service stub" for + // google.cloud.aiplatform.v1.SessionService. + this.sessionServiceStub = this._gaxGrpc.createStub( + this._opts.fallback ? + (this._protos as protobuf.Root).lookupService('google.cloud.aiplatform.v1.SessionService') : + // eslint-disable-next-line @typescript-eslint/no-explicit-any + (this._protos as any).google.cloud.aiplatform.v1.SessionService, + this._opts, this._providedCustomServicePath) as Promise<{[method: string]: Function}>; + + // Iterate over each of the methods that the service provides + // and create an API call method for each. + const sessionServiceStubMethods = + ['createSession', 'getSession', 'listSessions', 'updateSession', 'deleteSession', 'listEvents', 'appendEvent']; + for (const methodName of sessionServiceStubMethods) { + const callPromise = this.sessionServiceStub.then( + stub => (...args: Array<{}>) => { + if (this._terminated) { + return Promise.reject('The client has already been closed.'); + } + const func = stub[methodName]; + return func.apply(stub, args); + }, + (err: Error|null|undefined) => () => { + throw err; + }); + + const descriptor = + this.descriptors.page[methodName] || + this.descriptors.longrunning[methodName] || + undefined; + const apiCall = this._gaxModule.createApiCall( + callPromise, + this._defaults[methodName], + descriptor, + this._opts.fallback + ); + + this.innerApiCalls[methodName] = apiCall; + } + + return this.sessionServiceStub; + } + + /** + * The DNS address for this API service. + * @deprecated Use the apiEndpoint method of the client instance. + * @returns {string} The DNS address for this service. + */ + static get servicePath() { + if (typeof process === 'object' && typeof process.emitWarning === 'function') { + process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning'); + } + return 'aiplatform.googleapis.com'; + } + + /** + * The DNS address for this API service - same as servicePath. + * @deprecated Use the apiEndpoint method of the client instance. + * @returns {string} The DNS address for this service. + */ + static get apiEndpoint() { + if (typeof process === 'object' && typeof process.emitWarning === 'function') { + process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning'); + } + return 'aiplatform.googleapis.com'; + } + + /** + * The DNS address for this API service. + * @returns {string} The DNS address for this service. + */ + get apiEndpoint() { + return this._servicePath; + } + + get universeDomain() { + return this._universeDomain; + } + + /** + * The port for this API service. + * @returns {number} The default port for this service. + */ + static get port() { + return 443; + } + + /** + * The scopes needed to make gRPC calls for every method defined + * in this service. + * @returns {string[]} List of default scopes. + */ + static get scopes() { + return [ + 'https://www.googleapis.com/auth/cloud-platform' + ]; + } + + getProjectId(): Promise; + getProjectId(callback: Callback): void; + /** + * Return the project ID used by this class. + * @returns {Promise} A promise that resolves to string containing the project ID. + */ + getProjectId(callback?: Callback): + Promise|void { + if (callback) { + this.auth.getProjectId(callback); + return; + } + return this.auth.getProjectId(); + } + + // ------------------- + // -- Service calls -- + // ------------------- +/** + * Gets details of the specific {@link protos.google.cloud.aiplatform.v1.Session|Session}. + * + * @param {Object} request + * The request object that will be sent. + * @param {string} request.name + * Required. The resource name of the session. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * @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 {@link protos.google.cloud.aiplatform.v1.Session|Session}. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation } + * for more details and examples. + * @example include:samples/generated/v1/session_service.get_session.js + * region_tag:aiplatform_v1_generated_SessionService_GetSession_async + */ + getSession( + request?: protos.google.cloud.aiplatform.v1.IGetSessionRequest, + options?: CallOptions): + Promise<[ + protos.google.cloud.aiplatform.v1.ISession, + protos.google.cloud.aiplatform.v1.IGetSessionRequest|undefined, {}|undefined + ]>; + getSession( + request: protos.google.cloud.aiplatform.v1.IGetSessionRequest, + options: CallOptions, + callback: Callback< + protos.google.cloud.aiplatform.v1.ISession, + protos.google.cloud.aiplatform.v1.IGetSessionRequest|null|undefined, + {}|null|undefined>): void; + getSession( + request: protos.google.cloud.aiplatform.v1.IGetSessionRequest, + callback: Callback< + protos.google.cloud.aiplatform.v1.ISession, + protos.google.cloud.aiplatform.v1.IGetSessionRequest|null|undefined, + {}|null|undefined>): void; + getSession( + request?: protos.google.cloud.aiplatform.v1.IGetSessionRequest, + optionsOrCallback?: CallOptions|Callback< + protos.google.cloud.aiplatform.v1.ISession, + protos.google.cloud.aiplatform.v1.IGetSessionRequest|null|undefined, + {}|null|undefined>, + callback?: Callback< + protos.google.cloud.aiplatform.v1.ISession, + protos.google.cloud.aiplatform.v1.IGetSessionRequest|null|undefined, + {}|null|undefined>): + Promise<[ + protos.google.cloud.aiplatform.v1.ISession, + protos.google.cloud.aiplatform.v1.IGetSessionRequest|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({ + 'name': request.name ?? '', + }); + this.initialize().catch(err => {throw err}); + this._log.info('getSession request %j', request); + const wrappedCallback: Callback< + protos.google.cloud.aiplatform.v1.ISession, + protos.google.cloud.aiplatform.v1.IGetSessionRequest|null|undefined, + {}|null|undefined>|undefined = callback + ? (error, response, options, rawResponse) => { + this._log.info('getSession response %j', response); + callback!(error, response, options, rawResponse); // We verified callback above. + } + : undefined; + return this.innerApiCalls.getSession(request, options, wrappedCallback) + ?.then(([response, options, rawResponse]: [ + protos.google.cloud.aiplatform.v1.ISession, + protos.google.cloud.aiplatform.v1.IGetSessionRequest|undefined, + {}|undefined + ]) => { + this._log.info('getSession response %j', response); + return [response, options, rawResponse]; + }).catch((error: any) => { + if (error && 'statusDetails' in error && error.statusDetails instanceof Array) { + const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos) as unknown as gax.protobuf.Type; + error.statusDetails = decodeAnyProtosInArray(error.statusDetails, protos); + } + throw error; + }); + } +/** + * Updates the specific {@link protos.google.cloud.aiplatform.v1.Session|Session}. + * + * @param {Object} request + * The request object that will be sent. + * @param {google.cloud.aiplatform.v1.Session} request.session + * Required. The session to update. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * @param {google.protobuf.FieldMask} [request.updateMask] + * Optional. Field mask is used to control which fields get updated. If the + * mask is not present, all fields will be updated. + * @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 {@link protos.google.cloud.aiplatform.v1.Session|Session}. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation } + * for more details and examples. + * @example include:samples/generated/v1/session_service.update_session.js + * region_tag:aiplatform_v1_generated_SessionService_UpdateSession_async + */ + updateSession( + request?: protos.google.cloud.aiplatform.v1.IUpdateSessionRequest, + options?: CallOptions): + Promise<[ + protos.google.cloud.aiplatform.v1.ISession, + protos.google.cloud.aiplatform.v1.IUpdateSessionRequest|undefined, {}|undefined + ]>; + updateSession( + request: protos.google.cloud.aiplatform.v1.IUpdateSessionRequest, + options: CallOptions, + callback: Callback< + protos.google.cloud.aiplatform.v1.ISession, + protos.google.cloud.aiplatform.v1.IUpdateSessionRequest|null|undefined, + {}|null|undefined>): void; + updateSession( + request: protos.google.cloud.aiplatform.v1.IUpdateSessionRequest, + callback: Callback< + protos.google.cloud.aiplatform.v1.ISession, + protos.google.cloud.aiplatform.v1.IUpdateSessionRequest|null|undefined, + {}|null|undefined>): void; + updateSession( + request?: protos.google.cloud.aiplatform.v1.IUpdateSessionRequest, + optionsOrCallback?: CallOptions|Callback< + protos.google.cloud.aiplatform.v1.ISession, + protos.google.cloud.aiplatform.v1.IUpdateSessionRequest|null|undefined, + {}|null|undefined>, + callback?: Callback< + protos.google.cloud.aiplatform.v1.ISession, + protos.google.cloud.aiplatform.v1.IUpdateSessionRequest|null|undefined, + {}|null|undefined>): + Promise<[ + protos.google.cloud.aiplatform.v1.ISession, + protos.google.cloud.aiplatform.v1.IUpdateSessionRequest|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({ + 'session.name': request.session!.name ?? '', + }); + this.initialize().catch(err => {throw err}); + this._log.info('updateSession request %j', request); + const wrappedCallback: Callback< + protos.google.cloud.aiplatform.v1.ISession, + protos.google.cloud.aiplatform.v1.IUpdateSessionRequest|null|undefined, + {}|null|undefined>|undefined = callback + ? (error, response, options, rawResponse) => { + this._log.info('updateSession response %j', response); + callback!(error, response, options, rawResponse); // We verified callback above. + } + : undefined; + return this.innerApiCalls.updateSession(request, options, wrappedCallback) + ?.then(([response, options, rawResponse]: [ + protos.google.cloud.aiplatform.v1.ISession, + protos.google.cloud.aiplatform.v1.IUpdateSessionRequest|undefined, + {}|undefined + ]) => { + this._log.info('updateSession response %j', response); + return [response, options, rawResponse]; + }).catch((error: any) => { + if (error && 'statusDetails' in error && error.statusDetails instanceof Array) { + const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos) as unknown as gax.protobuf.Type; + error.statusDetails = decodeAnyProtosInArray(error.statusDetails, protos); + } + throw error; + }); + } +/** + * Appends an event to a given session. + * + * @param {Object} request + * The request object that will be sent. + * @param {string} request.name + * Required. The resource name of the session to append event to. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * @param {google.cloud.aiplatform.v1.SessionEvent} request.event + * Required. The event to append to the session. + * @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 {@link protos.google.cloud.aiplatform.v1.AppendEventResponse|AppendEventResponse}. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation } + * for more details and examples. + * @example include:samples/generated/v1/session_service.append_event.js + * region_tag:aiplatform_v1_generated_SessionService_AppendEvent_async + */ + appendEvent( + request?: protos.google.cloud.aiplatform.v1.IAppendEventRequest, + options?: CallOptions): + Promise<[ + protos.google.cloud.aiplatform.v1.IAppendEventResponse, + protos.google.cloud.aiplatform.v1.IAppendEventRequest|undefined, {}|undefined + ]>; + appendEvent( + request: protos.google.cloud.aiplatform.v1.IAppendEventRequest, + options: CallOptions, + callback: Callback< + protos.google.cloud.aiplatform.v1.IAppendEventResponse, + protos.google.cloud.aiplatform.v1.IAppendEventRequest|null|undefined, + {}|null|undefined>): void; + appendEvent( + request: protos.google.cloud.aiplatform.v1.IAppendEventRequest, + callback: Callback< + protos.google.cloud.aiplatform.v1.IAppendEventResponse, + protos.google.cloud.aiplatform.v1.IAppendEventRequest|null|undefined, + {}|null|undefined>): void; + appendEvent( + request?: protos.google.cloud.aiplatform.v1.IAppendEventRequest, + optionsOrCallback?: CallOptions|Callback< + protos.google.cloud.aiplatform.v1.IAppendEventResponse, + protos.google.cloud.aiplatform.v1.IAppendEventRequest|null|undefined, + {}|null|undefined>, + callback?: Callback< + protos.google.cloud.aiplatform.v1.IAppendEventResponse, + protos.google.cloud.aiplatform.v1.IAppendEventRequest|null|undefined, + {}|null|undefined>): + Promise<[ + protos.google.cloud.aiplatform.v1.IAppendEventResponse, + protos.google.cloud.aiplatform.v1.IAppendEventRequest|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({ + 'name': request.name ?? '', + }); + this.initialize().catch(err => {throw err}); + this._log.info('appendEvent request %j', request); + const wrappedCallback: Callback< + protos.google.cloud.aiplatform.v1.IAppendEventResponse, + protos.google.cloud.aiplatform.v1.IAppendEventRequest|null|undefined, + {}|null|undefined>|undefined = callback + ? (error, response, options, rawResponse) => { + this._log.info('appendEvent response %j', response); + callback!(error, response, options, rawResponse); // We verified callback above. + } + : undefined; + return this.innerApiCalls.appendEvent(request, options, wrappedCallback) + ?.then(([response, options, rawResponse]: [ + protos.google.cloud.aiplatform.v1.IAppendEventResponse, + protos.google.cloud.aiplatform.v1.IAppendEventRequest|undefined, + {}|undefined + ]) => { + this._log.info('appendEvent response %j', response); + return [response, options, rawResponse]; + }).catch((error: any) => { + if (error && 'statusDetails' in error && error.statusDetails instanceof Array) { + const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos) as unknown as gax.protobuf.Type; + error.statusDetails = decodeAnyProtosInArray(error.statusDetails, protos); + } + throw error; + }); + } + +/** + * Creates a new {@link protos.google.cloud.aiplatform.v1.Session|Session}. + * + * @param {Object} request + * The request object that will be sent. + * @param {string} request.parent + * Required. The resource name of the location to create the session in. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * @param {google.cloud.aiplatform.v1.Session} request.session + * Required. The session to create. + * @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/session_service.create_session.js + * region_tag:aiplatform_v1_generated_SessionService_CreateSession_async + */ + createSession( + request?: protos.google.cloud.aiplatform.v1.ICreateSessionRequest, + options?: CallOptions): + Promise<[ + LROperation, + protos.google.longrunning.IOperation|undefined, {}|undefined + ]>; + createSession( + request: protos.google.cloud.aiplatform.v1.ICreateSessionRequest, + options: CallOptions, + callback: Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>): void; + createSession( + request: protos.google.cloud.aiplatform.v1.ICreateSessionRequest, + callback: Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>): void; + createSession( + request?: protos.google.cloud.aiplatform.v1.ICreateSessionRequest, + optionsOrCallback?: CallOptions|Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>, + callback?: Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>): + Promise<[ + LROperation, + 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().catch(err => {throw err}); + const wrappedCallback: Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>|undefined = callback + ? (error, response, rawResponse, _) => { + this._log.info('createSession response %j', rawResponse); + callback!(error, response, rawResponse, _); // We verified callback above. + } + : undefined; + this._log.info('createSession request %j', request); + return this.innerApiCalls.createSession(request, options, wrappedCallback) + ?.then(([response, rawResponse, _]: [ + LROperation, + protos.google.longrunning.IOperation|undefined, {}|undefined + ]) => { + this._log.info('createSession response %j', rawResponse); + return [response, rawResponse, _]; + }); + } +/** + * Check the status of the long running operation returned by `createSession()`. + * @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/session_service.create_session.js + * region_tag:aiplatform_v1_generated_SessionService_CreateSession_async + */ + async checkCreateSessionProgress(name: string): Promise>{ + this._log.info('createSession long-running'); + 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.createSession, this._gaxModule.createDefaultBackoffSettings()); + return decodeOperation as LROperation; + } +/** + * Deletes details of the specific + * {@link protos.google.cloud.aiplatform.v1.Session|Session}. + * + * @param {Object} request + * The request object that will be sent. + * @param {string} request.name + * Required. The resource name of the session. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * @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/session_service.delete_session.js + * region_tag:aiplatform_v1_generated_SessionService_DeleteSession_async + */ + deleteSession( + request?: protos.google.cloud.aiplatform.v1.IDeleteSessionRequest, + options?: CallOptions): + Promise<[ + LROperation, + protos.google.longrunning.IOperation|undefined, {}|undefined + ]>; + deleteSession( + request: protos.google.cloud.aiplatform.v1.IDeleteSessionRequest, + options: CallOptions, + callback: Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>): void; + deleteSession( + request: protos.google.cloud.aiplatform.v1.IDeleteSessionRequest, + callback: Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>): void; + deleteSession( + request?: protos.google.cloud.aiplatform.v1.IDeleteSessionRequest, + optionsOrCallback?: CallOptions|Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>, + callback?: Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>): + Promise<[ + LROperation, + 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({ + 'name': request.name ?? '', + }); + this.initialize().catch(err => {throw err}); + const wrappedCallback: Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>|undefined = callback + ? (error, response, rawResponse, _) => { + this._log.info('deleteSession response %j', rawResponse); + callback!(error, response, rawResponse, _); // We verified callback above. + } + : undefined; + this._log.info('deleteSession request %j', request); + return this.innerApiCalls.deleteSession(request, options, wrappedCallback) + ?.then(([response, rawResponse, _]: [ + LROperation, + protos.google.longrunning.IOperation|undefined, {}|undefined + ]) => { + this._log.info('deleteSession response %j', rawResponse); + return [response, rawResponse, _]; + }); + } +/** + * Check the status of the long running operation returned by `deleteSession()`. + * @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/session_service.delete_session.js + * region_tag:aiplatform_v1_generated_SessionService_DeleteSession_async + */ + async checkDeleteSessionProgress(name: string): Promise>{ + this._log.info('deleteSession long-running'); + 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.deleteSession, this._gaxModule.createDefaultBackoffSettings()); + return decodeOperation as LROperation; + } + /** + * Lists {@link protos.google.cloud.aiplatform.v1.Session|Sessions} in a given reasoning + * engine. + * + * @param {Object} request + * The request object that will be sent. + * @param {string} request.parent + * Required. The resource name of the location to list sessions from. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * @param {number} [request.pageSize] + * Optional. The maximum number of sessions to return. The service may return + * fewer than this value. If unspecified, at most 100 sessions will be + * returned. + * @param {string} [request.pageToken] + * Optional. The + * {@link protos.google.cloud.aiplatform.v1.ListSessionsResponse.next_page_token|next_page_token} + * value returned from a previous list + * {@link protos.google.cloud.aiplatform.v1.SessionService.ListSessions|SessionService.ListSessions} + * call. + * @param {string} [request.filter] + * Optional. The standard list filter. + * Supported fields: + * * `display_name` + * * `user_id` + * * `labels` + * + * Example: `display_name="abc"`, `user_id="123"`, `labels.key="value"`. + * @param {string} [request.orderBy] + * Optional. A comma-separated list of fields to order by, sorted in ascending + * order. Use "desc" after a field name for descending. Supported fields: + * * `create_time` + * * `update_time` + * + * Example: `create_time desc`. + * @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 Array of {@link protos.google.cloud.aiplatform.v1.Session|Session}. + * The client library will perform auto-pagination by default: it will call the API as many + * times as needed and will merge results from all the pages into this array. + * Note that it can affect your quota. + * We recommend using `listSessionsAsync()` + * method described below for async iteration which you can stop as needed. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } + * for more details and examples. + */ + listSessions( + request?: protos.google.cloud.aiplatform.v1.IListSessionsRequest, + options?: CallOptions): + Promise<[ + protos.google.cloud.aiplatform.v1.ISession[], + protos.google.cloud.aiplatform.v1.IListSessionsRequest|null, + protos.google.cloud.aiplatform.v1.IListSessionsResponse + ]>; + listSessions( + request: protos.google.cloud.aiplatform.v1.IListSessionsRequest, + options: CallOptions, + callback: PaginationCallback< + protos.google.cloud.aiplatform.v1.IListSessionsRequest, + protos.google.cloud.aiplatform.v1.IListSessionsResponse|null|undefined, + protos.google.cloud.aiplatform.v1.ISession>): void; + listSessions( + request: protos.google.cloud.aiplatform.v1.IListSessionsRequest, + callback: PaginationCallback< + protos.google.cloud.aiplatform.v1.IListSessionsRequest, + protos.google.cloud.aiplatform.v1.IListSessionsResponse|null|undefined, + protos.google.cloud.aiplatform.v1.ISession>): void; + listSessions( + request?: protos.google.cloud.aiplatform.v1.IListSessionsRequest, + optionsOrCallback?: CallOptions|PaginationCallback< + protos.google.cloud.aiplatform.v1.IListSessionsRequest, + protos.google.cloud.aiplatform.v1.IListSessionsResponse|null|undefined, + protos.google.cloud.aiplatform.v1.ISession>, + callback?: PaginationCallback< + protos.google.cloud.aiplatform.v1.IListSessionsRequest, + protos.google.cloud.aiplatform.v1.IListSessionsResponse|null|undefined, + protos.google.cloud.aiplatform.v1.ISession>): + Promise<[ + protos.google.cloud.aiplatform.v1.ISession[], + protos.google.cloud.aiplatform.v1.IListSessionsRequest|null, + protos.google.cloud.aiplatform.v1.IListSessionsResponse + ]>|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().catch(err => {throw err}); + const wrappedCallback: PaginationCallback< + protos.google.cloud.aiplatform.v1.IListSessionsRequest, + protos.google.cloud.aiplatform.v1.IListSessionsResponse|null|undefined, + protos.google.cloud.aiplatform.v1.ISession>|undefined = callback + ? (error, values, nextPageRequest, rawResponse) => { + this._log.info('listSessions values %j', values); + callback!(error, values, nextPageRequest, rawResponse); // We verified callback above. + } + : undefined; + this._log.info('listSessions request %j', request); + return this.innerApiCalls + .listSessions(request, options, wrappedCallback) + ?.then(([response, input, output]: [ + protos.google.cloud.aiplatform.v1.ISession[], + protos.google.cloud.aiplatform.v1.IListSessionsRequest|null, + protos.google.cloud.aiplatform.v1.IListSessionsResponse + ]) => { + this._log.info('listSessions values %j', response); + return [response, input, output]; + }); + } + +/** + * Equivalent to `listSessions`, but returns a NodeJS Stream object. + * @param {Object} request + * The request object that will be sent. + * @param {string} request.parent + * Required. The resource name of the location to list sessions from. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * @param {number} [request.pageSize] + * Optional. The maximum number of sessions to return. The service may return + * fewer than this value. If unspecified, at most 100 sessions will be + * returned. + * @param {string} [request.pageToken] + * Optional. The + * {@link protos.google.cloud.aiplatform.v1.ListSessionsResponse.next_page_token|next_page_token} + * value returned from a previous list + * {@link protos.google.cloud.aiplatform.v1.SessionService.ListSessions|SessionService.ListSessions} + * call. + * @param {string} [request.filter] + * Optional. The standard list filter. + * Supported fields: + * * `display_name` + * * `user_id` + * * `labels` + * + * Example: `display_name="abc"`, `user_id="123"`, `labels.key="value"`. + * @param {string} [request.orderBy] + * Optional. A comma-separated list of fields to order by, sorted in ascending + * order. Use "desc" after a field name for descending. Supported fields: + * * `create_time` + * * `update_time` + * + * Example: `create_time desc`. + * @param {object} [options] + * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. + * @returns {Stream} + * An object stream which emits an object representing {@link protos.google.cloud.aiplatform.v1.Session|Session} on 'data' event. + * The client library will perform auto-pagination by default: it will call the API as many + * times as needed. Note that it can affect your quota. + * We recommend using `listSessionsAsync()` + * method described below for async iteration which you can stop as needed. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } + * for more details and examples. + */ + listSessionsStream( + request?: protos.google.cloud.aiplatform.v1.IListSessionsRequest, + options?: CallOptions): + Transform{ + request = request || {}; + 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 ?? '', + }); + const defaultCallSettings = this._defaults['listSessions']; + const callSettings = defaultCallSettings.merge(options); + this.initialize().catch(err => {throw err}); + this._log.info('listSessions stream %j', request); + return this.descriptors.page.listSessions.createStream( + this.innerApiCalls.listSessions as GaxCall, + request, + callSettings + ); + } + +/** + * Equivalent to `listSessions`, but returns an iterable object. + * + * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand. + * @param {Object} request + * The request object that will be sent. + * @param {string} request.parent + * Required. The resource name of the location to list sessions from. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * @param {number} [request.pageSize] + * Optional. The maximum number of sessions to return. The service may return + * fewer than this value. If unspecified, at most 100 sessions will be + * returned. + * @param {string} [request.pageToken] + * Optional. The + * {@link protos.google.cloud.aiplatform.v1.ListSessionsResponse.next_page_token|next_page_token} + * value returned from a previous list + * {@link protos.google.cloud.aiplatform.v1.SessionService.ListSessions|SessionService.ListSessions} + * call. + * @param {string} [request.filter] + * Optional. The standard list filter. + * Supported fields: + * * `display_name` + * * `user_id` + * * `labels` + * + * Example: `display_name="abc"`, `user_id="123"`, `labels.key="value"`. + * @param {string} [request.orderBy] + * Optional. A comma-separated list of fields to order by, sorted in ascending + * order. Use "desc" after a field name for descending. Supported fields: + * * `create_time` + * * `update_time` + * + * Example: `create_time desc`. + * @param {object} [options] + * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. + * @returns {Object} + * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }. + * When you iterate the returned iterable, each element will be an object representing + * {@link protos.google.cloud.aiplatform.v1.Session|Session}. The API will be called under the hood as needed, once per the page, + * so you can stop the iteration when you don't need more results. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } + * for more details and examples. + * @example include:samples/generated/v1/session_service.list_sessions.js + * region_tag:aiplatform_v1_generated_SessionService_ListSessions_async + */ + listSessionsAsync( + request?: protos.google.cloud.aiplatform.v1.IListSessionsRequest, + options?: CallOptions): + AsyncIterable{ + request = request || {}; + 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 ?? '', + }); + const defaultCallSettings = this._defaults['listSessions']; + const callSettings = defaultCallSettings.merge(options); + this.initialize().catch(err => {throw err}); + this._log.info('listSessions iterate %j', request); + return this.descriptors.page.listSessions.asyncIterate( + this.innerApiCalls['listSessions'] as GaxCall, + request as {}, + callSettings + ) as AsyncIterable; + } + /** + * Lists {@link protos.google.cloud.aiplatform.v1.Event|Events} in a given session. + * + * @param {Object} request + * The request object that will be sent. + * @param {string} request.parent + * Required. The resource name of the session to list events from. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * @param {number} [request.pageSize] + * Optional. The maximum number of events to return. The service may return + * fewer than this value. If unspecified, at most 100 events will be returned. + * These events are ordered by timestamp in ascending order. + * @param {string} [request.pageToken] + * Optional. The + * {@link protos.google.cloud.aiplatform.v1.ListEventsResponse.next_page_token|next_page_token} + * value returned from a previous list + * {@link protos.google.cloud.aiplatform.v1.SessionService.ListEvents|SessionService.ListEvents} + * call. + * @param {string} [request.filter] + * Optional. The standard list filter. + * Supported fields: + * * `timestamp` range (i.e. `timestamp>="2025-01-31T11:30:00-04:00"` where + * the timestamp is in RFC 3339 format) + * + * More detail in [AIP-160](https://google.aip.dev/160). + * @param {string} [request.orderBy] + * Optional. A comma-separated list of fields to order by, sorted in ascending + * order. Use "desc" after a field name for descending. Supported fields: + * * `timestamp` + * + * Example: `timestamp desc`. + * @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 Array of {@link protos.google.cloud.aiplatform.v1.SessionEvent|SessionEvent}. + * The client library will perform auto-pagination by default: it will call the API as many + * times as needed and will merge results from all the pages into this array. + * Note that it can affect your quota. + * We recommend using `listEventsAsync()` + * method described below for async iteration which you can stop as needed. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } + * for more details and examples. + */ + listEvents( + request?: protos.google.cloud.aiplatform.v1.IListEventsRequest, + options?: CallOptions): + Promise<[ + protos.google.cloud.aiplatform.v1.ISessionEvent[], + protos.google.cloud.aiplatform.v1.IListEventsRequest|null, + protos.google.cloud.aiplatform.v1.IListEventsResponse + ]>; + listEvents( + request: protos.google.cloud.aiplatform.v1.IListEventsRequest, + options: CallOptions, + callback: PaginationCallback< + protos.google.cloud.aiplatform.v1.IListEventsRequest, + protos.google.cloud.aiplatform.v1.IListEventsResponse|null|undefined, + protos.google.cloud.aiplatform.v1.ISessionEvent>): void; + listEvents( + request: protos.google.cloud.aiplatform.v1.IListEventsRequest, + callback: PaginationCallback< + protos.google.cloud.aiplatform.v1.IListEventsRequest, + protos.google.cloud.aiplatform.v1.IListEventsResponse|null|undefined, + protos.google.cloud.aiplatform.v1.ISessionEvent>): void; + listEvents( + request?: protos.google.cloud.aiplatform.v1.IListEventsRequest, + optionsOrCallback?: CallOptions|PaginationCallback< + protos.google.cloud.aiplatform.v1.IListEventsRequest, + protos.google.cloud.aiplatform.v1.IListEventsResponse|null|undefined, + protos.google.cloud.aiplatform.v1.ISessionEvent>, + callback?: PaginationCallback< + protos.google.cloud.aiplatform.v1.IListEventsRequest, + protos.google.cloud.aiplatform.v1.IListEventsResponse|null|undefined, + protos.google.cloud.aiplatform.v1.ISessionEvent>): + Promise<[ + protos.google.cloud.aiplatform.v1.ISessionEvent[], + protos.google.cloud.aiplatform.v1.IListEventsRequest|null, + protos.google.cloud.aiplatform.v1.IListEventsResponse + ]>|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().catch(err => {throw err}); + const wrappedCallback: PaginationCallback< + protos.google.cloud.aiplatform.v1.IListEventsRequest, + protos.google.cloud.aiplatform.v1.IListEventsResponse|null|undefined, + protos.google.cloud.aiplatform.v1.ISessionEvent>|undefined = callback + ? (error, values, nextPageRequest, rawResponse) => { + this._log.info('listEvents values %j', values); + callback!(error, values, nextPageRequest, rawResponse); // We verified callback above. + } + : undefined; + this._log.info('listEvents request %j', request); + return this.innerApiCalls + .listEvents(request, options, wrappedCallback) + ?.then(([response, input, output]: [ + protos.google.cloud.aiplatform.v1.ISessionEvent[], + protos.google.cloud.aiplatform.v1.IListEventsRequest|null, + protos.google.cloud.aiplatform.v1.IListEventsResponse + ]) => { + this._log.info('listEvents values %j', response); + return [response, input, output]; + }); + } + +/** + * Equivalent to `listEvents`, but returns a NodeJS Stream object. + * @param {Object} request + * The request object that will be sent. + * @param {string} request.parent + * Required. The resource name of the session to list events from. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * @param {number} [request.pageSize] + * Optional. The maximum number of events to return. The service may return + * fewer than this value. If unspecified, at most 100 events will be returned. + * These events are ordered by timestamp in ascending order. + * @param {string} [request.pageToken] + * Optional. The + * {@link protos.google.cloud.aiplatform.v1.ListEventsResponse.next_page_token|next_page_token} + * value returned from a previous list + * {@link protos.google.cloud.aiplatform.v1.SessionService.ListEvents|SessionService.ListEvents} + * call. + * @param {string} [request.filter] + * Optional. The standard list filter. + * Supported fields: + * * `timestamp` range (i.e. `timestamp>="2025-01-31T11:30:00-04:00"` where + * the timestamp is in RFC 3339 format) + * + * More detail in [AIP-160](https://google.aip.dev/160). + * @param {string} [request.orderBy] + * Optional. A comma-separated list of fields to order by, sorted in ascending + * order. Use "desc" after a field name for descending. Supported fields: + * * `timestamp` + * + * Example: `timestamp desc`. + * @param {object} [options] + * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. + * @returns {Stream} + * An object stream which emits an object representing {@link protos.google.cloud.aiplatform.v1.SessionEvent|SessionEvent} on 'data' event. + * The client library will perform auto-pagination by default: it will call the API as many + * times as needed. Note that it can affect your quota. + * We recommend using `listEventsAsync()` + * method described below for async iteration which you can stop as needed. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } + * for more details and examples. + */ + listEventsStream( + request?: protos.google.cloud.aiplatform.v1.IListEventsRequest, + options?: CallOptions): + Transform{ + request = request || {}; + 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 ?? '', + }); + const defaultCallSettings = this._defaults['listEvents']; + const callSettings = defaultCallSettings.merge(options); + this.initialize().catch(err => {throw err}); + this._log.info('listEvents stream %j', request); + return this.descriptors.page.listEvents.createStream( + this.innerApiCalls.listEvents as GaxCall, + request, + callSettings + ); + } + +/** + * Equivalent to `listEvents`, but returns an iterable object. + * + * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand. + * @param {Object} request + * The request object that will be sent. + * @param {string} request.parent + * Required. The resource name of the session to list events from. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * @param {number} [request.pageSize] + * Optional. The maximum number of events to return. The service may return + * fewer than this value. If unspecified, at most 100 events will be returned. + * These events are ordered by timestamp in ascending order. + * @param {string} [request.pageToken] + * Optional. The + * {@link protos.google.cloud.aiplatform.v1.ListEventsResponse.next_page_token|next_page_token} + * value returned from a previous list + * {@link protos.google.cloud.aiplatform.v1.SessionService.ListEvents|SessionService.ListEvents} + * call. + * @param {string} [request.filter] + * Optional. The standard list filter. + * Supported fields: + * * `timestamp` range (i.e. `timestamp>="2025-01-31T11:30:00-04:00"` where + * the timestamp is in RFC 3339 format) + * + * More detail in [AIP-160](https://google.aip.dev/160). + * @param {string} [request.orderBy] + * Optional. A comma-separated list of fields to order by, sorted in ascending + * order. Use "desc" after a field name for descending. Supported fields: + * * `timestamp` + * + * Example: `timestamp desc`. + * @param {object} [options] + * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. + * @returns {Object} + * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }. + * When you iterate the returned iterable, each element will be an object representing + * {@link protos.google.cloud.aiplatform.v1.SessionEvent|SessionEvent}. The API will be called under the hood as needed, once per the page, + * so you can stop the iteration when you don't need more results. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } + * for more details and examples. + * @example include:samples/generated/v1/session_service.list_events.js + * region_tag:aiplatform_v1_generated_SessionService_ListEvents_async + */ + listEventsAsync( + request?: protos.google.cloud.aiplatform.v1.IListEventsRequest, + options?: CallOptions): + AsyncIterable{ + request = request || {}; + 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 ?? '', + }); + const defaultCallSettings = this._defaults['listEvents']; + const callSettings = defaultCallSettings.merge(options); + this.initialize().catch(err => {throw err}); + this._log.info('listEvents iterate %j', request); + return this.descriptors.page.listEvents.asyncIterate( + this.innerApiCalls['listEvents'] as GaxCall, + request as {}, + callSettings + ) as AsyncIterable; + } +/** + * Gets the access control policy for a resource. Returns an empty policy + * if the resource exists and does not have a policy set. + * + * @param {Object} request + * The request object that will be sent. + * @param {string} request.resource + * REQUIRED: The resource for which the policy is being requested. + * See the operation documentation for the appropriate value for this field. + * @param {Object} [request.options] + * OPTIONAL: A `GetPolicyOptions` object for specifying options to + * `GetIamPolicy`. This field is only used by Cloud IAM. + * + * This object should have the same structure as {@link google.iam.v1.GetPolicyOptions | GetPolicyOptions}. + * @param {Object} [options] + * Optional parameters. You can override the default settings for this call, e.g, timeout, + * retries, paginations, etc. See {@link https://googleapis.github.io/gax-nodejs/interfaces/CallOptions.html | gax.CallOptions} for the details. + * @param {function(?Error, ?Object)} [callback] + * The function which will be called with the result of the API call. + * + * The second parameter to the callback is an object representing {@link google.iam.v1.Policy | Policy}. + * @returns {Promise} - The promise which resolves to an array. + * The first element of the array is an object representing {@link google.iam.v1.Policy | Policy}. + * The promise has a method named "cancel" which cancels the ongoing API call. + */ + getIamPolicy( + request: IamProtos.google.iam.v1.GetIamPolicyRequest, + options?: + | gax.CallOptions + | Callback< + IamProtos.google.iam.v1.Policy, + IamProtos.google.iam.v1.GetIamPolicyRequest | null | undefined, + {} | null | undefined + >, + callback?: Callback< + IamProtos.google.iam.v1.Policy, + IamProtos.google.iam.v1.GetIamPolicyRequest | null | undefined, + {} | null | undefined + > + ):Promise<[IamProtos.google.iam.v1.Policy]> { + return this.iamClient.getIamPolicy(request, options, callback); + } + +/** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of + * permissions, not a NOT_FOUND error. + * + * Note: This operation is designed to be used for building + * permission-aware UIs and command-line tools, not for authorization + * checking. This operation may "fail open" without warning. + * + * @param {Object} request + * The request object that will be sent. + * @param {string} request.resource + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + * @param {string[]} request.permissions + * The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more + * information see {@link https://cloud.google.com/iam/docs/overview#permissions | IAM Overview }. + * @param {Object} [options] + * Optional parameters. You can override the default settings for this call, e.g, timeout, + * retries, paginations, etc. See {@link https://googleapis.github.io/gax-nodejs/interfaces/CallOptions.html | gax.CallOptions} for the details. + * @param {function(?Error, ?Object)} [callback] + * The function which will be called with the result of the API call. + * + * The second parameter to the callback is an object representing {@link google.iam.v1.TestIamPermissionsResponse | TestIamPermissionsResponse}. + * @returns {Promise} - The promise which resolves to an array. + * The first element of the array is an object representing {@link google.iam.v1.TestIamPermissionsResponse | TestIamPermissionsResponse}. + * The promise has a method named "cancel" which cancels the ongoing API call. + */ + setIamPolicy( + request: IamProtos.google.iam.v1.SetIamPolicyRequest, + options?: + | gax.CallOptions + | Callback< + IamProtos.google.iam.v1.Policy, + IamProtos.google.iam.v1.SetIamPolicyRequest | null | undefined, + {} | null | undefined + >, + callback?: Callback< + IamProtos.google.iam.v1.Policy, + IamProtos.google.iam.v1.SetIamPolicyRequest | null | undefined, + {} | null | undefined + > + ):Promise<[IamProtos.google.iam.v1.Policy]> { + return this.iamClient.setIamPolicy(request, options, callback); + } + +/** + * Returns permissions that a caller has on the specified resource. If the + * resource does not exist, this will return an empty set of + * permissions, not a NOT_FOUND error. + * + * Note: This operation is designed to be used for building + * permission-aware UIs and command-line tools, not for authorization + * checking. This operation may "fail open" without warning. + * + * @param {Object} request + * The request object that will be sent. + * @param {string} request.resource + * REQUIRED: The resource for which the policy detail is being requested. + * See the operation documentation for the appropriate value for this field. + * @param {string[]} request.permissions + * The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more + * information see {@link https://cloud.google.com/iam/docs/overview#permissions | IAM Overview }. + * @param {Object} [options] + * Optional parameters. You can override the default settings for this call, e.g, timeout, + * retries, paginations, etc. See {@link https://googleapis.github.io/gax-nodejs/interfaces/CallOptions.html | gax.CallOptions} for the details. + * @param {function(?Error, ?Object)} [callback] + * The function which will be called with the result of the API call. + * + * The second parameter to the callback is an object representing {@link google.iam.v1.TestIamPermissionsResponse | TestIamPermissionsResponse}. + * @returns {Promise} - The promise which resolves to an array. + * The first element of the array is an object representing {@link google.iam.v1.TestIamPermissionsResponse | TestIamPermissionsResponse}. + * The promise has a method named "cancel" which cancels the ongoing API call. + * + */ + testIamPermissions( + request: IamProtos.google.iam.v1.TestIamPermissionsRequest, + options?: + | gax.CallOptions + | Callback< + IamProtos.google.iam.v1.TestIamPermissionsResponse, + IamProtos.google.iam.v1.TestIamPermissionsRequest | null | undefined, + {} | null | undefined + >, + callback?: Callback< + IamProtos.google.iam.v1.TestIamPermissionsResponse, + IamProtos.google.iam.v1.TestIamPermissionsRequest | null | undefined, + {} | null | undefined + > + ):Promise<[IamProtos.google.iam.v1.TestIamPermissionsResponse]> { + return this.iamClient.testIamPermissions(request, options, callback); + } + +/** + * Gets information about a location. + * + * @param {Object} request + * The request object that will be sent. + * @param {string} request.name + * Resource name for the location. + * @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 {@link google.cloud.location.Location | Location}. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation } + * for more details and examples. + * @example + * ``` + * const [response] = await client.getLocation(request); + * ``` + */ + getLocation( + request: LocationProtos.google.cloud.location.IGetLocationRequest, + options?: + | gax.CallOptions + | Callback< + LocationProtos.google.cloud.location.ILocation, + | LocationProtos.google.cloud.location.IGetLocationRequest + | null + | undefined, + {} | null | undefined + >, + callback?: Callback< + LocationProtos.google.cloud.location.ILocation, + | LocationProtos.google.cloud.location.IGetLocationRequest + | null + | undefined, + {} | null | undefined + > + ): Promise { + return this.locationsClient.getLocation(request, options, callback); + } + +/** + * Lists information about the supported locations for this service. Returns an iterable object. + * + * `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand. + * @param {Object} request + * The request object that will be sent. + * @param {string} request.name + * The resource that owns the locations collection, if applicable. + * @param {string} request.filter + * The standard list filter. + * @param {number} request.pageSize + * The standard list page size. + * @param {string} request.pageToken + * The standard list page token. + * @param {object} [options] + * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. + * @returns {Object} + * An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }. + * When you iterate the returned iterable, each element will be an object representing + * {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page, + * so you can stop the iteration when you don't need more results. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation } + * for more details and examples. + * @example + * ``` + * const iterable = client.listLocationsAsync(request); + * for await (const response of iterable) { + * // process response + * } + * ``` + */ + listLocationsAsync( + request: LocationProtos.google.cloud.location.IListLocationsRequest, + options?: CallOptions + ): AsyncIterable { + return this.locationsClient.listLocationsAsync(request, options); + } + +/** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * @param {Object} request - The request object that will be sent. + * @param {string} request.name - The name of the operation resource. + * @param {Object=} options + * Optional parameters. You can override the default settings for this call, + * e.g, timeout, retries, paginations, etc. See {@link + * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} + * for the details. + * @param {function(?Error, ?Object)=} callback + * The function which will be called with the result of the API call. + * + * The second parameter to the callback is an object representing + * {@link google.longrunning.Operation | google.longrunning.Operation}. + * @return {Promise} - The promise which resolves to an array. + * The first element of the array is an object representing + * {@link google.longrunning.Operation | google.longrunning.Operation}. + * The promise has a method named "cancel" which cancels the ongoing API call. + * + * @example + * ``` + * const client = longrunning.operationsClient(); + * const name = ''; + * const [response] = await client.getOperation({name}); + * // doThingsWith(response) + * ``` + */ + getOperation( + request: protos.google.longrunning.GetOperationRequest, + optionsOrCallback?: + | gax.CallOptions + | Callback< + protos.google.longrunning.Operation, + protos.google.longrunning.GetOperationRequest, + {} | null | undefined + >, + callback?: Callback< + protos.google.longrunning.Operation, + protos.google.longrunning.GetOperationRequest, + {} | null | undefined + > + ): Promise<[protos.google.longrunning.Operation]> { + let options: gax.CallOptions; + if (typeof optionsOrCallback === 'function' && callback === undefined) { + callback = optionsOrCallback; + options = {}; + } else { + options = optionsOrCallback as gax.CallOptions; + } + options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers['x-goog-request-params'] = + this._gaxModule.routingHeader.fromParams({ + name: request.name ?? '', + }); + return this.operationsClient.getOperation(request, options, callback); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object. + * + * For-await-of syntax is used with the iterable to recursively get response element on-demand. + * + * @param {Object} request - The request object that will be sent. + * @param {string} request.name - The name of the operation collection. + * @param {string} request.filter - The standard list filter. + * @param {number=} request.pageSize - + * The maximum number of resources contained in the underlying API + * response. If page streaming is performed per-resource, this + * parameter does not affect the return value. If page streaming is + * performed per-page, this determines the maximum number of + * resources in a page. + * @param {Object=} options + * Optional parameters. You can override the default settings for this call, + * e.g, timeout, retries, paginations, etc. See {@link + * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the + * details. + * @returns {Object} + * An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}. + * + * @example + * ``` + * const client = longrunning.operationsClient(); + * for await (const response of client.listOperationsAsync(request)); + * // doThingsWith(response) + * ``` + */ + listOperationsAsync( + request: protos.google.longrunning.ListOperationsRequest, + options?: gax.CallOptions + ): AsyncIterable { + options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers['x-goog-request-params'] = + this._gaxModule.routingHeader.fromParams({ + name: request.name ?? '', + }); + return this.operationsClient.listOperationsAsync(request, options); + } + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not + * guaranteed. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use + * {@link Operations.GetOperation} or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, + * the operation is not deleted; instead, it becomes an operation with + * an {@link Operation.error} value with a {@link google.rpc.Status.code} of + * 1, corresponding to `Code.CANCELLED`. + * + * @param {Object} request - The request object that will be sent. + * @param {string} request.name - The name of the operation resource to be cancelled. + * @param {Object=} options + * Optional parameters. You can override the default settings for this call, + * e.g, timeout, retries, paginations, etc. See {@link + * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the + * details. + * @param {function(?Error)=} callback + * The function which will be called with the result of the API call. + * @return {Promise} - The promise which resolves when API call finishes. + * The promise has a method named "cancel" which cancels the ongoing API + * call. + * + * @example + * ``` + * const client = longrunning.operationsClient(); + * await client.cancelOperation({name: ''}); + * ``` + */ + cancelOperation( + request: protos.google.longrunning.CancelOperationRequest, + optionsOrCallback?: + | gax.CallOptions + | Callback< + protos.google.longrunning.CancelOperationRequest, + protos.google.protobuf.Empty, + {} | undefined | null + >, + callback?: Callback< + protos.google.longrunning.CancelOperationRequest, + protos.google.protobuf.Empty, + {} | undefined | null + > + ): Promise { + let options: gax.CallOptions; + if (typeof optionsOrCallback === 'function' && callback === undefined) { + callback = optionsOrCallback; + options = {}; + } else { + options = optionsOrCallback as gax.CallOptions; + } + options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers['x-goog-request-params'] = + this._gaxModule.routingHeader.fromParams({ + name: request.name ?? '', + }); + return this.operationsClient.cancelOperation(request, options, callback); + } + + /** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * @param {Object} request - The request object that will be sent. + * @param {string} request.name - The name of the operation resource to be deleted. + * @param {Object=} options + * Optional parameters. You can override the default settings for this call, + * e.g, timeout, retries, paginations, etc. See {@link + * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} + * for the details. + * @param {function(?Error)=} callback + * The function which will be called with the result of the API call. + * @return {Promise} - The promise which resolves when API call finishes. + * The promise has a method named "cancel" which cancels the ongoing API + * call. + * + * @example + * ``` + * const client = longrunning.operationsClient(); + * await client.deleteOperation({name: ''}); + * ``` + */ + deleteOperation( + request: protos.google.longrunning.DeleteOperationRequest, + optionsOrCallback?: + | gax.CallOptions + | Callback< + protos.google.protobuf.Empty, + protos.google.longrunning.DeleteOperationRequest, + {} | null | undefined + >, + callback?: Callback< + protos.google.protobuf.Empty, + protos.google.longrunning.DeleteOperationRequest, + {} | null | undefined + > + ): Promise { + let options: gax.CallOptions; + if (typeof optionsOrCallback === 'function' && callback === undefined) { + callback = optionsOrCallback; + options = {}; + } else { + options = optionsOrCallback as gax.CallOptions; + } + options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers['x-goog-request-params'] = + this._gaxModule.routingHeader.fromParams({ + name: request.name ?? '', + }); + return this.operationsClient.deleteOperation(request, options, callback); + } + + // -------------------- + // -- Path templates -- + // -------------------- + + /** + * Return a fully-qualified annotation resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} dataset + * @param {string} data_item + * @param {string} annotation + * @returns {string} Resource name string. + */ + annotationPath(project:string,location:string,dataset:string,dataItem:string,annotation:string) { + return this.pathTemplates.annotationPathTemplate.render({ + project: project, + location: location, + dataset: dataset, + data_item: dataItem, + annotation: annotation, + }); + } + + /** + * Parse the project from Annotation resource. + * + * @param {string} annotationName + * A fully-qualified path representing Annotation resource. + * @returns {string} A string representing the project. + */ + matchProjectFromAnnotationName(annotationName: string) { + return this.pathTemplates.annotationPathTemplate.match(annotationName).project; + } + + /** + * Parse the location from Annotation resource. + * + * @param {string} annotationName + * A fully-qualified path representing Annotation resource. + * @returns {string} A string representing the location. + */ + matchLocationFromAnnotationName(annotationName: string) { + return this.pathTemplates.annotationPathTemplate.match(annotationName).location; + } + + /** + * Parse the dataset from Annotation resource. + * + * @param {string} annotationName + * A fully-qualified path representing Annotation resource. + * @returns {string} A string representing the dataset. + */ + matchDatasetFromAnnotationName(annotationName: string) { + return this.pathTemplates.annotationPathTemplate.match(annotationName).dataset; + } + + /** + * Parse the data_item from Annotation resource. + * + * @param {string} annotationName + * A fully-qualified path representing Annotation resource. + * @returns {string} A string representing the data_item. + */ + matchDataItemFromAnnotationName(annotationName: string) { + return this.pathTemplates.annotationPathTemplate.match(annotationName).data_item; + } + + /** + * Parse the annotation from Annotation resource. + * + * @param {string} annotationName + * A fully-qualified path representing Annotation resource. + * @returns {string} A string representing the annotation. + */ + matchAnnotationFromAnnotationName(annotationName: string) { + return this.pathTemplates.annotationPathTemplate.match(annotationName).annotation; + } + + /** + * Return a fully-qualified annotationSpec resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} dataset + * @param {string} annotation_spec + * @returns {string} Resource name string. + */ + annotationSpecPath(project:string,location:string,dataset:string,annotationSpec:string) { + return this.pathTemplates.annotationSpecPathTemplate.render({ + project: project, + location: location, + dataset: dataset, + annotation_spec: annotationSpec, + }); + } + + /** + * Parse the project from AnnotationSpec resource. + * + * @param {string} annotationSpecName + * A fully-qualified path representing AnnotationSpec resource. + * @returns {string} A string representing the project. + */ + matchProjectFromAnnotationSpecName(annotationSpecName: string) { + return this.pathTemplates.annotationSpecPathTemplate.match(annotationSpecName).project; + } + + /** + * Parse the location from AnnotationSpec resource. + * + * @param {string} annotationSpecName + * A fully-qualified path representing AnnotationSpec resource. + * @returns {string} A string representing the location. + */ + matchLocationFromAnnotationSpecName(annotationSpecName: string) { + return this.pathTemplates.annotationSpecPathTemplate.match(annotationSpecName).location; + } + + /** + * Parse the dataset from AnnotationSpec resource. + * + * @param {string} annotationSpecName + * A fully-qualified path representing AnnotationSpec resource. + * @returns {string} A string representing the dataset. + */ + matchDatasetFromAnnotationSpecName(annotationSpecName: string) { + return this.pathTemplates.annotationSpecPathTemplate.match(annotationSpecName).dataset; + } + + /** + * Parse the annotation_spec from AnnotationSpec resource. + * + * @param {string} annotationSpecName + * A fully-qualified path representing AnnotationSpec resource. + * @returns {string} A string representing the annotation_spec. + */ + matchAnnotationSpecFromAnnotationSpecName(annotationSpecName: string) { + return this.pathTemplates.annotationSpecPathTemplate.match(annotationSpecName).annotation_spec; + } + + /** + * Return a fully-qualified artifact resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} metadata_store + * @param {string} artifact + * @returns {string} Resource name string. + */ + artifactPath(project:string,location:string,metadataStore:string,artifact:string) { + return this.pathTemplates.artifactPathTemplate.render({ + project: project, + location: location, + metadata_store: metadataStore, + artifact: artifact, + }); + } + + /** + * Parse the project from Artifact resource. + * + * @param {string} artifactName + * A fully-qualified path representing Artifact resource. + * @returns {string} A string representing the project. + */ + matchProjectFromArtifactName(artifactName: string) { + return this.pathTemplates.artifactPathTemplate.match(artifactName).project; + } + + /** + * Parse the location from Artifact resource. + * + * @param {string} artifactName + * A fully-qualified path representing Artifact resource. + * @returns {string} A string representing the location. + */ + matchLocationFromArtifactName(artifactName: string) { + return this.pathTemplates.artifactPathTemplate.match(artifactName).location; + } + + /** + * Parse the metadata_store from Artifact resource. + * + * @param {string} artifactName + * A fully-qualified path representing Artifact resource. + * @returns {string} A string representing the metadata_store. + */ + matchMetadataStoreFromArtifactName(artifactName: string) { + return this.pathTemplates.artifactPathTemplate.match(artifactName).metadata_store; + } + + /** + * Parse the artifact from Artifact resource. + * + * @param {string} artifactName + * A fully-qualified path representing Artifact resource. + * @returns {string} A string representing the artifact. + */ + matchArtifactFromArtifactName(artifactName: string) { + return this.pathTemplates.artifactPathTemplate.match(artifactName).artifact; + } + + /** + * Return a fully-qualified batchPredictionJob resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} batch_prediction_job + * @returns {string} Resource name string. + */ + batchPredictionJobPath(project:string,location:string,batchPredictionJob:string) { + return this.pathTemplates.batchPredictionJobPathTemplate.render({ + project: project, + location: location, + batch_prediction_job: batchPredictionJob, + }); + } + + /** + * Parse the project from BatchPredictionJob resource. + * + * @param {string} batchPredictionJobName + * A fully-qualified path representing BatchPredictionJob resource. + * @returns {string} A string representing the project. + */ + matchProjectFromBatchPredictionJobName(batchPredictionJobName: string) { + return this.pathTemplates.batchPredictionJobPathTemplate.match(batchPredictionJobName).project; + } + + /** + * Parse the location from BatchPredictionJob resource. + * + * @param {string} batchPredictionJobName + * A fully-qualified path representing BatchPredictionJob resource. + * @returns {string} A string representing the location. + */ + matchLocationFromBatchPredictionJobName(batchPredictionJobName: string) { + return this.pathTemplates.batchPredictionJobPathTemplate.match(batchPredictionJobName).location; + } + + /** + * Parse the batch_prediction_job from BatchPredictionJob resource. + * + * @param {string} batchPredictionJobName + * A fully-qualified path representing BatchPredictionJob resource. + * @returns {string} A string representing the batch_prediction_job. + */ + matchBatchPredictionJobFromBatchPredictionJobName(batchPredictionJobName: string) { + return this.pathTemplates.batchPredictionJobPathTemplate.match(batchPredictionJobName).batch_prediction_job; + } + + /** + * Return a fully-qualified cachedContent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} cached_content + * @returns {string} Resource name string. + */ + cachedContentPath(project:string,location:string,cachedContent:string) { + return this.pathTemplates.cachedContentPathTemplate.render({ + project: project, + location: location, + cached_content: cachedContent, + }); + } + + /** + * Parse the project from CachedContent resource. + * + * @param {string} cachedContentName + * A fully-qualified path representing CachedContent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromCachedContentName(cachedContentName: string) { + return this.pathTemplates.cachedContentPathTemplate.match(cachedContentName).project; + } + + /** + * Parse the location from CachedContent resource. + * + * @param {string} cachedContentName + * A fully-qualified path representing CachedContent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromCachedContentName(cachedContentName: string) { + return this.pathTemplates.cachedContentPathTemplate.match(cachedContentName).location; + } + + /** + * Parse the cached_content from CachedContent resource. + * + * @param {string} cachedContentName + * A fully-qualified path representing CachedContent resource. + * @returns {string} A string representing the cached_content. + */ + matchCachedContentFromCachedContentName(cachedContentName: string) { + return this.pathTemplates.cachedContentPathTemplate.match(cachedContentName).cached_content; + } + + /** + * Return a fully-qualified context resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} metadata_store + * @param {string} context + * @returns {string} Resource name string. + */ + contextPath(project:string,location:string,metadataStore:string,context:string) { + return this.pathTemplates.contextPathTemplate.render({ + project: project, + location: location, + metadata_store: metadataStore, + context: context, + }); + } + + /** + * Parse the project from Context resource. + * + * @param {string} contextName + * A fully-qualified path representing Context resource. + * @returns {string} A string representing the project. + */ + matchProjectFromContextName(contextName: string) { + return this.pathTemplates.contextPathTemplate.match(contextName).project; + } + + /** + * Parse the location from Context resource. + * + * @param {string} contextName + * A fully-qualified path representing Context resource. + * @returns {string} A string representing the location. + */ + matchLocationFromContextName(contextName: string) { + return this.pathTemplates.contextPathTemplate.match(contextName).location; + } + + /** + * Parse the metadata_store from Context resource. + * + * @param {string} contextName + * A fully-qualified path representing Context resource. + * @returns {string} A string representing the metadata_store. + */ + matchMetadataStoreFromContextName(contextName: string) { + return this.pathTemplates.contextPathTemplate.match(contextName).metadata_store; + } + + /** + * Parse the context from Context resource. + * + * @param {string} contextName + * A fully-qualified path representing Context resource. + * @returns {string} A string representing the context. + */ + matchContextFromContextName(contextName: string) { + return this.pathTemplates.contextPathTemplate.match(contextName).context; + } + + /** + * Return a fully-qualified customJob resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} custom_job + * @returns {string} Resource name string. + */ + customJobPath(project:string,location:string,customJob:string) { + return this.pathTemplates.customJobPathTemplate.render({ + project: project, + location: location, + custom_job: customJob, + }); + } + + /** + * Parse the project from CustomJob resource. + * + * @param {string} customJobName + * A fully-qualified path representing CustomJob resource. + * @returns {string} A string representing the project. + */ + matchProjectFromCustomJobName(customJobName: string) { + return this.pathTemplates.customJobPathTemplate.match(customJobName).project; + } + + /** + * Parse the location from CustomJob resource. + * + * @param {string} customJobName + * A fully-qualified path representing CustomJob resource. + * @returns {string} A string representing the location. + */ + matchLocationFromCustomJobName(customJobName: string) { + return this.pathTemplates.customJobPathTemplate.match(customJobName).location; + } + + /** + * Parse the custom_job from CustomJob resource. + * + * @param {string} customJobName + * A fully-qualified path representing CustomJob resource. + * @returns {string} A string representing the custom_job. + */ + matchCustomJobFromCustomJobName(customJobName: string) { + return this.pathTemplates.customJobPathTemplate.match(customJobName).custom_job; + } + + /** + * Return a fully-qualified dataItem resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} dataset + * @param {string} data_item + * @returns {string} Resource name string. + */ + dataItemPath(project:string,location:string,dataset:string,dataItem:string) { + return this.pathTemplates.dataItemPathTemplate.render({ + project: project, + location: location, + dataset: dataset, + data_item: dataItem, + }); + } + + /** + * Parse the project from DataItem resource. + * + * @param {string} dataItemName + * A fully-qualified path representing DataItem resource. + * @returns {string} A string representing the project. + */ + matchProjectFromDataItemName(dataItemName: string) { + return this.pathTemplates.dataItemPathTemplate.match(dataItemName).project; + } + + /** + * Parse the location from DataItem resource. + * + * @param {string} dataItemName + * A fully-qualified path representing DataItem resource. + * @returns {string} A string representing the location. + */ + matchLocationFromDataItemName(dataItemName: string) { + return this.pathTemplates.dataItemPathTemplate.match(dataItemName).location; + } + + /** + * Parse the dataset from DataItem resource. + * + * @param {string} dataItemName + * A fully-qualified path representing DataItem resource. + * @returns {string} A string representing the dataset. + */ + matchDatasetFromDataItemName(dataItemName: string) { + return this.pathTemplates.dataItemPathTemplate.match(dataItemName).dataset; + } + + /** + * Parse the data_item from DataItem resource. + * + * @param {string} dataItemName + * A fully-qualified path representing DataItem resource. + * @returns {string} A string representing the data_item. + */ + matchDataItemFromDataItemName(dataItemName: string) { + return this.pathTemplates.dataItemPathTemplate.match(dataItemName).data_item; + } + + /** + * Return a fully-qualified dataLabelingJob resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} data_labeling_job + * @returns {string} Resource name string. + */ + dataLabelingJobPath(project:string,location:string,dataLabelingJob:string) { + return this.pathTemplates.dataLabelingJobPathTemplate.render({ + project: project, + location: location, + data_labeling_job: dataLabelingJob, + }); + } + + /** + * Parse the project from DataLabelingJob resource. + * + * @param {string} dataLabelingJobName + * A fully-qualified path representing DataLabelingJob resource. + * @returns {string} A string representing the project. + */ + matchProjectFromDataLabelingJobName(dataLabelingJobName: string) { + return this.pathTemplates.dataLabelingJobPathTemplate.match(dataLabelingJobName).project; + } + + /** + * Parse the location from DataLabelingJob resource. + * + * @param {string} dataLabelingJobName + * A fully-qualified path representing DataLabelingJob resource. + * @returns {string} A string representing the location. + */ + matchLocationFromDataLabelingJobName(dataLabelingJobName: string) { + return this.pathTemplates.dataLabelingJobPathTemplate.match(dataLabelingJobName).location; + } + + /** + * Parse the data_labeling_job from DataLabelingJob resource. + * + * @param {string} dataLabelingJobName + * A fully-qualified path representing DataLabelingJob resource. + * @returns {string} A string representing the data_labeling_job. + */ + matchDataLabelingJobFromDataLabelingJobName(dataLabelingJobName: string) { + return this.pathTemplates.dataLabelingJobPathTemplate.match(dataLabelingJobName).data_labeling_job; + } + + /** + * Return a fully-qualified dataset resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} dataset + * @returns {string} Resource name string. + */ + datasetPath(project:string,location:string,dataset:string) { + return this.pathTemplates.datasetPathTemplate.render({ + project: project, + location: location, + dataset: dataset, + }); + } + + /** + * Parse the project from Dataset resource. + * + * @param {string} datasetName + * A fully-qualified path representing Dataset resource. + * @returns {string} A string representing the project. + */ + matchProjectFromDatasetName(datasetName: string) { + return this.pathTemplates.datasetPathTemplate.match(datasetName).project; + } + + /** + * Parse the location from Dataset resource. + * + * @param {string} datasetName + * A fully-qualified path representing Dataset resource. + * @returns {string} A string representing the location. + */ + matchLocationFromDatasetName(datasetName: string) { + return this.pathTemplates.datasetPathTemplate.match(datasetName).location; + } + + /** + * Parse the dataset from Dataset resource. + * + * @param {string} datasetName + * A fully-qualified path representing Dataset resource. + * @returns {string} A string representing the dataset. + */ + matchDatasetFromDatasetName(datasetName: string) { + return this.pathTemplates.datasetPathTemplate.match(datasetName).dataset; + } + + /** + * Return a fully-qualified datasetVersion resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} dataset + * @param {string} dataset_version + * @returns {string} Resource name string. + */ + datasetVersionPath(project:string,location:string,dataset:string,datasetVersion:string) { + return this.pathTemplates.datasetVersionPathTemplate.render({ + project: project, + location: location, + dataset: dataset, + dataset_version: datasetVersion, + }); + } + + /** + * Parse the project from DatasetVersion resource. + * + * @param {string} datasetVersionName + * A fully-qualified path representing DatasetVersion resource. + * @returns {string} A string representing the project. + */ + matchProjectFromDatasetVersionName(datasetVersionName: string) { + return this.pathTemplates.datasetVersionPathTemplate.match(datasetVersionName).project; + } + + /** + * Parse the location from DatasetVersion resource. + * + * @param {string} datasetVersionName + * A fully-qualified path representing DatasetVersion resource. + * @returns {string} A string representing the location. + */ + matchLocationFromDatasetVersionName(datasetVersionName: string) { + return this.pathTemplates.datasetVersionPathTemplate.match(datasetVersionName).location; + } + + /** + * Parse the dataset from DatasetVersion resource. + * + * @param {string} datasetVersionName + * A fully-qualified path representing DatasetVersion resource. + * @returns {string} A string representing the dataset. + */ + matchDatasetFromDatasetVersionName(datasetVersionName: string) { + return this.pathTemplates.datasetVersionPathTemplate.match(datasetVersionName).dataset; + } + + /** + * Parse the dataset_version from DatasetVersion resource. + * + * @param {string} datasetVersionName + * A fully-qualified path representing DatasetVersion resource. + * @returns {string} A string representing the dataset_version. + */ + matchDatasetVersionFromDatasetVersionName(datasetVersionName: string) { + return this.pathTemplates.datasetVersionPathTemplate.match(datasetVersionName).dataset_version; + } + + /** + * Return a fully-qualified deploymentResourcePool resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} deployment_resource_pool + * @returns {string} Resource name string. + */ + deploymentResourcePoolPath(project:string,location:string,deploymentResourcePool:string) { + return this.pathTemplates.deploymentResourcePoolPathTemplate.render({ + project: project, + location: location, + deployment_resource_pool: deploymentResourcePool, + }); + } + + /** + * Parse the project from DeploymentResourcePool resource. + * + * @param {string} deploymentResourcePoolName + * A fully-qualified path representing DeploymentResourcePool resource. + * @returns {string} A string representing the project. + */ + matchProjectFromDeploymentResourcePoolName(deploymentResourcePoolName: string) { + return this.pathTemplates.deploymentResourcePoolPathTemplate.match(deploymentResourcePoolName).project; + } + + /** + * Parse the location from DeploymentResourcePool resource. + * + * @param {string} deploymentResourcePoolName + * A fully-qualified path representing DeploymentResourcePool resource. + * @returns {string} A string representing the location. + */ + matchLocationFromDeploymentResourcePoolName(deploymentResourcePoolName: string) { + return this.pathTemplates.deploymentResourcePoolPathTemplate.match(deploymentResourcePoolName).location; + } + + /** + * Parse the deployment_resource_pool from DeploymentResourcePool resource. + * + * @param {string} deploymentResourcePoolName + * A fully-qualified path representing DeploymentResourcePool resource. + * @returns {string} A string representing the deployment_resource_pool. + */ + matchDeploymentResourcePoolFromDeploymentResourcePoolName(deploymentResourcePoolName: string) { + return this.pathTemplates.deploymentResourcePoolPathTemplate.match(deploymentResourcePoolName).deployment_resource_pool; + } + + /** + * Return a fully-qualified entityType resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} featurestore + * @param {string} entity_type + * @returns {string} Resource name string. + */ + entityTypePath(project:string,location:string,featurestore:string,entityType:string) { + return this.pathTemplates.entityTypePathTemplate.render({ + project: project, + location: location, + featurestore: featurestore, + entity_type: entityType, + }); + } + + /** + * Parse the project from EntityType resource. + * + * @param {string} entityTypeName + * A fully-qualified path representing EntityType resource. + * @returns {string} A string representing the project. + */ + matchProjectFromEntityTypeName(entityTypeName: string) { + return this.pathTemplates.entityTypePathTemplate.match(entityTypeName).project; + } + + /** + * Parse the location from EntityType resource. + * + * @param {string} entityTypeName + * A fully-qualified path representing EntityType resource. + * @returns {string} A string representing the location. + */ + matchLocationFromEntityTypeName(entityTypeName: string) { + return this.pathTemplates.entityTypePathTemplate.match(entityTypeName).location; + } + + /** + * Parse the featurestore from EntityType resource. + * + * @param {string} entityTypeName + * A fully-qualified path representing EntityType resource. + * @returns {string} A string representing the featurestore. + */ + matchFeaturestoreFromEntityTypeName(entityTypeName: string) { + return this.pathTemplates.entityTypePathTemplate.match(entityTypeName).featurestore; + } + + /** + * Parse the entity_type from EntityType resource. + * + * @param {string} entityTypeName + * A fully-qualified path representing EntityType resource. + * @returns {string} A string representing the entity_type. + */ + matchEntityTypeFromEntityTypeName(entityTypeName: string) { + return this.pathTemplates.entityTypePathTemplate.match(entityTypeName).entity_type; + } + + /** + * Return a fully-qualified execution resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} metadata_store + * @param {string} execution + * @returns {string} Resource name string. + */ + executionPath(project:string,location:string,metadataStore:string,execution:string) { + return this.pathTemplates.executionPathTemplate.render({ + project: project, + location: location, + metadata_store: metadataStore, + execution: execution, + }); + } + + /** + * Parse the project from Execution resource. + * + * @param {string} executionName + * A fully-qualified path representing Execution resource. + * @returns {string} A string representing the project. + */ + matchProjectFromExecutionName(executionName: string) { + return this.pathTemplates.executionPathTemplate.match(executionName).project; + } + + /** + * Parse the location from Execution resource. + * + * @param {string} executionName + * A fully-qualified path representing Execution resource. + * @returns {string} A string representing the location. + */ + matchLocationFromExecutionName(executionName: string) { + return this.pathTemplates.executionPathTemplate.match(executionName).location; + } + + /** + * Parse the metadata_store from Execution resource. + * + * @param {string} executionName + * A fully-qualified path representing Execution resource. + * @returns {string} A string representing the metadata_store. + */ + matchMetadataStoreFromExecutionName(executionName: string) { + return this.pathTemplates.executionPathTemplate.match(executionName).metadata_store; + } + + /** + * Parse the execution from Execution resource. + * + * @param {string} executionName + * A fully-qualified path representing Execution resource. + * @returns {string} A string representing the execution. + */ + matchExecutionFromExecutionName(executionName: string) { + return this.pathTemplates.executionPathTemplate.match(executionName).execution; + } + + /** + * Return a fully-qualified featureGroup resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} feature_group + * @returns {string} Resource name string. + */ + featureGroupPath(project:string,location:string,featureGroup:string) { + return this.pathTemplates.featureGroupPathTemplate.render({ + project: project, + location: location, + feature_group: featureGroup, + }); + } + + /** + * Parse the project from FeatureGroup resource. + * + * @param {string} featureGroupName + * A fully-qualified path representing FeatureGroup resource. + * @returns {string} A string representing the project. + */ + matchProjectFromFeatureGroupName(featureGroupName: string) { + return this.pathTemplates.featureGroupPathTemplate.match(featureGroupName).project; + } + + /** + * Parse the location from FeatureGroup resource. + * + * @param {string} featureGroupName + * A fully-qualified path representing FeatureGroup resource. + * @returns {string} A string representing the location. + */ + matchLocationFromFeatureGroupName(featureGroupName: string) { + return this.pathTemplates.featureGroupPathTemplate.match(featureGroupName).location; + } + + /** + * Parse the feature_group from FeatureGroup resource. + * + * @param {string} featureGroupName + * A fully-qualified path representing FeatureGroup resource. + * @returns {string} A string representing the feature_group. + */ + matchFeatureGroupFromFeatureGroupName(featureGroupName: string) { + return this.pathTemplates.featureGroupPathTemplate.match(featureGroupName).feature_group; + } + + /** + * Return a fully-qualified featureOnlineStore resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} feature_online_store + * @returns {string} Resource name string. + */ + featureOnlineStorePath(project:string,location:string,featureOnlineStore:string) { + return this.pathTemplates.featureOnlineStorePathTemplate.render({ + project: project, + location: location, + feature_online_store: featureOnlineStore, + }); + } + + /** + * Parse the project from FeatureOnlineStore resource. + * + * @param {string} featureOnlineStoreName + * A fully-qualified path representing FeatureOnlineStore resource. + * @returns {string} A string representing the project. + */ + matchProjectFromFeatureOnlineStoreName(featureOnlineStoreName: string) { + return this.pathTemplates.featureOnlineStorePathTemplate.match(featureOnlineStoreName).project; + } + + /** + * Parse the location from FeatureOnlineStore resource. + * + * @param {string} featureOnlineStoreName + * A fully-qualified path representing FeatureOnlineStore resource. + * @returns {string} A string representing the location. + */ + matchLocationFromFeatureOnlineStoreName(featureOnlineStoreName: string) { + return this.pathTemplates.featureOnlineStorePathTemplate.match(featureOnlineStoreName).location; + } + + /** + * Parse the feature_online_store from FeatureOnlineStore resource. + * + * @param {string} featureOnlineStoreName + * A fully-qualified path representing FeatureOnlineStore resource. + * @returns {string} A string representing the feature_online_store. + */ + matchFeatureOnlineStoreFromFeatureOnlineStoreName(featureOnlineStoreName: string) { + return this.pathTemplates.featureOnlineStorePathTemplate.match(featureOnlineStoreName).feature_online_store; + } + + /** + * Return a fully-qualified featureView resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} feature_online_store + * @param {string} feature_view + * @returns {string} Resource name string. + */ + featureViewPath(project:string,location:string,featureOnlineStore:string,featureView:string) { + return this.pathTemplates.featureViewPathTemplate.render({ + project: project, + location: location, + feature_online_store: featureOnlineStore, + feature_view: featureView, + }); + } + + /** + * Parse the project from FeatureView resource. + * + * @param {string} featureViewName + * A fully-qualified path representing FeatureView resource. + * @returns {string} A string representing the project. + */ + matchProjectFromFeatureViewName(featureViewName: string) { + return this.pathTemplates.featureViewPathTemplate.match(featureViewName).project; + } + + /** + * Parse the location from FeatureView resource. + * + * @param {string} featureViewName + * A fully-qualified path representing FeatureView resource. + * @returns {string} A string representing the location. + */ + matchLocationFromFeatureViewName(featureViewName: string) { + return this.pathTemplates.featureViewPathTemplate.match(featureViewName).location; + } + + /** + * Parse the feature_online_store from FeatureView resource. + * + * @param {string} featureViewName + * A fully-qualified path representing FeatureView resource. + * @returns {string} A string representing the feature_online_store. + */ + matchFeatureOnlineStoreFromFeatureViewName(featureViewName: string) { + return this.pathTemplates.featureViewPathTemplate.match(featureViewName).feature_online_store; + } + + /** + * Parse the feature_view from FeatureView resource. + * + * @param {string} featureViewName + * A fully-qualified path representing FeatureView resource. + * @returns {string} A string representing the feature_view. + */ + matchFeatureViewFromFeatureViewName(featureViewName: string) { + return this.pathTemplates.featureViewPathTemplate.match(featureViewName).feature_view; + } + + /** + * Return a fully-qualified featureViewSync resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} feature_online_store + * @param {string} feature_view + * @returns {string} Resource name string. + */ + featureViewSyncPath(project:string,location:string,featureOnlineStore:string,featureView:string) { + return this.pathTemplates.featureViewSyncPathTemplate.render({ + project: project, + location: location, + feature_online_store: featureOnlineStore, + feature_view: featureView, + }); + } + + /** + * Parse the project from FeatureViewSync resource. + * + * @param {string} featureViewSyncName + * A fully-qualified path representing FeatureViewSync resource. + * @returns {string} A string representing the project. + */ + matchProjectFromFeatureViewSyncName(featureViewSyncName: string) { + return this.pathTemplates.featureViewSyncPathTemplate.match(featureViewSyncName).project; + } + + /** + * Parse the location from FeatureViewSync resource. + * + * @param {string} featureViewSyncName + * A fully-qualified path representing FeatureViewSync resource. + * @returns {string} A string representing the location. + */ + matchLocationFromFeatureViewSyncName(featureViewSyncName: string) { + return this.pathTemplates.featureViewSyncPathTemplate.match(featureViewSyncName).location; + } + + /** + * Parse the feature_online_store from FeatureViewSync resource. + * + * @param {string} featureViewSyncName + * A fully-qualified path representing FeatureViewSync resource. + * @returns {string} A string representing the feature_online_store. + */ + matchFeatureOnlineStoreFromFeatureViewSyncName(featureViewSyncName: string) { + return this.pathTemplates.featureViewSyncPathTemplate.match(featureViewSyncName).feature_online_store; + } + + /** + * Parse the feature_view from FeatureViewSync resource. + * + * @param {string} featureViewSyncName + * A fully-qualified path representing FeatureViewSync resource. + * @returns {string} A string representing the feature_view. + */ + matchFeatureViewFromFeatureViewSyncName(featureViewSyncName: string) { + return this.pathTemplates.featureViewSyncPathTemplate.match(featureViewSyncName).feature_view; + } + + /** + * Return a fully-qualified featurestore resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} featurestore + * @returns {string} Resource name string. + */ + featurestorePath(project:string,location:string,featurestore:string) { + return this.pathTemplates.featurestorePathTemplate.render({ + project: project, + location: location, + featurestore: featurestore, + }); + } + + /** + * Parse the project from Featurestore resource. + * + * @param {string} featurestoreName + * A fully-qualified path representing Featurestore resource. + * @returns {string} A string representing the project. + */ + matchProjectFromFeaturestoreName(featurestoreName: string) { + return this.pathTemplates.featurestorePathTemplate.match(featurestoreName).project; + } + + /** + * Parse the location from Featurestore resource. + * + * @param {string} featurestoreName + * A fully-qualified path representing Featurestore resource. + * @returns {string} A string representing the location. + */ + matchLocationFromFeaturestoreName(featurestoreName: string) { + return this.pathTemplates.featurestorePathTemplate.match(featurestoreName).location; + } + + /** + * Parse the featurestore from Featurestore resource. + * + * @param {string} featurestoreName + * A fully-qualified path representing Featurestore resource. + * @returns {string} A string representing the featurestore. + */ + matchFeaturestoreFromFeaturestoreName(featurestoreName: string) { + return this.pathTemplates.featurestorePathTemplate.match(featurestoreName).featurestore; + } + + /** + * Return a fully-qualified hyperparameterTuningJob resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} hyperparameter_tuning_job + * @returns {string} Resource name string. + */ + hyperparameterTuningJobPath(project:string,location:string,hyperparameterTuningJob:string) { + return this.pathTemplates.hyperparameterTuningJobPathTemplate.render({ + project: project, + location: location, + hyperparameter_tuning_job: hyperparameterTuningJob, + }); + } + + /** + * Parse the project from HyperparameterTuningJob resource. + * + * @param {string} hyperparameterTuningJobName + * A fully-qualified path representing HyperparameterTuningJob resource. + * @returns {string} A string representing the project. + */ + matchProjectFromHyperparameterTuningJobName(hyperparameterTuningJobName: string) { + return this.pathTemplates.hyperparameterTuningJobPathTemplate.match(hyperparameterTuningJobName).project; + } + + /** + * Parse the location from HyperparameterTuningJob resource. + * + * @param {string} hyperparameterTuningJobName + * A fully-qualified path representing HyperparameterTuningJob resource. + * @returns {string} A string representing the location. + */ + matchLocationFromHyperparameterTuningJobName(hyperparameterTuningJobName: string) { + return this.pathTemplates.hyperparameterTuningJobPathTemplate.match(hyperparameterTuningJobName).location; + } + + /** + * Parse the hyperparameter_tuning_job from HyperparameterTuningJob resource. + * + * @param {string} hyperparameterTuningJobName + * A fully-qualified path representing HyperparameterTuningJob resource. + * @returns {string} A string representing the hyperparameter_tuning_job. + */ + matchHyperparameterTuningJobFromHyperparameterTuningJobName(hyperparameterTuningJobName: string) { + return this.pathTemplates.hyperparameterTuningJobPathTemplate.match(hyperparameterTuningJobName).hyperparameter_tuning_job; + } + + /** + * Return a fully-qualified index resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} index + * @returns {string} Resource name string. + */ + indexPath(project:string,location:string,index:string) { + return this.pathTemplates.indexPathTemplate.render({ + project: project, + location: location, + index: index, + }); + } + + /** + * Parse the project from Index resource. + * + * @param {string} indexName + * A fully-qualified path representing Index resource. + * @returns {string} A string representing the project. + */ + matchProjectFromIndexName(indexName: string) { + return this.pathTemplates.indexPathTemplate.match(indexName).project; + } + + /** + * Parse the location from Index resource. + * + * @param {string} indexName + * A fully-qualified path representing Index resource. + * @returns {string} A string representing the location. + */ + matchLocationFromIndexName(indexName: string) { + return this.pathTemplates.indexPathTemplate.match(indexName).location; + } + + /** + * Parse the index from Index resource. + * + * @param {string} indexName + * A fully-qualified path representing Index resource. + * @returns {string} A string representing the index. + */ + matchIndexFromIndexName(indexName: string) { + return this.pathTemplates.indexPathTemplate.match(indexName).index; + } + + /** + * Return a fully-qualified indexEndpoint resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} index_endpoint + * @returns {string} Resource name string. + */ + indexEndpointPath(project:string,location:string,indexEndpoint:string) { + return this.pathTemplates.indexEndpointPathTemplate.render({ + project: project, + location: location, + index_endpoint: indexEndpoint, + }); + } + + /** + * Parse the project from IndexEndpoint resource. + * + * @param {string} indexEndpointName + * A fully-qualified path representing IndexEndpoint resource. + * @returns {string} A string representing the project. + */ + matchProjectFromIndexEndpointName(indexEndpointName: string) { + return this.pathTemplates.indexEndpointPathTemplate.match(indexEndpointName).project; + } + + /** + * Parse the location from IndexEndpoint resource. + * + * @param {string} indexEndpointName + * A fully-qualified path representing IndexEndpoint resource. + * @returns {string} A string representing the location. + */ + matchLocationFromIndexEndpointName(indexEndpointName: string) { + return this.pathTemplates.indexEndpointPathTemplate.match(indexEndpointName).location; + } + + /** + * Parse the index_endpoint from IndexEndpoint resource. + * + * @param {string} indexEndpointName + * A fully-qualified path representing IndexEndpoint resource. + * @returns {string} A string representing the index_endpoint. + */ + matchIndexEndpointFromIndexEndpointName(indexEndpointName: string) { + return this.pathTemplates.indexEndpointPathTemplate.match(indexEndpointName).index_endpoint; + } + + /** + * Return a fully-qualified metadataSchema resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} metadata_store + * @param {string} metadata_schema + * @returns {string} Resource name string. + */ + metadataSchemaPath(project:string,location:string,metadataStore:string,metadataSchema:string) { + return this.pathTemplates.metadataSchemaPathTemplate.render({ + project: project, + location: location, + metadata_store: metadataStore, + metadata_schema: metadataSchema, + }); + } + + /** + * Parse the project from MetadataSchema resource. + * + * @param {string} metadataSchemaName + * A fully-qualified path representing MetadataSchema resource. + * @returns {string} A string representing the project. + */ + matchProjectFromMetadataSchemaName(metadataSchemaName: string) { + return this.pathTemplates.metadataSchemaPathTemplate.match(metadataSchemaName).project; + } + + /** + * Parse the location from MetadataSchema resource. + * + * @param {string} metadataSchemaName + * A fully-qualified path representing MetadataSchema resource. + * @returns {string} A string representing the location. + */ + matchLocationFromMetadataSchemaName(metadataSchemaName: string) { + return this.pathTemplates.metadataSchemaPathTemplate.match(metadataSchemaName).location; + } + + /** + * Parse the metadata_store from MetadataSchema resource. + * + * @param {string} metadataSchemaName + * A fully-qualified path representing MetadataSchema resource. + * @returns {string} A string representing the metadata_store. + */ + matchMetadataStoreFromMetadataSchemaName(metadataSchemaName: string) { + return this.pathTemplates.metadataSchemaPathTemplate.match(metadataSchemaName).metadata_store; + } + + /** + * Parse the metadata_schema from MetadataSchema resource. + * + * @param {string} metadataSchemaName + * A fully-qualified path representing MetadataSchema resource. + * @returns {string} A string representing the metadata_schema. + */ + matchMetadataSchemaFromMetadataSchemaName(metadataSchemaName: string) { + return this.pathTemplates.metadataSchemaPathTemplate.match(metadataSchemaName).metadata_schema; + } + + /** + * Return a fully-qualified metadataStore resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} metadata_store + * @returns {string} Resource name string. + */ + metadataStorePath(project:string,location:string,metadataStore:string) { + return this.pathTemplates.metadataStorePathTemplate.render({ + project: project, + location: location, + metadata_store: metadataStore, + }); + } + + /** + * Parse the project from MetadataStore resource. + * + * @param {string} metadataStoreName + * A fully-qualified path representing MetadataStore resource. + * @returns {string} A string representing the project. + */ + matchProjectFromMetadataStoreName(metadataStoreName: string) { + return this.pathTemplates.metadataStorePathTemplate.match(metadataStoreName).project; + } + + /** + * Parse the location from MetadataStore resource. + * + * @param {string} metadataStoreName + * A fully-qualified path representing MetadataStore resource. + * @returns {string} A string representing the location. + */ + matchLocationFromMetadataStoreName(metadataStoreName: string) { + return this.pathTemplates.metadataStorePathTemplate.match(metadataStoreName).location; + } + + /** + * Parse the metadata_store from MetadataStore resource. + * + * @param {string} metadataStoreName + * A fully-qualified path representing MetadataStore resource. + * @returns {string} A string representing the metadata_store. + */ + matchMetadataStoreFromMetadataStoreName(metadataStoreName: string) { + return this.pathTemplates.metadataStorePathTemplate.match(metadataStoreName).metadata_store; + } + + /** + * Return a fully-qualified model resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} model + * @returns {string} Resource name string. + */ + modelPath(project:string,location:string,model:string) { + return this.pathTemplates.modelPathTemplate.render({ + project: project, + location: location, + model: model, + }); + } + + /** + * Parse the project from Model resource. + * + * @param {string} modelName + * A fully-qualified path representing Model resource. + * @returns {string} A string representing the project. + */ + matchProjectFromModelName(modelName: string) { + return this.pathTemplates.modelPathTemplate.match(modelName).project; + } + + /** + * Parse the location from Model resource. + * + * @param {string} modelName + * A fully-qualified path representing Model resource. + * @returns {string} A string representing the location. + */ + matchLocationFromModelName(modelName: string) { + return this.pathTemplates.modelPathTemplate.match(modelName).location; + } + + /** + * Parse the model from Model resource. + * + * @param {string} modelName + * A fully-qualified path representing Model resource. + * @returns {string} A string representing the model. + */ + matchModelFromModelName(modelName: string) { + return this.pathTemplates.modelPathTemplate.match(modelName).model; + } + + /** + * Return a fully-qualified modelDeploymentMonitoringJob resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} model_deployment_monitoring_job + * @returns {string} Resource name string. + */ + modelDeploymentMonitoringJobPath(project:string,location:string,modelDeploymentMonitoringJob:string) { + return this.pathTemplates.modelDeploymentMonitoringJobPathTemplate.render({ + project: project, + location: location, + model_deployment_monitoring_job: modelDeploymentMonitoringJob, + }); + } + + /** + * Parse the project from ModelDeploymentMonitoringJob resource. + * + * @param {string} modelDeploymentMonitoringJobName + * A fully-qualified path representing ModelDeploymentMonitoringJob resource. + * @returns {string} A string representing the project. + */ + matchProjectFromModelDeploymentMonitoringJobName(modelDeploymentMonitoringJobName: string) { + return this.pathTemplates.modelDeploymentMonitoringJobPathTemplate.match(modelDeploymentMonitoringJobName).project; + } + + /** + * Parse the location from ModelDeploymentMonitoringJob resource. + * + * @param {string} modelDeploymentMonitoringJobName + * A fully-qualified path representing ModelDeploymentMonitoringJob resource. + * @returns {string} A string representing the location. + */ + matchLocationFromModelDeploymentMonitoringJobName(modelDeploymentMonitoringJobName: string) { + return this.pathTemplates.modelDeploymentMonitoringJobPathTemplate.match(modelDeploymentMonitoringJobName).location; + } + + /** + * Parse the model_deployment_monitoring_job from ModelDeploymentMonitoringJob resource. + * + * @param {string} modelDeploymentMonitoringJobName + * A fully-qualified path representing ModelDeploymentMonitoringJob resource. + * @returns {string} A string representing the model_deployment_monitoring_job. + */ + matchModelDeploymentMonitoringJobFromModelDeploymentMonitoringJobName(modelDeploymentMonitoringJobName: string) { + return this.pathTemplates.modelDeploymentMonitoringJobPathTemplate.match(modelDeploymentMonitoringJobName).model_deployment_monitoring_job; + } + + /** + * Return a fully-qualified modelEvaluation resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} model + * @param {string} evaluation + * @returns {string} Resource name string. + */ + modelEvaluationPath(project:string,location:string,model:string,evaluation:string) { + return this.pathTemplates.modelEvaluationPathTemplate.render({ + project: project, + location: location, + model: model, + evaluation: evaluation, + }); + } + + /** + * Parse the project from ModelEvaluation resource. + * + * @param {string} modelEvaluationName + * A fully-qualified path representing ModelEvaluation resource. + * @returns {string} A string representing the project. + */ + matchProjectFromModelEvaluationName(modelEvaluationName: string) { + return this.pathTemplates.modelEvaluationPathTemplate.match(modelEvaluationName).project; + } + + /** + * Parse the location from ModelEvaluation resource. + * + * @param {string} modelEvaluationName + * A fully-qualified path representing ModelEvaluation resource. + * @returns {string} A string representing the location. + */ + matchLocationFromModelEvaluationName(modelEvaluationName: string) { + return this.pathTemplates.modelEvaluationPathTemplate.match(modelEvaluationName).location; + } + + /** + * Parse the model from ModelEvaluation resource. + * + * @param {string} modelEvaluationName + * A fully-qualified path representing ModelEvaluation resource. + * @returns {string} A string representing the model. + */ + matchModelFromModelEvaluationName(modelEvaluationName: string) { + return this.pathTemplates.modelEvaluationPathTemplate.match(modelEvaluationName).model; + } + + /** + * Parse the evaluation from ModelEvaluation resource. + * + * @param {string} modelEvaluationName + * A fully-qualified path representing ModelEvaluation resource. + * @returns {string} A string representing the evaluation. + */ + matchEvaluationFromModelEvaluationName(modelEvaluationName: string) { + return this.pathTemplates.modelEvaluationPathTemplate.match(modelEvaluationName).evaluation; + } + + /** + * Return a fully-qualified modelEvaluationSlice resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} model + * @param {string} evaluation + * @param {string} slice + * @returns {string} Resource name string. + */ + modelEvaluationSlicePath(project:string,location:string,model:string,evaluation:string,slice:string) { + return this.pathTemplates.modelEvaluationSlicePathTemplate.render({ + project: project, + location: location, + model: model, + evaluation: evaluation, + slice: slice, + }); + } + + /** + * Parse the project from ModelEvaluationSlice resource. + * + * @param {string} modelEvaluationSliceName + * A fully-qualified path representing ModelEvaluationSlice resource. + * @returns {string} A string representing the project. + */ + matchProjectFromModelEvaluationSliceName(modelEvaluationSliceName: string) { + return this.pathTemplates.modelEvaluationSlicePathTemplate.match(modelEvaluationSliceName).project; + } + + /** + * Parse the location from ModelEvaluationSlice resource. + * + * @param {string} modelEvaluationSliceName + * A fully-qualified path representing ModelEvaluationSlice resource. + * @returns {string} A string representing the location. + */ + matchLocationFromModelEvaluationSliceName(modelEvaluationSliceName: string) { + return this.pathTemplates.modelEvaluationSlicePathTemplate.match(modelEvaluationSliceName).location; + } + + /** + * Parse the model from ModelEvaluationSlice resource. + * + * @param {string} modelEvaluationSliceName + * A fully-qualified path representing ModelEvaluationSlice resource. + * @returns {string} A string representing the model. + */ + matchModelFromModelEvaluationSliceName(modelEvaluationSliceName: string) { + return this.pathTemplates.modelEvaluationSlicePathTemplate.match(modelEvaluationSliceName).model; + } + + /** + * Parse the evaluation from ModelEvaluationSlice resource. + * + * @param {string} modelEvaluationSliceName + * A fully-qualified path representing ModelEvaluationSlice resource. + * @returns {string} A string representing the evaluation. + */ + matchEvaluationFromModelEvaluationSliceName(modelEvaluationSliceName: string) { + return this.pathTemplates.modelEvaluationSlicePathTemplate.match(modelEvaluationSliceName).evaluation; + } + + /** + * Parse the slice from ModelEvaluationSlice resource. + * + * @param {string} modelEvaluationSliceName + * A fully-qualified path representing ModelEvaluationSlice resource. + * @returns {string} A string representing the slice. + */ + matchSliceFromModelEvaluationSliceName(modelEvaluationSliceName: string) { + return this.pathTemplates.modelEvaluationSlicePathTemplate.match(modelEvaluationSliceName).slice; + } + + /** + * Return a fully-qualified nasJob resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} nas_job + * @returns {string} Resource name string. + */ + nasJobPath(project:string,location:string,nasJob:string) { + return this.pathTemplates.nasJobPathTemplate.render({ + project: project, + location: location, + nas_job: nasJob, + }); + } + + /** + * Parse the project from NasJob resource. + * + * @param {string} nasJobName + * A fully-qualified path representing NasJob resource. + * @returns {string} A string representing the project. + */ + matchProjectFromNasJobName(nasJobName: string) { + return this.pathTemplates.nasJobPathTemplate.match(nasJobName).project; + } + + /** + * Parse the location from NasJob resource. + * + * @param {string} nasJobName + * A fully-qualified path representing NasJob resource. + * @returns {string} A string representing the location. + */ + matchLocationFromNasJobName(nasJobName: string) { + return this.pathTemplates.nasJobPathTemplate.match(nasJobName).location; + } + + /** + * Parse the nas_job from NasJob resource. + * + * @param {string} nasJobName + * A fully-qualified path representing NasJob resource. + * @returns {string} A string representing the nas_job. + */ + matchNasJobFromNasJobName(nasJobName: string) { + return this.pathTemplates.nasJobPathTemplate.match(nasJobName).nas_job; + } + + /** + * Return a fully-qualified nasTrialDetail resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} nas_job + * @param {string} nas_trial_detail + * @returns {string} Resource name string. + */ + nasTrialDetailPath(project:string,location:string,nasJob:string,nasTrialDetail:string) { + return this.pathTemplates.nasTrialDetailPathTemplate.render({ + project: project, + location: location, + nas_job: nasJob, + nas_trial_detail: nasTrialDetail, + }); + } + + /** + * Parse the project from NasTrialDetail resource. + * + * @param {string} nasTrialDetailName + * A fully-qualified path representing NasTrialDetail resource. + * @returns {string} A string representing the project. + */ + matchProjectFromNasTrialDetailName(nasTrialDetailName: string) { + return this.pathTemplates.nasTrialDetailPathTemplate.match(nasTrialDetailName).project; + } + + /** + * Parse the location from NasTrialDetail resource. + * + * @param {string} nasTrialDetailName + * A fully-qualified path representing NasTrialDetail resource. + * @returns {string} A string representing the location. + */ + matchLocationFromNasTrialDetailName(nasTrialDetailName: string) { + return this.pathTemplates.nasTrialDetailPathTemplate.match(nasTrialDetailName).location; + } + + /** + * Parse the nas_job from NasTrialDetail resource. + * + * @param {string} nasTrialDetailName + * A fully-qualified path representing NasTrialDetail resource. + * @returns {string} A string representing the nas_job. + */ + matchNasJobFromNasTrialDetailName(nasTrialDetailName: string) { + return this.pathTemplates.nasTrialDetailPathTemplate.match(nasTrialDetailName).nas_job; + } + + /** + * Parse the nas_trial_detail from NasTrialDetail resource. + * + * @param {string} nasTrialDetailName + * A fully-qualified path representing NasTrialDetail resource. + * @returns {string} A string representing the nas_trial_detail. + */ + matchNasTrialDetailFromNasTrialDetailName(nasTrialDetailName: string) { + return this.pathTemplates.nasTrialDetailPathTemplate.match(nasTrialDetailName).nas_trial_detail; + } + + /** + * Return a fully-qualified notebookExecutionJob resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} notebook_execution_job + * @returns {string} Resource name string. + */ + notebookExecutionJobPath(project:string,location:string,notebookExecutionJob:string) { + return this.pathTemplates.notebookExecutionJobPathTemplate.render({ + project: project, + location: location, + notebook_execution_job: notebookExecutionJob, + }); + } + + /** + * Parse the project from NotebookExecutionJob resource. + * + * @param {string} notebookExecutionJobName + * A fully-qualified path representing NotebookExecutionJob resource. + * @returns {string} A string representing the project. + */ + matchProjectFromNotebookExecutionJobName(notebookExecutionJobName: string) { + return this.pathTemplates.notebookExecutionJobPathTemplate.match(notebookExecutionJobName).project; + } + + /** + * Parse the location from NotebookExecutionJob resource. + * + * @param {string} notebookExecutionJobName + * A fully-qualified path representing NotebookExecutionJob resource. + * @returns {string} A string representing the location. + */ + matchLocationFromNotebookExecutionJobName(notebookExecutionJobName: string) { + return this.pathTemplates.notebookExecutionJobPathTemplate.match(notebookExecutionJobName).location; + } + + /** + * Parse the notebook_execution_job from NotebookExecutionJob resource. + * + * @param {string} notebookExecutionJobName + * A fully-qualified path representing NotebookExecutionJob resource. + * @returns {string} A string representing the notebook_execution_job. + */ + matchNotebookExecutionJobFromNotebookExecutionJobName(notebookExecutionJobName: string) { + return this.pathTemplates.notebookExecutionJobPathTemplate.match(notebookExecutionJobName).notebook_execution_job; + } + + /** + * Return a fully-qualified notebookRuntime resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} notebook_runtime + * @returns {string} Resource name string. + */ + notebookRuntimePath(project:string,location:string,notebookRuntime:string) { + return this.pathTemplates.notebookRuntimePathTemplate.render({ + project: project, + location: location, + notebook_runtime: notebookRuntime, + }); + } + + /** + * Parse the project from NotebookRuntime resource. + * + * @param {string} notebookRuntimeName + * A fully-qualified path representing NotebookRuntime resource. + * @returns {string} A string representing the project. + */ + matchProjectFromNotebookRuntimeName(notebookRuntimeName: string) { + return this.pathTemplates.notebookRuntimePathTemplate.match(notebookRuntimeName).project; + } + + /** + * Parse the location from NotebookRuntime resource. + * + * @param {string} notebookRuntimeName + * A fully-qualified path representing NotebookRuntime resource. + * @returns {string} A string representing the location. + */ + matchLocationFromNotebookRuntimeName(notebookRuntimeName: string) { + return this.pathTemplates.notebookRuntimePathTemplate.match(notebookRuntimeName).location; + } + + /** + * Parse the notebook_runtime from NotebookRuntime resource. + * + * @param {string} notebookRuntimeName + * A fully-qualified path representing NotebookRuntime resource. + * @returns {string} A string representing the notebook_runtime. + */ + matchNotebookRuntimeFromNotebookRuntimeName(notebookRuntimeName: string) { + return this.pathTemplates.notebookRuntimePathTemplate.match(notebookRuntimeName).notebook_runtime; + } + + /** + * Return a fully-qualified notebookRuntimeTemplate resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} notebook_runtime_template + * @returns {string} Resource name string. + */ + notebookRuntimeTemplatePath(project:string,location:string,notebookRuntimeTemplate:string) { + return this.pathTemplates.notebookRuntimeTemplatePathTemplate.render({ + project: project, + location: location, + notebook_runtime_template: notebookRuntimeTemplate, + }); + } + + /** + * Parse the project from NotebookRuntimeTemplate resource. + * + * @param {string} notebookRuntimeTemplateName + * A fully-qualified path representing NotebookRuntimeTemplate resource. + * @returns {string} A string representing the project. + */ + matchProjectFromNotebookRuntimeTemplateName(notebookRuntimeTemplateName: string) { + return this.pathTemplates.notebookRuntimeTemplatePathTemplate.match(notebookRuntimeTemplateName).project; + } + + /** + * Parse the location from NotebookRuntimeTemplate resource. + * + * @param {string} notebookRuntimeTemplateName + * A fully-qualified path representing NotebookRuntimeTemplate resource. + * @returns {string} A string representing the location. + */ + matchLocationFromNotebookRuntimeTemplateName(notebookRuntimeTemplateName: string) { + return this.pathTemplates.notebookRuntimeTemplatePathTemplate.match(notebookRuntimeTemplateName).location; + } + + /** + * Parse the notebook_runtime_template from NotebookRuntimeTemplate resource. + * + * @param {string} notebookRuntimeTemplateName + * A fully-qualified path representing NotebookRuntimeTemplate resource. + * @returns {string} A string representing the notebook_runtime_template. + */ + matchNotebookRuntimeTemplateFromNotebookRuntimeTemplateName(notebookRuntimeTemplateName: string) { + return this.pathTemplates.notebookRuntimeTemplatePathTemplate.match(notebookRuntimeTemplateName).notebook_runtime_template; + } + + /** + * Return a fully-qualified persistentResource resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} persistent_resource + * @returns {string} Resource name string. + */ + persistentResourcePath(project:string,location:string,persistentResource:string) { + return this.pathTemplates.persistentResourcePathTemplate.render({ + project: project, + location: location, + persistent_resource: persistentResource, + }); + } + + /** + * Parse the project from PersistentResource resource. + * + * @param {string} persistentResourceName + * A fully-qualified path representing PersistentResource resource. + * @returns {string} A string representing the project. + */ + matchProjectFromPersistentResourceName(persistentResourceName: string) { + return this.pathTemplates.persistentResourcePathTemplate.match(persistentResourceName).project; + } + + /** + * Parse the location from PersistentResource resource. + * + * @param {string} persistentResourceName + * A fully-qualified path representing PersistentResource resource. + * @returns {string} A string representing the location. + */ + matchLocationFromPersistentResourceName(persistentResourceName: string) { + return this.pathTemplates.persistentResourcePathTemplate.match(persistentResourceName).location; + } + + /** + * Parse the persistent_resource from PersistentResource resource. + * + * @param {string} persistentResourceName + * A fully-qualified path representing PersistentResource resource. + * @returns {string} A string representing the persistent_resource. + */ + matchPersistentResourceFromPersistentResourceName(persistentResourceName: string) { + return this.pathTemplates.persistentResourcePathTemplate.match(persistentResourceName).persistent_resource; + } + + /** + * Return a fully-qualified pipelineJob resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} pipeline_job + * @returns {string} Resource name string. + */ + pipelineJobPath(project:string,location:string,pipelineJob:string) { + return this.pathTemplates.pipelineJobPathTemplate.render({ + project: project, + location: location, + pipeline_job: pipelineJob, + }); + } + + /** + * Parse the project from PipelineJob resource. + * + * @param {string} pipelineJobName + * A fully-qualified path representing PipelineJob resource. + * @returns {string} A string representing the project. + */ + matchProjectFromPipelineJobName(pipelineJobName: string) { + return this.pathTemplates.pipelineJobPathTemplate.match(pipelineJobName).project; + } + + /** + * Parse the location from PipelineJob resource. + * + * @param {string} pipelineJobName + * A fully-qualified path representing PipelineJob resource. + * @returns {string} A string representing the location. + */ + matchLocationFromPipelineJobName(pipelineJobName: string) { + return this.pathTemplates.pipelineJobPathTemplate.match(pipelineJobName).location; + } + + /** + * Parse the pipeline_job from PipelineJob resource. + * + * @param {string} pipelineJobName + * A fully-qualified path representing PipelineJob resource. + * @returns {string} A string representing the pipeline_job. + */ + matchPipelineJobFromPipelineJobName(pipelineJobName: string) { + return this.pathTemplates.pipelineJobPathTemplate.match(pipelineJobName).pipeline_job; + } + + /** + * Return a fully-qualified projectLocationEndpoint resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} endpoint + * @returns {string} Resource name string. + */ + projectLocationEndpointPath(project:string,location:string,endpoint:string) { + return this.pathTemplates.projectLocationEndpointPathTemplate.render({ + project: project, + location: location, + endpoint: endpoint, + }); + } + + /** + * Parse the project from ProjectLocationEndpoint resource. + * + * @param {string} projectLocationEndpointName + * A fully-qualified path representing project_location_endpoint resource. + * @returns {string} A string representing the project. + */ + matchProjectFromProjectLocationEndpointName(projectLocationEndpointName: string) { + return this.pathTemplates.projectLocationEndpointPathTemplate.match(projectLocationEndpointName).project; + } + + /** + * Parse the location from ProjectLocationEndpoint resource. + * + * @param {string} projectLocationEndpointName + * A fully-qualified path representing project_location_endpoint resource. + * @returns {string} A string representing the location. + */ + matchLocationFromProjectLocationEndpointName(projectLocationEndpointName: string) { + return this.pathTemplates.projectLocationEndpointPathTemplate.match(projectLocationEndpointName).location; + } + + /** + * Parse the endpoint from ProjectLocationEndpoint resource. + * + * @param {string} projectLocationEndpointName + * A fully-qualified path representing project_location_endpoint resource. + * @returns {string} A string representing the endpoint. + */ + matchEndpointFromProjectLocationEndpointName(projectLocationEndpointName: string) { + return this.pathTemplates.projectLocationEndpointPathTemplate.match(projectLocationEndpointName).endpoint; + } + + /** + * Return a fully-qualified projectLocationFeatureGroupFeatures resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} feature_group + * @param {string} feature + * @returns {string} Resource name string. + */ + projectLocationFeatureGroupFeaturesPath(project:string,location:string,featureGroup:string,feature:string) { + return this.pathTemplates.projectLocationFeatureGroupFeaturesPathTemplate.render({ + project: project, + location: location, + feature_group: featureGroup, + feature: feature, + }); + } + + /** + * Parse the project from ProjectLocationFeatureGroupFeatures resource. + * + * @param {string} projectLocationFeatureGroupFeaturesName + * A fully-qualified path representing project_location_feature_group_features resource. + * @returns {string} A string representing the project. + */ + matchProjectFromProjectLocationFeatureGroupFeaturesName(projectLocationFeatureGroupFeaturesName: string) { + return this.pathTemplates.projectLocationFeatureGroupFeaturesPathTemplate.match(projectLocationFeatureGroupFeaturesName).project; + } + + /** + * Parse the location from ProjectLocationFeatureGroupFeatures resource. + * + * @param {string} projectLocationFeatureGroupFeaturesName + * A fully-qualified path representing project_location_feature_group_features resource. + * @returns {string} A string representing the location. + */ + matchLocationFromProjectLocationFeatureGroupFeaturesName(projectLocationFeatureGroupFeaturesName: string) { + return this.pathTemplates.projectLocationFeatureGroupFeaturesPathTemplate.match(projectLocationFeatureGroupFeaturesName).location; + } + + /** + * Parse the feature_group from ProjectLocationFeatureGroupFeatures resource. + * + * @param {string} projectLocationFeatureGroupFeaturesName + * A fully-qualified path representing project_location_feature_group_features resource. + * @returns {string} A string representing the feature_group. + */ + matchFeatureGroupFromProjectLocationFeatureGroupFeaturesName(projectLocationFeatureGroupFeaturesName: string) { + return this.pathTemplates.projectLocationFeatureGroupFeaturesPathTemplate.match(projectLocationFeatureGroupFeaturesName).feature_group; + } + + /** + * Parse the feature from ProjectLocationFeatureGroupFeatures resource. + * + * @param {string} projectLocationFeatureGroupFeaturesName + * A fully-qualified path representing project_location_feature_group_features resource. + * @returns {string} A string representing the feature. + */ + matchFeatureFromProjectLocationFeatureGroupFeaturesName(projectLocationFeatureGroupFeaturesName: string) { + return this.pathTemplates.projectLocationFeatureGroupFeaturesPathTemplate.match(projectLocationFeatureGroupFeaturesName).feature; + } + + /** + * Return a fully-qualified projectLocationFeaturestoreEntityTypeFeatures resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} featurestore + * @param {string} entity_type + * @param {string} feature + * @returns {string} Resource name string. + */ + projectLocationFeaturestoreEntityTypeFeaturesPath(project:string,location:string,featurestore:string,entityType:string,feature:string) { + return this.pathTemplates.projectLocationFeaturestoreEntityTypeFeaturesPathTemplate.render({ + project: project, + location: location, + featurestore: featurestore, + entity_type: entityType, + feature: feature, + }); + } + + /** + * Parse the project from ProjectLocationFeaturestoreEntityTypeFeatures resource. + * + * @param {string} projectLocationFeaturestoreEntityTypeFeaturesName + * A fully-qualified path representing project_location_featurestore_entity_type_features resource. + * @returns {string} A string representing the project. + */ + matchProjectFromProjectLocationFeaturestoreEntityTypeFeaturesName(projectLocationFeaturestoreEntityTypeFeaturesName: string) { + return this.pathTemplates.projectLocationFeaturestoreEntityTypeFeaturesPathTemplate.match(projectLocationFeaturestoreEntityTypeFeaturesName).project; + } + + /** + * Parse the location from ProjectLocationFeaturestoreEntityTypeFeatures resource. + * + * @param {string} projectLocationFeaturestoreEntityTypeFeaturesName + * A fully-qualified path representing project_location_featurestore_entity_type_features resource. + * @returns {string} A string representing the location. + */ + matchLocationFromProjectLocationFeaturestoreEntityTypeFeaturesName(projectLocationFeaturestoreEntityTypeFeaturesName: string) { + return this.pathTemplates.projectLocationFeaturestoreEntityTypeFeaturesPathTemplate.match(projectLocationFeaturestoreEntityTypeFeaturesName).location; + } + + /** + * Parse the featurestore from ProjectLocationFeaturestoreEntityTypeFeatures resource. + * + * @param {string} projectLocationFeaturestoreEntityTypeFeaturesName + * A fully-qualified path representing project_location_featurestore_entity_type_features resource. + * @returns {string} A string representing the featurestore. + */ + matchFeaturestoreFromProjectLocationFeaturestoreEntityTypeFeaturesName(projectLocationFeaturestoreEntityTypeFeaturesName: string) { + return this.pathTemplates.projectLocationFeaturestoreEntityTypeFeaturesPathTemplate.match(projectLocationFeaturestoreEntityTypeFeaturesName).featurestore; + } + + /** + * Parse the entity_type from ProjectLocationFeaturestoreEntityTypeFeatures resource. + * + * @param {string} projectLocationFeaturestoreEntityTypeFeaturesName + * A fully-qualified path representing project_location_featurestore_entity_type_features resource. + * @returns {string} A string representing the entity_type. + */ + matchEntityTypeFromProjectLocationFeaturestoreEntityTypeFeaturesName(projectLocationFeaturestoreEntityTypeFeaturesName: string) { + return this.pathTemplates.projectLocationFeaturestoreEntityTypeFeaturesPathTemplate.match(projectLocationFeaturestoreEntityTypeFeaturesName).entity_type; + } + + /** + * Parse the feature from ProjectLocationFeaturestoreEntityTypeFeatures resource. + * + * @param {string} projectLocationFeaturestoreEntityTypeFeaturesName + * A fully-qualified path representing project_location_featurestore_entity_type_features resource. + * @returns {string} A string representing the feature. + */ + matchFeatureFromProjectLocationFeaturestoreEntityTypeFeaturesName(projectLocationFeaturestoreEntityTypeFeaturesName: string) { + return this.pathTemplates.projectLocationFeaturestoreEntityTypeFeaturesPathTemplate.match(projectLocationFeaturestoreEntityTypeFeaturesName).feature; + } + + /** + * Return a fully-qualified projectLocationPublisherModel resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} publisher + * @param {string} model + * @returns {string} Resource name string. + */ + projectLocationPublisherModelPath(project:string,location:string,publisher:string,model:string) { + return this.pathTemplates.projectLocationPublisherModelPathTemplate.render({ + project: project, + location: location, + publisher: publisher, + model: model, + }); + } + + /** + * Parse the project from ProjectLocationPublisherModel resource. + * + * @param {string} projectLocationPublisherModelName + * A fully-qualified path representing project_location_publisher_model resource. + * @returns {string} A string representing the project. + */ + matchProjectFromProjectLocationPublisherModelName(projectLocationPublisherModelName: string) { + return this.pathTemplates.projectLocationPublisherModelPathTemplate.match(projectLocationPublisherModelName).project; + } + + /** + * Parse the location from ProjectLocationPublisherModel resource. + * + * @param {string} projectLocationPublisherModelName + * A fully-qualified path representing project_location_publisher_model resource. + * @returns {string} A string representing the location. + */ + matchLocationFromProjectLocationPublisherModelName(projectLocationPublisherModelName: string) { + return this.pathTemplates.projectLocationPublisherModelPathTemplate.match(projectLocationPublisherModelName).location; + } + + /** + * Parse the publisher from ProjectLocationPublisherModel resource. + * + * @param {string} projectLocationPublisherModelName + * A fully-qualified path representing project_location_publisher_model resource. + * @returns {string} A string representing the publisher. + */ + matchPublisherFromProjectLocationPublisherModelName(projectLocationPublisherModelName: string) { + return this.pathTemplates.projectLocationPublisherModelPathTemplate.match(projectLocationPublisherModelName).publisher; + } + + /** + * Parse the model from ProjectLocationPublisherModel resource. + * + * @param {string} projectLocationPublisherModelName + * A fully-qualified path representing project_location_publisher_model resource. + * @returns {string} A string representing the model. + */ + matchModelFromProjectLocationPublisherModelName(projectLocationPublisherModelName: string) { + return this.pathTemplates.projectLocationPublisherModelPathTemplate.match(projectLocationPublisherModelName).model; + } + + /** + * Return a fully-qualified publisherModel resource name string. + * + * @param {string} publisher + * @param {string} model + * @returns {string} Resource name string. + */ + publisherModelPath(publisher:string,model:string) { + return this.pathTemplates.publisherModelPathTemplate.render({ + publisher: publisher, + model: model, + }); + } + + /** + * Parse the publisher from PublisherModel resource. + * + * @param {string} publisherModelName + * A fully-qualified path representing PublisherModel resource. + * @returns {string} A string representing the publisher. + */ + matchPublisherFromPublisherModelName(publisherModelName: string) { + return this.pathTemplates.publisherModelPathTemplate.match(publisherModelName).publisher; + } + + /** + * Parse the model from PublisherModel resource. + * + * @param {string} publisherModelName + * A fully-qualified path representing PublisherModel resource. + * @returns {string} A string representing the model. + */ + matchModelFromPublisherModelName(publisherModelName: string) { + return this.pathTemplates.publisherModelPathTemplate.match(publisherModelName).model; + } + + /** + * Return a fully-qualified ragCorpus resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} rag_corpus + * @returns {string} Resource name string. + */ + ragCorpusPath(project:string,location:string,ragCorpus:string) { + return this.pathTemplates.ragCorpusPathTemplate.render({ + project: project, + location: location, + rag_corpus: ragCorpus, + }); + } + + /** + * Parse the project from RagCorpus resource. + * + * @param {string} ragCorpusName + * A fully-qualified path representing RagCorpus resource. + * @returns {string} A string representing the project. + */ + matchProjectFromRagCorpusName(ragCorpusName: string) { + return this.pathTemplates.ragCorpusPathTemplate.match(ragCorpusName).project; + } + + /** + * Parse the location from RagCorpus resource. + * + * @param {string} ragCorpusName + * A fully-qualified path representing RagCorpus resource. + * @returns {string} A string representing the location. + */ + matchLocationFromRagCorpusName(ragCorpusName: string) { + return this.pathTemplates.ragCorpusPathTemplate.match(ragCorpusName).location; + } + + /** + * Parse the rag_corpus from RagCorpus resource. + * + * @param {string} ragCorpusName + * A fully-qualified path representing RagCorpus resource. + * @returns {string} A string representing the rag_corpus. + */ + matchRagCorpusFromRagCorpusName(ragCorpusName: string) { + return this.pathTemplates.ragCorpusPathTemplate.match(ragCorpusName).rag_corpus; + } + + /** + * Return a fully-qualified ragEngineConfig resource name string. + * + * @param {string} project + * @param {string} location + * @returns {string} Resource name string. + */ + ragEngineConfigPath(project:string,location:string) { + return this.pathTemplates.ragEngineConfigPathTemplate.render({ + project: project, + location: location, + }); + } + + /** + * Parse the project from RagEngineConfig resource. + * + * @param {string} ragEngineConfigName + * A fully-qualified path representing RagEngineConfig resource. + * @returns {string} A string representing the project. + */ + matchProjectFromRagEngineConfigName(ragEngineConfigName: string) { + return this.pathTemplates.ragEngineConfigPathTemplate.match(ragEngineConfigName).project; + } + + /** + * Parse the location from RagEngineConfig resource. + * + * @param {string} ragEngineConfigName + * A fully-qualified path representing RagEngineConfig resource. + * @returns {string} A string representing the location. + */ + matchLocationFromRagEngineConfigName(ragEngineConfigName: string) { + return this.pathTemplates.ragEngineConfigPathTemplate.match(ragEngineConfigName).location; + } + + /** + * Return a fully-qualified ragFile resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} rag_corpus + * @param {string} rag_file + * @returns {string} Resource name string. + */ + ragFilePath(project:string,location:string,ragCorpus:string,ragFile:string) { + return this.pathTemplates.ragFilePathTemplate.render({ + project: project, + location: location, + rag_corpus: ragCorpus, + rag_file: ragFile, + }); + } + + /** + * Parse the project from RagFile resource. + * + * @param {string} ragFileName + * A fully-qualified path representing RagFile resource. + * @returns {string} A string representing the project. + */ + matchProjectFromRagFileName(ragFileName: string) { + return this.pathTemplates.ragFilePathTemplate.match(ragFileName).project; + } + + /** + * Parse the location from RagFile resource. + * + * @param {string} ragFileName + * A fully-qualified path representing RagFile resource. + * @returns {string} A string representing the location. + */ + matchLocationFromRagFileName(ragFileName: string) { + return this.pathTemplates.ragFilePathTemplate.match(ragFileName).location; + } + + /** + * Parse the rag_corpus from RagFile resource. + * + * @param {string} ragFileName + * A fully-qualified path representing RagFile resource. + * @returns {string} A string representing the rag_corpus. + */ + matchRagCorpusFromRagFileName(ragFileName: string) { + return this.pathTemplates.ragFilePathTemplate.match(ragFileName).rag_corpus; + } + + /** + * Parse the rag_file from RagFile resource. + * + * @param {string} ragFileName + * A fully-qualified path representing RagFile resource. + * @returns {string} A string representing the rag_file. + */ + matchRagFileFromRagFileName(ragFileName: string) { + return this.pathTemplates.ragFilePathTemplate.match(ragFileName).rag_file; + } + + /** + * Return a fully-qualified reasoningEngine resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @returns {string} Resource name string. + */ + reasoningEnginePath(project:string,location:string,reasoningEngine:string) { + return this.pathTemplates.reasoningEnginePathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + }); + } + + /** + * Parse the project from ReasoningEngine resource. + * + * @param {string} reasoningEngineName + * A fully-qualified path representing ReasoningEngine resource. + * @returns {string} A string representing the project. + */ + matchProjectFromReasoningEngineName(reasoningEngineName: string) { + return this.pathTemplates.reasoningEnginePathTemplate.match(reasoningEngineName).project; + } + + /** + * Parse the location from ReasoningEngine resource. + * + * @param {string} reasoningEngineName + * A fully-qualified path representing ReasoningEngine resource. + * @returns {string} A string representing the location. + */ + matchLocationFromReasoningEngineName(reasoningEngineName: string) { + return this.pathTemplates.reasoningEnginePathTemplate.match(reasoningEngineName).location; + } + + /** + * Parse the reasoning_engine from ReasoningEngine resource. + * + * @param {string} reasoningEngineName + * A fully-qualified path representing ReasoningEngine resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromReasoningEngineName(reasoningEngineName: string) { + return this.pathTemplates.reasoningEnginePathTemplate.match(reasoningEngineName).reasoning_engine; + } + + /** + * Return a fully-qualified savedQuery resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} dataset + * @param {string} saved_query + * @returns {string} Resource name string. + */ + savedQueryPath(project:string,location:string,dataset:string,savedQuery:string) { + return this.pathTemplates.savedQueryPathTemplate.render({ + project: project, + location: location, + dataset: dataset, + saved_query: savedQuery, + }); + } + + /** + * Parse the project from SavedQuery resource. + * + * @param {string} savedQueryName + * A fully-qualified path representing SavedQuery resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSavedQueryName(savedQueryName: string) { + return this.pathTemplates.savedQueryPathTemplate.match(savedQueryName).project; + } + + /** + * Parse the location from SavedQuery resource. + * + * @param {string} savedQueryName + * A fully-qualified path representing SavedQuery resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSavedQueryName(savedQueryName: string) { + return this.pathTemplates.savedQueryPathTemplate.match(savedQueryName).location; + } + + /** + * Parse the dataset from SavedQuery resource. + * + * @param {string} savedQueryName + * A fully-qualified path representing SavedQuery resource. + * @returns {string} A string representing the dataset. + */ + matchDatasetFromSavedQueryName(savedQueryName: string) { + return this.pathTemplates.savedQueryPathTemplate.match(savedQueryName).dataset; + } + + /** + * Parse the saved_query from SavedQuery resource. + * + * @param {string} savedQueryName + * A fully-qualified path representing SavedQuery resource. + * @returns {string} A string representing the saved_query. + */ + matchSavedQueryFromSavedQueryName(savedQueryName: string) { + return this.pathTemplates.savedQueryPathTemplate.match(savedQueryName).saved_query; + } + + /** + * Return a fully-qualified schedule resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} schedule + * @returns {string} Resource name string. + */ + schedulePath(project:string,location:string,schedule:string) { + return this.pathTemplates.schedulePathTemplate.render({ + project: project, + location: location, + schedule: schedule, + }); + } + + /** + * Parse the project from Schedule resource. + * + * @param {string} scheduleName + * A fully-qualified path representing Schedule resource. + * @returns {string} A string representing the project. + */ + matchProjectFromScheduleName(scheduleName: string) { + return this.pathTemplates.schedulePathTemplate.match(scheduleName).project; + } + + /** + * Parse the location from Schedule resource. + * + * @param {string} scheduleName + * A fully-qualified path representing Schedule resource. + * @returns {string} A string representing the location. + */ + matchLocationFromScheduleName(scheduleName: string) { + return this.pathTemplates.schedulePathTemplate.match(scheduleName).location; + } + + /** + * Parse the schedule from Schedule resource. + * + * @param {string} scheduleName + * A fully-qualified path representing Schedule resource. + * @returns {string} A string representing the schedule. + */ + matchScheduleFromScheduleName(scheduleName: string) { + return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; + } + + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + + /** + * Return a fully-qualified specialistPool resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} specialist_pool + * @returns {string} Resource name string. + */ + specialistPoolPath(project:string,location:string,specialistPool:string) { + return this.pathTemplates.specialistPoolPathTemplate.render({ + project: project, + location: location, + specialist_pool: specialistPool, + }); + } + + /** + * Parse the project from SpecialistPool resource. + * + * @param {string} specialistPoolName + * A fully-qualified path representing SpecialistPool resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSpecialistPoolName(specialistPoolName: string) { + return this.pathTemplates.specialistPoolPathTemplate.match(specialistPoolName).project; + } + + /** + * Parse the location from SpecialistPool resource. + * + * @param {string} specialistPoolName + * A fully-qualified path representing SpecialistPool resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSpecialistPoolName(specialistPoolName: string) { + return this.pathTemplates.specialistPoolPathTemplate.match(specialistPoolName).location; + } + + /** + * Parse the specialist_pool from SpecialistPool resource. + * + * @param {string} specialistPoolName + * A fully-qualified path representing SpecialistPool resource. + * @returns {string} A string representing the specialist_pool. + */ + matchSpecialistPoolFromSpecialistPoolName(specialistPoolName: string) { + return this.pathTemplates.specialistPoolPathTemplate.match(specialistPoolName).specialist_pool; + } + + /** + * Return a fully-qualified study resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} study + * @returns {string} Resource name string. + */ + studyPath(project:string,location:string,study:string) { + return this.pathTemplates.studyPathTemplate.render({ + project: project, + location: location, + study: study, + }); + } + + /** + * Parse the project from Study resource. + * + * @param {string} studyName + * A fully-qualified path representing Study resource. + * @returns {string} A string representing the project. + */ + matchProjectFromStudyName(studyName: string) { + return this.pathTemplates.studyPathTemplate.match(studyName).project; + } + + /** + * Parse the location from Study resource. + * + * @param {string} studyName + * A fully-qualified path representing Study resource. + * @returns {string} A string representing the location. + */ + matchLocationFromStudyName(studyName: string) { + return this.pathTemplates.studyPathTemplate.match(studyName).location; + } + + /** + * Parse the study from Study resource. + * + * @param {string} studyName + * A fully-qualified path representing Study resource. + * @returns {string} A string representing the study. + */ + matchStudyFromStudyName(studyName: string) { + return this.pathTemplates.studyPathTemplate.match(studyName).study; + } + + /** + * Return a fully-qualified tensorboard resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} tensorboard + * @returns {string} Resource name string. + */ + tensorboardPath(project:string,location:string,tensorboard:string) { + return this.pathTemplates.tensorboardPathTemplate.render({ + project: project, + location: location, + tensorboard: tensorboard, + }); + } + + /** + * Parse the project from Tensorboard resource. + * + * @param {string} tensorboardName + * A fully-qualified path representing Tensorboard resource. + * @returns {string} A string representing the project. + */ + matchProjectFromTensorboardName(tensorboardName: string) { + return this.pathTemplates.tensorboardPathTemplate.match(tensorboardName).project; + } + + /** + * Parse the location from Tensorboard resource. + * + * @param {string} tensorboardName + * A fully-qualified path representing Tensorboard resource. + * @returns {string} A string representing the location. + */ + matchLocationFromTensorboardName(tensorboardName: string) { + return this.pathTemplates.tensorboardPathTemplate.match(tensorboardName).location; + } + + /** + * Parse the tensorboard from Tensorboard resource. + * + * @param {string} tensorboardName + * A fully-qualified path representing Tensorboard resource. + * @returns {string} A string representing the tensorboard. + */ + matchTensorboardFromTensorboardName(tensorboardName: string) { + return this.pathTemplates.tensorboardPathTemplate.match(tensorboardName).tensorboard; + } + + /** + * Return a fully-qualified tensorboardExperiment resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} tensorboard + * @param {string} experiment + * @returns {string} Resource name string. + */ + tensorboardExperimentPath(project:string,location:string,tensorboard:string,experiment:string) { + return this.pathTemplates.tensorboardExperimentPathTemplate.render({ + project: project, + location: location, + tensorboard: tensorboard, + experiment: experiment, + }); + } + + /** + * Parse the project from TensorboardExperiment resource. + * + * @param {string} tensorboardExperimentName + * A fully-qualified path representing TensorboardExperiment resource. + * @returns {string} A string representing the project. + */ + matchProjectFromTensorboardExperimentName(tensorboardExperimentName: string) { + return this.pathTemplates.tensorboardExperimentPathTemplate.match(tensorboardExperimentName).project; + } + + /** + * Parse the location from TensorboardExperiment resource. + * + * @param {string} tensorboardExperimentName + * A fully-qualified path representing TensorboardExperiment resource. + * @returns {string} A string representing the location. + */ + matchLocationFromTensorboardExperimentName(tensorboardExperimentName: string) { + return this.pathTemplates.tensorboardExperimentPathTemplate.match(tensorboardExperimentName).location; + } + + /** + * Parse the tensorboard from TensorboardExperiment resource. + * + * @param {string} tensorboardExperimentName + * A fully-qualified path representing TensorboardExperiment resource. + * @returns {string} A string representing the tensorboard. + */ + matchTensorboardFromTensorboardExperimentName(tensorboardExperimentName: string) { + return this.pathTemplates.tensorboardExperimentPathTemplate.match(tensorboardExperimentName).tensorboard; + } + + /** + * Parse the experiment from TensorboardExperiment resource. + * + * @param {string} tensorboardExperimentName + * A fully-qualified path representing TensorboardExperiment resource. + * @returns {string} A string representing the experiment. + */ + matchExperimentFromTensorboardExperimentName(tensorboardExperimentName: string) { + return this.pathTemplates.tensorboardExperimentPathTemplate.match(tensorboardExperimentName).experiment; + } + + /** + * Return a fully-qualified tensorboardRun resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} tensorboard + * @param {string} experiment + * @param {string} run + * @returns {string} Resource name string. + */ + tensorboardRunPath(project:string,location:string,tensorboard:string,experiment:string,run:string) { + return this.pathTemplates.tensorboardRunPathTemplate.render({ + project: project, + location: location, + tensorboard: tensorboard, + experiment: experiment, + run: run, + }); + } + + /** + * Parse the project from TensorboardRun resource. + * + * @param {string} tensorboardRunName + * A fully-qualified path representing TensorboardRun resource. + * @returns {string} A string representing the project. + */ + matchProjectFromTensorboardRunName(tensorboardRunName: string) { + return this.pathTemplates.tensorboardRunPathTemplate.match(tensorboardRunName).project; + } + + /** + * Parse the location from TensorboardRun resource. + * + * @param {string} tensorboardRunName + * A fully-qualified path representing TensorboardRun resource. + * @returns {string} A string representing the location. + */ + matchLocationFromTensorboardRunName(tensorboardRunName: string) { + return this.pathTemplates.tensorboardRunPathTemplate.match(tensorboardRunName).location; + } + + /** + * Parse the tensorboard from TensorboardRun resource. + * + * @param {string} tensorboardRunName + * A fully-qualified path representing TensorboardRun resource. + * @returns {string} A string representing the tensorboard. + */ + matchTensorboardFromTensorboardRunName(tensorboardRunName: string) { + return this.pathTemplates.tensorboardRunPathTemplate.match(tensorboardRunName).tensorboard; + } + + /** + * Parse the experiment from TensorboardRun resource. + * + * @param {string} tensorboardRunName + * A fully-qualified path representing TensorboardRun resource. + * @returns {string} A string representing the experiment. + */ + matchExperimentFromTensorboardRunName(tensorboardRunName: string) { + return this.pathTemplates.tensorboardRunPathTemplate.match(tensorboardRunName).experiment; + } + + /** + * Parse the run from TensorboardRun resource. + * + * @param {string} tensorboardRunName + * A fully-qualified path representing TensorboardRun resource. + * @returns {string} A string representing the run. + */ + matchRunFromTensorboardRunName(tensorboardRunName: string) { + return this.pathTemplates.tensorboardRunPathTemplate.match(tensorboardRunName).run; + } + + /** + * Return a fully-qualified tensorboardTimeSeries resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} tensorboard + * @param {string} experiment + * @param {string} run + * @param {string} time_series + * @returns {string} Resource name string. + */ + tensorboardTimeSeriesPath(project:string,location:string,tensorboard:string,experiment:string,run:string,timeSeries:string) { + return this.pathTemplates.tensorboardTimeSeriesPathTemplate.render({ + project: project, + location: location, + tensorboard: tensorboard, + experiment: experiment, + run: run, + time_series: timeSeries, + }); + } + + /** + * Parse the project from TensorboardTimeSeries resource. + * + * @param {string} tensorboardTimeSeriesName + * A fully-qualified path representing TensorboardTimeSeries resource. + * @returns {string} A string representing the project. + */ + matchProjectFromTensorboardTimeSeriesName(tensorboardTimeSeriesName: string) { + return this.pathTemplates.tensorboardTimeSeriesPathTemplate.match(tensorboardTimeSeriesName).project; + } + + /** + * Parse the location from TensorboardTimeSeries resource. + * + * @param {string} tensorboardTimeSeriesName + * A fully-qualified path representing TensorboardTimeSeries resource. + * @returns {string} A string representing the location. + */ + matchLocationFromTensorboardTimeSeriesName(tensorboardTimeSeriesName: string) { + return this.pathTemplates.tensorboardTimeSeriesPathTemplate.match(tensorboardTimeSeriesName).location; + } + + /** + * Parse the tensorboard from TensorboardTimeSeries resource. + * + * @param {string} tensorboardTimeSeriesName + * A fully-qualified path representing TensorboardTimeSeries resource. + * @returns {string} A string representing the tensorboard. + */ + matchTensorboardFromTensorboardTimeSeriesName(tensorboardTimeSeriesName: string) { + return this.pathTemplates.tensorboardTimeSeriesPathTemplate.match(tensorboardTimeSeriesName).tensorboard; + } + + /** + * Parse the experiment from TensorboardTimeSeries resource. + * + * @param {string} tensorboardTimeSeriesName + * A fully-qualified path representing TensorboardTimeSeries resource. + * @returns {string} A string representing the experiment. + */ + matchExperimentFromTensorboardTimeSeriesName(tensorboardTimeSeriesName: string) { + return this.pathTemplates.tensorboardTimeSeriesPathTemplate.match(tensorboardTimeSeriesName).experiment; + } + + /** + * Parse the run from TensorboardTimeSeries resource. + * + * @param {string} tensorboardTimeSeriesName + * A fully-qualified path representing TensorboardTimeSeries resource. + * @returns {string} A string representing the run. + */ + matchRunFromTensorboardTimeSeriesName(tensorboardTimeSeriesName: string) { + return this.pathTemplates.tensorboardTimeSeriesPathTemplate.match(tensorboardTimeSeriesName).run; + } + + /** + * Parse the time_series from TensorboardTimeSeries resource. + * + * @param {string} tensorboardTimeSeriesName + * A fully-qualified path representing TensorboardTimeSeries resource. + * @returns {string} A string representing the time_series. + */ + matchTimeSeriesFromTensorboardTimeSeriesName(tensorboardTimeSeriesName: string) { + return this.pathTemplates.tensorboardTimeSeriesPathTemplate.match(tensorboardTimeSeriesName).time_series; + } + + /** + * Return a fully-qualified trainingPipeline resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} training_pipeline + * @returns {string} Resource name string. + */ + trainingPipelinePath(project:string,location:string,trainingPipeline:string) { + return this.pathTemplates.trainingPipelinePathTemplate.render({ + project: project, + location: location, + training_pipeline: trainingPipeline, + }); + } + + /** + * Parse the project from TrainingPipeline resource. + * + * @param {string} trainingPipelineName + * A fully-qualified path representing TrainingPipeline resource. + * @returns {string} A string representing the project. + */ + matchProjectFromTrainingPipelineName(trainingPipelineName: string) { + return this.pathTemplates.trainingPipelinePathTemplate.match(trainingPipelineName).project; + } + + /** + * Parse the location from TrainingPipeline resource. + * + * @param {string} trainingPipelineName + * A fully-qualified path representing TrainingPipeline resource. + * @returns {string} A string representing the location. + */ + matchLocationFromTrainingPipelineName(trainingPipelineName: string) { + return this.pathTemplates.trainingPipelinePathTemplate.match(trainingPipelineName).location; + } + + /** + * Parse the training_pipeline from TrainingPipeline resource. + * + * @param {string} trainingPipelineName + * A fully-qualified path representing TrainingPipeline resource. + * @returns {string} A string representing the training_pipeline. + */ + matchTrainingPipelineFromTrainingPipelineName(trainingPipelineName: string) { + return this.pathTemplates.trainingPipelinePathTemplate.match(trainingPipelineName).training_pipeline; + } + + /** + * Return a fully-qualified trial resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} study + * @param {string} trial + * @returns {string} Resource name string. + */ + trialPath(project:string,location:string,study:string,trial:string) { + return this.pathTemplates.trialPathTemplate.render({ + project: project, + location: location, + study: study, + trial: trial, + }); + } + + /** + * Parse the project from Trial resource. + * + * @param {string} trialName + * A fully-qualified path representing Trial resource. + * @returns {string} A string representing the project. + */ + matchProjectFromTrialName(trialName: string) { + return this.pathTemplates.trialPathTemplate.match(trialName).project; + } + + /** + * Parse the location from Trial resource. + * + * @param {string} trialName + * A fully-qualified path representing Trial resource. + * @returns {string} A string representing the location. + */ + matchLocationFromTrialName(trialName: string) { + return this.pathTemplates.trialPathTemplate.match(trialName).location; + } + + /** + * Parse the study from Trial resource. + * + * @param {string} trialName + * A fully-qualified path representing Trial resource. + * @returns {string} A string representing the study. + */ + matchStudyFromTrialName(trialName: string) { + return this.pathTemplates.trialPathTemplate.match(trialName).study; + } + + /** + * Parse the trial from Trial resource. + * + * @param {string} trialName + * A fully-qualified path representing Trial resource. + * @returns {string} A string representing the trial. + */ + matchTrialFromTrialName(trialName: string) { + return this.pathTemplates.trialPathTemplate.match(trialName).trial; + } + + /** + * Return a fully-qualified tuningJob resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} tuning_job + * @returns {string} Resource name string. + */ + tuningJobPath(project:string,location:string,tuningJob:string) { + return this.pathTemplates.tuningJobPathTemplate.render({ + project: project, + location: location, + tuning_job: tuningJob, + }); + } + + /** + * Parse the project from TuningJob resource. + * + * @param {string} tuningJobName + * A fully-qualified path representing TuningJob resource. + * @returns {string} A string representing the project. + */ + matchProjectFromTuningJobName(tuningJobName: string) { + return this.pathTemplates.tuningJobPathTemplate.match(tuningJobName).project; + } + + /** + * Parse the location from TuningJob resource. + * + * @param {string} tuningJobName + * A fully-qualified path representing TuningJob resource. + * @returns {string} A string representing the location. + */ + matchLocationFromTuningJobName(tuningJobName: string) { + return this.pathTemplates.tuningJobPathTemplate.match(tuningJobName).location; + } + + /** + * Parse the tuning_job from TuningJob resource. + * + * @param {string} tuningJobName + * A fully-qualified path representing TuningJob resource. + * @returns {string} A string representing the tuning_job. + */ + matchTuningJobFromTuningJobName(tuningJobName: string) { + return this.pathTemplates.tuningJobPathTemplate.match(tuningJobName).tuning_job; + } + + /** + * Terminate the gRPC channel and close the client. + * + * The client will no longer be usable and all future behavior is undefined. + * @returns {Promise} A promise that resolves when the client is closed. + */ + close(): Promise { + if (this.sessionServiceStub && !this._terminated) { + return this.sessionServiceStub.then(stub => { + this._log.info('ending gRPC channel'); + this._terminated = true; + stub.close(); + this.iamClient.close().catch(err => {throw err}); + this.locationsClient.close().catch(err => {throw err}); + void this.operationsClient.close(); + }); + } + return Promise.resolve(); + } +} \ No newline at end of file diff --git a/packages/google-cloud-aiplatform/src/v1/session_service_client_config.json b/packages/google-cloud-aiplatform/src/v1/session_service_client_config.json new file mode 100644 index 00000000000..911399ddc32 --- /dev/null +++ b/packages/google-cloud-aiplatform/src/v1/session_service_client_config.json @@ -0,0 +1,54 @@ +{ + "interfaces": { + "google.cloud.aiplatform.v1.SessionService": { + "retry_codes": { + "non_idempotent": [], + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 100, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 60000, + "rpc_timeout_multiplier": 1, + "max_rpc_timeout_millis": 60000, + "total_timeout_millis": 600000 + } + }, + "methods": { + "CreateSession": { + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "GetSession": { + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "ListSessions": { + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "UpdateSession": { + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "DeleteSession": { + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "ListEvents": { + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "AppendEvent": { + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/packages/google-cloud-aiplatform/src/v1/session_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/session_service_proto_list.json new file mode 100644 index 00000000000..6f44a4de92c --- /dev/null +++ b/packages/google-cloud-aiplatform/src/v1/session_service_proto_list.json @@ -0,0 +1,162 @@ +[ + "../../protos/google/cloud/aiplatform/v1/accelerator_type.proto", + "../../protos/google/cloud/aiplatform/v1/annotation.proto", + "../../protos/google/cloud/aiplatform/v1/annotation_spec.proto", + "../../protos/google/cloud/aiplatform/v1/api_auth.proto", + "../../protos/google/cloud/aiplatform/v1/artifact.proto", + "../../protos/google/cloud/aiplatform/v1/batch_prediction_job.proto", + "../../protos/google/cloud/aiplatform/v1/cached_content.proto", + "../../protos/google/cloud/aiplatform/v1/completion_stats.proto", + "../../protos/google/cloud/aiplatform/v1/content.proto", + "../../protos/google/cloud/aiplatform/v1/context.proto", + "../../protos/google/cloud/aiplatform/v1/custom_job.proto", + "../../protos/google/cloud/aiplatform/v1/data_foundry_service.proto", + "../../protos/google/cloud/aiplatform/v1/data_item.proto", + "../../protos/google/cloud/aiplatform/v1/data_labeling_job.proto", + "../../protos/google/cloud/aiplatform/v1/dataset.proto", + "../../protos/google/cloud/aiplatform/v1/dataset_service.proto", + "../../protos/google/cloud/aiplatform/v1/dataset_version.proto", + "../../protos/google/cloud/aiplatform/v1/deployed_index_ref.proto", + "../../protos/google/cloud/aiplatform/v1/deployed_model_ref.proto", + "../../protos/google/cloud/aiplatform/v1/deployment_resource_pool.proto", + "../../protos/google/cloud/aiplatform/v1/deployment_resource_pool_service.proto", + "../../protos/google/cloud/aiplatform/v1/deployment_stage.proto", + "../../protos/google/cloud/aiplatform/v1/encryption_spec.proto", + "../../protos/google/cloud/aiplatform/v1/endpoint.proto", + "../../protos/google/cloud/aiplatform/v1/endpoint_service.proto", + "../../protos/google/cloud/aiplatform/v1/entity_type.proto", + "../../protos/google/cloud/aiplatform/v1/env_var.proto", + "../../protos/google/cloud/aiplatform/v1/evaluated_annotation.proto", + "../../protos/google/cloud/aiplatform/v1/evaluation_service.proto", + "../../protos/google/cloud/aiplatform/v1/event.proto", + "../../protos/google/cloud/aiplatform/v1/execution.proto", + "../../protos/google/cloud/aiplatform/v1/explanation.proto", + "../../protos/google/cloud/aiplatform/v1/explanation_metadata.proto", + "../../protos/google/cloud/aiplatform/v1/feature.proto", + "../../protos/google/cloud/aiplatform/v1/feature_group.proto", + "../../protos/google/cloud/aiplatform/v1/feature_monitoring_stats.proto", + "../../protos/google/cloud/aiplatform/v1/feature_online_store.proto", + "../../protos/google/cloud/aiplatform/v1/feature_online_store_admin_service.proto", + "../../protos/google/cloud/aiplatform/v1/feature_online_store_service.proto", + "../../protos/google/cloud/aiplatform/v1/feature_registry_service.proto", + "../../protos/google/cloud/aiplatform/v1/feature_selector.proto", + "../../protos/google/cloud/aiplatform/v1/feature_view.proto", + "../../protos/google/cloud/aiplatform/v1/feature_view_sync.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_online_service.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_service.proto", + "../../protos/google/cloud/aiplatform/v1/gen_ai_cache_service.proto", + "../../protos/google/cloud/aiplatform/v1/genai_tuning_service.proto", + "../../protos/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto", + "../../protos/google/cloud/aiplatform/v1/index.proto", + "../../protos/google/cloud/aiplatform/v1/index_endpoint.proto", + "../../protos/google/cloud/aiplatform/v1/index_endpoint_service.proto", + "../../protos/google/cloud/aiplatform/v1/index_service.proto", + "../../protos/google/cloud/aiplatform/v1/io.proto", + "../../protos/google/cloud/aiplatform/v1/job_service.proto", + "../../protos/google/cloud/aiplatform/v1/job_state.proto", + "../../protos/google/cloud/aiplatform/v1/lineage_subgraph.proto", + "../../protos/google/cloud/aiplatform/v1/llm_utility_service.proto", + "../../protos/google/cloud/aiplatform/v1/machine_resources.proto", + "../../protos/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto", + "../../protos/google/cloud/aiplatform/v1/match_service.proto", + "../../protos/google/cloud/aiplatform/v1/metadata_schema.proto", + "../../protos/google/cloud/aiplatform/v1/metadata_service.proto", + "../../protos/google/cloud/aiplatform/v1/metadata_store.proto", + "../../protos/google/cloud/aiplatform/v1/migratable_resource.proto", + "../../protos/google/cloud/aiplatform/v1/migration_service.proto", + "../../protos/google/cloud/aiplatform/v1/model.proto", + "../../protos/google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto", + "../../protos/google/cloud/aiplatform/v1/model_evaluation.proto", + "../../protos/google/cloud/aiplatform/v1/model_evaluation_slice.proto", + "../../protos/google/cloud/aiplatform/v1/model_garden_service.proto", + "../../protos/google/cloud/aiplatform/v1/model_monitoring.proto", + "../../protos/google/cloud/aiplatform/v1/model_service.proto", + "../../protos/google/cloud/aiplatform/v1/nas_job.proto", + "../../protos/google/cloud/aiplatform/v1/network_spec.proto", + "../../protos/google/cloud/aiplatform/v1/notebook_euc_config.proto", + "../../protos/google/cloud/aiplatform/v1/notebook_execution_job.proto", + "../../protos/google/cloud/aiplatform/v1/notebook_idle_shutdown_config.proto", + "../../protos/google/cloud/aiplatform/v1/notebook_runtime.proto", + "../../protos/google/cloud/aiplatform/v1/notebook_runtime_template_ref.proto", + "../../protos/google/cloud/aiplatform/v1/notebook_service.proto", + "../../protos/google/cloud/aiplatform/v1/notebook_software_config.proto", + "../../protos/google/cloud/aiplatform/v1/openapi.proto", + "../../protos/google/cloud/aiplatform/v1/operation.proto", + "../../protos/google/cloud/aiplatform/v1/persistent_resource.proto", + "../../protos/google/cloud/aiplatform/v1/persistent_resource_service.proto", + "../../protos/google/cloud/aiplatform/v1/pipeline_failure_policy.proto", + "../../protos/google/cloud/aiplatform/v1/pipeline_job.proto", + "../../protos/google/cloud/aiplatform/v1/pipeline_service.proto", + "../../protos/google/cloud/aiplatform/v1/pipeline_state.proto", + "../../protos/google/cloud/aiplatform/v1/prediction_service.proto", + "../../protos/google/cloud/aiplatform/v1/publisher_model.proto", + "../../protos/google/cloud/aiplatform/v1/reasoning_engine.proto", + "../../protos/google/cloud/aiplatform/v1/reasoning_engine_execution_service.proto", + "../../protos/google/cloud/aiplatform/v1/reasoning_engine_service.proto", + "../../protos/google/cloud/aiplatform/v1/reservation_affinity.proto", + "../../protos/google/cloud/aiplatform/v1/saved_query.proto", + "../../protos/google/cloud/aiplatform/v1/schedule.proto", + "../../protos/google/cloud/aiplatform/v1/schedule_service.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/instance/text_classification.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/instance/video_classification.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/params/image_classification.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/params/image_segmentation.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/params/video_classification.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/prediction/classification.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/prediction/image_segmentation.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.proto", + "../../protos/google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.proto", + "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.proto", + "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.proto", + "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.proto", + "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.proto", + "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.proto", + "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.proto", + "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.proto", + "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.proto", + "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.proto", + "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", + "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", + "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", + "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", + "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", + "../../protos/google/cloud/aiplatform/v1/study.proto", + "../../protos/google/cloud/aiplatform/v1/tensorboard.proto", + "../../protos/google/cloud/aiplatform/v1/tensorboard_data.proto", + "../../protos/google/cloud/aiplatform/v1/tensorboard_experiment.proto", + "../../protos/google/cloud/aiplatform/v1/tensorboard_run.proto", + "../../protos/google/cloud/aiplatform/v1/tensorboard_service.proto", + "../../protos/google/cloud/aiplatform/v1/tensorboard_time_series.proto", + "../../protos/google/cloud/aiplatform/v1/tool.proto", + "../../protos/google/cloud/aiplatform/v1/training_pipeline.proto", + "../../protos/google/cloud/aiplatform/v1/tuning_job.proto", + "../../protos/google/cloud/aiplatform/v1/types.proto", + "../../protos/google/cloud/aiplatform/v1/unmanaged_container_model.proto", + "../../protos/google/cloud/aiplatform/v1/usage_metadata.proto", + "../../protos/google/cloud/aiplatform/v1/user_action_reference.proto", + "../../protos/google/cloud/aiplatform/v1/value.proto", + "../../protos/google/cloud/aiplatform/v1/vertex_rag_data.proto", + "../../protos/google/cloud/aiplatform/v1/vertex_rag_data_service.proto", + "../../protos/google/cloud/aiplatform/v1/vertex_rag_service.proto", + "../../protos/google/cloud/aiplatform/v1/vizier_service.proto" +] 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 526e61fdcae..ea277b134b2 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 @@ -333,6 +333,12 @@ export class SpecialistPoolServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -385,11 +391,11 @@ export class SpecialistPoolServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -4205,6 +4211,143 @@ export class SpecialistPoolServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/specialist_pool_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/specialist_pool_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/specialist_pool_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/specialist_pool_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", 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 28f3f9b796c..f82a2480800 100644 --- a/packages/google-cloud-aiplatform/src/v1/tensorboard_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/tensorboard_service_client.ts @@ -331,6 +331,12 @@ export class TensorboardServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -397,11 +403,11 @@ export class TensorboardServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -7360,6 +7366,143 @@ export class TensorboardServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/tensorboard_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/tensorboard_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/tensorboard_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/tensorboard_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/vertex_rag_data_service_client.ts b/packages/google-cloud-aiplatform/src/v1/vertex_rag_data_service_client.ts index 8578b182be2..35c92f7fef8 100644 --- a/packages/google-cloud-aiplatform/src/v1/vertex_rag_data_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/vertex_rag_data_service_client.ts @@ -328,6 +328,12 @@ export class VertexRagDataServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -382,11 +388,11 @@ export class VertexRagDataServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -5056,6 +5062,143 @@ export class VertexRagDataServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/vertex_rag_data_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/vertex_rag_data_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/vertex_rag_data_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/vertex_rag_data_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/vertex_rag_service_client.ts b/packages/google-cloud-aiplatform/src/v1/vertex_rag_service_client.ts index fc9351cf902..a549e9190b1 100644 --- a/packages/google-cloud-aiplatform/src/v1/vertex_rag_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/vertex_rag_service_client.ts @@ -18,7 +18,7 @@ /* global window */ import type * as gax from 'google-gax'; -import type {Callback, CallOptions, Descriptors, ClientOptions, IamClient, IamProtos, LocationsClient, LocationProtos} from 'google-gax'; +import type {Callback, CallOptions, Descriptors, ClientOptions, GrpcClientOptions, LROperation, IamClient, IamProtos, LocationsClient, LocationProtos} from 'google-gax'; import * as protos from '../../protos/protos'; import jsonProtos = require('../../protos/protos.json'); @@ -61,6 +61,7 @@ export class VertexRagServiceClient { iamClient: IamClient; locationsClient: LocationsClient; pathTemplates: {[name: string]: gax.PathTemplate}; + operationsClient: gax.OperationsClient; vertexRagServiceStub?: Promise<{[name: string]: Function}>; /** @@ -327,6 +328,12 @@ export class VertexRagServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -356,6 +363,41 @@ export class VertexRagServiceClient { ), }; + const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos); + // This API contains "long-running operations", which return a + // an Operation object that allows for tracking of the operation, + // rather than holding a request open. + const lroOptions: GrpcClientOptions = { + auth: this.auth, + grpc: 'grpc' in this._gaxGrpc ? this._gaxGrpc.grpc : undefined + }; + if (opts.fallback) { + lroOptions.protoJson = protoFilesRoot; + lroOptions.httpRules = [{selector: 'google.cloud.location.Locations.GetLocation',get: '/ui/{name=projects/*/locations/*}',additional_bindings: [{get: '/v1/{name=projects/*/locations/*}',}], + },{selector: 'google.cloud.location.Locations.ListLocations',get: '/ui/{name=projects/*}/locations',additional_bindings: [{get: '/v1/{name=projects/*}/locations',}], + },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], + },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], + },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], + }]; + } + this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); + const asyncRetrieveContextsResponse = protoFilesRoot.lookup( + '.google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse') as gax.protobuf.Type; + const asyncRetrieveContextsMetadata = protoFilesRoot.lookup( + '.google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata') as gax.protobuf.Type; + + this.descriptors.longrunning = { + asyncRetrieveContexts: new this._gaxModule.LongrunningDescriptor( + this.operationsClient, + asyncRetrieveContextsResponse.decode.bind(asyncRetrieveContextsResponse), + asyncRetrieveContextsMetadata.decode.bind(asyncRetrieveContextsMetadata)) + }; + // Put together the default options sent with requests. this._defaults = this._gaxGrpc.constructSettings( 'google.cloud.aiplatform.v1.VertexRagService', gapicConfig as gax.ClientConfig, @@ -399,7 +441,7 @@ export class VertexRagServiceClient { // Iterate over each of the methods that the service provides // and create an API call method for each. const vertexRagServiceStubMethods = - ['retrieveContexts', 'augmentPrompt', 'corroborateContent']; + ['retrieveContexts', 'augmentPrompt', 'corroborateContent', 'askContexts', 'asyncRetrieveContexts']; for (const methodName of vertexRagServiceStubMethods) { const callPromise = this.vertexRagServiceStub.then( stub => (...args: Array<{}>) => { @@ -414,6 +456,7 @@ export class VertexRagServiceClient { }); const descriptor = + this.descriptors.longrunning[methodName] || undefined; const apiCall = this._gaxModule.createApiCall( callPromise, @@ -814,7 +857,222 @@ export class VertexRagServiceClient { throw error; }); } +/** + * Agentic Retrieval Ask API for RAG. + * + * @param {Object} request + * The request object that will be sent. + * @param {string} request.parent + * Required. The resource name of the Location from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. + * @param {google.cloud.aiplatform.v1.RagQuery} request.query + * Required. Single RAG retrieve query. + * @param {number[]} [request.tools] + * Optional. The tools to use for AskContexts. + * @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 {@link protos.google.cloud.aiplatform.v1.AskContextsResponse|AskContextsResponse}. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation } + * for more details and examples. + * @example include:samples/generated/v1/vertex_rag_service.ask_contexts.js + * region_tag:aiplatform_v1_generated_VertexRagService_AskContexts_async + */ + askContexts( + request?: protos.google.cloud.aiplatform.v1.IAskContextsRequest, + options?: CallOptions): + Promise<[ + protos.google.cloud.aiplatform.v1.IAskContextsResponse, + protos.google.cloud.aiplatform.v1.IAskContextsRequest|undefined, {}|undefined + ]>; + askContexts( + request: protos.google.cloud.aiplatform.v1.IAskContextsRequest, + options: CallOptions, + callback: Callback< + protos.google.cloud.aiplatform.v1.IAskContextsResponse, + protos.google.cloud.aiplatform.v1.IAskContextsRequest|null|undefined, + {}|null|undefined>): void; + askContexts( + request: protos.google.cloud.aiplatform.v1.IAskContextsRequest, + callback: Callback< + protos.google.cloud.aiplatform.v1.IAskContextsResponse, + protos.google.cloud.aiplatform.v1.IAskContextsRequest|null|undefined, + {}|null|undefined>): void; + askContexts( + request?: protos.google.cloud.aiplatform.v1.IAskContextsRequest, + optionsOrCallback?: CallOptions|Callback< + protos.google.cloud.aiplatform.v1.IAskContextsResponse, + protos.google.cloud.aiplatform.v1.IAskContextsRequest|null|undefined, + {}|null|undefined>, + callback?: Callback< + protos.google.cloud.aiplatform.v1.IAskContextsResponse, + protos.google.cloud.aiplatform.v1.IAskContextsRequest|null|undefined, + {}|null|undefined>): + Promise<[ + protos.google.cloud.aiplatform.v1.IAskContextsResponse, + protos.google.cloud.aiplatform.v1.IAskContextsRequest|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().catch(err => {throw err}); + this._log.info('askContexts request %j', request); + const wrappedCallback: Callback< + protos.google.cloud.aiplatform.v1.IAskContextsResponse, + protos.google.cloud.aiplatform.v1.IAskContextsRequest|null|undefined, + {}|null|undefined>|undefined = callback + ? (error, response, options, rawResponse) => { + this._log.info('askContexts response %j', response); + callback!(error, response, options, rawResponse); // We verified callback above. + } + : undefined; + return this.innerApiCalls.askContexts(request, options, wrappedCallback) + ?.then(([response, options, rawResponse]: [ + protos.google.cloud.aiplatform.v1.IAskContextsResponse, + protos.google.cloud.aiplatform.v1.IAskContextsRequest|undefined, + {}|undefined + ]) => { + this._log.info('askContexts response %j', response); + return [response, options, rawResponse]; + }).catch((error: any) => { + if (error && 'statusDetails' in error && error.statusDetails instanceof Array) { + const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos) as unknown as gax.protobuf.Type; + error.statusDetails = decodeAnyProtosInArray(error.statusDetails, protos); + } + throw error; + }); + } +/** + * Asynchronous API to retrieves relevant contexts for a query. + * + * @param {Object} request + * The request object that will be sent. + * @param {string} request.parent + * Required. The resource name of the Location from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. + * @param {google.cloud.aiplatform.v1.RagQuery} request.query + * Required. Single RAG retrieve query. + * @param {number[]} [request.tools] + * Optional. The tools to use for AskContexts. + * @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/vertex_rag_service.async_retrieve_contexts.js + * region_tag:aiplatform_v1_generated_VertexRagService_AsyncRetrieveContexts_async + */ + asyncRetrieveContexts( + request?: protos.google.cloud.aiplatform.v1.IAsyncRetrieveContextsRequest, + options?: CallOptions): + Promise<[ + LROperation, + protos.google.longrunning.IOperation|undefined, {}|undefined + ]>; + asyncRetrieveContexts( + request: protos.google.cloud.aiplatform.v1.IAsyncRetrieveContextsRequest, + options: CallOptions, + callback: Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>): void; + asyncRetrieveContexts( + request: protos.google.cloud.aiplatform.v1.IAsyncRetrieveContextsRequest, + callback: Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>): void; + asyncRetrieveContexts( + request?: protos.google.cloud.aiplatform.v1.IAsyncRetrieveContextsRequest, + optionsOrCallback?: CallOptions|Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>, + callback?: Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>): + Promise<[ + LROperation, + 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().catch(err => {throw err}); + const wrappedCallback: Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>|undefined = callback + ? (error, response, rawResponse, _) => { + this._log.info('asyncRetrieveContexts response %j', rawResponse); + callback!(error, response, rawResponse, _); // We verified callback above. + } + : undefined; + this._log.info('asyncRetrieveContexts request %j', request); + return this.innerApiCalls.asyncRetrieveContexts(request, options, wrappedCallback) + ?.then(([response, rawResponse, _]: [ + LROperation, + protos.google.longrunning.IOperation|undefined, {}|undefined + ]) => { + this._log.info('asyncRetrieveContexts response %j', rawResponse); + return [response, rawResponse, _]; + }); + } +/** + * Check the status of the long running operation returned by `asyncRetrieveContexts()`. + * @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/vertex_rag_service.async_retrieve_contexts.js + * region_tag:aiplatform_v1_generated_VertexRagService_AsyncRetrieveContexts_async + */ + async checkAsyncRetrieveContextsProgress(name: string): Promise>{ + this._log.info('asyncRetrieveContexts long-running'); + 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.asyncRetrieveContexts, this._gaxModule.createDefaultBackoffSettings()); + return decodeOperation as LROperation; + } /** * Gets the access control policy for a resource. Returns an empty policy * if the resource exists and does not have a policy set. @@ -1031,6 +1289,230 @@ export class VertexRagServiceClient { return this.locationsClient.listLocationsAsync(request, options); } +/** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * @param {Object} request - The request object that will be sent. + * @param {string} request.name - The name of the operation resource. + * @param {Object=} options + * Optional parameters. You can override the default settings for this call, + * e.g, timeout, retries, paginations, etc. See {@link + * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} + * for the details. + * @param {function(?Error, ?Object)=} callback + * The function which will be called with the result of the API call. + * + * The second parameter to the callback is an object representing + * {@link google.longrunning.Operation | google.longrunning.Operation}. + * @return {Promise} - The promise which resolves to an array. + * The first element of the array is an object representing + * {@link google.longrunning.Operation | google.longrunning.Operation}. + * The promise has a method named "cancel" which cancels the ongoing API call. + * + * @example + * ``` + * const client = longrunning.operationsClient(); + * const name = ''; + * const [response] = await client.getOperation({name}); + * // doThingsWith(response) + * ``` + */ + getOperation( + request: protos.google.longrunning.GetOperationRequest, + optionsOrCallback?: + | gax.CallOptions + | Callback< + protos.google.longrunning.Operation, + protos.google.longrunning.GetOperationRequest, + {} | null | undefined + >, + callback?: Callback< + protos.google.longrunning.Operation, + protos.google.longrunning.GetOperationRequest, + {} | null | undefined + > + ): Promise<[protos.google.longrunning.Operation]> { + let options: gax.CallOptions; + if (typeof optionsOrCallback === 'function' && callback === undefined) { + callback = optionsOrCallback; + options = {}; + } else { + options = optionsOrCallback as gax.CallOptions; + } + options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers['x-goog-request-params'] = + this._gaxModule.routingHeader.fromParams({ + name: request.name ?? '', + }); + return this.operationsClient.getOperation(request, options, callback); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object. + * + * For-await-of syntax is used with the iterable to recursively get response element on-demand. + * + * @param {Object} request - The request object that will be sent. + * @param {string} request.name - The name of the operation collection. + * @param {string} request.filter - The standard list filter. + * @param {number=} request.pageSize - + * The maximum number of resources contained in the underlying API + * response. If page streaming is performed per-resource, this + * parameter does not affect the return value. If page streaming is + * performed per-page, this determines the maximum number of + * resources in a page. + * @param {Object=} options + * Optional parameters. You can override the default settings for this call, + * e.g, timeout, retries, paginations, etc. See {@link + * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the + * details. + * @returns {Object} + * An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}. + * + * @example + * ``` + * const client = longrunning.operationsClient(); + * for await (const response of client.listOperationsAsync(request)); + * // doThingsWith(response) + * ``` + */ + listOperationsAsync( + request: protos.google.longrunning.ListOperationsRequest, + options?: gax.CallOptions + ): AsyncIterable { + options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers['x-goog-request-params'] = + this._gaxModule.routingHeader.fromParams({ + name: request.name ?? '', + }); + return this.operationsClient.listOperationsAsync(request, options); + } + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not + * guaranteed. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use + * {@link Operations.GetOperation} or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, + * the operation is not deleted; instead, it becomes an operation with + * an {@link Operation.error} value with a {@link google.rpc.Status.code} of + * 1, corresponding to `Code.CANCELLED`. + * + * @param {Object} request - The request object that will be sent. + * @param {string} request.name - The name of the operation resource to be cancelled. + * @param {Object=} options + * Optional parameters. You can override the default settings for this call, + * e.g, timeout, retries, paginations, etc. See {@link + * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the + * details. + * @param {function(?Error)=} callback + * The function which will be called with the result of the API call. + * @return {Promise} - The promise which resolves when API call finishes. + * The promise has a method named "cancel" which cancels the ongoing API + * call. + * + * @example + * ``` + * const client = longrunning.operationsClient(); + * await client.cancelOperation({name: ''}); + * ``` + */ + cancelOperation( + request: protos.google.longrunning.CancelOperationRequest, + optionsOrCallback?: + | gax.CallOptions + | Callback< + protos.google.longrunning.CancelOperationRequest, + protos.google.protobuf.Empty, + {} | undefined | null + >, + callback?: Callback< + protos.google.longrunning.CancelOperationRequest, + protos.google.protobuf.Empty, + {} | undefined | null + > + ): Promise { + let options: gax.CallOptions; + if (typeof optionsOrCallback === 'function' && callback === undefined) { + callback = optionsOrCallback; + options = {}; + } else { + options = optionsOrCallback as gax.CallOptions; + } + options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers['x-goog-request-params'] = + this._gaxModule.routingHeader.fromParams({ + name: request.name ?? '', + }); + return this.operationsClient.cancelOperation(request, options, callback); + } + + /** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * @param {Object} request - The request object that will be sent. + * @param {string} request.name - The name of the operation resource to be deleted. + * @param {Object=} options + * Optional parameters. You can override the default settings for this call, + * e.g, timeout, retries, paginations, etc. See {@link + * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} + * for the details. + * @param {function(?Error)=} callback + * The function which will be called with the result of the API call. + * @return {Promise} - The promise which resolves when API call finishes. + * The promise has a method named "cancel" which cancels the ongoing API + * call. + * + * @example + * ``` + * const client = longrunning.operationsClient(); + * await client.deleteOperation({name: ''}); + * ``` + */ + deleteOperation( + request: protos.google.longrunning.DeleteOperationRequest, + optionsOrCallback?: + | gax.CallOptions + | Callback< + protos.google.protobuf.Empty, + protos.google.longrunning.DeleteOperationRequest, + {} | null | undefined + >, + callback?: Callback< + protos.google.protobuf.Empty, + protos.google.longrunning.DeleteOperationRequest, + {} | null | undefined + > + ): Promise { + let options: gax.CallOptions; + if (typeof optionsOrCallback === 'function' && callback === undefined) { + callback = optionsOrCallback; + options = {}; + } else { + options = optionsOrCallback as gax.CallOptions; + } + options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers['x-goog-request-params'] = + this._gaxModule.routingHeader.fromParams({ + name: request.name ?? '', + }); + return this.operationsClient.deleteOperation(request, options, callback); + } + // -------------------- // -- Path templates -- // -------------------- @@ -3585,6 +4067,143 @@ export class VertexRagServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * @@ -4131,6 +4750,7 @@ export class VertexRagServiceClient { stub.close(); this.iamClient.close().catch(err => {throw err}); this.locationsClient.close().catch(err => {throw err}); + void this.operationsClient.close(); }); } return Promise.resolve(); diff --git a/packages/google-cloud-aiplatform/src/v1/vertex_rag_service_client_config.json b/packages/google-cloud-aiplatform/src/v1/vertex_rag_service_client_config.json index ce55d83f2dc..03692b7508b 100644 --- a/packages/google-cloud-aiplatform/src/v1/vertex_rag_service_client_config.json +++ b/packages/google-cloud-aiplatform/src/v1/vertex_rag_service_client_config.json @@ -31,6 +31,14 @@ "CorroborateContent": { "retry_codes_name": "non_idempotent", "retry_params_name": "default" + }, + "AskContexts": { + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "AsyncRetrieveContexts": { + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" } } } diff --git a/packages/google-cloud-aiplatform/src/v1/vertex_rag_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/vertex_rag_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/vertex_rag_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/vertex_rag_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", 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 acb55b3bdb7..f72032d7a8b 100644 --- a/packages/google-cloud-aiplatform/src/v1/vizier_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/vizier_service_client.ts @@ -332,6 +332,12 @@ export class VizierServiceClient { schedulePathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/schedules/{schedule}' ), + sessionPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}' + ), + sessionEventPathTemplate: new this._gaxModule.PathTemplate( + 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}' + ), specialistPoolPathTemplate: new this._gaxModule.PathTemplate( 'projects/{project}/locations/{location}/specialistPools/{specialist_pool}' ), @@ -386,11 +392,11 @@ export class VizierServiceClient { },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:setIamPolicy',body: '*',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',additional_bindings: [{post: '/v1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], - },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], - },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',}], - },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], - },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/v1/{name=reasoningEngines/*/sessions/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1/{name=reasoningEngines/*/sessions/*/operations/*}:wait',}], }]; } this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); @@ -5299,6 +5305,143 @@ export class VizierServiceClient { return this.pathTemplates.schedulePathTemplate.match(scheduleName).schedule; } + /** + * Return a fully-qualified session resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @returns {string} Resource name string. + */ + sessionPath(project:string,location:string,reasoningEngine:string,session:string) { + return this.pathTemplates.sessionPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + }); + } + + /** + * Parse the project from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).project; + } + + /** + * Parse the location from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).location; + } + + /** + * Parse the reasoning_engine from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).reasoning_engine; + } + + /** + * Parse the session from Session resource. + * + * @param {string} sessionName + * A fully-qualified path representing Session resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionName(sessionName: string) { + return this.pathTemplates.sessionPathTemplate.match(sessionName).session; + } + + /** + * Return a fully-qualified sessionEvent resource name string. + * + * @param {string} project + * @param {string} location + * @param {string} reasoning_engine + * @param {string} session + * @param {string} event + * @returns {string} Resource name string. + */ + sessionEventPath(project:string,location:string,reasoningEngine:string,session:string,event:string) { + return this.pathTemplates.sessionEventPathTemplate.render({ + project: project, + location: location, + reasoning_engine: reasoningEngine, + session: session, + event: event, + }); + } + + /** + * Parse the project from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the project. + */ + matchProjectFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).project; + } + + /** + * Parse the location from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the location. + */ + matchLocationFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).location; + } + + /** + * Parse the reasoning_engine from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the reasoning_engine. + */ + matchReasoningEngineFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).reasoning_engine; + } + + /** + * Parse the session from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the session. + */ + matchSessionFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).session; + } + + /** + * Parse the event from SessionEvent resource. + * + * @param {string} sessionEventName + * A fully-qualified path representing SessionEvent resource. + * @returns {string} A string representing the event. + */ + matchEventFromSessionEventName(sessionEventName: string) { + return this.pathTemplates.sessionEventPathTemplate.match(sessionEventName).event; + } + /** * Return a fully-qualified specialistPool resource name string. * diff --git a/packages/google-cloud-aiplatform/src/v1/vizier_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/vizier_service_proto_list.json index cfe864bfec3..6f44a4de92c 100644 --- a/packages/google-cloud-aiplatform/src/v1/vizier_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/vizier_service_proto_list.json @@ -136,6 +136,8 @@ "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto", "../../protos/google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto", "../../protos/google/cloud/aiplatform/v1/service_networking.proto", + "../../protos/google/cloud/aiplatform/v1/session.proto", + "../../protos/google/cloud/aiplatform/v1/session_service.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool.proto", "../../protos/google/cloud/aiplatform/v1/specialist_pool_service.proto", "../../protos/google/cloud/aiplatform/v1/study.proto", diff --git a/packages/google-cloud-aiplatform/src/v1beta1/gapic_metadata.json b/packages/google-cloud-aiplatform/src/v1beta1/gapic_metadata.json index 2278d0c470c..ce3a2bc8b29 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/gapic_metadata.json +++ b/packages/google-cloud-aiplatform/src/v1beta1/gapic_metadata.json @@ -4523,6 +4523,16 @@ "methods": [ "corroborateContent" ] + }, + "AskContexts": { + "methods": [ + "askContexts" + ] + }, + "AsyncRetrieveContexts": { + "methods": [ + "asyncRetrieveContexts" + ] } } }, @@ -4543,6 +4553,16 @@ "methods": [ "corroborateContent" ] + }, + "AskContexts": { + "methods": [ + "askContexts" + ] + }, + "AsyncRetrieveContexts": { + "methods": [ + "asyncRetrieveContexts" + ] } } } diff --git a/packages/google-cloud-aiplatform/src/v1beta1/session_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/session_service_client.ts index cc8995f1413..91d2a97b3a5 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/session_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/session_service_client.ts @@ -1122,8 +1122,9 @@ export class SessionServiceClient { * Supported fields: * * `display_name` * * `user_id` + * * `labels` * - * Example: `display_name="abc"`, `user_id="123"`. + * Example: `display_name="abc"`, `user_id="123"`, `labels.key="value"`. * @param {string} [request.orderBy] * Optional. A comma-separated list of fields to order by, sorted in ascending * order. Use "desc" after a field name for descending. Supported fields: @@ -1242,8 +1243,9 @@ export class SessionServiceClient { * Supported fields: * * `display_name` * * `user_id` + * * `labels` * - * Example: `display_name="abc"`, `user_id="123"`. + * Example: `display_name="abc"`, `user_id="123"`, `labels.key="value"`. * @param {string} [request.orderBy] * Optional. A comma-separated list of fields to order by, sorted in ascending * order. Use "desc" after a field name for descending. Supported fields: @@ -1311,8 +1313,9 @@ export class SessionServiceClient { * Supported fields: * * `display_name` * * `user_id` + * * `labels` * - * Example: `display_name="abc"`, `user_id="123"`. + * Example: `display_name="abc"`, `user_id="123"`, `labels.key="value"`. * @param {string} [request.orderBy] * Optional. A comma-separated list of fields to order by, sorted in ascending * order. Use "desc" after a field name for descending. Supported fields: diff --git a/packages/google-cloud-aiplatform/src/v1beta1/vertex_rag_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/vertex_rag_service_client.ts index e409f37d10e..edbfeeb2938 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/vertex_rag_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/vertex_rag_service_client.ts @@ -18,7 +18,7 @@ /* global window */ import type * as gax from 'google-gax'; -import type {Callback, CallOptions, Descriptors, ClientOptions, IamClient, IamProtos, LocationsClient, LocationProtos} from 'google-gax'; +import type {Callback, CallOptions, Descriptors, ClientOptions, GrpcClientOptions, LROperation, IamClient, IamProtos, LocationsClient, LocationProtos} from 'google-gax'; import * as protos from '../../protos/protos'; import jsonProtos = require('../../protos/protos.json'); @@ -61,6 +61,7 @@ export class VertexRagServiceClient { iamClient: IamClient; locationsClient: LocationsClient; pathTemplates: {[name: string]: gax.PathTemplate}; + operationsClient: gax.OperationsClient; vertexRagServiceStub?: Promise<{[name: string]: Function}>; /** @@ -383,6 +384,41 @@ export class VertexRagServiceClient { ), }; + const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos); + // This API contains "long-running operations", which return a + // an Operation object that allows for tracking of the operation, + // rather than holding a request open. + const lroOptions: GrpcClientOptions = { + auth: this.auth, + grpc: 'grpc' in this._gaxGrpc ? this._gaxGrpc.grpc : undefined + }; + if (opts.fallback) { + lroOptions.protoJson = protoFilesRoot; + lroOptions.httpRules = [{selector: 'google.cloud.location.Locations.GetLocation',get: '/ui/{name=projects/*/locations/*}',additional_bindings: [{get: '/v1beta1/{name=projects/*/locations/*}',}], + },{selector: 'google.cloud.location.Locations.ListLocations',get: '/ui/{name=projects/*}/locations',additional_bindings: [{get: '/v1beta1/{name=projects/*}/locations',}], + },{selector: 'google.iam.v1.IAMPolicy.GetIamPolicy',post: '/v1beta1/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',body: '*',additional_bindings: [{post: '/v1beta1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/v1beta1/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/v1beta1/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/v1beta1/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/v1beta1/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/publishers/*/models/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:getIamPolicy',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:getIamPolicy',}], + },{selector: 'google.iam.v1.IAMPolicy.SetIamPolicy',post: '/v1beta1/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',additional_bindings: [{post: '/v1beta1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/v1beta1/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/v1beta1/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '/v1beta1/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/models/*}:setIamPolicy',body: '*',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:setIamPolicy',body: '*',},{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: '*',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:setIamPolicy',body: '*',}], + },{selector: 'google.iam.v1.IAMPolicy.TestIamPermissions',post: '/v1beta1/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',body: '*',additional_bindings: [{post: '/v1beta1/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/v1beta1/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/v1beta1/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/v1beta1/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/v1beta1/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/v1beta1/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featurestores/*/entityTypes/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/models/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/endpoints/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/notebookRuntimeTemplates/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:testIamPermissions',},{post: '/ui/{resource=projects/*/locations/*/featureGroups/*}:testIamPermissions',}], + },{selector: 'google.longrunning.Operations.CancelOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:cancel',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/agents/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/apps/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/datasets/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/endpoints/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/exampleStores/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/extensionControllers/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/extensions/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/featurestores/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/customJobs/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/indexes/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/modelMonitors/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/migratableResources/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/models/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/ragEngineConfig/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',},{post: '/v1beta1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/memories/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/schedules/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/specialistPools/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:cancel',},{post: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:cancel',}], + },{selector: 'google.longrunning.Operations.DeleteOperation',delete: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{delete: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/agents/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/apps/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/datasets/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/evaluationTasks/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/exampleStores/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/extensions/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/indexes/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/models/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/memories/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/solvers/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/schedules/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{delete: '/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.GetOperation',get: '/ui/{name=projects/*/locations/*/operations/*}',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDeploymentJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{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/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/agents/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/apps/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/datasets/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/endpoints/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/evaluationTasks/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/exampleStores/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/extensionControllers/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/extensions/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/featurestores/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/customJobs/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/indexes/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/modelMonitors/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/migratableResources/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/models/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/ragEngineConfig/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/memories/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/solvers/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/schedules/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/specialistPools/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}',},{get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}',}], + },{selector: 'google.longrunning.Operations.ListOperations',get: '/ui/{name=projects/*/locations/*}/operations',additional_bindings: [{get: '/ui/{name=projects/*/locations/*/agents/*}/operations',},{get: '/ui/{name=projects/*/locations/*/apps/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/ui/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/ui/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/ui/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{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',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/ui/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*}/operations',},{get: '/ui/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*}/operations',},{get: '/ui/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/ui/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/ui/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/ui/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/ui/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/ui/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{get: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{get: '/v1beta1/{name=projects/*/locations/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/agents/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/apps/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/datasets/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/datasets/*/savedQueries/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/endpoints/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/evaluationTasks/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/exampleStores/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/extensionControllers/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/extensions/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/featurestores/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/customJobs/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/dataLabelingJobs/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/indexes/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/indexEndpoints/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/metadataStores/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/contexts/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/executions/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/modelMonitors/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/migratableResources/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/models/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/notebookExecutionJobs/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/notebookRuntimes/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/notebookRuntimeTemplates/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/persistentResources/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/ragEngineConfig}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/memories/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/solvers/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/studies/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/studies/*/trials/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/trainingPipelines/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/pipelineJobs/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/schedules/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/specialistPools/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/tensorboards/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*}/operations',},{get: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*}/operations',}], + },{selector: 'google.longrunning.Operations.WaitOperation',post: '/ui/{name=projects/*/locations/*/operations/*}:wait',additional_bindings: [{post: '/ui/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tuningJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/ragEngineConfig/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/ui/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/agents/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/apps/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/datasets/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/datasets/*/savedQueries/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/datasets/*/dataItems/*/annotations/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/deploymentResourcePools/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/edgeDevices/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/endpoints/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/evaluationTasks/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/exampleStores/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/extensionControllers/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/extensions/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/featurestores/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/customJobs/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/dataLabelingJobs/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/hyperparameterTuningJobs/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/indexes/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/indexEndpoints/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/artifacts/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/contexts/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/metadataStores/*/executions/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/modelMonitors/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/migratableResources/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/models/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/models/*/evaluations/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/notebookExecutionJobs/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/notebookRuntimes/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/notebookRuntimeTemplates/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/persistentResources/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/ragEngineConfig/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',},{post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/memories/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/studies/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/studies/*/trials/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/trainingPipelines/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/pipelineJobs/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/schedules/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/specialistPools/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/features/*/operations/*}:wait',},{post: '/v1beta1/{name=projects/*/locations/*/featureGroups/*/featureMonitors/*/operations/*}:wait',}], + }]; + } + this.operationsClient = this._gaxModule.lro(lroOptions).operationsClient(opts); + const asyncRetrieveContextsResponse = protoFilesRoot.lookup( + '.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsResponse') as gax.protobuf.Type; + const asyncRetrieveContextsMetadata = protoFilesRoot.lookup( + '.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsOperationMetadata') as gax.protobuf.Type; + + this.descriptors.longrunning = { + asyncRetrieveContexts: new this._gaxModule.LongrunningDescriptor( + this.operationsClient, + asyncRetrieveContextsResponse.decode.bind(asyncRetrieveContextsResponse), + asyncRetrieveContextsMetadata.decode.bind(asyncRetrieveContextsMetadata)) + }; + // Put together the default options sent with requests. this._defaults = this._gaxGrpc.constructSettings( 'google.cloud.aiplatform.v1beta1.VertexRagService', gapicConfig as gax.ClientConfig, @@ -426,7 +462,7 @@ export class VertexRagServiceClient { // Iterate over each of the methods that the service provides // and create an API call method for each. const vertexRagServiceStubMethods = - ['retrieveContexts', 'augmentPrompt', 'corroborateContent']; + ['retrieveContexts', 'augmentPrompt', 'corroborateContent', 'askContexts', 'asyncRetrieveContexts']; for (const methodName of vertexRagServiceStubMethods) { const callPromise = this.vertexRagServiceStub.then( stub => (...args: Array<{}>) => { @@ -441,6 +477,7 @@ export class VertexRagServiceClient { }); const descriptor = + this.descriptors.longrunning[methodName] || undefined; const apiCall = this._gaxModule.createApiCall( callPromise, @@ -841,7 +878,222 @@ export class VertexRagServiceClient { throw error; }); } +/** + * Agentic Retrieval Ask API for RAG. + * + * @param {Object} request + * The request object that will be sent. + * @param {string} request.parent + * Required. The resource name of the Location from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. + * @param {google.cloud.aiplatform.v1beta1.RagQuery} request.query + * Required. Single RAG retrieve query. + * @param {number[]} [request.tools] + * Optional. The tools to use for AskContexts. + * @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 {@link protos.google.cloud.aiplatform.v1beta1.AskContextsResponse|AskContextsResponse}. + * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation } + * for more details and examples. + * @example include:samples/generated/v1beta1/vertex_rag_service.ask_contexts.js + * region_tag:aiplatform_v1beta1_generated_VertexRagService_AskContexts_async + */ + askContexts( + request?: protos.google.cloud.aiplatform.v1beta1.IAskContextsRequest, + options?: CallOptions): + Promise<[ + protos.google.cloud.aiplatform.v1beta1.IAskContextsResponse, + protos.google.cloud.aiplatform.v1beta1.IAskContextsRequest|undefined, {}|undefined + ]>; + askContexts( + request: protos.google.cloud.aiplatform.v1beta1.IAskContextsRequest, + options: CallOptions, + callback: Callback< + protos.google.cloud.aiplatform.v1beta1.IAskContextsResponse, + protos.google.cloud.aiplatform.v1beta1.IAskContextsRequest|null|undefined, + {}|null|undefined>): void; + askContexts( + request: protos.google.cloud.aiplatform.v1beta1.IAskContextsRequest, + callback: Callback< + protos.google.cloud.aiplatform.v1beta1.IAskContextsResponse, + protos.google.cloud.aiplatform.v1beta1.IAskContextsRequest|null|undefined, + {}|null|undefined>): void; + askContexts( + request?: protos.google.cloud.aiplatform.v1beta1.IAskContextsRequest, + optionsOrCallback?: CallOptions|Callback< + protos.google.cloud.aiplatform.v1beta1.IAskContextsResponse, + protos.google.cloud.aiplatform.v1beta1.IAskContextsRequest|null|undefined, + {}|null|undefined>, + callback?: Callback< + protos.google.cloud.aiplatform.v1beta1.IAskContextsResponse, + protos.google.cloud.aiplatform.v1beta1.IAskContextsRequest|null|undefined, + {}|null|undefined>): + Promise<[ + protos.google.cloud.aiplatform.v1beta1.IAskContextsResponse, + protos.google.cloud.aiplatform.v1beta1.IAskContextsRequest|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().catch(err => {throw err}); + this._log.info('askContexts request %j', request); + const wrappedCallback: Callback< + protos.google.cloud.aiplatform.v1beta1.IAskContextsResponse, + protos.google.cloud.aiplatform.v1beta1.IAskContextsRequest|null|undefined, + {}|null|undefined>|undefined = callback + ? (error, response, options, rawResponse) => { + this._log.info('askContexts response %j', response); + callback!(error, response, options, rawResponse); // We verified callback above. + } + : undefined; + return this.innerApiCalls.askContexts(request, options, wrappedCallback) + ?.then(([response, options, rawResponse]: [ + protos.google.cloud.aiplatform.v1beta1.IAskContextsResponse, + protos.google.cloud.aiplatform.v1beta1.IAskContextsRequest|undefined, + {}|undefined + ]) => { + this._log.info('askContexts response %j', response); + return [response, options, rawResponse]; + }).catch((error: any) => { + if (error && 'statusDetails' in error && error.statusDetails instanceof Array) { + const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos) as unknown as gax.protobuf.Type; + error.statusDetails = decodeAnyProtosInArray(error.statusDetails, protos); + } + throw error; + }); + } +/** + * Asynchronous API to retrieves relevant contexts for a query. + * + * @param {Object} request + * The request object that will be sent. + * @param {string} request.parent + * Required. The resource name of the Location from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. + * @param {google.cloud.aiplatform.v1beta1.RagQuery} request.query + * Required. Single RAG retrieve query. + * @param {number[]} [request.tools] + * Optional. The tools to use for AskContexts. + * @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/v1beta1/vertex_rag_service.async_retrieve_contexts.js + * region_tag:aiplatform_v1beta1_generated_VertexRagService_AsyncRetrieveContexts_async + */ + asyncRetrieveContexts( + request?: protos.google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsRequest, + options?: CallOptions): + Promise<[ + LROperation, + protos.google.longrunning.IOperation|undefined, {}|undefined + ]>; + asyncRetrieveContexts( + request: protos.google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsRequest, + options: CallOptions, + callback: Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>): void; + asyncRetrieveContexts( + request: protos.google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsRequest, + callback: Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>): void; + asyncRetrieveContexts( + request?: protos.google.cloud.aiplatform.v1beta1.IAsyncRetrieveContextsRequest, + optionsOrCallback?: CallOptions|Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>, + callback?: Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>): + Promise<[ + LROperation, + 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().catch(err => {throw err}); + const wrappedCallback: Callback< + LROperation, + protos.google.longrunning.IOperation|null|undefined, + {}|null|undefined>|undefined = callback + ? (error, response, rawResponse, _) => { + this._log.info('asyncRetrieveContexts response %j', rawResponse); + callback!(error, response, rawResponse, _); // We verified callback above. + } + : undefined; + this._log.info('asyncRetrieveContexts request %j', request); + return this.innerApiCalls.asyncRetrieveContexts(request, options, wrappedCallback) + ?.then(([response, rawResponse, _]: [ + LROperation, + protos.google.longrunning.IOperation|undefined, {}|undefined + ]) => { + this._log.info('asyncRetrieveContexts response %j', rawResponse); + return [response, rawResponse, _]; + }); + } +/** + * Check the status of the long running operation returned by `asyncRetrieveContexts()`. + * @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/v1beta1/vertex_rag_service.async_retrieve_contexts.js + * region_tag:aiplatform_v1beta1_generated_VertexRagService_AsyncRetrieveContexts_async + */ + async checkAsyncRetrieveContextsProgress(name: string): Promise>{ + this._log.info('asyncRetrieveContexts long-running'); + 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.asyncRetrieveContexts, this._gaxModule.createDefaultBackoffSettings()); + return decodeOperation as LROperation; + } /** * Gets the access control policy for a resource. Returns an empty policy * if the resource exists and does not have a policy set. @@ -1058,6 +1310,230 @@ export class VertexRagServiceClient { return this.locationsClient.listLocationsAsync(request, options); } +/** + * Gets the latest state of a long-running operation. Clients can use this + * method to poll the operation result at intervals as recommended by the API + * service. + * + * @param {Object} request - The request object that will be sent. + * @param {string} request.name - The name of the operation resource. + * @param {Object=} options + * Optional parameters. You can override the default settings for this call, + * e.g, timeout, retries, paginations, etc. See {@link + * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} + * for the details. + * @param {function(?Error, ?Object)=} callback + * The function which will be called with the result of the API call. + * + * The second parameter to the callback is an object representing + * {@link google.longrunning.Operation | google.longrunning.Operation}. + * @return {Promise} - The promise which resolves to an array. + * The first element of the array is an object representing + * {@link google.longrunning.Operation | google.longrunning.Operation}. + * The promise has a method named "cancel" which cancels the ongoing API call. + * + * @example + * ``` + * const client = longrunning.operationsClient(); + * const name = ''; + * const [response] = await client.getOperation({name}); + * // doThingsWith(response) + * ``` + */ + getOperation( + request: protos.google.longrunning.GetOperationRequest, + optionsOrCallback?: + | gax.CallOptions + | Callback< + protos.google.longrunning.Operation, + protos.google.longrunning.GetOperationRequest, + {} | null | undefined + >, + callback?: Callback< + protos.google.longrunning.Operation, + protos.google.longrunning.GetOperationRequest, + {} | null | undefined + > + ): Promise<[protos.google.longrunning.Operation]> { + let options: gax.CallOptions; + if (typeof optionsOrCallback === 'function' && callback === undefined) { + callback = optionsOrCallback; + options = {}; + } else { + options = optionsOrCallback as gax.CallOptions; + } + options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers['x-goog-request-params'] = + this._gaxModule.routingHeader.fromParams({ + name: request.name ?? '', + }); + return this.operationsClient.getOperation(request, options, callback); + } + /** + * Lists operations that match the specified filter in the request. If the + * server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object. + * + * For-await-of syntax is used with the iterable to recursively get response element on-demand. + * + * @param {Object} request - The request object that will be sent. + * @param {string} request.name - The name of the operation collection. + * @param {string} request.filter - The standard list filter. + * @param {number=} request.pageSize - + * The maximum number of resources contained in the underlying API + * response. If page streaming is performed per-resource, this + * parameter does not affect the return value. If page streaming is + * performed per-page, this determines the maximum number of + * resources in a page. + * @param {Object=} options + * Optional parameters. You can override the default settings for this call, + * e.g, timeout, retries, paginations, etc. See {@link + * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the + * details. + * @returns {Object} + * An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}. + * + * @example + * ``` + * const client = longrunning.operationsClient(); + * for await (const response of client.listOperationsAsync(request)); + * // doThingsWith(response) + * ``` + */ + listOperationsAsync( + request: protos.google.longrunning.ListOperationsRequest, + options?: gax.CallOptions + ): AsyncIterable { + options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers['x-goog-request-params'] = + this._gaxModule.routingHeader.fromParams({ + name: request.name ?? '', + }); + return this.operationsClient.listOperationsAsync(request, options); + } + /** + * Starts asynchronous cancellation on a long-running operation. The server + * makes a best effort to cancel the operation, but success is not + * guaranteed. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. Clients can use + * {@link Operations.GetOperation} or + * other methods to check whether the cancellation succeeded or whether the + * operation completed despite cancellation. On successful cancellation, + * the operation is not deleted; instead, it becomes an operation with + * an {@link Operation.error} value with a {@link google.rpc.Status.code} of + * 1, corresponding to `Code.CANCELLED`. + * + * @param {Object} request - The request object that will be sent. + * @param {string} request.name - The name of the operation resource to be cancelled. + * @param {Object=} options + * Optional parameters. You can override the default settings for this call, + * e.g, timeout, retries, paginations, etc. See {@link + * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the + * details. + * @param {function(?Error)=} callback + * The function which will be called with the result of the API call. + * @return {Promise} - The promise which resolves when API call finishes. + * The promise has a method named "cancel" which cancels the ongoing API + * call. + * + * @example + * ``` + * const client = longrunning.operationsClient(); + * await client.cancelOperation({name: ''}); + * ``` + */ + cancelOperation( + request: protos.google.longrunning.CancelOperationRequest, + optionsOrCallback?: + | gax.CallOptions + | Callback< + protos.google.longrunning.CancelOperationRequest, + protos.google.protobuf.Empty, + {} | undefined | null + >, + callback?: Callback< + protos.google.longrunning.CancelOperationRequest, + protos.google.protobuf.Empty, + {} | undefined | null + > + ): Promise { + let options: gax.CallOptions; + if (typeof optionsOrCallback === 'function' && callback === undefined) { + callback = optionsOrCallback; + options = {}; + } else { + options = optionsOrCallback as gax.CallOptions; + } + options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers['x-goog-request-params'] = + this._gaxModule.routingHeader.fromParams({ + name: request.name ?? '', + }); + return this.operationsClient.cancelOperation(request, options, callback); + } + + /** + * Deletes a long-running operation. This method indicates that the client is + * no longer interested in the operation result. It does not cancel the + * operation. If the server doesn't support this method, it returns + * `google.rpc.Code.UNIMPLEMENTED`. + * + * @param {Object} request - The request object that will be sent. + * @param {string} request.name - The name of the operation resource to be deleted. + * @param {Object=} options + * Optional parameters. You can override the default settings for this call, + * e.g, timeout, retries, paginations, etc. See {@link + * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} + * for the details. + * @param {function(?Error)=} callback + * The function which will be called with the result of the API call. + * @return {Promise} - The promise which resolves when API call finishes. + * The promise has a method named "cancel" which cancels the ongoing API + * call. + * + * @example + * ``` + * const client = longrunning.operationsClient(); + * await client.deleteOperation({name: ''}); + * ``` + */ + deleteOperation( + request: protos.google.longrunning.DeleteOperationRequest, + optionsOrCallback?: + | gax.CallOptions + | Callback< + protos.google.protobuf.Empty, + protos.google.longrunning.DeleteOperationRequest, + {} | null | undefined + >, + callback?: Callback< + protos.google.protobuf.Empty, + protos.google.longrunning.DeleteOperationRequest, + {} | null | undefined + > + ): Promise { + let options: gax.CallOptions; + if (typeof optionsOrCallback === 'function' && callback === undefined) { + callback = optionsOrCallback; + options = {}; + } else { + options = optionsOrCallback as gax.CallOptions; + } + options = options || {}; + options.otherArgs = options.otherArgs || {}; + options.otherArgs.headers = options.otherArgs.headers || {}; + options.otherArgs.headers['x-goog-request-params'] = + this._gaxModule.routingHeader.fromParams({ + name: request.name ?? '', + }); + return this.operationsClient.deleteOperation(request, options, callback); + } + // -------------------- // -- Path templates -- // -------------------- @@ -4703,6 +5179,7 @@ export class VertexRagServiceClient { stub.close(); this.iamClient.close().catch(err => {throw err}); this.locationsClient.close().catch(err => {throw err}); + void this.operationsClient.close(); }); } return Promise.resolve(); diff --git a/packages/google-cloud-aiplatform/src/v1beta1/vertex_rag_service_client_config.json b/packages/google-cloud-aiplatform/src/v1beta1/vertex_rag_service_client_config.json index 03ff9b55092..abc15697266 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/vertex_rag_service_client_config.json +++ b/packages/google-cloud-aiplatform/src/v1beta1/vertex_rag_service_client_config.json @@ -31,6 +31,14 @@ "CorroborateContent": { "retry_codes_name": "non_idempotent", "retry_params_name": "default" + }, + "AskContexts": { + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "AsyncRetrieveContexts": { + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" } } } diff --git a/packages/google-cloud-aiplatform/system-test/fixtures/sample/src/index.js b/packages/google-cloud-aiplatform/system-test/fixtures/sample/src/index.js index 35b46d55ce8..7f3d38376bd 100644 --- a/packages/google-cloud-aiplatform/system-test/fixtures/sample/src/index.js +++ b/packages/google-cloud-aiplatform/system-test/fixtures/sample/src/index.js @@ -49,6 +49,7 @@ function main() { const reasoningEngineExecutionServiceClient = new aiplatform.ReasoningEngineExecutionServiceClient(); const reasoningEngineServiceClient = new aiplatform.ReasoningEngineServiceClient(); const scheduleServiceClient = new aiplatform.ScheduleServiceClient(); + const sessionServiceClient = new aiplatform.SessionServiceClient(); const specialistPoolServiceClient = new aiplatform.SpecialistPoolServiceClient(); const tensorboardServiceClient = new aiplatform.TensorboardServiceClient(); const vertexRagDataServiceClient = new aiplatform.VertexRagDataServiceClient(); diff --git a/packages/google-cloud-aiplatform/system-test/fixtures/sample/src/index.ts b/packages/google-cloud-aiplatform/system-test/fixtures/sample/src/index.ts index 6cae96d7884..2d8bf5dfdaa 100644 --- a/packages/google-cloud-aiplatform/system-test/fixtures/sample/src/index.ts +++ b/packages/google-cloud-aiplatform/system-test/fixtures/sample/src/index.ts @@ -16,7 +16,7 @@ // ** https://github.com/googleapis/gapic-generator-typescript ** // ** All changes to this file may be overwritten. ** -import {DataFoundryServiceClient, DatasetServiceClient, DeploymentResourcePoolServiceClient, EndpointServiceClient, EvaluationServiceClient, FeatureOnlineStoreAdminServiceClient, FeatureOnlineStoreServiceClient, FeatureRegistryServiceClient, FeaturestoreOnlineServingServiceClient, FeaturestoreServiceClient, GenAiCacheServiceClient, GenAiTuningServiceClient, IndexEndpointServiceClient, IndexServiceClient, JobServiceClient, LlmUtilityServiceClient, MatchServiceClient, MetadataServiceClient, MigrationServiceClient, ModelGardenServiceClient, ModelServiceClient, NotebookServiceClient, PersistentResourceServiceClient, PipelineServiceClient, PredictionServiceClient, ReasoningEngineExecutionServiceClient, ReasoningEngineServiceClient, ScheduleServiceClient, SpecialistPoolServiceClient, TensorboardServiceClient, VertexRagDataServiceClient, VertexRagServiceClient, VizierServiceClient} from '@google-cloud/aiplatform'; +import {DataFoundryServiceClient, DatasetServiceClient, DeploymentResourcePoolServiceClient, EndpointServiceClient, EvaluationServiceClient, FeatureOnlineStoreAdminServiceClient, FeatureOnlineStoreServiceClient, FeatureRegistryServiceClient, FeaturestoreOnlineServingServiceClient, FeaturestoreServiceClient, GenAiCacheServiceClient, GenAiTuningServiceClient, IndexEndpointServiceClient, IndexServiceClient, JobServiceClient, LlmUtilityServiceClient, MatchServiceClient, MetadataServiceClient, MigrationServiceClient, ModelGardenServiceClient, ModelServiceClient, NotebookServiceClient, PersistentResourceServiceClient, PipelineServiceClient, PredictionServiceClient, ReasoningEngineExecutionServiceClient, ReasoningEngineServiceClient, ScheduleServiceClient, SessionServiceClient, SpecialistPoolServiceClient, TensorboardServiceClient, VertexRagDataServiceClient, VertexRagServiceClient, VizierServiceClient} from '@google-cloud/aiplatform'; // check that the client class type name can be used function doStuffWithDataFoundryServiceClient(client: DataFoundryServiceClient) { @@ -103,6 +103,9 @@ function doStuffWithReasoningEngineServiceClient(client: ReasoningEngineServiceC function doStuffWithScheduleServiceClient(client: ScheduleServiceClient) { client.close(); } +function doStuffWithSessionServiceClient(client: SessionServiceClient) { + client.close(); +} function doStuffWithSpecialistPoolServiceClient(client: SpecialistPoolServiceClient) { client.close(); } @@ -205,6 +208,9 @@ function main() { const scheduleServiceClient = new ScheduleServiceClient(); doStuffWithScheduleServiceClient(scheduleServiceClient); // check that the client instance can be created + const sessionServiceClient = new SessionServiceClient(); + doStuffWithSessionServiceClient(sessionServiceClient); + // check that the client instance can be created const specialistPoolServiceClient = new SpecialistPoolServiceClient(); doStuffWithSpecialistPoolServiceClient(specialistPoolServiceClient); // check that the client instance can be created diff --git a/packages/google-cloud-aiplatform/test/gapic_data_foundry_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_data_foundry_service_v1.ts index 386d13b5cbe..b9867b54e0e 100644 --- a/packages/google-cloud-aiplatform/test/gapic_data_foundry_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_data_foundry_service_v1.ts @@ -3098,6 +3098,122 @@ describe('v1.DataFoundryServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new datafoundryserviceModule.v1.DataFoundryServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new datafoundryserviceModule.v1.DataFoundryServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_dataset_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_dataset_service_v1.ts index be881e52984..a52cd958b08 100644 --- a/packages/google-cloud-aiplatform/test/gapic_dataset_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_dataset_service_v1.ts @@ -6538,6 +6538,122 @@ describe('v1.DatasetServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new datasetserviceModule.v1.DatasetServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new datasetserviceModule.v1.DatasetServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_deployment_resource_pool_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_deployment_resource_pool_service_v1.ts index 34553dbfa55..0bfa39e3b9f 100644 --- a/packages/google-cloud-aiplatform/test/gapic_deployment_resource_pool_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_deployment_resource_pool_service_v1.ts @@ -4382,6 +4382,122 @@ describe('v1.DeploymentResourcePoolServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new deploymentresourcepoolserviceModule.v1.DeploymentResourcePoolServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new deploymentresourcepoolserviceModule.v1.DeploymentResourcePoolServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_endpoint_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_endpoint_service_v1.ts index 74cb499ddf6..31119174696 100644 --- a/packages/google-cloud-aiplatform/test/gapic_endpoint_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_endpoint_service_v1.ts @@ -4681,6 +4681,122 @@ describe('v1.EndpointServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new endpointserviceModule.v1.EndpointServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new endpointserviceModule.v1.EndpointServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_evaluation_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_evaluation_service_v1.ts index 52d45fe6069..76d35758990 100644 --- a/packages/google-cloud-aiplatform/test/gapic_evaluation_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_evaluation_service_v1.ts @@ -3098,6 +3098,122 @@ describe('v1.EvaluationServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new evaluationserviceModule.v1.EvaluationServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new evaluationserviceModule.v1.EvaluationServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_feature_online_store_admin_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_feature_online_store_admin_service_v1.ts index 96cc371ab00..0a1637339cc 100644 --- a/packages/google-cloud-aiplatform/test/gapic_feature_online_store_admin_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_feature_online_store_admin_service_v1.ts @@ -5417,6 +5417,122 @@ describe('v1.FeatureOnlineStoreAdminServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new featureonlinestoreadminserviceModule.v1.FeatureOnlineStoreAdminServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new featureonlinestoreadminserviceModule.v1.FeatureOnlineStoreAdminServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_feature_online_store_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_feature_online_store_service_v1.ts index 8b6c0337182..f93f37fd33e 100644 --- a/packages/google-cloud-aiplatform/test/gapic_feature_online_store_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_feature_online_store_service_v1.ts @@ -3351,6 +3351,122 @@ describe('v1.FeatureOnlineStoreServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new featureonlinestoreserviceModule.v1.FeatureOnlineStoreServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new featureonlinestoreserviceModule.v1.FeatureOnlineStoreServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_feature_registry_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_feature_registry_service_v1.ts index d20c7908a76..07240596bc7 100644 --- a/packages/google-cloud-aiplatform/test/gapic_feature_registry_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_feature_registry_service_v1.ts @@ -5110,6 +5110,122 @@ describe('v1.FeatureRegistryServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new featureregistryserviceModule.v1.FeatureRegistryServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new featureregistryserviceModule.v1.FeatureRegistryServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_featurestore_online_serving_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_featurestore_online_serving_service_v1.ts index 71e9470441e..46b4c63cc5f 100644 --- a/packages/google-cloud-aiplatform/test/gapic_featurestore_online_serving_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_featurestore_online_serving_service_v1.ts @@ -3322,6 +3322,122 @@ describe('v1.FeaturestoreOnlineServingServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new featurestoreonlineservingserviceModule.v1.FeaturestoreOnlineServingServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new featurestoreonlineservingserviceModule.v1.FeaturestoreOnlineServingServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_featurestore_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_featurestore_service_v1.ts index f0710cc95ac..122dfed9764 100644 --- a/packages/google-cloud-aiplatform/test/gapic_featurestore_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_featurestore_service_v1.ts @@ -6698,6 +6698,122 @@ describe('v1.FeaturestoreServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new featurestoreserviceModule.v1.FeaturestoreServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new featurestoreserviceModule.v1.FeaturestoreServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_gen_ai_cache_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_gen_ai_cache_service_v1.ts index d815f2095e5..73db9a66fe9 100644 --- a/packages/google-cloud-aiplatform/test/gapic_gen_ai_cache_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_gen_ai_cache_service_v1.ts @@ -3728,6 +3728,122 @@ describe('v1.GenAiCacheServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new genaicacheserviceModule.v1.GenAiCacheServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new genaicacheserviceModule.v1.GenAiCacheServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_gen_ai_tuning_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_gen_ai_tuning_service_v1.ts index 5cda34d42a6..f36f543e4ba 100644 --- a/packages/google-cloud-aiplatform/test/gapic_gen_ai_tuning_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_gen_ai_tuning_service_v1.ts @@ -4011,6 +4011,122 @@ describe('v1.GenAiTuningServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new genaituningserviceModule.v1.GenAiTuningServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new genaituningserviceModule.v1.GenAiTuningServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_index_endpoint_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_index_endpoint_service_v1.ts index 7345ac00dba..5714d4a1cff 100644 --- a/packages/google-cloud-aiplatform/test/gapic_index_endpoint_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_index_endpoint_service_v1.ts @@ -4523,6 +4523,122 @@ describe('v1.IndexEndpointServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new indexendpointserviceModule.v1.IndexEndpointServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new indexendpointserviceModule.v1.IndexEndpointServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_index_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_index_service_v1.ts index 694227862dc..d1a7a92a4c0 100644 --- a/packages/google-cloud-aiplatform/test/gapic_index_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_index_service_v1.ts @@ -4323,6 +4323,122 @@ describe('v1.IndexServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new indexserviceModule.v1.IndexServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new indexserviceModule.v1.IndexServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_job_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_job_service_v1.ts index c8f23c6f526..56d4e9e2c5a 100644 --- a/packages/google-cloud-aiplatform/test/gapic_job_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_job_service_v1.ts @@ -8490,6 +8490,122 @@ describe('v1.JobServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new jobserviceModule.v1.JobServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new jobserviceModule.v1.JobServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_llm_utility_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_llm_utility_service_v1.ts index 19dc20cb43f..dce2e5c4795 100644 --- a/packages/google-cloud-aiplatform/test/gapic_llm_utility_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_llm_utility_service_v1.ts @@ -3168,6 +3168,122 @@ describe('v1.LlmUtilityServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new llmutilityserviceModule.v1.LlmUtilityServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new llmutilityserviceModule.v1.LlmUtilityServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_match_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_match_service_v1.ts index 840ff1859a6..f8d59184911 100644 --- a/packages/google-cloud-aiplatform/test/gapic_match_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_match_service_v1.ts @@ -3168,6 +3168,122 @@ describe('v1.MatchServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new matchserviceModule.v1.MatchServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new matchserviceModule.v1.MatchServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_metadata_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_metadata_service_v1.ts index 7d98d59154c..a3a8b5890ce 100644 --- a/packages/google-cloud-aiplatform/test/gapic_metadata_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_metadata_service_v1.ts @@ -7839,6 +7839,122 @@ describe('v1.MetadataServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new metadataserviceModule.v1.MetadataServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new metadataserviceModule.v1.MetadataServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_migration_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_migration_service_v1.ts index 1f2fa5166df..ef648682192 100644 --- a/packages/google-cloud-aiplatform/test/gapic_migration_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_migration_service_v1.ts @@ -3687,6 +3687,122 @@ describe('v1.MigrationServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new migrationserviceModule.v1.MigrationServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new migrationserviceModule.v1.MigrationServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_model_garden_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_model_garden_service_v1.ts index 2e527db5317..10183ecbfbe 100644 --- a/packages/google-cloud-aiplatform/test/gapic_model_garden_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_model_garden_service_v1.ts @@ -3523,6 +3523,122 @@ describe('v1.ModelGardenServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new modelgardenserviceModule.v1.ModelGardenServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new modelgardenserviceModule.v1.ModelGardenServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_model_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_model_service_v1.ts index 35252fd6dea..58c582640e4 100644 --- a/packages/google-cloud-aiplatform/test/gapic_model_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_model_service_v1.ts @@ -6305,6 +6305,122 @@ describe('v1.ModelServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new modelserviceModule.v1.ModelServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new modelserviceModule.v1.ModelServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_notebook_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_notebook_service_v1.ts index d92acb9a14b..70935e64905 100644 --- a/packages/google-cloud-aiplatform/test/gapic_notebook_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_notebook_service_v1.ts @@ -5845,6 +5845,122 @@ describe('v1.NotebookServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new notebookserviceModule.v1.NotebookServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new notebookserviceModule.v1.NotebookServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_persistent_resource_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_persistent_resource_service_v1.ts index 5030cc23da1..5ee8b85a920 100644 --- a/packages/google-cloud-aiplatform/test/gapic_persistent_resource_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_persistent_resource_service_v1.ts @@ -4261,6 +4261,122 @@ describe('v1.PersistentResourceServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new persistentresourceserviceModule.v1.PersistentResourceServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new persistentresourceserviceModule.v1.PersistentResourceServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { 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 4cdde138484..94e8e032efb 100644 --- a/packages/google-cloud-aiplatform/test/gapic_pipeline_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_pipeline_service_v1.ts @@ -5072,6 +5072,122 @@ describe('v1.PipelineServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new pipelineserviceModule.v1.PipelineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new pipelineserviceModule.v1.PipelineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_prediction_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_prediction_service_v1.ts index 5bbe8038815..9f7446a8a6d 100644 --- a/packages/google-cloud-aiplatform/test/gapic_prediction_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_prediction_service_v1.ts @@ -4407,6 +4407,122 @@ describe('v1.PredictionServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new predictionserviceModule.v1.PredictionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new predictionserviceModule.v1.PredictionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_reasoning_engine_execution_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_reasoning_engine_execution_service_v1.ts index 1b8d7d07cde..d8430e4075a 100644 --- a/packages/google-cloud-aiplatform/test/gapic_reasoning_engine_execution_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_reasoning_engine_execution_service_v1.ts @@ -3214,6 +3214,122 @@ describe('v1.ReasoningEngineExecutionServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new reasoningengineexecutionserviceModule.v1.ReasoningEngineExecutionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new reasoningengineexecutionserviceModule.v1.ReasoningEngineExecutionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_reasoning_engine_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_reasoning_engine_service_v1.ts index 67c9d727fb6..98b11c511eb 100644 --- a/packages/google-cloud-aiplatform/test/gapic_reasoning_engine_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_reasoning_engine_service_v1.ts @@ -4107,6 +4107,122 @@ describe('v1.ReasoningEngineServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new reasoningengineserviceModule.v1.ReasoningEngineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new reasoningengineserviceModule.v1.ReasoningEngineServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_schedule_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_schedule_service_v1.ts index 05814c0a244..9810cf7e75a 100644 --- a/packages/google-cloud-aiplatform/test/gapic_schedule_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_schedule_service_v1.ts @@ -4231,6 +4231,122 @@ describe('v1.ScheduleServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new scheduleserviceModule.v1.ScheduleServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new scheduleserviceModule.v1.ScheduleServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_session_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_session_service_v1.ts new file mode 100644 index 00000000000..cc91aacad7e --- /dev/null +++ b/packages/google-cloud-aiplatform/test/gapic_session_service_v1.ts @@ -0,0 +1,4965 @@ +// Copyright 2026 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. ** + +import * as protos from '../protos/protos'; +import * as assert from 'assert'; +import * as sinon from 'sinon'; +import {SinonStub} from 'sinon'; +import {describe, it} from 'mocha'; +import * as sessionserviceModule from '../src'; + +import {PassThrough} from 'stream'; + +import {protobuf, LROperation, operationsProtos, IamProtos, LocationProtos} from 'google-gax'; + +// Dynamically loaded proto JSON is needed to get the type information +// to fill in default values for request objects +const root = protobuf.Root.fromJSON(require('../protos/protos.json')).resolveAll(); + +// eslint-disable-next-line @typescript-eslint/no-unused-vars +function getTypeDefaultValue(typeName: string, fields: string[]) { + let type = root.lookupType(typeName) as protobuf.Type; + for (const field of fields.slice(0, -1)) { + type = type.fields[field]?.resolvedType as protobuf.Type; + } + return type.fields[fields[fields.length - 1]]?.defaultValue; +} + +function generateSampleMessage(instance: T) { + const filledObject = (instance.constructor as typeof protobuf.Message) + .toObject(instance as protobuf.Message, {defaults: true}); + return (instance.constructor as typeof protobuf.Message).fromObject(filledObject) as T; +} + +function stubSimpleCall(response?: ResponseType, error?: Error) { + return error ? sinon.stub().rejects(error) : sinon.stub().resolves([response]); +} + +function stubSimpleCallWithCallback(response?: ResponseType, error?: Error) { + return error ? sinon.stub().callsArgWith(2, error) : sinon.stub().callsArgWith(2, null, response); +} + +function stubLongRunningCall(response?: ResponseType, callError?: Error, lroError?: Error) { + const innerStub = lroError ? sinon.stub().rejects(lroError) : sinon.stub().resolves([response]); + const mockOperation = { + promise: innerStub, + }; + return callError ? sinon.stub().rejects(callError) : sinon.stub().resolves([mockOperation]); +} + +function stubLongRunningCallWithCallback(response?: ResponseType, callError?: Error, lroError?: Error) { + const innerStub = lroError ? sinon.stub().rejects(lroError) : sinon.stub().resolves([response]); + const mockOperation = { + promise: innerStub, + }; + return callError ? sinon.stub().callsArgWith(2, callError) : sinon.stub().callsArgWith(2, null, mockOperation); +} + +function stubPageStreamingCall(responses?: ResponseType[], error?: Error) { + const pagingStub = sinon.stub(); + if (responses) { + for (let i = 0; i < responses.length; ++i) { + pagingStub.onCall(i).callsArgWith(2, null, responses[i]); + } + } + const transformStub = error ? sinon.stub().callsArgWith(2, error) : pagingStub; + const mockStream = new PassThrough({ + objectMode: true, + transform: transformStub, + }); + // trigger as many responses as needed + if (responses) { + for (let i = 0; i < responses.length; ++i) { + setImmediate(() => { mockStream.write({}); }); + } + setImmediate(() => { mockStream.end(); }); + } else { + setImmediate(() => { mockStream.write({}); }); + setImmediate(() => { mockStream.end(); }); + } + return sinon.stub().returns(mockStream); +} + +function stubAsyncIterationCall(responses?: ResponseType[], error?: Error) { + let counter = 0; + const asyncIterable = { + [Symbol.asyncIterator]() { + return { + async next() { + if (error) { + return Promise.reject(error); + } + if (counter >= responses!.length) { + return Promise.resolve({done: true, value: undefined}); + } + return Promise.resolve({done: false, value: responses![counter++]}); + } + }; + } + }; + return sinon.stub().returns(asyncIterable); +} + +describe('v1.SessionServiceClient', () => { + describe('Common methods', () => { + it('has apiEndpoint', () => { + const client = new sessionserviceModule.v1.SessionServiceClient(); + const apiEndpoint = client.apiEndpoint; + assert.strictEqual(apiEndpoint, 'aiplatform.googleapis.com'); + }); + + it('has universeDomain', () => { + const client = new sessionserviceModule.v1.SessionServiceClient(); + const universeDomain = client.universeDomain; + assert.strictEqual(universeDomain, "googleapis.com"); + }); + + if (typeof process === 'object' && typeof process.emitWarning === 'function') { + it('throws DeprecationWarning if static servicePath is used', () => { + const stub = sinon.stub(process, 'emitWarning'); + const servicePath = sessionserviceModule.v1.SessionServiceClient.servicePath; + assert.strictEqual(servicePath, 'aiplatform.googleapis.com'); + assert(stub.called); + stub.restore(); + }); + + it('throws DeprecationWarning if static apiEndpoint is used', () => { + const stub = sinon.stub(process, 'emitWarning'); + const apiEndpoint = sessionserviceModule.v1.SessionServiceClient.apiEndpoint; + assert.strictEqual(apiEndpoint, 'aiplatform.googleapis.com'); + assert(stub.called); + stub.restore(); + }); + } + it('sets apiEndpoint according to universe domain camelCase', () => { + const client = new sessionserviceModule.v1.SessionServiceClient({universeDomain: 'example.com'}); + const servicePath = client.apiEndpoint; + assert.strictEqual(servicePath, 'aiplatform.example.com'); + }); + + it('sets apiEndpoint according to universe domain snakeCase', () => { + const client = new sessionserviceModule.v1.SessionServiceClient({universe_domain: 'example.com'}); + const servicePath = client.apiEndpoint; + assert.strictEqual(servicePath, 'aiplatform.example.com'); + }); + + if (typeof process === 'object' && 'env' in process) { + describe('GOOGLE_CLOUD_UNIVERSE_DOMAIN environment variable', () => { + it('sets apiEndpoint from environment variable', () => { + const saved = process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']; + process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] = 'example.com'; + const client = new sessionserviceModule.v1.SessionServiceClient(); + const servicePath = client.apiEndpoint; + assert.strictEqual(servicePath, 'aiplatform.example.com'); + if (saved) { + process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] = saved; + } else { + delete process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']; + } + }); + + it('value configured in code has priority over environment variable', () => { + const saved = process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']; + process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] = 'example.com'; + const client = new sessionserviceModule.v1.SessionServiceClient({universeDomain: 'configured.example.com'}); + const servicePath = client.apiEndpoint; + assert.strictEqual(servicePath, 'aiplatform.configured.example.com'); + if (saved) { + process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN'] = saved; + } else { + delete process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']; + } + }); + }); + } + it('does not allow setting both universeDomain and universe_domain', () => { + assert.throws(() => { new sessionserviceModule.v1.SessionServiceClient({universe_domain: 'example.com', universeDomain: 'example.net'}); }); + }); + + it('has port', () => { + const port = sessionserviceModule.v1.SessionServiceClient.port; + assert(port); + assert(typeof port === 'number'); + }); + + it('should create a client with no option', () => { + const client = new sessionserviceModule.v1.SessionServiceClient(); + assert(client); + }); + + it('should create a client with gRPC fallback', () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + fallback: true, + }); + assert(client); + }); + + it('has initialize method and supports deferred initialization', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + assert.strictEqual(client.sessionServiceStub, undefined); + await client.initialize(); + assert(client.sessionServiceStub); + }); + + it('has close method for the initialized client', done => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + client.initialize().catch(err => {throw err}); + assert(client.sessionServiceStub); + client.close().then(() => { + done(); + }).catch(err => {throw err}); + }); + + it('has close method for the non-initialized client', done => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + assert.strictEqual(client.sessionServiceStub, undefined); + client.close().then(() => { + done(); + }).catch(err => {throw err}); + }); + + it('has getProjectId method', async () => { + const fakeProjectId = 'fake-project-id'; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + client.auth.getProjectId = sinon.stub().resolves(fakeProjectId); + const result = await client.getProjectId(); + assert.strictEqual(result, fakeProjectId); + assert((client.auth.getProjectId as SinonStub).calledWithExactly()); + }); + + it('has getProjectId method with callback', async () => { + const fakeProjectId = 'fake-project-id'; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + client.auth.getProjectId = sinon.stub().callsArgWith(0, null, fakeProjectId); + const promise = new Promise((resolve, reject) => { + client.getProjectId((err?: Error|null, projectId?: string|null) => { + if (err) { + reject(err); + } else { + resolve(projectId); + } + }); + }); + const result = await promise; + assert.strictEqual(result, fakeProjectId); + }); + }); + + describe('getSession', () => { + it('invokes getSession without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.GetSessionRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.GetSessionRequest', ['name']); + request.name = defaultValue1; + const expectedHeaderRequestParams = `name=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.Session() + ); + client.innerApiCalls.getSession = stubSimpleCall(expectedResponse); + const [response] = await client.getSession(request); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.getSession as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.getSession as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes getSession without error using callback', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.GetSessionRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.GetSessionRequest', ['name']); + request.name = defaultValue1; + const expectedHeaderRequestParams = `name=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.Session() + ); + client.innerApiCalls.getSession = stubSimpleCallWithCallback(expectedResponse); + const promise = new Promise((resolve, reject) => { + client.getSession( + request, + (err?: Error|null, result?: protos.google.cloud.aiplatform.v1.ISession|null) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.getSession as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.getSession as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes getSession with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.GetSessionRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.GetSessionRequest', ['name']); + request.name = defaultValue1; + const expectedHeaderRequestParams = `name=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.innerApiCalls.getSession = stubSimpleCall(undefined, expectedError); + await assert.rejects(client.getSession(request), expectedError); + const actualRequest = (client.innerApiCalls.getSession as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.getSession as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes getSession with closed client', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.GetSessionRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.GetSessionRequest', ['name']); + request.name = defaultValue1; + const expectedError = new Error('The client has already been closed.'); + client.close().catch(err => {throw err}); + await assert.rejects(client.getSession(request), expectedError); + }); + }); + + describe('updateSession', () => { + it('invokes updateSession without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.UpdateSessionRequest() + ); + request.session ??= {}; + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.UpdateSessionRequest', ['session', 'name']); + request.session.name = defaultValue1; + const expectedHeaderRequestParams = `session.name=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.Session() + ); + client.innerApiCalls.updateSession = stubSimpleCall(expectedResponse); + const [response] = await client.updateSession(request); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.updateSession as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.updateSession as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes updateSession without error using callback', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.UpdateSessionRequest() + ); + request.session ??= {}; + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.UpdateSessionRequest', ['session', 'name']); + request.session.name = defaultValue1; + const expectedHeaderRequestParams = `session.name=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.Session() + ); + client.innerApiCalls.updateSession = stubSimpleCallWithCallback(expectedResponse); + const promise = new Promise((resolve, reject) => { + client.updateSession( + request, + (err?: Error|null, result?: protos.google.cloud.aiplatform.v1.ISession|null) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.updateSession as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.updateSession as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes updateSession with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.UpdateSessionRequest() + ); + request.session ??= {}; + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.UpdateSessionRequest', ['session', 'name']); + request.session.name = defaultValue1; + const expectedHeaderRequestParams = `session.name=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.innerApiCalls.updateSession = stubSimpleCall(undefined, expectedError); + await assert.rejects(client.updateSession(request), expectedError); + const actualRequest = (client.innerApiCalls.updateSession as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.updateSession as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes updateSession with closed client', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.UpdateSessionRequest() + ); + request.session ??= {}; + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.UpdateSessionRequest', ['session', 'name']); + request.session.name = defaultValue1; + const expectedError = new Error('The client has already been closed.'); + client.close().catch(err => {throw err}); + await assert.rejects(client.updateSession(request), expectedError); + }); + }); + + describe('appendEvent', () => { + it('invokes appendEvent without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.AppendEventRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.AppendEventRequest', ['name']); + request.name = defaultValue1; + const expectedHeaderRequestParams = `name=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.AppendEventResponse() + ); + client.innerApiCalls.appendEvent = stubSimpleCall(expectedResponse); + const [response] = await client.appendEvent(request); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.appendEvent as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.appendEvent as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes appendEvent without error using callback', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.AppendEventRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.AppendEventRequest', ['name']); + request.name = defaultValue1; + const expectedHeaderRequestParams = `name=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.AppendEventResponse() + ); + client.innerApiCalls.appendEvent = stubSimpleCallWithCallback(expectedResponse); + const promise = new Promise((resolve, reject) => { + client.appendEvent( + request, + (err?: Error|null, result?: protos.google.cloud.aiplatform.v1.IAppendEventResponse|null) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.appendEvent as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.appendEvent as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes appendEvent with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.AppendEventRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.AppendEventRequest', ['name']); + request.name = defaultValue1; + const expectedHeaderRequestParams = `name=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.innerApiCalls.appendEvent = stubSimpleCall(undefined, expectedError); + await assert.rejects(client.appendEvent(request), expectedError); + const actualRequest = (client.innerApiCalls.appendEvent as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.appendEvent as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes appendEvent with closed client', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.AppendEventRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.AppendEventRequest', ['name']); + request.name = defaultValue1; + const expectedError = new Error('The client has already been closed.'); + client.close().catch(err => {throw err}); + await assert.rejects(client.appendEvent(request), expectedError); + }); + }); + + describe('createSession', () => { + it('invokes createSession without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.CreateSessionRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.CreateSessionRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.longrunning.Operation() + ); + client.innerApiCalls.createSession = stubLongRunningCall(expectedResponse); + const [operation] = await client.createSession(request); + const [response] = await operation.promise(); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.createSession as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.createSession as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes createSession without error using callback', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.CreateSessionRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.CreateSessionRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.longrunning.Operation() + ); + client.innerApiCalls.createSession = stubLongRunningCallWithCallback(expectedResponse); + const promise = new Promise((resolve, reject) => { + client.createSession( + request, + (err?: Error|null, + result?: LROperation|null + ) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }); + }); + const operation = await promise as LROperation; + const [response] = await operation.promise(); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.createSession as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.createSession as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes createSession with call error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.CreateSessionRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.CreateSessionRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.innerApiCalls.createSession = stubLongRunningCall(undefined, expectedError); + await assert.rejects(client.createSession(request), expectedError); + const actualRequest = (client.innerApiCalls.createSession as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.createSession as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes createSession with LRO error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.CreateSessionRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.CreateSessionRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.innerApiCalls.createSession = stubLongRunningCall(undefined, undefined, expectedError); + const [operation] = await client.createSession(request); + await assert.rejects(operation.promise(), expectedError); + const actualRequest = (client.innerApiCalls.createSession as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.createSession as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes checkCreateSessionProgress without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await 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.checkCreateSessionProgress(expectedResponse.name); + assert.deepStrictEqual(decodedOperation.name, expectedResponse.name); + assert(decodedOperation.metadata); + assert((client.operationsClient.getOperation as SinonStub).getCall(0)); + }); + + it('invokes checkCreateSessionProgress with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const expectedError = new Error('expected'); + + client.operationsClient.getOperation = stubSimpleCall(undefined, expectedError); + await assert.rejects(client.checkCreateSessionProgress(''), expectedError); + assert((client.operationsClient.getOperation as SinonStub) + .getCall(0)); + }); + }); + + describe('deleteSession', () => { + it('invokes deleteSession without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.DeleteSessionRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.DeleteSessionRequest', ['name']); + request.name = defaultValue1; + const expectedHeaderRequestParams = `name=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.longrunning.Operation() + ); + client.innerApiCalls.deleteSession = stubLongRunningCall(expectedResponse); + const [operation] = await client.deleteSession(request); + const [response] = await operation.promise(); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.deleteSession as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.deleteSession as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes deleteSession without error using callback', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.DeleteSessionRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.DeleteSessionRequest', ['name']); + request.name = defaultValue1; + const expectedHeaderRequestParams = `name=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.longrunning.Operation() + ); + client.innerApiCalls.deleteSession = stubLongRunningCallWithCallback(expectedResponse); + const promise = new Promise((resolve, reject) => { + client.deleteSession( + request, + (err?: Error|null, + result?: LROperation|null + ) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }); + }); + const operation = await promise as LROperation; + const [response] = await operation.promise(); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.deleteSession as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.deleteSession as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes deleteSession with call error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.DeleteSessionRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.DeleteSessionRequest', ['name']); + request.name = defaultValue1; + const expectedHeaderRequestParams = `name=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.innerApiCalls.deleteSession = stubLongRunningCall(undefined, expectedError); + await assert.rejects(client.deleteSession(request), expectedError); + const actualRequest = (client.innerApiCalls.deleteSession as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.deleteSession as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes deleteSession with LRO error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.DeleteSessionRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.DeleteSessionRequest', ['name']); + request.name = defaultValue1; + const expectedHeaderRequestParams = `name=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.innerApiCalls.deleteSession = stubLongRunningCall(undefined, undefined, expectedError); + const [operation] = await client.deleteSession(request); + await assert.rejects(operation.promise(), expectedError); + const actualRequest = (client.innerApiCalls.deleteSession as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.deleteSession as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes checkDeleteSessionProgress without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await 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.checkDeleteSessionProgress(expectedResponse.name); + assert.deepStrictEqual(decodedOperation.name, expectedResponse.name); + assert(decodedOperation.metadata); + assert((client.operationsClient.getOperation as SinonStub).getCall(0)); + }); + + it('invokes checkDeleteSessionProgress with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const expectedError = new Error('expected'); + + client.operationsClient.getOperation = stubSimpleCall(undefined, expectedError); + await assert.rejects(client.checkDeleteSessionProgress(''), expectedError); + assert((client.operationsClient.getOperation as SinonStub) + .getCall(0)); + }); + }); + + describe('listSessions', () => { + it('invokes listSessions without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.ListSessionsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.ListSessionsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`;const expectedResponse = [ + generateSampleMessage(new protos.google.cloud.aiplatform.v1.Session()), + generateSampleMessage(new protos.google.cloud.aiplatform.v1.Session()), + generateSampleMessage(new protos.google.cloud.aiplatform.v1.Session()), + ]; + client.innerApiCalls.listSessions = stubSimpleCall(expectedResponse); + const [response] = await client.listSessions(request); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.listSessions as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.listSessions as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes listSessions without error using callback', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.ListSessionsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.ListSessionsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`;const expectedResponse = [ + generateSampleMessage(new protos.google.cloud.aiplatform.v1.Session()), + generateSampleMessage(new protos.google.cloud.aiplatform.v1.Session()), + generateSampleMessage(new protos.google.cloud.aiplatform.v1.Session()), + ]; + client.innerApiCalls.listSessions = stubSimpleCallWithCallback(expectedResponse); + const promise = new Promise((resolve, reject) => { + client.listSessions( + request, + (err?: Error|null, result?: protos.google.cloud.aiplatform.v1.ISession[]|null) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.listSessions as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.listSessions as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes listSessions with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.ListSessionsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.ListSessionsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.innerApiCalls.listSessions = stubSimpleCall(undefined, expectedError); + await assert.rejects(client.listSessions(request), expectedError); + const actualRequest = (client.innerApiCalls.listSessions as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.listSessions as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes listSessionsStream without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.ListSessionsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.ListSessionsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedResponse = [ + generateSampleMessage(new protos.google.cloud.aiplatform.v1.Session()), + generateSampleMessage(new protos.google.cloud.aiplatform.v1.Session()), + generateSampleMessage(new protos.google.cloud.aiplatform.v1.Session()), + ]; + client.descriptors.page.listSessions.createStream = stubPageStreamingCall(expectedResponse); + const stream = client.listSessionsStream(request); + const promise = new Promise((resolve, reject) => { + const responses: protos.google.cloud.aiplatform.v1.Session[] = []; + stream.on('data', (response: protos.google.cloud.aiplatform.v1.Session) => { + responses.push(response); + }); + stream.on('end', () => { + resolve(responses); + }); + stream.on('error', (err: Error) => { + reject(err); + }); + }); + const responses = await promise; + assert.deepStrictEqual(responses, expectedResponse); + assert((client.descriptors.page.listSessions.createStream as SinonStub) + .getCall(0).calledWith(client.innerApiCalls.listSessions, request)); + assert( + (client.descriptors.page.listSessions.createStream as SinonStub) + .getCall(0).args[2].otherArgs.headers['x-goog-request-params'].includes( + expectedHeaderRequestParams + ) + ); + }); + + it('invokes listSessionsStream with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.ListSessionsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.ListSessionsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.descriptors.page.listSessions.createStream = stubPageStreamingCall(undefined, expectedError); + const stream = client.listSessionsStream(request); + const promise = new Promise((resolve, reject) => { + const responses: protos.google.cloud.aiplatform.v1.Session[] = []; + stream.on('data', (response: protos.google.cloud.aiplatform.v1.Session) => { + responses.push(response); + }); + stream.on('end', () => { + resolve(responses); + }); + stream.on('error', (err: Error) => { + reject(err); + }); + }); + await assert.rejects(promise, expectedError); + assert((client.descriptors.page.listSessions.createStream as SinonStub) + .getCall(0).calledWith(client.innerApiCalls.listSessions, request)); + assert( + (client.descriptors.page.listSessions.createStream as SinonStub) + .getCall(0).args[2].otherArgs.headers['x-goog-request-params'].includes( + expectedHeaderRequestParams + ) + ); + }); + + it('uses async iteration with listSessions without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.ListSessionsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.ListSessionsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedResponse = [ + generateSampleMessage(new protos.google.cloud.aiplatform.v1.Session()), + generateSampleMessage(new protos.google.cloud.aiplatform.v1.Session()), + generateSampleMessage(new protos.google.cloud.aiplatform.v1.Session()), + ]; + client.descriptors.page.listSessions.asyncIterate = stubAsyncIterationCall(expectedResponse); + const responses: protos.google.cloud.aiplatform.v1.ISession[] = []; + const iterable = client.listSessionsAsync(request); + for await (const resource of iterable) { + responses.push(resource!); + } + assert.deepStrictEqual(responses, expectedResponse); + assert.deepStrictEqual( + (client.descriptors.page.listSessions.asyncIterate as SinonStub) + .getCall(0).args[1], request); + assert( + (client.descriptors.page.listSessions.asyncIterate as SinonStub) + .getCall(0).args[2].otherArgs.headers['x-goog-request-params'].includes( + expectedHeaderRequestParams + ) + ); + }); + + it('uses async iteration with listSessions with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.ListSessionsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.ListSessionsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.descriptors.page.listSessions.asyncIterate = stubAsyncIterationCall(undefined, expectedError); + const iterable = client.listSessionsAsync(request); + await assert.rejects(async () => { + const responses: protos.google.cloud.aiplatform.v1.ISession[] = []; + for await (const resource of iterable) { + responses.push(resource!); + } + }); + assert.deepStrictEqual( + (client.descriptors.page.listSessions.asyncIterate as SinonStub) + .getCall(0).args[1], request); + assert( + (client.descriptors.page.listSessions.asyncIterate as SinonStub) + .getCall(0).args[2].otherArgs.headers['x-goog-request-params'].includes( + expectedHeaderRequestParams + ) + ); + }); + }); + + describe('listEvents', () => { + it('invokes listEvents without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.ListEventsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.ListEventsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`;const expectedResponse = [ + generateSampleMessage(new protos.google.cloud.aiplatform.v1.SessionEvent()), + generateSampleMessage(new protos.google.cloud.aiplatform.v1.SessionEvent()), + generateSampleMessage(new protos.google.cloud.aiplatform.v1.SessionEvent()), + ]; + client.innerApiCalls.listEvents = stubSimpleCall(expectedResponse); + const [response] = await client.listEvents(request); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.listEvents as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.listEvents as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes listEvents without error using callback', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.ListEventsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.ListEventsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`;const expectedResponse = [ + generateSampleMessage(new protos.google.cloud.aiplatform.v1.SessionEvent()), + generateSampleMessage(new protos.google.cloud.aiplatform.v1.SessionEvent()), + generateSampleMessage(new protos.google.cloud.aiplatform.v1.SessionEvent()), + ]; + client.innerApiCalls.listEvents = stubSimpleCallWithCallback(expectedResponse); + const promise = new Promise((resolve, reject) => { + client.listEvents( + request, + (err?: Error|null, result?: protos.google.cloud.aiplatform.v1.ISessionEvent[]|null) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.listEvents as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.listEvents as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes listEvents with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.ListEventsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.ListEventsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.innerApiCalls.listEvents = stubSimpleCall(undefined, expectedError); + await assert.rejects(client.listEvents(request), expectedError); + const actualRequest = (client.innerApiCalls.listEvents as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.listEvents as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes listEventsStream without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.ListEventsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.ListEventsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedResponse = [ + generateSampleMessage(new protos.google.cloud.aiplatform.v1.SessionEvent()), + generateSampleMessage(new protos.google.cloud.aiplatform.v1.SessionEvent()), + generateSampleMessage(new protos.google.cloud.aiplatform.v1.SessionEvent()), + ]; + client.descriptors.page.listEvents.createStream = stubPageStreamingCall(expectedResponse); + const stream = client.listEventsStream(request); + const promise = new Promise((resolve, reject) => { + const responses: protos.google.cloud.aiplatform.v1.SessionEvent[] = []; + stream.on('data', (response: protos.google.cloud.aiplatform.v1.SessionEvent) => { + responses.push(response); + }); + stream.on('end', () => { + resolve(responses); + }); + stream.on('error', (err: Error) => { + reject(err); + }); + }); + const responses = await promise; + assert.deepStrictEqual(responses, expectedResponse); + assert((client.descriptors.page.listEvents.createStream as SinonStub) + .getCall(0).calledWith(client.innerApiCalls.listEvents, request)); + assert( + (client.descriptors.page.listEvents.createStream as SinonStub) + .getCall(0).args[2].otherArgs.headers['x-goog-request-params'].includes( + expectedHeaderRequestParams + ) + ); + }); + + it('invokes listEventsStream with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.ListEventsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.ListEventsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.descriptors.page.listEvents.createStream = stubPageStreamingCall(undefined, expectedError); + const stream = client.listEventsStream(request); + const promise = new Promise((resolve, reject) => { + const responses: protos.google.cloud.aiplatform.v1.SessionEvent[] = []; + stream.on('data', (response: protos.google.cloud.aiplatform.v1.SessionEvent) => { + responses.push(response); + }); + stream.on('end', () => { + resolve(responses); + }); + stream.on('error', (err: Error) => { + reject(err); + }); + }); + await assert.rejects(promise, expectedError); + assert((client.descriptors.page.listEvents.createStream as SinonStub) + .getCall(0).calledWith(client.innerApiCalls.listEvents, request)); + assert( + (client.descriptors.page.listEvents.createStream as SinonStub) + .getCall(0).args[2].otherArgs.headers['x-goog-request-params'].includes( + expectedHeaderRequestParams + ) + ); + }); + + it('uses async iteration with listEvents without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.ListEventsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.ListEventsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedResponse = [ + generateSampleMessage(new protos.google.cloud.aiplatform.v1.SessionEvent()), + generateSampleMessage(new protos.google.cloud.aiplatform.v1.SessionEvent()), + generateSampleMessage(new protos.google.cloud.aiplatform.v1.SessionEvent()), + ]; + client.descriptors.page.listEvents.asyncIterate = stubAsyncIterationCall(expectedResponse); + const responses: protos.google.cloud.aiplatform.v1.ISessionEvent[] = []; + const iterable = client.listEventsAsync(request); + for await (const resource of iterable) { + responses.push(resource!); + } + assert.deepStrictEqual(responses, expectedResponse); + assert.deepStrictEqual( + (client.descriptors.page.listEvents.asyncIterate as SinonStub) + .getCall(0).args[1], request); + assert( + (client.descriptors.page.listEvents.asyncIterate as SinonStub) + .getCall(0).args[2].otherArgs.headers['x-goog-request-params'].includes( + expectedHeaderRequestParams + ) + ); + }); + + it('uses async iteration with listEvents with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.ListEventsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.ListEventsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.descriptors.page.listEvents.asyncIterate = stubAsyncIterationCall(undefined, expectedError); + const iterable = client.listEventsAsync(request); + await assert.rejects(async () => { + const responses: protos.google.cloud.aiplatform.v1.ISessionEvent[] = []; + for await (const resource of iterable) { + responses.push(resource!); + } + }); + assert.deepStrictEqual( + (client.descriptors.page.listEvents.asyncIterate as SinonStub) + .getCall(0).args[1], request); + assert( + (client.descriptors.page.listEvents.asyncIterate as SinonStub) + .getCall(0).args[2].otherArgs.headers['x-goog-request-params'].includes( + expectedHeaderRequestParams + ) + ); + }); + }); + describe('getIamPolicy', () => { + it('invokes getIamPolicy without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new IamProtos.google.iam.v1.GetIamPolicyRequest() + ); + request.resource = ''; + const expectedHeaderRequestParams = 'resource='; + const expectedOptions = { + otherArgs: { + headers: { + 'x-goog-request-params': expectedHeaderRequestParams, + }, + }, + }; + const expectedResponse = generateSampleMessage( + new IamProtos.google.iam.v1.Policy() + ); + client.iamClient.getIamPolicy = stubSimpleCall(expectedResponse); + const response = await client.getIamPolicy(request, expectedOptions); + assert.deepStrictEqual(response, [expectedResponse]); + assert((client.iamClient.getIamPolicy as SinonStub) + .getCall(0).calledWith(request, expectedOptions, undefined)); + }); + it('invokes getIamPolicy without error using callback', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new IamProtos.google.iam.v1.GetIamPolicyRequest() + ); + request.resource = ''; + const expectedHeaderRequestParams = 'resource='; + const expectedOptions = { + otherArgs: { + headers: { + 'x-goog-request-params': expectedHeaderRequestParams, + }, + }, + }; + const expectedResponse = generateSampleMessage( + new IamProtos.google.iam.v1.Policy() + ); + client.iamClient.getIamPolicy = sinon.stub().callsArgWith(2, null, expectedResponse); + const promise = new Promise((resolve, reject) => { + client.getIamPolicy( + request, + expectedOptions, + (err?: Error|null, result?: IamProtos.google.iam.v1.Policy|null) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }).catch(err => {throw err}); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + assert((client.iamClient.getIamPolicy as SinonStub) + .getCall(0)); + }); + it('invokes getIamPolicy with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new IamProtos.google.iam.v1.GetIamPolicyRequest() + ); + request.resource = ''; + const expectedHeaderRequestParams = 'resource='; + const expectedOptions = { + otherArgs: { + headers: { + 'x-goog-request-params': expectedHeaderRequestParams, + }, + }, + }; + const expectedError = new Error('expected'); + client.iamClient.getIamPolicy = stubSimpleCall(undefined, expectedError); + await assert.rejects(client.getIamPolicy(request, expectedOptions), expectedError); + assert((client.iamClient.getIamPolicy as SinonStub) + .getCall(0).calledWith(request, expectedOptions, undefined)); + }); + }); + describe('setIamPolicy', () => { + it('invokes setIamPolicy without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new IamProtos.google.iam.v1.SetIamPolicyRequest() + ); + request.resource = ''; + const expectedHeaderRequestParams = 'resource='; + const expectedOptions = { + otherArgs: { + headers: { + 'x-goog-request-params': expectedHeaderRequestParams, + }, + }, + }; + const expectedResponse = generateSampleMessage( + new IamProtos.google.iam.v1.Policy() + ); + client.iamClient.setIamPolicy = stubSimpleCall(expectedResponse); + const response = await client.setIamPolicy(request, expectedOptions); + assert.deepStrictEqual(response, [expectedResponse]); + assert((client.iamClient.setIamPolicy as SinonStub) + .getCall(0).calledWith(request, expectedOptions, undefined)); + }); + it('invokes setIamPolicy without error using callback', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new IamProtos.google.iam.v1.SetIamPolicyRequest() + ); + request.resource = ''; + const expectedHeaderRequestParams = 'resource='; + const expectedOptions = { + otherArgs: { + headers: { + 'x-goog-request-params': expectedHeaderRequestParams, + }, + }, + }; + const expectedResponse = generateSampleMessage( + new IamProtos.google.iam.v1.Policy() + ); + client.iamClient.setIamPolicy = sinon.stub().callsArgWith(2, null, expectedResponse); + const promise = new Promise((resolve, reject) => { + client.setIamPolicy( + request, + expectedOptions, + (err?: Error|null, result?: IamProtos.google.iam.v1.Policy|null) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }).catch(err => {throw err}); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + assert((client.iamClient.setIamPolicy as SinonStub) + .getCall(0)); + }); + it('invokes setIamPolicy with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new IamProtos.google.iam.v1.SetIamPolicyRequest() + ); + request.resource = ''; + const expectedHeaderRequestParams = 'resource='; + const expectedOptions = { + otherArgs: { + headers: { + 'x-goog-request-params': expectedHeaderRequestParams, + }, + }, + }; + const expectedError = new Error('expected'); + client.iamClient.setIamPolicy = stubSimpleCall(undefined, expectedError); + await assert.rejects(client.setIamPolicy(request, expectedOptions), expectedError); + assert((client.iamClient.setIamPolicy as SinonStub) + .getCall(0).calledWith(request, expectedOptions, undefined)); + }); + }); + describe('testIamPermissions', () => { + it('invokes testIamPermissions without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new IamProtos.google.iam.v1.TestIamPermissionsRequest() + ); + request.resource = ''; + const expectedHeaderRequestParams = 'resource='; + const expectedOptions = { + otherArgs: { + headers: { + 'x-goog-request-params': expectedHeaderRequestParams, + }, + }, + }; + const expectedResponse = generateSampleMessage( + new IamProtos.google.iam.v1.TestIamPermissionsResponse() + ); + client.iamClient.testIamPermissions = stubSimpleCall(expectedResponse); + const response = await client.testIamPermissions(request, expectedOptions); + assert.deepStrictEqual(response, [expectedResponse]); + assert((client.iamClient.testIamPermissions as SinonStub) + .getCall(0).calledWith(request, expectedOptions, undefined)); + }); + it('invokes testIamPermissions without error using callback', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new IamProtos.google.iam.v1.TestIamPermissionsRequest() + ); + request.resource = ''; + const expectedHeaderRequestParams = 'resource='; + const expectedOptions = { + otherArgs: { + headers: { + 'x-goog-request-params': expectedHeaderRequestParams, + }, + }, + }; + const expectedResponse = generateSampleMessage( + new IamProtos.google.iam.v1.TestIamPermissionsResponse() + ); + client.iamClient.testIamPermissions = sinon.stub().callsArgWith(2, null, expectedResponse); + const promise = new Promise((resolve, reject) => { + client.testIamPermissions( + request, + expectedOptions, + (err?: Error|null, result?: IamProtos.google.iam.v1.TestIamPermissionsResponse|null) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }).catch(err => {throw err}); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + assert((client.iamClient.testIamPermissions as SinonStub) + .getCall(0)); + }); + it('invokes testIamPermissions with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new IamProtos.google.iam.v1.TestIamPermissionsRequest() + ); + request.resource = ''; + const expectedHeaderRequestParams = 'resource='; + const expectedOptions = { + otherArgs: { + headers: { + 'x-goog-request-params': expectedHeaderRequestParams, + }, + }, + }; + const expectedError = new Error('expected'); + client.iamClient.testIamPermissions = stubSimpleCall(undefined, expectedError); + await assert.rejects(client.testIamPermissions(request, expectedOptions), expectedError); + assert((client.iamClient.testIamPermissions as SinonStub) + .getCall(0).calledWith(request, expectedOptions, undefined)); + }); + }); + describe('getLocation', () => { + it('invokes getLocation without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new LocationProtos.google.cloud.location.GetLocationRequest() + ); + request.name = ''; + const expectedHeaderRequestParams = 'name='; + const expectedOptions = { + otherArgs: { + headers: { + 'x-goog-request-params': expectedHeaderRequestParams, + }, + }, + }; + const expectedResponse = generateSampleMessage( + new LocationProtos.google.cloud.location.Location() + ); + client.locationsClient.getLocation = stubSimpleCall(expectedResponse); + const response = await client.getLocation(request, expectedOptions); + assert.deepStrictEqual(response, [expectedResponse]); + assert((client.locationsClient.getLocation as SinonStub) + .getCall(0).calledWith(request, expectedOptions, undefined)); + }); + it('invokes getLocation without error using callback', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new LocationProtos.google.cloud.location.GetLocationRequest() + ); + request.name = ''; + const expectedHeaderRequestParams = 'name='; + const expectedOptions = { + otherArgs: { + headers: { + 'x-goog-request-params': expectedHeaderRequestParams, + }, + }, + }; + const expectedResponse = generateSampleMessage( + new LocationProtos.google.cloud.location.Location() + ); + client.locationsClient.getLocation = sinon.stub().callsArgWith(2, null, expectedResponse); + const promise = new Promise((resolve, reject) => { + client.getLocation( + request, + expectedOptions, + ( + err?: Error | null, + result?: LocationProtos.google.cloud.location.ILocation | null + ) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + assert((client.locationsClient.getLocation as SinonStub) + .getCall(0)); + }); + it('invokes getLocation with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new LocationProtos.google.cloud.location.GetLocationRequest() + ); + request.name = ''; + const expectedHeaderRequestParams = 'name='; + const expectedOptions = { + otherArgs: { + headers: { + 'x-goog-request-params': expectedHeaderRequestParams, + }, + }, + }; + const expectedError = new Error('expected'); + client.locationsClient.getLocation = stubSimpleCall(undefined, expectedError); + await assert.rejects(client.getLocation(request, expectedOptions), expectedError); + assert((client.locationsClient.getLocation as SinonStub) + .getCall(0).calledWith(request, expectedOptions, undefined)); + }); + }); + describe('listLocationsAsync', () => { + it('uses async iteration with listLocations without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new LocationProtos.google.cloud.location.ListLocationsRequest() + ); + request.name = ''; + const expectedHeaderRequestParams = 'name='; + const expectedResponse = [ + generateSampleMessage( + new LocationProtos.google.cloud.location.Location() + ), + generateSampleMessage( + new LocationProtos.google.cloud.location.Location() + ), + generateSampleMessage( + new LocationProtos.google.cloud.location.Location() + ), + ]; + client.locationsClient.descriptors.page.listLocations.asyncIterate = stubAsyncIterationCall(expectedResponse); + const responses: LocationProtos.google.cloud.location.ILocation[] = []; + const iterable = client.listLocationsAsync(request); + for await (const resource of iterable) { + responses.push(resource!); + } + assert.deepStrictEqual(responses, expectedResponse); + assert.deepStrictEqual( + (client.locationsClient.descriptors.page.listLocations.asyncIterate as SinonStub) + .getCall(0).args[1], request); + assert( + (client.locationsClient.descriptors.page.listLocations.asyncIterate as SinonStub) + .getCall(0).args[2].otherArgs.headers['x-goog-request-params'].includes( + expectedHeaderRequestParams + ) + ); + }); + it('uses async iteration with listLocations with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new LocationProtos.google.cloud.location.ListLocationsRequest() + ); + request.name = ''; + const expectedHeaderRequestParams = 'name='; + const expectedError = new Error('expected'); + client.locationsClient.descriptors.page.listLocations.asyncIterate = stubAsyncIterationCall(undefined, expectedError); + const iterable = client.listLocationsAsync(request); + await assert.rejects(async () => { + const responses: LocationProtos.google.cloud.location.ILocation[] = []; + for await (const resource of iterable) { + responses.push(resource!); + } + }); + assert.deepStrictEqual( + (client.locationsClient.descriptors.page.listLocations.asyncIterate as SinonStub) + .getCall(0).args[1], request); + assert( + (client.locationsClient.descriptors.page.listLocations.asyncIterate as SinonStub) + .getCall(0).args[2].otherArgs.headers['x-goog-request-params'].includes( + expectedHeaderRequestParams + ) + ); + }); + }); + describe('getOperation', () => { + it('invokes getOperation without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.GetOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new operationsProtos.google.longrunning.Operation() + ); + client.operationsClient.getOperation = stubSimpleCall(expectedResponse); + const response = await client.getOperation(request); + assert.deepStrictEqual(response, [expectedResponse]); + assert((client.operationsClient.getOperation as SinonStub) + .getCall(0).calledWith(request) + ); + }); + it('invokes getOperation without error using callback', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.GetOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new operationsProtos.google.longrunning.Operation() + ); + client.operationsClient.getOperation = sinon.stub().callsArgWith(2, null, expectedResponse); + const promise = new Promise((resolve, reject) => { + client.operationsClient.getOperation( + request, + undefined, + ( + err?: Error | null, + result?: operationsProtos.google.longrunning.Operation | null + ) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }).catch(err => {throw err}); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + assert((client.operationsClient.getOperation as SinonStub) + .getCall(0)); + }); + it('invokes getOperation with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.GetOperationRequest() + ); + const expectedError = new Error('expected'); + client.operationsClient.getOperation = stubSimpleCall(undefined, expectedError); + await assert.rejects(async () => {await client.getOperation(request)}, expectedError); + assert((client.operationsClient.getOperation as SinonStub) + .getCall(0).calledWith(request)); + }); + }); + describe('cancelOperation', () => { + it('invokes cancelOperation without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.CancelOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new protos.google.protobuf.Empty() + ); + client.operationsClient.cancelOperation = stubSimpleCall(expectedResponse); + const response = await client.cancelOperation(request); + assert.deepStrictEqual(response, [expectedResponse]); + assert((client.operationsClient.cancelOperation as SinonStub) + .getCall(0).calledWith(request) + ); + }); + it('invokes cancelOperation without error using callback', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.CancelOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new protos.google.protobuf.Empty() + ); + client.operationsClient.cancelOperation = sinon.stub().callsArgWith(2, null, expectedResponse); + const promise = new Promise((resolve, reject) => { + client.operationsClient.cancelOperation( + request, + undefined, + ( + err?: Error | null, + result?: protos.google.protobuf.Empty | null + ) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }).catch(err => {throw err}); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + assert((client.operationsClient.cancelOperation as SinonStub) + .getCall(0)); + }); + it('invokes cancelOperation with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.CancelOperationRequest() + ); + const expectedError = new Error('expected'); + client.operationsClient.cancelOperation = stubSimpleCall(undefined, expectedError); + await assert.rejects(async () => {await client.cancelOperation(request)}, expectedError); + assert((client.operationsClient.cancelOperation as SinonStub) + .getCall(0).calledWith(request)); + }); + }); + describe('deleteOperation', () => { + it('invokes deleteOperation without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.DeleteOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new protos.google.protobuf.Empty() + ); + client.operationsClient.deleteOperation = stubSimpleCall(expectedResponse); + const response = await client.deleteOperation(request); + assert.deepStrictEqual(response, [expectedResponse]); + assert((client.operationsClient.deleteOperation as SinonStub) + .getCall(0).calledWith(request) + ); + }); + it('invokes deleteOperation without error using callback', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.DeleteOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new protos.google.protobuf.Empty() + ); + client.operationsClient.deleteOperation = sinon.stub().callsArgWith(2, null, expectedResponse); + const promise = new Promise((resolve, reject) => { + client.operationsClient.deleteOperation( + request, + undefined, + ( + err?: Error | null, + result?: protos.google.protobuf.Empty | null + ) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }).catch(err => {throw err}); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + assert((client.operationsClient.deleteOperation as SinonStub) + .getCall(0)); + }); + it('invokes deleteOperation with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.DeleteOperationRequest() + ); + const expectedError = new Error('expected'); + client.operationsClient.deleteOperation = stubSimpleCall(undefined, expectedError); + await assert.rejects(async () => {await client.deleteOperation(request)}, expectedError); + assert((client.operationsClient.deleteOperation as SinonStub) + .getCall(0).calledWith(request)); + }); + }); + describe('listOperationsAsync', () => { + it('uses async iteration with listOperations without error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.ListOperationsRequest() + ); + const expectedResponse = [ + generateSampleMessage( + new operationsProtos.google.longrunning.ListOperationsResponse() + ), + generateSampleMessage( + new operationsProtos.google.longrunning.ListOperationsResponse() + ), + generateSampleMessage( + new operationsProtos.google.longrunning.ListOperationsResponse() + ), + ]; + client.operationsClient.descriptor.listOperations.asyncIterate = stubAsyncIterationCall(expectedResponse); + const responses: operationsProtos.google.longrunning.IOperation[] = []; + const iterable = client.operationsClient.listOperationsAsync(request); + for await (const resource of iterable) { + responses.push(resource!); + } + assert.deepStrictEqual(responses, expectedResponse); + assert.deepStrictEqual( + (client.operationsClient.descriptor.listOperations.asyncIterate as SinonStub) + .getCall(0).args[1], request); + }); + it('uses async iteration with listOperations with error', async () => { + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.ListOperationsRequest() + ); + const expectedError = new Error('expected'); + client.operationsClient.descriptor.listOperations.asyncIterate = stubAsyncIterationCall(undefined, expectedError); + const iterable = client.operationsClient.listOperationsAsync(request); + await assert.rejects(async () => { + const responses: operationsProtos.google.longrunning.IOperation[] = []; + for await (const resource of iterable) { + responses.push(resource!); + } + }); + assert.deepStrictEqual( + (client.operationsClient.descriptor.listOperations.asyncIterate as SinonStub) + .getCall(0).args[1], request); + }); + }); + + describe('Path templates', () => { + + describe('annotation', async () => { + const fakePath = "/rendered/path/annotation"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + dataset: "datasetValue", + data_item: "dataItemValue", + annotation: "annotationValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.annotationPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.annotationPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('annotationPath', () => { + const result = client.annotationPath("projectValue", "locationValue", "datasetValue", "dataItemValue", "annotationValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.annotationPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromAnnotationName', () => { + const result = client.matchProjectFromAnnotationName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.annotationPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromAnnotationName', () => { + const result = client.matchLocationFromAnnotationName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.annotationPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchDatasetFromAnnotationName', () => { + const result = client.matchDatasetFromAnnotationName(fakePath); + assert.strictEqual(result, "datasetValue"); + assert((client.pathTemplates.annotationPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchDataItemFromAnnotationName', () => { + const result = client.matchDataItemFromAnnotationName(fakePath); + assert.strictEqual(result, "dataItemValue"); + assert((client.pathTemplates.annotationPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchAnnotationFromAnnotationName', () => { + const result = client.matchAnnotationFromAnnotationName(fakePath); + assert.strictEqual(result, "annotationValue"); + assert((client.pathTemplates.annotationPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('annotationSpec', async () => { + const fakePath = "/rendered/path/annotationSpec"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + dataset: "datasetValue", + annotation_spec: "annotationSpecValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.annotationSpecPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.annotationSpecPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('annotationSpecPath', () => { + const result = client.annotationSpecPath("projectValue", "locationValue", "datasetValue", "annotationSpecValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.annotationSpecPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromAnnotationSpecName', () => { + const result = client.matchProjectFromAnnotationSpecName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.annotationSpecPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromAnnotationSpecName', () => { + const result = client.matchLocationFromAnnotationSpecName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.annotationSpecPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchDatasetFromAnnotationSpecName', () => { + const result = client.matchDatasetFromAnnotationSpecName(fakePath); + assert.strictEqual(result, "datasetValue"); + assert((client.pathTemplates.annotationSpecPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchAnnotationSpecFromAnnotationSpecName', () => { + const result = client.matchAnnotationSpecFromAnnotationSpecName(fakePath); + assert.strictEqual(result, "annotationSpecValue"); + assert((client.pathTemplates.annotationSpecPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('artifact', async () => { + const fakePath = "/rendered/path/artifact"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + metadata_store: "metadataStoreValue", + artifact: "artifactValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.artifactPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.artifactPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('artifactPath', () => { + const result = client.artifactPath("projectValue", "locationValue", "metadataStoreValue", "artifactValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.artifactPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromArtifactName', () => { + const result = client.matchProjectFromArtifactName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.artifactPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromArtifactName', () => { + const result = client.matchLocationFromArtifactName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.artifactPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchMetadataStoreFromArtifactName', () => { + const result = client.matchMetadataStoreFromArtifactName(fakePath); + assert.strictEqual(result, "metadataStoreValue"); + assert((client.pathTemplates.artifactPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchArtifactFromArtifactName', () => { + const result = client.matchArtifactFromArtifactName(fakePath); + assert.strictEqual(result, "artifactValue"); + assert((client.pathTemplates.artifactPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('batchPredictionJob', async () => { + const fakePath = "/rendered/path/batchPredictionJob"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + batch_prediction_job: "batchPredictionJobValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.batchPredictionJobPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.batchPredictionJobPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('batchPredictionJobPath', () => { + const result = client.batchPredictionJobPath("projectValue", "locationValue", "batchPredictionJobValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.batchPredictionJobPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromBatchPredictionJobName', () => { + const result = client.matchProjectFromBatchPredictionJobName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.batchPredictionJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromBatchPredictionJobName', () => { + const result = client.matchLocationFromBatchPredictionJobName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.batchPredictionJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchBatchPredictionJobFromBatchPredictionJobName', () => { + const result = client.matchBatchPredictionJobFromBatchPredictionJobName(fakePath); + assert.strictEqual(result, "batchPredictionJobValue"); + assert((client.pathTemplates.batchPredictionJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('cachedContent', async () => { + const fakePath = "/rendered/path/cachedContent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + cached_content: "cachedContentValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.cachedContentPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.cachedContentPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('cachedContentPath', () => { + const result = client.cachedContentPath("projectValue", "locationValue", "cachedContentValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.cachedContentPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromCachedContentName', () => { + const result = client.matchProjectFromCachedContentName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.cachedContentPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromCachedContentName', () => { + const result = client.matchLocationFromCachedContentName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.cachedContentPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchCachedContentFromCachedContentName', () => { + const result = client.matchCachedContentFromCachedContentName(fakePath); + assert.strictEqual(result, "cachedContentValue"); + assert((client.pathTemplates.cachedContentPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('context', async () => { + const fakePath = "/rendered/path/context"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + metadata_store: "metadataStoreValue", + context: "contextValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.contextPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.contextPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('contextPath', () => { + const result = client.contextPath("projectValue", "locationValue", "metadataStoreValue", "contextValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.contextPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromContextName', () => { + const result = client.matchProjectFromContextName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.contextPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromContextName', () => { + const result = client.matchLocationFromContextName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.contextPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchMetadataStoreFromContextName', () => { + const result = client.matchMetadataStoreFromContextName(fakePath); + assert.strictEqual(result, "metadataStoreValue"); + assert((client.pathTemplates.contextPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchContextFromContextName', () => { + const result = client.matchContextFromContextName(fakePath); + assert.strictEqual(result, "contextValue"); + assert((client.pathTemplates.contextPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('customJob', async () => { + const fakePath = "/rendered/path/customJob"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + custom_job: "customJobValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.customJobPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.customJobPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('customJobPath', () => { + const result = client.customJobPath("projectValue", "locationValue", "customJobValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.customJobPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromCustomJobName', () => { + const result = client.matchProjectFromCustomJobName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.customJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromCustomJobName', () => { + const result = client.matchLocationFromCustomJobName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.customJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchCustomJobFromCustomJobName', () => { + const result = client.matchCustomJobFromCustomJobName(fakePath); + assert.strictEqual(result, "customJobValue"); + assert((client.pathTemplates.customJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('dataItem', async () => { + const fakePath = "/rendered/path/dataItem"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + dataset: "datasetValue", + data_item: "dataItemValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.dataItemPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.dataItemPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('dataItemPath', () => { + const result = client.dataItemPath("projectValue", "locationValue", "datasetValue", "dataItemValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.dataItemPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromDataItemName', () => { + const result = client.matchProjectFromDataItemName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.dataItemPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromDataItemName', () => { + const result = client.matchLocationFromDataItemName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.dataItemPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchDatasetFromDataItemName', () => { + const result = client.matchDatasetFromDataItemName(fakePath); + assert.strictEqual(result, "datasetValue"); + assert((client.pathTemplates.dataItemPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchDataItemFromDataItemName', () => { + const result = client.matchDataItemFromDataItemName(fakePath); + assert.strictEqual(result, "dataItemValue"); + assert((client.pathTemplates.dataItemPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('dataLabelingJob', async () => { + const fakePath = "/rendered/path/dataLabelingJob"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + data_labeling_job: "dataLabelingJobValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.dataLabelingJobPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.dataLabelingJobPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('dataLabelingJobPath', () => { + const result = client.dataLabelingJobPath("projectValue", "locationValue", "dataLabelingJobValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.dataLabelingJobPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromDataLabelingJobName', () => { + const result = client.matchProjectFromDataLabelingJobName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.dataLabelingJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromDataLabelingJobName', () => { + const result = client.matchLocationFromDataLabelingJobName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.dataLabelingJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchDataLabelingJobFromDataLabelingJobName', () => { + const result = client.matchDataLabelingJobFromDataLabelingJobName(fakePath); + assert.strictEqual(result, "dataLabelingJobValue"); + assert((client.pathTemplates.dataLabelingJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('dataset', async () => { + const fakePath = "/rendered/path/dataset"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + dataset: "datasetValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.datasetPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.datasetPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('datasetPath', () => { + const result = client.datasetPath("projectValue", "locationValue", "datasetValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.datasetPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromDatasetName', () => { + const result = client.matchProjectFromDatasetName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.datasetPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromDatasetName', () => { + const result = client.matchLocationFromDatasetName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.datasetPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchDatasetFromDatasetName', () => { + const result = client.matchDatasetFromDatasetName(fakePath); + assert.strictEqual(result, "datasetValue"); + assert((client.pathTemplates.datasetPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('datasetVersion', async () => { + const fakePath = "/rendered/path/datasetVersion"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + dataset: "datasetValue", + dataset_version: "datasetVersionValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.datasetVersionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.datasetVersionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('datasetVersionPath', () => { + const result = client.datasetVersionPath("projectValue", "locationValue", "datasetValue", "datasetVersionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.datasetVersionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromDatasetVersionName', () => { + const result = client.matchProjectFromDatasetVersionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.datasetVersionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromDatasetVersionName', () => { + const result = client.matchLocationFromDatasetVersionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.datasetVersionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchDatasetFromDatasetVersionName', () => { + const result = client.matchDatasetFromDatasetVersionName(fakePath); + assert.strictEqual(result, "datasetValue"); + assert((client.pathTemplates.datasetVersionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchDatasetVersionFromDatasetVersionName', () => { + const result = client.matchDatasetVersionFromDatasetVersionName(fakePath); + assert.strictEqual(result, "datasetVersionValue"); + assert((client.pathTemplates.datasetVersionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('deploymentResourcePool', async () => { + const fakePath = "/rendered/path/deploymentResourcePool"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + deployment_resource_pool: "deploymentResourcePoolValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.deploymentResourcePoolPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.deploymentResourcePoolPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('deploymentResourcePoolPath', () => { + const result = client.deploymentResourcePoolPath("projectValue", "locationValue", "deploymentResourcePoolValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.deploymentResourcePoolPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromDeploymentResourcePoolName', () => { + const result = client.matchProjectFromDeploymentResourcePoolName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.deploymentResourcePoolPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromDeploymentResourcePoolName', () => { + const result = client.matchLocationFromDeploymentResourcePoolName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.deploymentResourcePoolPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchDeploymentResourcePoolFromDeploymentResourcePoolName', () => { + const result = client.matchDeploymentResourcePoolFromDeploymentResourcePoolName(fakePath); + assert.strictEqual(result, "deploymentResourcePoolValue"); + assert((client.pathTemplates.deploymentResourcePoolPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('entityType', async () => { + const fakePath = "/rendered/path/entityType"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + featurestore: "featurestoreValue", + entity_type: "entityTypeValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.entityTypePathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.entityTypePathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('entityTypePath', () => { + const result = client.entityTypePath("projectValue", "locationValue", "featurestoreValue", "entityTypeValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.entityTypePathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromEntityTypeName', () => { + const result = client.matchProjectFromEntityTypeName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.entityTypePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromEntityTypeName', () => { + const result = client.matchLocationFromEntityTypeName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.entityTypePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchFeaturestoreFromEntityTypeName', () => { + const result = client.matchFeaturestoreFromEntityTypeName(fakePath); + assert.strictEqual(result, "featurestoreValue"); + assert((client.pathTemplates.entityTypePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEntityTypeFromEntityTypeName', () => { + const result = client.matchEntityTypeFromEntityTypeName(fakePath); + assert.strictEqual(result, "entityTypeValue"); + assert((client.pathTemplates.entityTypePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('execution', async () => { + const fakePath = "/rendered/path/execution"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + metadata_store: "metadataStoreValue", + execution: "executionValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.executionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.executionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('executionPath', () => { + const result = client.executionPath("projectValue", "locationValue", "metadataStoreValue", "executionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.executionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromExecutionName', () => { + const result = client.matchProjectFromExecutionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.executionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromExecutionName', () => { + const result = client.matchLocationFromExecutionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.executionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchMetadataStoreFromExecutionName', () => { + const result = client.matchMetadataStoreFromExecutionName(fakePath); + assert.strictEqual(result, "metadataStoreValue"); + assert((client.pathTemplates.executionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchExecutionFromExecutionName', () => { + const result = client.matchExecutionFromExecutionName(fakePath); + assert.strictEqual(result, "executionValue"); + assert((client.pathTemplates.executionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('featureGroup', async () => { + const fakePath = "/rendered/path/featureGroup"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + feature_group: "featureGroupValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.featureGroupPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.featureGroupPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('featureGroupPath', () => { + const result = client.featureGroupPath("projectValue", "locationValue", "featureGroupValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.featureGroupPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromFeatureGroupName', () => { + const result = client.matchProjectFromFeatureGroupName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.featureGroupPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromFeatureGroupName', () => { + const result = client.matchLocationFromFeatureGroupName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.featureGroupPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchFeatureGroupFromFeatureGroupName', () => { + const result = client.matchFeatureGroupFromFeatureGroupName(fakePath); + assert.strictEqual(result, "featureGroupValue"); + assert((client.pathTemplates.featureGroupPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('featureOnlineStore', async () => { + const fakePath = "/rendered/path/featureOnlineStore"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + feature_online_store: "featureOnlineStoreValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.featureOnlineStorePathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.featureOnlineStorePathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('featureOnlineStorePath', () => { + const result = client.featureOnlineStorePath("projectValue", "locationValue", "featureOnlineStoreValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.featureOnlineStorePathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromFeatureOnlineStoreName', () => { + const result = client.matchProjectFromFeatureOnlineStoreName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.featureOnlineStorePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromFeatureOnlineStoreName', () => { + const result = client.matchLocationFromFeatureOnlineStoreName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.featureOnlineStorePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchFeatureOnlineStoreFromFeatureOnlineStoreName', () => { + const result = client.matchFeatureOnlineStoreFromFeatureOnlineStoreName(fakePath); + assert.strictEqual(result, "featureOnlineStoreValue"); + assert((client.pathTemplates.featureOnlineStorePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('featureView', async () => { + const fakePath = "/rendered/path/featureView"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + feature_online_store: "featureOnlineStoreValue", + feature_view: "featureViewValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.featureViewPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.featureViewPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('featureViewPath', () => { + const result = client.featureViewPath("projectValue", "locationValue", "featureOnlineStoreValue", "featureViewValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.featureViewPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromFeatureViewName', () => { + const result = client.matchProjectFromFeatureViewName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.featureViewPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromFeatureViewName', () => { + const result = client.matchLocationFromFeatureViewName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.featureViewPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchFeatureOnlineStoreFromFeatureViewName', () => { + const result = client.matchFeatureOnlineStoreFromFeatureViewName(fakePath); + assert.strictEqual(result, "featureOnlineStoreValue"); + assert((client.pathTemplates.featureViewPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchFeatureViewFromFeatureViewName', () => { + const result = client.matchFeatureViewFromFeatureViewName(fakePath); + assert.strictEqual(result, "featureViewValue"); + assert((client.pathTemplates.featureViewPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('featureViewSync', async () => { + const fakePath = "/rendered/path/featureViewSync"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + feature_online_store: "featureOnlineStoreValue", + feature_view: "featureViewValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.featureViewSyncPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.featureViewSyncPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('featureViewSyncPath', () => { + const result = client.featureViewSyncPath("projectValue", "locationValue", "featureOnlineStoreValue", "featureViewValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.featureViewSyncPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromFeatureViewSyncName', () => { + const result = client.matchProjectFromFeatureViewSyncName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.featureViewSyncPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromFeatureViewSyncName', () => { + const result = client.matchLocationFromFeatureViewSyncName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.featureViewSyncPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchFeatureOnlineStoreFromFeatureViewSyncName', () => { + const result = client.matchFeatureOnlineStoreFromFeatureViewSyncName(fakePath); + assert.strictEqual(result, "featureOnlineStoreValue"); + assert((client.pathTemplates.featureViewSyncPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchFeatureViewFromFeatureViewSyncName', () => { + const result = client.matchFeatureViewFromFeatureViewSyncName(fakePath); + assert.strictEqual(result, "featureViewValue"); + assert((client.pathTemplates.featureViewSyncPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('featurestore', async () => { + const fakePath = "/rendered/path/featurestore"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + featurestore: "featurestoreValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.featurestorePathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.featurestorePathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('featurestorePath', () => { + const result = client.featurestorePath("projectValue", "locationValue", "featurestoreValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.featurestorePathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromFeaturestoreName', () => { + const result = client.matchProjectFromFeaturestoreName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.featurestorePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromFeaturestoreName', () => { + const result = client.matchLocationFromFeaturestoreName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.featurestorePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchFeaturestoreFromFeaturestoreName', () => { + const result = client.matchFeaturestoreFromFeaturestoreName(fakePath); + assert.strictEqual(result, "featurestoreValue"); + assert((client.pathTemplates.featurestorePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('hyperparameterTuningJob', async () => { + const fakePath = "/rendered/path/hyperparameterTuningJob"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + hyperparameter_tuning_job: "hyperparameterTuningJobValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.hyperparameterTuningJobPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.hyperparameterTuningJobPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('hyperparameterTuningJobPath', () => { + const result = client.hyperparameterTuningJobPath("projectValue", "locationValue", "hyperparameterTuningJobValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.hyperparameterTuningJobPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromHyperparameterTuningJobName', () => { + const result = client.matchProjectFromHyperparameterTuningJobName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.hyperparameterTuningJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromHyperparameterTuningJobName', () => { + const result = client.matchLocationFromHyperparameterTuningJobName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.hyperparameterTuningJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchHyperparameterTuningJobFromHyperparameterTuningJobName', () => { + const result = client.matchHyperparameterTuningJobFromHyperparameterTuningJobName(fakePath); + assert.strictEqual(result, "hyperparameterTuningJobValue"); + assert((client.pathTemplates.hyperparameterTuningJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('index', async () => { + const fakePath = "/rendered/path/index"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + index: "indexValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.indexPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.indexPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('indexPath', () => { + const result = client.indexPath("projectValue", "locationValue", "indexValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.indexPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromIndexName', () => { + const result = client.matchProjectFromIndexName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.indexPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromIndexName', () => { + const result = client.matchLocationFromIndexName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.indexPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchIndexFromIndexName', () => { + const result = client.matchIndexFromIndexName(fakePath); + assert.strictEqual(result, "indexValue"); + assert((client.pathTemplates.indexPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('indexEndpoint', async () => { + const fakePath = "/rendered/path/indexEndpoint"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + index_endpoint: "indexEndpointValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.indexEndpointPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.indexEndpointPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('indexEndpointPath', () => { + const result = client.indexEndpointPath("projectValue", "locationValue", "indexEndpointValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.indexEndpointPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromIndexEndpointName', () => { + const result = client.matchProjectFromIndexEndpointName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.indexEndpointPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromIndexEndpointName', () => { + const result = client.matchLocationFromIndexEndpointName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.indexEndpointPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchIndexEndpointFromIndexEndpointName', () => { + const result = client.matchIndexEndpointFromIndexEndpointName(fakePath); + assert.strictEqual(result, "indexEndpointValue"); + assert((client.pathTemplates.indexEndpointPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('metadataSchema', async () => { + const fakePath = "/rendered/path/metadataSchema"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + metadata_store: "metadataStoreValue", + metadata_schema: "metadataSchemaValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.metadataSchemaPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.metadataSchemaPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('metadataSchemaPath', () => { + const result = client.metadataSchemaPath("projectValue", "locationValue", "metadataStoreValue", "metadataSchemaValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.metadataSchemaPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromMetadataSchemaName', () => { + const result = client.matchProjectFromMetadataSchemaName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.metadataSchemaPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromMetadataSchemaName', () => { + const result = client.matchLocationFromMetadataSchemaName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.metadataSchemaPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchMetadataStoreFromMetadataSchemaName', () => { + const result = client.matchMetadataStoreFromMetadataSchemaName(fakePath); + assert.strictEqual(result, "metadataStoreValue"); + assert((client.pathTemplates.metadataSchemaPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchMetadataSchemaFromMetadataSchemaName', () => { + const result = client.matchMetadataSchemaFromMetadataSchemaName(fakePath); + assert.strictEqual(result, "metadataSchemaValue"); + assert((client.pathTemplates.metadataSchemaPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('metadataStore', async () => { + const fakePath = "/rendered/path/metadataStore"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + metadata_store: "metadataStoreValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.metadataStorePathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.metadataStorePathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('metadataStorePath', () => { + const result = client.metadataStorePath("projectValue", "locationValue", "metadataStoreValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.metadataStorePathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromMetadataStoreName', () => { + const result = client.matchProjectFromMetadataStoreName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.metadataStorePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromMetadataStoreName', () => { + const result = client.matchLocationFromMetadataStoreName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.metadataStorePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchMetadataStoreFromMetadataStoreName', () => { + const result = client.matchMetadataStoreFromMetadataStoreName(fakePath); + assert.strictEqual(result, "metadataStoreValue"); + assert((client.pathTemplates.metadataStorePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('model', async () => { + const fakePath = "/rendered/path/model"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + model: "modelValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.modelPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.modelPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('modelPath', () => { + const result = client.modelPath("projectValue", "locationValue", "modelValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.modelPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromModelName', () => { + const result = client.matchProjectFromModelName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.modelPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromModelName', () => { + const result = client.matchLocationFromModelName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.modelPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchModelFromModelName', () => { + const result = client.matchModelFromModelName(fakePath); + assert.strictEqual(result, "modelValue"); + assert((client.pathTemplates.modelPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('modelDeploymentMonitoringJob', async () => { + const fakePath = "/rendered/path/modelDeploymentMonitoringJob"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + model_deployment_monitoring_job: "modelDeploymentMonitoringJobValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.modelDeploymentMonitoringJobPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.modelDeploymentMonitoringJobPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('modelDeploymentMonitoringJobPath', () => { + const result = client.modelDeploymentMonitoringJobPath("projectValue", "locationValue", "modelDeploymentMonitoringJobValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.modelDeploymentMonitoringJobPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromModelDeploymentMonitoringJobName', () => { + const result = client.matchProjectFromModelDeploymentMonitoringJobName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.modelDeploymentMonitoringJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromModelDeploymentMonitoringJobName', () => { + const result = client.matchLocationFromModelDeploymentMonitoringJobName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.modelDeploymentMonitoringJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchModelDeploymentMonitoringJobFromModelDeploymentMonitoringJobName', () => { + const result = client.matchModelDeploymentMonitoringJobFromModelDeploymentMonitoringJobName(fakePath); + assert.strictEqual(result, "modelDeploymentMonitoringJobValue"); + assert((client.pathTemplates.modelDeploymentMonitoringJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('modelEvaluation', async () => { + const fakePath = "/rendered/path/modelEvaluation"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + model: "modelValue", + evaluation: "evaluationValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.modelEvaluationPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.modelEvaluationPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('modelEvaluationPath', () => { + const result = client.modelEvaluationPath("projectValue", "locationValue", "modelValue", "evaluationValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.modelEvaluationPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromModelEvaluationName', () => { + const result = client.matchProjectFromModelEvaluationName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.modelEvaluationPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromModelEvaluationName', () => { + const result = client.matchLocationFromModelEvaluationName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.modelEvaluationPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchModelFromModelEvaluationName', () => { + const result = client.matchModelFromModelEvaluationName(fakePath); + assert.strictEqual(result, "modelValue"); + assert((client.pathTemplates.modelEvaluationPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEvaluationFromModelEvaluationName', () => { + const result = client.matchEvaluationFromModelEvaluationName(fakePath); + assert.strictEqual(result, "evaluationValue"); + assert((client.pathTemplates.modelEvaluationPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('modelEvaluationSlice', async () => { + const fakePath = "/rendered/path/modelEvaluationSlice"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + model: "modelValue", + evaluation: "evaluationValue", + slice: "sliceValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.modelEvaluationSlicePathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.modelEvaluationSlicePathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('modelEvaluationSlicePath', () => { + const result = client.modelEvaluationSlicePath("projectValue", "locationValue", "modelValue", "evaluationValue", "sliceValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.modelEvaluationSlicePathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromModelEvaluationSliceName', () => { + const result = client.matchProjectFromModelEvaluationSliceName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.modelEvaluationSlicePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromModelEvaluationSliceName', () => { + const result = client.matchLocationFromModelEvaluationSliceName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.modelEvaluationSlicePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchModelFromModelEvaluationSliceName', () => { + const result = client.matchModelFromModelEvaluationSliceName(fakePath); + assert.strictEqual(result, "modelValue"); + assert((client.pathTemplates.modelEvaluationSlicePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEvaluationFromModelEvaluationSliceName', () => { + const result = client.matchEvaluationFromModelEvaluationSliceName(fakePath); + assert.strictEqual(result, "evaluationValue"); + assert((client.pathTemplates.modelEvaluationSlicePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSliceFromModelEvaluationSliceName', () => { + const result = client.matchSliceFromModelEvaluationSliceName(fakePath); + assert.strictEqual(result, "sliceValue"); + assert((client.pathTemplates.modelEvaluationSlicePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('nasJob', async () => { + const fakePath = "/rendered/path/nasJob"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + nas_job: "nasJobValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.nasJobPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.nasJobPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('nasJobPath', () => { + const result = client.nasJobPath("projectValue", "locationValue", "nasJobValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.nasJobPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromNasJobName', () => { + const result = client.matchProjectFromNasJobName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.nasJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromNasJobName', () => { + const result = client.matchLocationFromNasJobName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.nasJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchNasJobFromNasJobName', () => { + const result = client.matchNasJobFromNasJobName(fakePath); + assert.strictEqual(result, "nasJobValue"); + assert((client.pathTemplates.nasJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('nasTrialDetail', async () => { + const fakePath = "/rendered/path/nasTrialDetail"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + nas_job: "nasJobValue", + nas_trial_detail: "nasTrialDetailValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.nasTrialDetailPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.nasTrialDetailPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('nasTrialDetailPath', () => { + const result = client.nasTrialDetailPath("projectValue", "locationValue", "nasJobValue", "nasTrialDetailValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.nasTrialDetailPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromNasTrialDetailName', () => { + const result = client.matchProjectFromNasTrialDetailName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.nasTrialDetailPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromNasTrialDetailName', () => { + const result = client.matchLocationFromNasTrialDetailName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.nasTrialDetailPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchNasJobFromNasTrialDetailName', () => { + const result = client.matchNasJobFromNasTrialDetailName(fakePath); + assert.strictEqual(result, "nasJobValue"); + assert((client.pathTemplates.nasTrialDetailPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchNasTrialDetailFromNasTrialDetailName', () => { + const result = client.matchNasTrialDetailFromNasTrialDetailName(fakePath); + assert.strictEqual(result, "nasTrialDetailValue"); + assert((client.pathTemplates.nasTrialDetailPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('notebookExecutionJob', async () => { + const fakePath = "/rendered/path/notebookExecutionJob"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + notebook_execution_job: "notebookExecutionJobValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.notebookExecutionJobPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.notebookExecutionJobPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('notebookExecutionJobPath', () => { + const result = client.notebookExecutionJobPath("projectValue", "locationValue", "notebookExecutionJobValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.notebookExecutionJobPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromNotebookExecutionJobName', () => { + const result = client.matchProjectFromNotebookExecutionJobName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.notebookExecutionJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromNotebookExecutionJobName', () => { + const result = client.matchLocationFromNotebookExecutionJobName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.notebookExecutionJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchNotebookExecutionJobFromNotebookExecutionJobName', () => { + const result = client.matchNotebookExecutionJobFromNotebookExecutionJobName(fakePath); + assert.strictEqual(result, "notebookExecutionJobValue"); + assert((client.pathTemplates.notebookExecutionJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('notebookRuntime', async () => { + const fakePath = "/rendered/path/notebookRuntime"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + notebook_runtime: "notebookRuntimeValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.notebookRuntimePathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.notebookRuntimePathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('notebookRuntimePath', () => { + const result = client.notebookRuntimePath("projectValue", "locationValue", "notebookRuntimeValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.notebookRuntimePathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromNotebookRuntimeName', () => { + const result = client.matchProjectFromNotebookRuntimeName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.notebookRuntimePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromNotebookRuntimeName', () => { + const result = client.matchLocationFromNotebookRuntimeName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.notebookRuntimePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchNotebookRuntimeFromNotebookRuntimeName', () => { + const result = client.matchNotebookRuntimeFromNotebookRuntimeName(fakePath); + assert.strictEqual(result, "notebookRuntimeValue"); + assert((client.pathTemplates.notebookRuntimePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('notebookRuntimeTemplate', async () => { + const fakePath = "/rendered/path/notebookRuntimeTemplate"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + notebook_runtime_template: "notebookRuntimeTemplateValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.notebookRuntimeTemplatePathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.notebookRuntimeTemplatePathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('notebookRuntimeTemplatePath', () => { + const result = client.notebookRuntimeTemplatePath("projectValue", "locationValue", "notebookRuntimeTemplateValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.notebookRuntimeTemplatePathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromNotebookRuntimeTemplateName', () => { + const result = client.matchProjectFromNotebookRuntimeTemplateName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.notebookRuntimeTemplatePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromNotebookRuntimeTemplateName', () => { + const result = client.matchLocationFromNotebookRuntimeTemplateName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.notebookRuntimeTemplatePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchNotebookRuntimeTemplateFromNotebookRuntimeTemplateName', () => { + const result = client.matchNotebookRuntimeTemplateFromNotebookRuntimeTemplateName(fakePath); + assert.strictEqual(result, "notebookRuntimeTemplateValue"); + assert((client.pathTemplates.notebookRuntimeTemplatePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('persistentResource', async () => { + const fakePath = "/rendered/path/persistentResource"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + persistent_resource: "persistentResourceValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.persistentResourcePathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.persistentResourcePathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('persistentResourcePath', () => { + const result = client.persistentResourcePath("projectValue", "locationValue", "persistentResourceValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.persistentResourcePathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromPersistentResourceName', () => { + const result = client.matchProjectFromPersistentResourceName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.persistentResourcePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromPersistentResourceName', () => { + const result = client.matchLocationFromPersistentResourceName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.persistentResourcePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchPersistentResourceFromPersistentResourceName', () => { + const result = client.matchPersistentResourceFromPersistentResourceName(fakePath); + assert.strictEqual(result, "persistentResourceValue"); + assert((client.pathTemplates.persistentResourcePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('pipelineJob', async () => { + const fakePath = "/rendered/path/pipelineJob"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + pipeline_job: "pipelineJobValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.pipelineJobPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.pipelineJobPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('pipelineJobPath', () => { + const result = client.pipelineJobPath("projectValue", "locationValue", "pipelineJobValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.pipelineJobPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromPipelineJobName', () => { + const result = client.matchProjectFromPipelineJobName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.pipelineJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromPipelineJobName', () => { + const result = client.matchLocationFromPipelineJobName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.pipelineJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchPipelineJobFromPipelineJobName', () => { + const result = client.matchPipelineJobFromPipelineJobName(fakePath); + assert.strictEqual(result, "pipelineJobValue"); + assert((client.pathTemplates.pipelineJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('projectLocationEndpoint', async () => { + const fakePath = "/rendered/path/projectLocationEndpoint"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + endpoint: "endpointValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.projectLocationEndpointPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.projectLocationEndpointPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('projectLocationEndpointPath', () => { + const result = client.projectLocationEndpointPath("projectValue", "locationValue", "endpointValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.projectLocationEndpointPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromProjectLocationEndpointName', () => { + const result = client.matchProjectFromProjectLocationEndpointName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.projectLocationEndpointPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromProjectLocationEndpointName', () => { + const result = client.matchLocationFromProjectLocationEndpointName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.projectLocationEndpointPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEndpointFromProjectLocationEndpointName', () => { + const result = client.matchEndpointFromProjectLocationEndpointName(fakePath); + assert.strictEqual(result, "endpointValue"); + assert((client.pathTemplates.projectLocationEndpointPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('projectLocationFeatureGroupFeatures', async () => { + const fakePath = "/rendered/path/projectLocationFeatureGroupFeatures"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + feature_group: "featureGroupValue", + feature: "featureValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.projectLocationFeatureGroupFeaturesPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.projectLocationFeatureGroupFeaturesPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('projectLocationFeatureGroupFeaturesPath', () => { + const result = client.projectLocationFeatureGroupFeaturesPath("projectValue", "locationValue", "featureGroupValue", "featureValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.projectLocationFeatureGroupFeaturesPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromProjectLocationFeatureGroupFeaturesName', () => { + const result = client.matchProjectFromProjectLocationFeatureGroupFeaturesName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.projectLocationFeatureGroupFeaturesPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromProjectLocationFeatureGroupFeaturesName', () => { + const result = client.matchLocationFromProjectLocationFeatureGroupFeaturesName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.projectLocationFeatureGroupFeaturesPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchFeatureGroupFromProjectLocationFeatureGroupFeaturesName', () => { + const result = client.matchFeatureGroupFromProjectLocationFeatureGroupFeaturesName(fakePath); + assert.strictEqual(result, "featureGroupValue"); + assert((client.pathTemplates.projectLocationFeatureGroupFeaturesPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchFeatureFromProjectLocationFeatureGroupFeaturesName', () => { + const result = client.matchFeatureFromProjectLocationFeatureGroupFeaturesName(fakePath); + assert.strictEqual(result, "featureValue"); + assert((client.pathTemplates.projectLocationFeatureGroupFeaturesPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('projectLocationFeaturestoreEntityTypeFeatures', async () => { + const fakePath = "/rendered/path/projectLocationFeaturestoreEntityTypeFeatures"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + featurestore: "featurestoreValue", + entity_type: "entityTypeValue", + feature: "featureValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.projectLocationFeaturestoreEntityTypeFeaturesPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.projectLocationFeaturestoreEntityTypeFeaturesPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('projectLocationFeaturestoreEntityTypeFeaturesPath', () => { + const result = client.projectLocationFeaturestoreEntityTypeFeaturesPath("projectValue", "locationValue", "featurestoreValue", "entityTypeValue", "featureValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.projectLocationFeaturestoreEntityTypeFeaturesPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromProjectLocationFeaturestoreEntityTypeFeaturesName', () => { + const result = client.matchProjectFromProjectLocationFeaturestoreEntityTypeFeaturesName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.projectLocationFeaturestoreEntityTypeFeaturesPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromProjectLocationFeaturestoreEntityTypeFeaturesName', () => { + const result = client.matchLocationFromProjectLocationFeaturestoreEntityTypeFeaturesName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.projectLocationFeaturestoreEntityTypeFeaturesPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchFeaturestoreFromProjectLocationFeaturestoreEntityTypeFeaturesName', () => { + const result = client.matchFeaturestoreFromProjectLocationFeaturestoreEntityTypeFeaturesName(fakePath); + assert.strictEqual(result, "featurestoreValue"); + assert((client.pathTemplates.projectLocationFeaturestoreEntityTypeFeaturesPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEntityTypeFromProjectLocationFeaturestoreEntityTypeFeaturesName', () => { + const result = client.matchEntityTypeFromProjectLocationFeaturestoreEntityTypeFeaturesName(fakePath); + assert.strictEqual(result, "entityTypeValue"); + assert((client.pathTemplates.projectLocationFeaturestoreEntityTypeFeaturesPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchFeatureFromProjectLocationFeaturestoreEntityTypeFeaturesName', () => { + const result = client.matchFeatureFromProjectLocationFeaturestoreEntityTypeFeaturesName(fakePath); + assert.strictEqual(result, "featureValue"); + assert((client.pathTemplates.projectLocationFeaturestoreEntityTypeFeaturesPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('projectLocationPublisherModel', async () => { + const fakePath = "/rendered/path/projectLocationPublisherModel"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + publisher: "publisherValue", + model: "modelValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.projectLocationPublisherModelPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.projectLocationPublisherModelPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('projectLocationPublisherModelPath', () => { + const result = client.projectLocationPublisherModelPath("projectValue", "locationValue", "publisherValue", "modelValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.projectLocationPublisherModelPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromProjectLocationPublisherModelName', () => { + const result = client.matchProjectFromProjectLocationPublisherModelName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.projectLocationPublisherModelPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromProjectLocationPublisherModelName', () => { + const result = client.matchLocationFromProjectLocationPublisherModelName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.projectLocationPublisherModelPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchPublisherFromProjectLocationPublisherModelName', () => { + const result = client.matchPublisherFromProjectLocationPublisherModelName(fakePath); + assert.strictEqual(result, "publisherValue"); + assert((client.pathTemplates.projectLocationPublisherModelPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchModelFromProjectLocationPublisherModelName', () => { + const result = client.matchModelFromProjectLocationPublisherModelName(fakePath); + assert.strictEqual(result, "modelValue"); + assert((client.pathTemplates.projectLocationPublisherModelPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('publisherModel', async () => { + const fakePath = "/rendered/path/publisherModel"; + const expectedParameters = { + publisher: "publisherValue", + model: "modelValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.publisherModelPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.publisherModelPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('publisherModelPath', () => { + const result = client.publisherModelPath("publisherValue", "modelValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.publisherModelPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchPublisherFromPublisherModelName', () => { + const result = client.matchPublisherFromPublisherModelName(fakePath); + assert.strictEqual(result, "publisherValue"); + assert((client.pathTemplates.publisherModelPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchModelFromPublisherModelName', () => { + const result = client.matchModelFromPublisherModelName(fakePath); + assert.strictEqual(result, "modelValue"); + assert((client.pathTemplates.publisherModelPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('ragCorpus', async () => { + const fakePath = "/rendered/path/ragCorpus"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + rag_corpus: "ragCorpusValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.ragCorpusPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.ragCorpusPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('ragCorpusPath', () => { + const result = client.ragCorpusPath("projectValue", "locationValue", "ragCorpusValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.ragCorpusPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromRagCorpusName', () => { + const result = client.matchProjectFromRagCorpusName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.ragCorpusPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromRagCorpusName', () => { + const result = client.matchLocationFromRagCorpusName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.ragCorpusPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchRagCorpusFromRagCorpusName', () => { + const result = client.matchRagCorpusFromRagCorpusName(fakePath); + assert.strictEqual(result, "ragCorpusValue"); + assert((client.pathTemplates.ragCorpusPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('ragEngineConfig', async () => { + const fakePath = "/rendered/path/ragEngineConfig"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.ragEngineConfigPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.ragEngineConfigPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('ragEngineConfigPath', () => { + const result = client.ragEngineConfigPath("projectValue", "locationValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.ragEngineConfigPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromRagEngineConfigName', () => { + const result = client.matchProjectFromRagEngineConfigName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.ragEngineConfigPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromRagEngineConfigName', () => { + const result = client.matchLocationFromRagEngineConfigName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.ragEngineConfigPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('ragFile', async () => { + const fakePath = "/rendered/path/ragFile"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + rag_corpus: "ragCorpusValue", + rag_file: "ragFileValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.ragFilePathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.ragFilePathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('ragFilePath', () => { + const result = client.ragFilePath("projectValue", "locationValue", "ragCorpusValue", "ragFileValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.ragFilePathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromRagFileName', () => { + const result = client.matchProjectFromRagFileName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.ragFilePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromRagFileName', () => { + const result = client.matchLocationFromRagFileName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.ragFilePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchRagCorpusFromRagFileName', () => { + const result = client.matchRagCorpusFromRagFileName(fakePath); + assert.strictEqual(result, "ragCorpusValue"); + assert((client.pathTemplates.ragFilePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchRagFileFromRagFileName', () => { + const result = client.matchRagFileFromRagFileName(fakePath); + assert.strictEqual(result, "ragFileValue"); + assert((client.pathTemplates.ragFilePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('reasoningEngine', async () => { + const fakePath = "/rendered/path/reasoningEngine"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.reasoningEnginePathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.reasoningEnginePathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('reasoningEnginePath', () => { + const result = client.reasoningEnginePath("projectValue", "locationValue", "reasoningEngineValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.reasoningEnginePathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromReasoningEngineName', () => { + const result = client.matchProjectFromReasoningEngineName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.reasoningEnginePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromReasoningEngineName', () => { + const result = client.matchLocationFromReasoningEngineName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.reasoningEnginePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromReasoningEngineName', () => { + const result = client.matchReasoningEngineFromReasoningEngineName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.reasoningEnginePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('savedQuery', async () => { + const fakePath = "/rendered/path/savedQuery"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + dataset: "datasetValue", + saved_query: "savedQueryValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.savedQueryPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.savedQueryPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('savedQueryPath', () => { + const result = client.savedQueryPath("projectValue", "locationValue", "datasetValue", "savedQueryValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.savedQueryPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSavedQueryName', () => { + const result = client.matchProjectFromSavedQueryName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.savedQueryPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSavedQueryName', () => { + const result = client.matchLocationFromSavedQueryName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.savedQueryPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchDatasetFromSavedQueryName', () => { + const result = client.matchDatasetFromSavedQueryName(fakePath); + assert.strictEqual(result, "datasetValue"); + assert((client.pathTemplates.savedQueryPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSavedQueryFromSavedQueryName', () => { + const result = client.matchSavedQueryFromSavedQueryName(fakePath); + assert.strictEqual(result, "savedQueryValue"); + assert((client.pathTemplates.savedQueryPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('schedule', async () => { + const fakePath = "/rendered/path/schedule"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + schedule: "scheduleValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.schedulePathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.schedulePathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('schedulePath', () => { + const result = client.schedulePath("projectValue", "locationValue", "scheduleValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.schedulePathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromScheduleName', () => { + const result = client.matchProjectFromScheduleName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.schedulePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromScheduleName', () => { + const result = client.matchLocationFromScheduleName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.schedulePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchScheduleFromScheduleName', () => { + const result = client.matchScheduleFromScheduleName(fakePath); + assert.strictEqual(result, "scheduleValue"); + assert((client.pathTemplates.schedulePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('specialistPool', async () => { + const fakePath = "/rendered/path/specialistPool"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + specialist_pool: "specialistPoolValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.specialistPoolPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.specialistPoolPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('specialistPoolPath', () => { + const result = client.specialistPoolPath("projectValue", "locationValue", "specialistPoolValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.specialistPoolPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSpecialistPoolName', () => { + const result = client.matchProjectFromSpecialistPoolName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.specialistPoolPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSpecialistPoolName', () => { + const result = client.matchLocationFromSpecialistPoolName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.specialistPoolPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSpecialistPoolFromSpecialistPoolName', () => { + const result = client.matchSpecialistPoolFromSpecialistPoolName(fakePath); + assert.strictEqual(result, "specialistPoolValue"); + assert((client.pathTemplates.specialistPoolPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('study', async () => { + const fakePath = "/rendered/path/study"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + study: "studyValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.studyPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.studyPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('studyPath', () => { + const result = client.studyPath("projectValue", "locationValue", "studyValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.studyPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromStudyName', () => { + const result = client.matchProjectFromStudyName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.studyPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromStudyName', () => { + const result = client.matchLocationFromStudyName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.studyPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchStudyFromStudyName', () => { + const result = client.matchStudyFromStudyName(fakePath); + assert.strictEqual(result, "studyValue"); + assert((client.pathTemplates.studyPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('tensorboard', async () => { + const fakePath = "/rendered/path/tensorboard"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + tensorboard: "tensorboardValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.tensorboardPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.tensorboardPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('tensorboardPath', () => { + const result = client.tensorboardPath("projectValue", "locationValue", "tensorboardValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.tensorboardPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromTensorboardName', () => { + const result = client.matchProjectFromTensorboardName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.tensorboardPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromTensorboardName', () => { + const result = client.matchLocationFromTensorboardName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.tensorboardPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchTensorboardFromTensorboardName', () => { + const result = client.matchTensorboardFromTensorboardName(fakePath); + assert.strictEqual(result, "tensorboardValue"); + assert((client.pathTemplates.tensorboardPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('tensorboardExperiment', async () => { + const fakePath = "/rendered/path/tensorboardExperiment"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + tensorboard: "tensorboardValue", + experiment: "experimentValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.tensorboardExperimentPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.tensorboardExperimentPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('tensorboardExperimentPath', () => { + const result = client.tensorboardExperimentPath("projectValue", "locationValue", "tensorboardValue", "experimentValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.tensorboardExperimentPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromTensorboardExperimentName', () => { + const result = client.matchProjectFromTensorboardExperimentName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.tensorboardExperimentPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromTensorboardExperimentName', () => { + const result = client.matchLocationFromTensorboardExperimentName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.tensorboardExperimentPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchTensorboardFromTensorboardExperimentName', () => { + const result = client.matchTensorboardFromTensorboardExperimentName(fakePath); + assert.strictEqual(result, "tensorboardValue"); + assert((client.pathTemplates.tensorboardExperimentPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchExperimentFromTensorboardExperimentName', () => { + const result = client.matchExperimentFromTensorboardExperimentName(fakePath); + assert.strictEqual(result, "experimentValue"); + assert((client.pathTemplates.tensorboardExperimentPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('tensorboardRun', async () => { + const fakePath = "/rendered/path/tensorboardRun"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + tensorboard: "tensorboardValue", + experiment: "experimentValue", + run: "runValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.tensorboardRunPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.tensorboardRunPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('tensorboardRunPath', () => { + const result = client.tensorboardRunPath("projectValue", "locationValue", "tensorboardValue", "experimentValue", "runValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.tensorboardRunPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromTensorboardRunName', () => { + const result = client.matchProjectFromTensorboardRunName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.tensorboardRunPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromTensorboardRunName', () => { + const result = client.matchLocationFromTensorboardRunName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.tensorboardRunPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchTensorboardFromTensorboardRunName', () => { + const result = client.matchTensorboardFromTensorboardRunName(fakePath); + assert.strictEqual(result, "tensorboardValue"); + assert((client.pathTemplates.tensorboardRunPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchExperimentFromTensorboardRunName', () => { + const result = client.matchExperimentFromTensorboardRunName(fakePath); + assert.strictEqual(result, "experimentValue"); + assert((client.pathTemplates.tensorboardRunPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchRunFromTensorboardRunName', () => { + const result = client.matchRunFromTensorboardRunName(fakePath); + assert.strictEqual(result, "runValue"); + assert((client.pathTemplates.tensorboardRunPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('tensorboardTimeSeries', async () => { + const fakePath = "/rendered/path/tensorboardTimeSeries"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + tensorboard: "tensorboardValue", + experiment: "experimentValue", + run: "runValue", + time_series: "timeSeriesValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.tensorboardTimeSeriesPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.tensorboardTimeSeriesPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('tensorboardTimeSeriesPath', () => { + const result = client.tensorboardTimeSeriesPath("projectValue", "locationValue", "tensorboardValue", "experimentValue", "runValue", "timeSeriesValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.tensorboardTimeSeriesPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromTensorboardTimeSeriesName', () => { + const result = client.matchProjectFromTensorboardTimeSeriesName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.tensorboardTimeSeriesPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromTensorboardTimeSeriesName', () => { + const result = client.matchLocationFromTensorboardTimeSeriesName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.tensorboardTimeSeriesPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchTensorboardFromTensorboardTimeSeriesName', () => { + const result = client.matchTensorboardFromTensorboardTimeSeriesName(fakePath); + assert.strictEqual(result, "tensorboardValue"); + assert((client.pathTemplates.tensorboardTimeSeriesPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchExperimentFromTensorboardTimeSeriesName', () => { + const result = client.matchExperimentFromTensorboardTimeSeriesName(fakePath); + assert.strictEqual(result, "experimentValue"); + assert((client.pathTemplates.tensorboardTimeSeriesPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchRunFromTensorboardTimeSeriesName', () => { + const result = client.matchRunFromTensorboardTimeSeriesName(fakePath); + assert.strictEqual(result, "runValue"); + assert((client.pathTemplates.tensorboardTimeSeriesPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchTimeSeriesFromTensorboardTimeSeriesName', () => { + const result = client.matchTimeSeriesFromTensorboardTimeSeriesName(fakePath); + assert.strictEqual(result, "timeSeriesValue"); + assert((client.pathTemplates.tensorboardTimeSeriesPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('trainingPipeline', async () => { + const fakePath = "/rendered/path/trainingPipeline"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + training_pipeline: "trainingPipelineValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.trainingPipelinePathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.trainingPipelinePathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('trainingPipelinePath', () => { + const result = client.trainingPipelinePath("projectValue", "locationValue", "trainingPipelineValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.trainingPipelinePathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromTrainingPipelineName', () => { + const result = client.matchProjectFromTrainingPipelineName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.trainingPipelinePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromTrainingPipelineName', () => { + const result = client.matchLocationFromTrainingPipelineName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.trainingPipelinePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchTrainingPipelineFromTrainingPipelineName', () => { + const result = client.matchTrainingPipelineFromTrainingPipelineName(fakePath); + assert.strictEqual(result, "trainingPipelineValue"); + assert((client.pathTemplates.trainingPipelinePathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('trial', async () => { + const fakePath = "/rendered/path/trial"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + study: "studyValue", + trial: "trialValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.trialPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.trialPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('trialPath', () => { + const result = client.trialPath("projectValue", "locationValue", "studyValue", "trialValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.trialPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromTrialName', () => { + const result = client.matchProjectFromTrialName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.trialPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromTrialName', () => { + const result = client.matchLocationFromTrialName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.trialPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchStudyFromTrialName', () => { + const result = client.matchStudyFromTrialName(fakePath); + assert.strictEqual(result, "studyValue"); + assert((client.pathTemplates.trialPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchTrialFromTrialName', () => { + const result = client.matchTrialFromTrialName(fakePath); + assert.strictEqual(result, "trialValue"); + assert((client.pathTemplates.trialPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('tuningJob', async () => { + const fakePath = "/rendered/path/tuningJob"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + tuning_job: "tuningJobValue", + }; + const client = new sessionserviceModule.v1.SessionServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.tuningJobPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.tuningJobPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('tuningJobPath', () => { + const result = client.tuningJobPath("projectValue", "locationValue", "tuningJobValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.tuningJobPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromTuningJobName', () => { + const result = client.matchProjectFromTuningJobName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.tuningJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromTuningJobName', () => { + const result = client.matchLocationFromTuningJobName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.tuningJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchTuningJobFromTuningJobName', () => { + const result = client.matchTuningJobFromTuningJobName(fakePath); + assert.strictEqual(result, "tuningJobValue"); + assert((client.pathTemplates.tuningJobPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + }); +}); diff --git a/packages/google-cloud-aiplatform/test/gapic_specialist_pool_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_specialist_pool_service_v1.ts index 0af389e3221..6f57d8ac795 100644 --- a/packages/google-cloud-aiplatform/test/gapic_specialist_pool_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_specialist_pool_service_v1.ts @@ -4107,6 +4107,122 @@ describe('v1.SpecialistPoolServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new specialistpoolserviceModule.v1.SpecialistPoolServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new specialistpoolserviceModule.v1.SpecialistPoolServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_tensorboard_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_tensorboard_service_v1.ts index da31cc9ed76..0638f9e5aea 100644 --- a/packages/google-cloud-aiplatform/test/gapic_tensorboard_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_tensorboard_service_v1.ts @@ -7579,6 +7579,122 @@ describe('v1.TensorboardServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new tensorboardserviceModule.v1.TensorboardServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new tensorboardserviceModule.v1.TensorboardServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_vertex_rag_data_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_vertex_rag_data_service_v1.ts index 0431311789c..5447acff9fe 100644 --- a/packages/google-cloud-aiplatform/test/gapic_vertex_rag_data_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_vertex_rag_data_service_v1.ts @@ -5142,6 +5142,122 @@ describe('v1.VertexRagDataServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new vertexragdataserviceModule.v1.VertexRagDataServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new vertexragdataserviceModule.v1.VertexRagDataServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_vertex_rag_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_vertex_rag_service_v1.ts index 06e33966f13..911b351aaa5 100644 --- a/packages/google-cloud-aiplatform/test/gapic_vertex_rag_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_vertex_rag_service_v1.ts @@ -23,7 +23,7 @@ import {SinonStub} from 'sinon'; import {describe, it} from 'mocha'; import * as vertexragserviceModule from '../src'; -import {protobuf, IamProtos, LocationProtos} from 'google-gax'; +import {protobuf, LROperation, operationsProtos, IamProtos, LocationProtos} from 'google-gax'; // Dynamically loaded proto JSON is needed to get the type information // to fill in default values for request objects @@ -52,6 +52,22 @@ function stubSimpleCallWithCallback(response?: ResponseType, error return error ? sinon.stub().callsArgWith(2, error) : sinon.stub().callsArgWith(2, null, response); } +function stubLongRunningCall(response?: ResponseType, callError?: Error, lroError?: Error) { + const innerStub = lroError ? sinon.stub().rejects(lroError) : sinon.stub().resolves([response]); + const mockOperation = { + promise: innerStub, + }; + return callError ? sinon.stub().rejects(callError) : sinon.stub().resolves([mockOperation]); +} + +function stubLongRunningCallWithCallback(response?: ResponseType, callError?: Error, lroError?: Error) { + const innerStub = lroError ? sinon.stub().rejects(lroError) : sinon.stub().resolves([response]); + const mockOperation = { + promise: innerStub, + }; + return callError ? sinon.stub().callsArgWith(2, callError) : sinon.stub().callsArgWith(2, null, mockOperation); +} + function stubAsyncIterationCall(responses?: ResponseType[], error?: Error) { let counter = 0; const asyncIterable = { @@ -555,6 +571,268 @@ describe('v1.VertexRagServiceClient', () => { await assert.rejects(client.corroborateContent(request), expectedError); }); }); + + describe('askContexts', () => { + it('invokes askContexts without error', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.AskContextsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.AskContextsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.AskContextsResponse() + ); + client.innerApiCalls.askContexts = stubSimpleCall(expectedResponse); + const [response] = await client.askContexts(request); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.askContexts as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.askContexts as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes askContexts without error using callback', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.AskContextsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.AskContextsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.AskContextsResponse() + ); + client.innerApiCalls.askContexts = stubSimpleCallWithCallback(expectedResponse); + const promise = new Promise((resolve, reject) => { + client.askContexts( + request, + (err?: Error|null, result?: protos.google.cloud.aiplatform.v1.IAskContextsResponse|null) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.askContexts as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.askContexts as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes askContexts with error', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.AskContextsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.AskContextsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.innerApiCalls.askContexts = stubSimpleCall(undefined, expectedError); + await assert.rejects(client.askContexts(request), expectedError); + const actualRequest = (client.innerApiCalls.askContexts as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.askContexts as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes askContexts with closed client', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.AskContextsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.AskContextsRequest', ['parent']); + request.parent = defaultValue1; + const expectedError = new Error('The client has already been closed.'); + client.close().catch(err => {throw err}); + await assert.rejects(client.askContexts(request), expectedError); + }); + }); + + describe('asyncRetrieveContexts', () => { + it('invokes asyncRetrieveContexts without error', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.longrunning.Operation() + ); + client.innerApiCalls.asyncRetrieveContexts = stubLongRunningCall(expectedResponse); + const [operation] = await client.asyncRetrieveContexts(request); + const [response] = await operation.promise(); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.asyncRetrieveContexts as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.asyncRetrieveContexts as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes asyncRetrieveContexts without error using callback', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.longrunning.Operation() + ); + client.innerApiCalls.asyncRetrieveContexts = stubLongRunningCallWithCallback(expectedResponse); + const promise = new Promise((resolve, reject) => { + client.asyncRetrieveContexts( + request, + (err?: Error|null, + result?: LROperation|null + ) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }); + }); + const operation = await promise as LROperation; + const [response] = await operation.promise(); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.asyncRetrieveContexts as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.asyncRetrieveContexts as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes asyncRetrieveContexts with call error', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.innerApiCalls.asyncRetrieveContexts = stubLongRunningCall(undefined, expectedError); + await assert.rejects(client.asyncRetrieveContexts(request), expectedError); + const actualRequest = (client.innerApiCalls.asyncRetrieveContexts as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.asyncRetrieveContexts as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes asyncRetrieveContexts with LRO error', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.innerApiCalls.asyncRetrieveContexts = stubLongRunningCall(undefined, undefined, expectedError); + const [operation] = await client.asyncRetrieveContexts(request); + await assert.rejects(operation.promise(), expectedError); + const actualRequest = (client.innerApiCalls.asyncRetrieveContexts as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.asyncRetrieveContexts as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes checkAsyncRetrieveContextsProgress without error', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await 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.checkAsyncRetrieveContextsProgress(expectedResponse.name); + assert.deepStrictEqual(decodedOperation.name, expectedResponse.name); + assert(decodedOperation.metadata); + assert((client.operationsClient.getOperation as SinonStub).getCall(0)); + }); + + it('invokes checkAsyncRetrieveContextsProgress with error', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const expectedError = new Error('expected'); + + client.operationsClient.getOperation = stubSimpleCall(undefined, expectedError); + await assert.rejects(client.checkAsyncRetrieveContextsProgress(''), expectedError); + assert((client.operationsClient.getOperation as SinonStub) + .getCall(0)); + }); + }); describe('getIamPolicy', () => { it('invokes getIamPolicy without error', async () => { const client = new vertexragserviceModule.v1.VertexRagServiceClient({ @@ -997,6 +1275,261 @@ describe('v1.VertexRagServiceClient', () => { ); }); }); + describe('getOperation', () => { + it('invokes getOperation without error', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.GetOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new operationsProtos.google.longrunning.Operation() + ); + client.operationsClient.getOperation = stubSimpleCall(expectedResponse); + const response = await client.getOperation(request); + assert.deepStrictEqual(response, [expectedResponse]); + assert((client.operationsClient.getOperation as SinonStub) + .getCall(0).calledWith(request) + ); + }); + it('invokes getOperation without error using callback', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.GetOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new operationsProtos.google.longrunning.Operation() + ); + client.operationsClient.getOperation = sinon.stub().callsArgWith(2, null, expectedResponse); + const promise = new Promise((resolve, reject) => { + client.operationsClient.getOperation( + request, + undefined, + ( + err?: Error | null, + result?: operationsProtos.google.longrunning.Operation | null + ) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }).catch(err => {throw err}); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + assert((client.operationsClient.getOperation as SinonStub) + .getCall(0)); + }); + it('invokes getOperation with error', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.GetOperationRequest() + ); + const expectedError = new Error('expected'); + client.operationsClient.getOperation = stubSimpleCall(undefined, expectedError); + await assert.rejects(async () => {await client.getOperation(request)}, expectedError); + assert((client.operationsClient.getOperation as SinonStub) + .getCall(0).calledWith(request)); + }); + }); + describe('cancelOperation', () => { + it('invokes cancelOperation without error', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.CancelOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new protos.google.protobuf.Empty() + ); + client.operationsClient.cancelOperation = stubSimpleCall(expectedResponse); + const response = await client.cancelOperation(request); + assert.deepStrictEqual(response, [expectedResponse]); + assert((client.operationsClient.cancelOperation as SinonStub) + .getCall(0).calledWith(request) + ); + }); + it('invokes cancelOperation without error using callback', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.CancelOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new protos.google.protobuf.Empty() + ); + client.operationsClient.cancelOperation = sinon.stub().callsArgWith(2, null, expectedResponse); + const promise = new Promise((resolve, reject) => { + client.operationsClient.cancelOperation( + request, + undefined, + ( + err?: Error | null, + result?: protos.google.protobuf.Empty | null + ) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }).catch(err => {throw err}); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + assert((client.operationsClient.cancelOperation as SinonStub) + .getCall(0)); + }); + it('invokes cancelOperation with error', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.CancelOperationRequest() + ); + const expectedError = new Error('expected'); + client.operationsClient.cancelOperation = stubSimpleCall(undefined, expectedError); + await assert.rejects(async () => {await client.cancelOperation(request)}, expectedError); + assert((client.operationsClient.cancelOperation as SinonStub) + .getCall(0).calledWith(request)); + }); + }); + describe('deleteOperation', () => { + it('invokes deleteOperation without error', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.DeleteOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new protos.google.protobuf.Empty() + ); + client.operationsClient.deleteOperation = stubSimpleCall(expectedResponse); + const response = await client.deleteOperation(request); + assert.deepStrictEqual(response, [expectedResponse]); + assert((client.operationsClient.deleteOperation as SinonStub) + .getCall(0).calledWith(request) + ); + }); + it('invokes deleteOperation without error using callback', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.DeleteOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new protos.google.protobuf.Empty() + ); + client.operationsClient.deleteOperation = sinon.stub().callsArgWith(2, null, expectedResponse); + const promise = new Promise((resolve, reject) => { + client.operationsClient.deleteOperation( + request, + undefined, + ( + err?: Error | null, + result?: protos.google.protobuf.Empty | null + ) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }).catch(err => {throw err}); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + assert((client.operationsClient.deleteOperation as SinonStub) + .getCall(0)); + }); + it('invokes deleteOperation with error', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.DeleteOperationRequest() + ); + const expectedError = new Error('expected'); + client.operationsClient.deleteOperation = stubSimpleCall(undefined, expectedError); + await assert.rejects(async () => {await client.deleteOperation(request)}, expectedError); + assert((client.operationsClient.deleteOperation as SinonStub) + .getCall(0).calledWith(request)); + }); + }); + describe('listOperationsAsync', () => { + it('uses async iteration with listOperations without error', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.ListOperationsRequest() + ); + const expectedResponse = [ + generateSampleMessage( + new operationsProtos.google.longrunning.ListOperationsResponse() + ), + generateSampleMessage( + new operationsProtos.google.longrunning.ListOperationsResponse() + ), + generateSampleMessage( + new operationsProtos.google.longrunning.ListOperationsResponse() + ), + ]; + client.operationsClient.descriptor.listOperations.asyncIterate = stubAsyncIterationCall(expectedResponse); + const responses: operationsProtos.google.longrunning.IOperation[] = []; + const iterable = client.operationsClient.listOperationsAsync(request); + for await (const resource of iterable) { + responses.push(resource!); + } + assert.deepStrictEqual(responses, expectedResponse); + assert.deepStrictEqual( + (client.operationsClient.descriptor.listOperations.asyncIterate as SinonStub) + .getCall(0).args[1], request); + }); + it('uses async iteration with listOperations with error', async () => { + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.ListOperationsRequest() + ); + const expectedError = new Error('expected'); + client.operationsClient.descriptor.listOperations.asyncIterate = stubAsyncIterationCall(undefined, expectedError); + const iterable = client.operationsClient.listOperationsAsync(request); + await assert.rejects(async () => { + const responses: operationsProtos.google.longrunning.IOperation[] = []; + for await (const resource of iterable) { + responses.push(resource!); + } + }); + assert.deepStrictEqual( + (client.operationsClient.descriptor.listOperations.asyncIterate as SinonStub) + .getCall(0).args[1], request); + }); + }); describe('Path templates', () => { @@ -3314,6 +3847,122 @@ describe('v1.VertexRagServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new vertexragserviceModule.v1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = { diff --git a/packages/google-cloud-aiplatform/test/gapic_vertex_rag_service_v1beta1.ts b/packages/google-cloud-aiplatform/test/gapic_vertex_rag_service_v1beta1.ts index 1e6cbbe609c..11a16d09a0e 100644 --- a/packages/google-cloud-aiplatform/test/gapic_vertex_rag_service_v1beta1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_vertex_rag_service_v1beta1.ts @@ -23,7 +23,7 @@ import {SinonStub} from 'sinon'; import {describe, it} from 'mocha'; import * as vertexragserviceModule from '../src'; -import {protobuf, IamProtos, LocationProtos} from 'google-gax'; +import {protobuf, LROperation, operationsProtos, IamProtos, LocationProtos} from 'google-gax'; // Dynamically loaded proto JSON is needed to get the type information // to fill in default values for request objects @@ -52,6 +52,22 @@ function stubSimpleCallWithCallback(response?: ResponseType, error return error ? sinon.stub().callsArgWith(2, error) : sinon.stub().callsArgWith(2, null, response); } +function stubLongRunningCall(response?: ResponseType, callError?: Error, lroError?: Error) { + const innerStub = lroError ? sinon.stub().rejects(lroError) : sinon.stub().resolves([response]); + const mockOperation = { + promise: innerStub, + }; + return callError ? sinon.stub().rejects(callError) : sinon.stub().resolves([mockOperation]); +} + +function stubLongRunningCallWithCallback(response?: ResponseType, callError?: Error, lroError?: Error) { + const innerStub = lroError ? sinon.stub().rejects(lroError) : sinon.stub().resolves([response]); + const mockOperation = { + promise: innerStub, + }; + return callError ? sinon.stub().callsArgWith(2, callError) : sinon.stub().callsArgWith(2, null, mockOperation); +} + function stubAsyncIterationCall(responses?: ResponseType[], error?: Error) { let counter = 0; const asyncIterable = { @@ -555,6 +571,268 @@ describe('v1beta1.VertexRagServiceClient', () => { await assert.rejects(client.corroborateContent(request), expectedError); }); }); + + describe('askContexts', () => { + it('invokes askContexts without error', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1beta1.AskContextsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1beta1.AskContextsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.cloud.aiplatform.v1beta1.AskContextsResponse() + ); + client.innerApiCalls.askContexts = stubSimpleCall(expectedResponse); + const [response] = await client.askContexts(request); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.askContexts as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.askContexts as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes askContexts without error using callback', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1beta1.AskContextsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1beta1.AskContextsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.cloud.aiplatform.v1beta1.AskContextsResponse() + ); + client.innerApiCalls.askContexts = stubSimpleCallWithCallback(expectedResponse); + const promise = new Promise((resolve, reject) => { + client.askContexts( + request, + (err?: Error|null, result?: protos.google.cloud.aiplatform.v1beta1.IAskContextsResponse|null) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.askContexts as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.askContexts as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes askContexts with error', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1beta1.AskContextsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1beta1.AskContextsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.innerApiCalls.askContexts = stubSimpleCall(undefined, expectedError); + await assert.rejects(client.askContexts(request), expectedError); + const actualRequest = (client.innerApiCalls.askContexts as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.askContexts as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes askContexts with closed client', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1beta1.AskContextsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1beta1.AskContextsRequest', ['parent']); + request.parent = defaultValue1; + const expectedError = new Error('The client has already been closed.'); + client.close().catch(err => {throw err}); + await assert.rejects(client.askContexts(request), expectedError); + }); + }); + + describe('asyncRetrieveContexts', () => { + it('invokes asyncRetrieveContexts without error', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.longrunning.Operation() + ); + client.innerApiCalls.asyncRetrieveContexts = stubLongRunningCall(expectedResponse); + const [operation] = await client.asyncRetrieveContexts(request); + const [response] = await operation.promise(); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.asyncRetrieveContexts as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.asyncRetrieveContexts as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes asyncRetrieveContexts without error using callback', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedResponse = generateSampleMessage( + new protos.google.longrunning.Operation() + ); + client.innerApiCalls.asyncRetrieveContexts = stubLongRunningCallWithCallback(expectedResponse); + const promise = new Promise((resolve, reject) => { + client.asyncRetrieveContexts( + request, + (err?: Error|null, + result?: LROperation|null + ) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }); + }); + const operation = await promise as LROperation; + const [response] = await operation.promise(); + assert.deepStrictEqual(response, expectedResponse); + const actualRequest = (client.innerApiCalls.asyncRetrieveContexts as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.asyncRetrieveContexts as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes asyncRetrieveContexts with call error', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.innerApiCalls.asyncRetrieveContexts = stubLongRunningCall(undefined, expectedError); + await assert.rejects(client.asyncRetrieveContexts(request), expectedError); + const actualRequest = (client.innerApiCalls.asyncRetrieveContexts as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.asyncRetrieveContexts as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes asyncRetrieveContexts with LRO error', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new protos.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest() + ); + const defaultValue1 = + getTypeDefaultValue('.google.cloud.aiplatform.v1beta1.AsyncRetrieveContextsRequest', ['parent']); + request.parent = defaultValue1; + const expectedHeaderRequestParams = `parent=${defaultValue1 ?? '' }`; + const expectedError = new Error('expected'); + client.innerApiCalls.asyncRetrieveContexts = stubLongRunningCall(undefined, undefined, expectedError); + const [operation] = await client.asyncRetrieveContexts(request); + await assert.rejects(operation.promise(), expectedError); + const actualRequest = (client.innerApiCalls.asyncRetrieveContexts as SinonStub) + .getCall(0).args[0]; + assert.deepStrictEqual(actualRequest, request); + const actualHeaderRequestParams = (client.innerApiCalls.asyncRetrieveContexts as SinonStub) + .getCall(0).args[1].otherArgs.headers['x-goog-request-params']; + assert(actualHeaderRequestParams.includes(expectedHeaderRequestParams)); + }); + + it('invokes checkAsyncRetrieveContextsProgress without error', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await 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.checkAsyncRetrieveContextsProgress(expectedResponse.name); + assert.deepStrictEqual(decodedOperation.name, expectedResponse.name); + assert(decodedOperation.metadata); + assert((client.operationsClient.getOperation as SinonStub).getCall(0)); + }); + + it('invokes checkAsyncRetrieveContextsProgress with error', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const expectedError = new Error('expected'); + + client.operationsClient.getOperation = stubSimpleCall(undefined, expectedError); + await assert.rejects(client.checkAsyncRetrieveContextsProgress(''), expectedError); + assert((client.operationsClient.getOperation as SinonStub) + .getCall(0)); + }); + }); describe('getIamPolicy', () => { it('invokes getIamPolicy without error', async () => { const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ @@ -997,6 +1275,261 @@ describe('v1beta1.VertexRagServiceClient', () => { ); }); }); + describe('getOperation', () => { + it('invokes getOperation without error', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.GetOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new operationsProtos.google.longrunning.Operation() + ); + client.operationsClient.getOperation = stubSimpleCall(expectedResponse); + const response = await client.getOperation(request); + assert.deepStrictEqual(response, [expectedResponse]); + assert((client.operationsClient.getOperation as SinonStub) + .getCall(0).calledWith(request) + ); + }); + it('invokes getOperation without error using callback', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.GetOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new operationsProtos.google.longrunning.Operation() + ); + client.operationsClient.getOperation = sinon.stub().callsArgWith(2, null, expectedResponse); + const promise = new Promise((resolve, reject) => { + client.operationsClient.getOperation( + request, + undefined, + ( + err?: Error | null, + result?: operationsProtos.google.longrunning.Operation | null + ) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }).catch(err => {throw err}); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + assert((client.operationsClient.getOperation as SinonStub) + .getCall(0)); + }); + it('invokes getOperation with error', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.GetOperationRequest() + ); + const expectedError = new Error('expected'); + client.operationsClient.getOperation = stubSimpleCall(undefined, expectedError); + await assert.rejects(async () => {await client.getOperation(request)}, expectedError); + assert((client.operationsClient.getOperation as SinonStub) + .getCall(0).calledWith(request)); + }); + }); + describe('cancelOperation', () => { + it('invokes cancelOperation without error', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.CancelOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new protos.google.protobuf.Empty() + ); + client.operationsClient.cancelOperation = stubSimpleCall(expectedResponse); + const response = await client.cancelOperation(request); + assert.deepStrictEqual(response, [expectedResponse]); + assert((client.operationsClient.cancelOperation as SinonStub) + .getCall(0).calledWith(request) + ); + }); + it('invokes cancelOperation without error using callback', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.CancelOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new protos.google.protobuf.Empty() + ); + client.operationsClient.cancelOperation = sinon.stub().callsArgWith(2, null, expectedResponse); + const promise = new Promise((resolve, reject) => { + client.operationsClient.cancelOperation( + request, + undefined, + ( + err?: Error | null, + result?: protos.google.protobuf.Empty | null + ) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }).catch(err => {throw err}); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + assert((client.operationsClient.cancelOperation as SinonStub) + .getCall(0)); + }); + it('invokes cancelOperation with error', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.CancelOperationRequest() + ); + const expectedError = new Error('expected'); + client.operationsClient.cancelOperation = stubSimpleCall(undefined, expectedError); + await assert.rejects(async () => {await client.cancelOperation(request)}, expectedError); + assert((client.operationsClient.cancelOperation as SinonStub) + .getCall(0).calledWith(request)); + }); + }); + describe('deleteOperation', () => { + it('invokes deleteOperation without error', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.DeleteOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new protos.google.protobuf.Empty() + ); + client.operationsClient.deleteOperation = stubSimpleCall(expectedResponse); + const response = await client.deleteOperation(request); + assert.deepStrictEqual(response, [expectedResponse]); + assert((client.operationsClient.deleteOperation as SinonStub) + .getCall(0).calledWith(request) + ); + }); + it('invokes deleteOperation without error using callback', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.DeleteOperationRequest() + ); + const expectedResponse = generateSampleMessage( + new protos.google.protobuf.Empty() + ); + client.operationsClient.deleteOperation = sinon.stub().callsArgWith(2, null, expectedResponse); + const promise = new Promise((resolve, reject) => { + client.operationsClient.deleteOperation( + request, + undefined, + ( + err?: Error | null, + result?: protos.google.protobuf.Empty | null + ) => { + if (err) { + reject(err); + } else { + resolve(result); + } + }).catch(err => {throw err}); + }); + const response = await promise; + assert.deepStrictEqual(response, expectedResponse); + assert((client.operationsClient.deleteOperation as SinonStub) + .getCall(0)); + }); + it('invokes deleteOperation with error', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.DeleteOperationRequest() + ); + const expectedError = new Error('expected'); + client.operationsClient.deleteOperation = stubSimpleCall(undefined, expectedError); + await assert.rejects(async () => {await client.deleteOperation(request)}, expectedError); + assert((client.operationsClient.deleteOperation as SinonStub) + .getCall(0).calledWith(request)); + }); + }); + describe('listOperationsAsync', () => { + it('uses async iteration with listOperations without error', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.ListOperationsRequest() + ); + const expectedResponse = [ + generateSampleMessage( + new operationsProtos.google.longrunning.ListOperationsResponse() + ), + generateSampleMessage( + new operationsProtos.google.longrunning.ListOperationsResponse() + ), + generateSampleMessage( + new operationsProtos.google.longrunning.ListOperationsResponse() + ), + ]; + client.operationsClient.descriptor.listOperations.asyncIterate = stubAsyncIterationCall(expectedResponse); + const responses: operationsProtos.google.longrunning.IOperation[] = []; + const iterable = client.operationsClient.listOperationsAsync(request); + for await (const resource of iterable) { + responses.push(resource!); + } + assert.deepStrictEqual(responses, expectedResponse); + assert.deepStrictEqual( + (client.operationsClient.descriptor.listOperations.asyncIterate as SinonStub) + .getCall(0).args[1], request); + }); + it('uses async iteration with listOperations with error', async () => { + const client = new vertexragserviceModule.v1beta1.VertexRagServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + const request = generateSampleMessage( + new operationsProtos.google.longrunning.ListOperationsRequest() + ); + const expectedError = new Error('expected'); + client.operationsClient.descriptor.listOperations.asyncIterate = stubAsyncIterationCall(undefined, expectedError); + const iterable = client.operationsClient.listOperationsAsync(request); + await assert.rejects(async () => { + const responses: operationsProtos.google.longrunning.IOperation[] = []; + for await (const resource of iterable) { + responses.push(resource!); + } + }); + assert.deepStrictEqual( + (client.operationsClient.descriptor.listOperations.asyncIterate as SinonStub) + .getCall(0).args[1], request); + }); + }); describe('Path templates', () => { diff --git a/packages/google-cloud-aiplatform/test/gapic_vizier_service_v1.ts b/packages/google-cloud-aiplatform/test/gapic_vizier_service_v1.ts index ce394826cc1..43e485206e6 100644 --- a/packages/google-cloud-aiplatform/test/gapic_vizier_service_v1.ts +++ b/packages/google-cloud-aiplatform/test/gapic_vizier_service_v1.ts @@ -5274,6 +5274,122 @@ describe('v1.VizierServiceClient', () => { }); }); + describe('session', async () => { + const fakePath = "/rendered/path/session"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + }; + const client = new vizierserviceModule.v1.VizierServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionPath', () => { + const result = client.sessionPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionName', () => { + const result = client.matchProjectFromSessionName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionName', () => { + const result = client.matchLocationFromSessionName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionName', () => { + const result = client.matchReasoningEngineFromSessionName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionName', () => { + const result = client.matchSessionFromSessionName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + + describe('sessionEvent', async () => { + const fakePath = "/rendered/path/sessionEvent"; + const expectedParameters = { + project: "projectValue", + location: "locationValue", + reasoning_engine: "reasoningEngineValue", + session: "sessionValue", + event: "eventValue", + }; + const client = new vizierserviceModule.v1.VizierServiceClient({ + credentials: {client_email: 'bogus', private_key: 'bogus'}, + projectId: 'bogus', + }); + await client.initialize(); + client.pathTemplates.sessionEventPathTemplate.render = + sinon.stub().returns(fakePath); + client.pathTemplates.sessionEventPathTemplate.match = + sinon.stub().returns(expectedParameters); + + it('sessionEventPath', () => { + const result = client.sessionEventPath("projectValue", "locationValue", "reasoningEngineValue", "sessionValue", "eventValue"); + assert.strictEqual(result, fakePath); + assert((client.pathTemplates.sessionEventPathTemplate.render as SinonStub) + .getCall(-1).calledWith(expectedParameters)); + }); + + it('matchProjectFromSessionEventName', () => { + const result = client.matchProjectFromSessionEventName(fakePath); + assert.strictEqual(result, "projectValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchLocationFromSessionEventName', () => { + const result = client.matchLocationFromSessionEventName(fakePath); + assert.strictEqual(result, "locationValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchReasoningEngineFromSessionEventName', () => { + const result = client.matchReasoningEngineFromSessionEventName(fakePath); + assert.strictEqual(result, "reasoningEngineValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchSessionFromSessionEventName', () => { + const result = client.matchSessionFromSessionEventName(fakePath); + assert.strictEqual(result, "sessionValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + + it('matchEventFromSessionEventName', () => { + const result = client.matchEventFromSessionEventName(fakePath); + assert.strictEqual(result, "eventValue"); + assert((client.pathTemplates.sessionEventPathTemplate.match as SinonStub) + .getCall(-1).calledWith(fakePath)); + }); + }); + describe('specialistPool', async () => { const fakePath = "/rendered/path/specialistPool"; const expectedParameters = {