google-cloud-ai_platform-v1 0.44.0 → 0.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/dataset_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +12 -4
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/client.rb +12 -4
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +5 -1
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/client.rb +5 -1
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +2 -1
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/client.rb +2 -1
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/index_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/job_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +15 -4
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/client.rb +15 -4
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/match_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/metadata_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/migration_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +5 -2
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +5 -2
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/model_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +434 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/paths.rb +38 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/client.rb +406 -0
- data/lib/google/cloud/ai_platform/v1/notebook_service/rest/service_stub.rb +238 -1
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/pipeline_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/schedule_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/content_pb.rb +6 -1
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/notebook_execution_job_pb.rb +55 -0
- data/lib/google/cloud/aiplatform/v1/notebook_service_pb.rb +10 -1
- data/lib/google/cloud/aiplatform/v1/notebook_service_services_pb.rb +8 -0
- data/lib/google/cloud/aiplatform/v1/persistent_resource_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/tool_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/tuning_job_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -10
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/cloud/aiplatform/v1/content.rb +85 -0
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +19 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +21 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb +12 -4
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +57 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +5 -1
- data/proto_docs/google/cloud/aiplatform/v1/notebook_execution_job.rb +144 -0
- data/proto_docs/google/cloud/aiplatform/v1/notebook_service.rb +125 -0
- data/proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb +12 -0
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +16 -3
- data/proto_docs/google/cloud/aiplatform/v1/study.rb +0 -1
- data/proto_docs/google/cloud/aiplatform/v1/tool.rb +2 -3
- data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +7 -0
- metadata +4 -2
@@ -120,6 +120,9 @@ module Google
|
|
120
120
|
# @!attribute [rw] string_filters
|
121
121
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::NearestNeighborQuery::StringFilter>]
|
122
122
|
# Optional. The list of string filters.
|
123
|
+
# @!attribute [rw] numeric_filters
|
124
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::NearestNeighborQuery::NumericFilter>]
|
125
|
+
# Optional. The list of numeric filters.
|
123
126
|
# @!attribute [rw] per_crowding_attribute_neighbor_count
|
124
127
|
# @return [::Integer]
|
125
128
|
# Optional. Crowding is a constraint on a neighbor list produced by nearest
|
@@ -164,6 +167,60 @@ module Google
|
|
164
167
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
165
168
|
end
|
166
169
|
|
170
|
+
# Numeric filter is used to search a subset of the entities by using boolean
|
171
|
+
# rules on numeric columns.
|
172
|
+
# For example:
|
173
|
+
# Database Point 0: \\{name: “a” value_int: 42} \\{name: “b” value_float: 1.0}
|
174
|
+
# Database Point 1: \\{name: “a” value_int: 10} \\{name: “b” value_float: 2.0}
|
175
|
+
# Database Point 2: \\{name: “a” value_int: -1} \\{name: “b” value_float: 3.0}
|
176
|
+
# Query: \\{name: “a” value_int: 12 operator: LESS} // Matches Point 1, 2
|
177
|
+
# \\{name: “b” value_float: 2.0 operator: EQUAL} // Matches Point 1
|
178
|
+
# @!attribute [rw] value_int
|
179
|
+
# @return [::Integer]
|
180
|
+
# int value type.
|
181
|
+
# @!attribute [rw] value_float
|
182
|
+
# @return [::Float]
|
183
|
+
# float value type.
|
184
|
+
# @!attribute [rw] value_double
|
185
|
+
# @return [::Float]
|
186
|
+
# double value type.
|
187
|
+
# @!attribute [rw] name
|
188
|
+
# @return [::String]
|
189
|
+
# Required. Column name in BigQuery that used as filters.
|
190
|
+
# @!attribute [rw] op
|
191
|
+
# @return [::Google::Cloud::AIPlatform::V1::NearestNeighborQuery::NumericFilter::Operator]
|
192
|
+
# Optional. This MUST be specified for queries and must NOT be specified
|
193
|
+
# for database points.
|
194
|
+
class NumericFilter
|
195
|
+
include ::Google::Protobuf::MessageExts
|
196
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
197
|
+
|
198
|
+
# Datapoints for which Operator is true relative to the query’s Value
|
199
|
+
# field will be allowlisted.
|
200
|
+
module Operator
|
201
|
+
# Unspecified operator.
|
202
|
+
OPERATOR_UNSPECIFIED = 0
|
203
|
+
|
204
|
+
# Entities are eligible if their value is < the query's.
|
205
|
+
LESS = 1
|
206
|
+
|
207
|
+
# Entities are eligible if their value is <= the query's.
|
208
|
+
LESS_EQUAL = 2
|
209
|
+
|
210
|
+
# Entities are eligible if their value is == the query's.
|
211
|
+
EQUAL = 3
|
212
|
+
|
213
|
+
# Entities are eligible if their value is >= the query's.
|
214
|
+
GREATER_EQUAL = 4
|
215
|
+
|
216
|
+
# Entities are eligible if their value is > the query's.
|
217
|
+
GREATER = 5
|
218
|
+
|
219
|
+
# Entities are eligible if their value is != the query's.
|
220
|
+
NOT_EQUAL = 6
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
167
224
|
# Parameters that can be overrided in each query to tune query latency and
|
168
225
|
# recall.
|
169
226
|
# @!attribute [rw] approximate_neighbor_candidates
|
@@ -145,6 +145,9 @@ module Google
|
|
145
145
|
# Updatable fields:
|
146
146
|
#
|
147
147
|
# * `labels`
|
148
|
+
# * `description`
|
149
|
+
# * `big_query`
|
150
|
+
# * `big_query.entity_id_columns`
|
148
151
|
class UpdateFeatureGroupRequest
|
149
152
|
include ::Google::Protobuf::MessageExts
|
150
153
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -946,7 +946,8 @@ module Google
|
|
946
946
|
#
|
947
947
|
# * `description`
|
948
948
|
# * `labels`
|
949
|
-
# * `disable_monitoring` (Not supported for
|
949
|
+
# * `disable_monitoring` (Not supported for FeatureRegistryService Feature)
|
950
|
+
# * `point_of_contact` (Not supported for FeaturestoreService FeatureStore)
|
950
951
|
class UpdateFeatureRequest
|
951
952
|
include ::Google::Protobuf::MessageExts
|
952
953
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -31,10 +31,14 @@ module Google
|
|
31
31
|
# @!attribute [rw] language_code
|
32
32
|
# @return [::String]
|
33
33
|
# Optional. The IETF BCP-47 language code representing the language in which
|
34
|
-
# the publisher model's text information should be written in
|
34
|
+
# the publisher model's text information should be written in.
|
35
35
|
# @!attribute [rw] view
|
36
36
|
# @return [::Google::Cloud::AIPlatform::V1::PublisherModelView]
|
37
37
|
# Optional. PublisherModel view specifying which fields to read.
|
38
|
+
# @!attribute [rw] is_hugging_face_model
|
39
|
+
# @return [::Boolean]
|
40
|
+
# Optional. Boolean indicates whether the requested model is a Hugging Face
|
41
|
+
# model.
|
38
42
|
class GetPublisherModelRequest
|
39
43
|
include ::Google::Protobuf::MessageExts
|
40
44
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -0,0 +1,144 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module AIPlatform
|
23
|
+
module V1
|
24
|
+
# NotebookExecutionJob represents an instance of a notebook execution.
|
25
|
+
# @!attribute [rw] dataform_repository_source
|
26
|
+
# @return [::Google::Cloud::AIPlatform::V1::NotebookExecutionJob::DataformRepositorySource]
|
27
|
+
# The Dataform Repository pointing to a single file notebook repository.
|
28
|
+
# @!attribute [rw] gcs_notebook_source
|
29
|
+
# @return [::Google::Cloud::AIPlatform::V1::NotebookExecutionJob::GcsNotebookSource]
|
30
|
+
# The Cloud Storage url pointing to the ipynb file. Format:
|
31
|
+
# `gs://bucket/notebook_file.ipynb`
|
32
|
+
# @!attribute [rw] direct_notebook_source
|
33
|
+
# @return [::Google::Cloud::AIPlatform::V1::NotebookExecutionJob::DirectNotebookSource]
|
34
|
+
# The contents of an input notebook file.
|
35
|
+
# @!attribute [rw] notebook_runtime_template_resource_name
|
36
|
+
# @return [::String]
|
37
|
+
# The NotebookRuntimeTemplate to source compute configuration from.
|
38
|
+
# @!attribute [rw] gcs_output_uri
|
39
|
+
# @return [::String]
|
40
|
+
# The Cloud Storage location to upload the result to. Format:
|
41
|
+
# `gs://bucket-name`
|
42
|
+
# @!attribute [rw] execution_user
|
43
|
+
# @return [::String]
|
44
|
+
# The user email to run the execution as. Only supported by Colab runtimes.
|
45
|
+
# @!attribute [rw] service_account
|
46
|
+
# @return [::String]
|
47
|
+
# The service account to run the execution as.
|
48
|
+
# @!attribute [r] name
|
49
|
+
# @return [::String]
|
50
|
+
# Output only. The resource name of this NotebookExecutionJob. Format:
|
51
|
+
# `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}`
|
52
|
+
# @!attribute [rw] display_name
|
53
|
+
# @return [::String]
|
54
|
+
# The display name of the NotebookExecutionJob. The name can be up to 128
|
55
|
+
# characters long and can consist of any UTF-8 characters.
|
56
|
+
# @!attribute [rw] execution_timeout
|
57
|
+
# @return [::Google::Protobuf::Duration]
|
58
|
+
# Max running time of the execution job in seconds (default 86400s / 24 hrs).
|
59
|
+
# @!attribute [r] schedule_resource_name
|
60
|
+
# @return [::String]
|
61
|
+
# Output only. The Schedule resource name if this job is triggered by one.
|
62
|
+
# Format:
|
63
|
+
# `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
|
64
|
+
# @!attribute [r] job_state
|
65
|
+
# @return [::Google::Cloud::AIPlatform::V1::JobState]
|
66
|
+
# Output only. The state of the NotebookExecutionJob.
|
67
|
+
# @!attribute [r] status
|
68
|
+
# @return [::Google::Rpc::Status]
|
69
|
+
# Output only. Populated when the NotebookExecutionJob is completed. When
|
70
|
+
# there is an error during notebook execution, the error details are
|
71
|
+
# populated.
|
72
|
+
# @!attribute [r] create_time
|
73
|
+
# @return [::Google::Protobuf::Timestamp]
|
74
|
+
# Output only. Timestamp when this NotebookExecutionJob was created.
|
75
|
+
# @!attribute [r] update_time
|
76
|
+
# @return [::Google::Protobuf::Timestamp]
|
77
|
+
# Output only. Timestamp when this NotebookExecutionJob was most recently
|
78
|
+
# updated.
|
79
|
+
# @!attribute [rw] labels
|
80
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
81
|
+
# The labels with user-defined metadata to organize NotebookExecutionJobs.
|
82
|
+
#
|
83
|
+
# Label keys and values can be no longer than 64 characters
|
84
|
+
# (Unicode codepoints), can only contain lowercase letters, numeric
|
85
|
+
# characters, underscores and dashes. International characters are allowed.
|
86
|
+
#
|
87
|
+
# See https://goo.gl/xmQnxf for more information and examples of labels.
|
88
|
+
# System reserved label keys are prefixed with "aiplatform.googleapis.com/"
|
89
|
+
# and are immutable.
|
90
|
+
class NotebookExecutionJob
|
91
|
+
include ::Google::Protobuf::MessageExts
|
92
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
93
|
+
|
94
|
+
# The Dataform Repository containing the input notebook.
|
95
|
+
# @!attribute [rw] dataform_repository_resource_name
|
96
|
+
# @return [::String]
|
97
|
+
# The resource name of the Dataform Repository. Format:
|
98
|
+
# `projects/{project_id}/locations/{location}/repositories/{repository_id}`
|
99
|
+
# @!attribute [rw] commit_sha
|
100
|
+
# @return [::String]
|
101
|
+
# The commit SHA to read repository with. If unset, the file will be read
|
102
|
+
# at HEAD.
|
103
|
+
class DataformRepositorySource
|
104
|
+
include ::Google::Protobuf::MessageExts
|
105
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
106
|
+
end
|
107
|
+
|
108
|
+
# The Cloud Storage uri for the input notebook.
|
109
|
+
# @!attribute [rw] uri
|
110
|
+
# @return [::String]
|
111
|
+
# The Cloud Storage uri pointing to the ipynb file. Format:
|
112
|
+
# `gs://bucket/notebook_file.ipynb`
|
113
|
+
# @!attribute [rw] generation
|
114
|
+
# @return [::String]
|
115
|
+
# The version of the Cloud Storage object to read. If unset, the current
|
116
|
+
# version of the object is read. See
|
117
|
+
# https://cloud.google.com/storage/docs/metadata#generation-number.
|
118
|
+
class GcsNotebookSource
|
119
|
+
include ::Google::Protobuf::MessageExts
|
120
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
121
|
+
end
|
122
|
+
|
123
|
+
# The content of the input notebook in ipynb format.
|
124
|
+
# @!attribute [rw] content
|
125
|
+
# @return [::String]
|
126
|
+
# The base64-encoded contents of the input notebook file.
|
127
|
+
class DirectNotebookSource
|
128
|
+
include ::Google::Protobuf::MessageExts
|
129
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
130
|
+
end
|
131
|
+
|
132
|
+
# @!attribute [rw] key
|
133
|
+
# @return [::String]
|
134
|
+
# @!attribute [rw] value
|
135
|
+
# @return [::String]
|
136
|
+
class LabelsEntry
|
137
|
+
include ::Google::Protobuf::MessageExts
|
138
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
@@ -383,6 +383,131 @@ module Google
|
|
383
383
|
include ::Google::Protobuf::MessageExts
|
384
384
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
385
385
|
end
|
386
|
+
|
387
|
+
# Request message for [NotebookService.CreateNotebookExecutionJob]
|
388
|
+
# @!attribute [rw] parent
|
389
|
+
# @return [::String]
|
390
|
+
# Required. The resource name of the Location to create the
|
391
|
+
# NotebookExecutionJob. Format: `projects/{project}/locations/{location}`
|
392
|
+
# @!attribute [rw] notebook_execution_job
|
393
|
+
# @return [::Google::Cloud::AIPlatform::V1::NotebookExecutionJob]
|
394
|
+
# Required. The NotebookExecutionJob to create.
|
395
|
+
# @!attribute [rw] notebook_execution_job_id
|
396
|
+
# @return [::String]
|
397
|
+
# Optional. User specified ID for the NotebookExecutionJob.
|
398
|
+
class CreateNotebookExecutionJobRequest
|
399
|
+
include ::Google::Protobuf::MessageExts
|
400
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
401
|
+
end
|
402
|
+
|
403
|
+
# Metadata information for
|
404
|
+
# {::Google::Cloud::AIPlatform::V1::NotebookService::Client#create_notebook_execution_job NotebookService.CreateNotebookExecutionJob}.
|
405
|
+
# @!attribute [rw] generic_metadata
|
406
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
407
|
+
# The operation generic information.
|
408
|
+
# @!attribute [rw] progress_message
|
409
|
+
# @return [::String]
|
410
|
+
# A human-readable message that shows the intermediate progress details of
|
411
|
+
# NotebookRuntime.
|
412
|
+
class CreateNotebookExecutionJobOperationMetadata
|
413
|
+
include ::Google::Protobuf::MessageExts
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
415
|
+
end
|
416
|
+
|
417
|
+
# Request message for [NotebookService.GetNotebookExecutionJob]
|
418
|
+
# @!attribute [rw] name
|
419
|
+
# @return [::String]
|
420
|
+
# Required. The name of the NotebookExecutionJob resource.
|
421
|
+
# @!attribute [rw] view
|
422
|
+
# @return [::Google::Cloud::AIPlatform::V1::NotebookExecutionJobView]
|
423
|
+
# Optional. The NotebookExecutionJob view. Defaults to BASIC.
|
424
|
+
class GetNotebookExecutionJobRequest
|
425
|
+
include ::Google::Protobuf::MessageExts
|
426
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
427
|
+
end
|
428
|
+
|
429
|
+
# Request message for [NotebookService.ListNotebookExecutionJobs]
|
430
|
+
# @!attribute [rw] parent
|
431
|
+
# @return [::String]
|
432
|
+
# Required. The resource name of the Location from which to list the
|
433
|
+
# NotebookExecutionJobs.
|
434
|
+
# Format: `projects/{project}/locations/{location}`
|
435
|
+
# @!attribute [rw] filter
|
436
|
+
# @return [::String]
|
437
|
+
# Optional. An expression for filtering the results of the request. For field
|
438
|
+
# names both snake_case and camelCase are supported.
|
439
|
+
#
|
440
|
+
# * `notebookExecutionJob` supports = and !=. `notebookExecutionJob`
|
441
|
+
# represents the NotebookExecutionJob ID.
|
442
|
+
# * `displayName` supports = and != and regex.
|
443
|
+
# * `schedule` supports = and != and regex.
|
444
|
+
#
|
445
|
+
# Some examples:
|
446
|
+
# * `notebookExecutionJob="123"`
|
447
|
+
# * `notebookExecutionJob="my-execution-job"`
|
448
|
+
# * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"`
|
449
|
+
# @!attribute [rw] page_size
|
450
|
+
# @return [::Integer]
|
451
|
+
# Optional. The standard list page size.
|
452
|
+
# @!attribute [rw] page_token
|
453
|
+
# @return [::String]
|
454
|
+
# Optional. The standard list page token.
|
455
|
+
# Typically obtained via
|
456
|
+
# [ListNotebookExecutionJobs.next_page_token][] of the previous
|
457
|
+
# {::Google::Cloud::AIPlatform::V1::NotebookService::Client#list_notebook_execution_jobs NotebookService.ListNotebookExecutionJobs}
|
458
|
+
# call.
|
459
|
+
# @!attribute [rw] order_by
|
460
|
+
# @return [::String]
|
461
|
+
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
462
|
+
# order. Use "desc" after a field name for descending. Supported fields:
|
463
|
+
#
|
464
|
+
# * `display_name`
|
465
|
+
# * `create_time`
|
466
|
+
# * `update_time`
|
467
|
+
#
|
468
|
+
# Example: `display_name, create_time desc`.
|
469
|
+
# @!attribute [rw] view
|
470
|
+
# @return [::Google::Cloud::AIPlatform::V1::NotebookExecutionJobView]
|
471
|
+
# Optional. The NotebookExecutionJob view. Defaults to BASIC.
|
472
|
+
class ListNotebookExecutionJobsRequest
|
473
|
+
include ::Google::Protobuf::MessageExts
|
474
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
475
|
+
end
|
476
|
+
|
477
|
+
# Response message for [NotebookService.CreateNotebookExecutionJob]
|
478
|
+
# @!attribute [rw] notebook_execution_jobs
|
479
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::NotebookExecutionJob>]
|
480
|
+
# List of NotebookExecutionJobs in the requested page.
|
481
|
+
# @!attribute [rw] next_page_token
|
482
|
+
# @return [::String]
|
483
|
+
# A token to retrieve next page of results.
|
484
|
+
# Pass to [ListNotebookExecutionJobs.page_token][] to obtain that
|
485
|
+
# page.
|
486
|
+
class ListNotebookExecutionJobsResponse
|
487
|
+
include ::Google::Protobuf::MessageExts
|
488
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
489
|
+
end
|
490
|
+
|
491
|
+
# Request message for [NotebookService.DeleteNotebookExecutionJob]
|
492
|
+
# @!attribute [rw] name
|
493
|
+
# @return [::String]
|
494
|
+
# Required. The name of the NotebookExecutionJob resource to be deleted.
|
495
|
+
class DeleteNotebookExecutionJobRequest
|
496
|
+
include ::Google::Protobuf::MessageExts
|
497
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
498
|
+
end
|
499
|
+
|
500
|
+
# Views for Get/List NotebookExecutionJob
|
501
|
+
module NotebookExecutionJobView
|
502
|
+
# When unspecified, the API defaults to the BASIC view.
|
503
|
+
NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED = 0
|
504
|
+
|
505
|
+
# Includes all fields except for direct notebook inputs.
|
506
|
+
NOTEBOOK_EXECUTION_JOB_VIEW_BASIC = 1
|
507
|
+
|
508
|
+
# Includes all fields.
|
509
|
+
NOTEBOOK_EXECUTION_JOB_VIEW_FULL = 2
|
510
|
+
end
|
386
511
|
end
|
387
512
|
end
|
388
513
|
end
|
@@ -241,6 +241,9 @@ module Google
|
|
241
241
|
# @!attribute [rw] ray_metric_spec
|
242
242
|
# @return [::Google::Cloud::AIPlatform::V1::RayMetricSpec]
|
243
243
|
# Optional. Ray metrics configurations.
|
244
|
+
# @!attribute [rw] ray_logs_spec
|
245
|
+
# @return [::Google::Cloud::AIPlatform::V1::RayLogsSpec]
|
246
|
+
# Optional. OSS Ray logging configurations.
|
244
247
|
class RaySpec
|
245
248
|
include ::Google::Protobuf::MessageExts
|
246
249
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -311,6 +314,15 @@ module Google
|
|
311
314
|
include ::Google::Protobuf::MessageExts
|
312
315
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
313
316
|
end
|
317
|
+
|
318
|
+
# Configuration for the Ray OSS Logs.
|
319
|
+
# @!attribute [rw] disabled
|
320
|
+
# @return [::Boolean]
|
321
|
+
# Optional. Flag to disable the export of Ray OSS logs to Cloud Logging.
|
322
|
+
class RayLogsSpec
|
323
|
+
include ::Google::Protobuf::MessageExts
|
324
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
325
|
+
end
|
314
326
|
end
|
315
327
|
end
|
316
328
|
end
|
@@ -431,16 +431,29 @@ module Google
|
|
431
431
|
# `projects/{project}/locations/{location}/endpoints/{endpoint}`
|
432
432
|
# @!attribute [rw] model
|
433
433
|
# @return [::String]
|
434
|
-
#
|
434
|
+
# Optional. The name of the publisher model requested to serve the
|
435
435
|
# prediction. Format:
|
436
436
|
# `projects/{project}/locations/{location}/publishers/*/models/*`
|
437
437
|
# @!attribute [rw] instances
|
438
438
|
# @return [::Array<::Google::Protobuf::Value>]
|
439
|
-
#
|
439
|
+
# Optional. The instances that are the input to token counting call.
|
440
440
|
# Schema is identical to the prediction schema of the underlying model.
|
441
441
|
# @!attribute [rw] contents
|
442
442
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::Content>]
|
443
|
-
#
|
443
|
+
# Optional. Input content.
|
444
|
+
# @!attribute [rw] system_instruction
|
445
|
+
# @return [::Google::Cloud::AIPlatform::V1::Content]
|
446
|
+
# Optional. The user provided system instructions for the model.
|
447
|
+
# Note: only text should be used in parts and content in each part will be in
|
448
|
+
# a separate paragraph.
|
449
|
+
# @!attribute [rw] tools
|
450
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::Tool>]
|
451
|
+
# Optional. A list of `Tools` the model may use to generate the next
|
452
|
+
# response.
|
453
|
+
#
|
454
|
+
# A `Tool` is a piece of code that enables the system to interact with
|
455
|
+
# external systems to perform an action, or set of actions, outside of
|
456
|
+
# knowledge and scope of the model.
|
444
457
|
class CountTokensRequest
|
445
458
|
include ::Google::Protobuf::MessageExts
|
446
459
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -126,10 +126,9 @@ module Google
|
|
126
126
|
# @return [::Google::Cloud::AIPlatform::V1::VertexAISearch]
|
127
127
|
# Set to use data source powered by Vertex AI Search.
|
128
128
|
# @!attribute [rw] disable_attribution
|
129
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
129
130
|
# @return [::Boolean]
|
130
|
-
# Optional.
|
131
|
-
# attribution. This does not affect how the result is given to the model for
|
132
|
-
# generation.
|
131
|
+
# Optional. Deprecated. This option is no longer supported.
|
133
132
|
class Retrieval
|
134
133
|
include ::Google::Protobuf::MessageExts
|
135
134
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -129,6 +129,9 @@ module Google
|
|
129
129
|
# @!attribute [r] sum
|
130
130
|
# @return [::Integer]
|
131
131
|
# Output only. Sum of a given population of values.
|
132
|
+
# @!attribute [r] billable_sum
|
133
|
+
# @return [::Integer]
|
134
|
+
# Output only. Sum of a given population of values that are billable.
|
132
135
|
# @!attribute [r] min
|
133
136
|
# @return [::Float]
|
134
137
|
# Output only. The minimum of the population values.
|
@@ -179,8 +182,12 @@ module Google
|
|
179
182
|
# @return [::Integer]
|
180
183
|
# Output only. Number of tuning characters in the tuning dataset.
|
181
184
|
# @!attribute [r] total_billable_character_count
|
185
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
182
186
|
# @return [::Integer]
|
183
187
|
# Output only. Number of billable characters in the tuning dataset.
|
188
|
+
# @!attribute [r] total_billable_token_count
|
189
|
+
# @return [::Integer]
|
190
|
+
# Output only. Number of billable tokens in the tuning dataset.
|
184
191
|
# @!attribute [r] tuning_step_count
|
185
192
|
# @return [::Integer]
|
186
193
|
# Output only. Number of tuning steps for this Tuning Job.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-ai_platform-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.46.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -412,6 +412,7 @@ files:
|
|
412
412
|
- lib/google/cloud/aiplatform/v1/nas_job_pb.rb
|
413
413
|
- lib/google/cloud/aiplatform/v1/network_spec_pb.rb
|
414
414
|
- lib/google/cloud/aiplatform/v1/notebook_euc_config_pb.rb
|
415
|
+
- lib/google/cloud/aiplatform/v1/notebook_execution_job_pb.rb
|
415
416
|
- lib/google/cloud/aiplatform/v1/notebook_idle_shutdown_config_pb.rb
|
416
417
|
- lib/google/cloud/aiplatform/v1/notebook_runtime_pb.rb
|
417
418
|
- lib/google/cloud/aiplatform/v1/notebook_runtime_template_ref_pb.rb
|
@@ -532,6 +533,7 @@ files:
|
|
532
533
|
- proto_docs/google/cloud/aiplatform/v1/nas_job.rb
|
533
534
|
- proto_docs/google/cloud/aiplatform/v1/network_spec.rb
|
534
535
|
- proto_docs/google/cloud/aiplatform/v1/notebook_euc_config.rb
|
536
|
+
- proto_docs/google/cloud/aiplatform/v1/notebook_execution_job.rb
|
535
537
|
- proto_docs/google/cloud/aiplatform/v1/notebook_idle_shutdown_config.rb
|
536
538
|
- proto_docs/google/cloud/aiplatform/v1/notebook_runtime.rb
|
537
539
|
- proto_docs/google/cloud/aiplatform/v1/notebook_runtime_template_ref.rb
|