google-cloud-ai_platform-v1 0.24.0 → 0.25.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/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +5 -3
- data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/match_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +16 -5
- data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +424 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/paths.rb +50 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service.rb +49 -0
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/model_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +5 -4
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +6 -3
- data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +24 -14
- data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +27 -11
- data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +25 -8
- data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +26 -20
- data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +34 -57
- data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +24 -7
- data/lib/google/cloud/aiplatform/v1/context_pb.rb +26 -14
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +31 -55
- data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +26 -9
- data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +29 -45
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +29 -37
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +30 -121
- data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +24 -5
- data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +24 -5
- data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +24 -4
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +29 -44
- data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +27 -63
- data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +26 -11
- data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +24 -5
- data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +26 -36
- data/lib/google/cloud/aiplatform/v1/event_pb.rb +25 -13
- data/lib/google/cloud/aiplatform/v1/execution_pb.rb +26 -23
- data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +25 -78
- data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +27 -125
- data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +25 -10
- data/lib/google/cloud/aiplatform/v1/feature_pb.rb +26 -33
- data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +24 -7
- data/lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb +24 -33
- data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +27 -62
- data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +26 -26
- data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +33 -249
- data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +29 -19
- data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +27 -41
- data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +27 -60
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +27 -38
- data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +27 -73
- data/lib/google/cloud/aiplatform/v1/io_pb.rb +24 -28
- data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +33 -186
- data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +24 -14
- data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +27 -6
- data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +24 -37
- data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +24 -4
- data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +25 -33
- data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +25 -15
- data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +32 -203
- data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +26 -12
- data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +25 -32
- data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +27 -66
- data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +32 -78
- data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +27 -18
- data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +28 -34
- data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +49 -0
- data/lib/google/cloud/aiplatform/v1/model_garden_service_services_pb.rb +45 -0
- data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +25 -63
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +31 -78
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +32 -137
- data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +29 -84
- data/lib/google/cloud/aiplatform/v1/operation_pb.rb +26 -9
- data/lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb +24 -6
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +32 -91
- data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +27 -51
- data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +24 -12
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +27 -29
- data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +1 -2
- data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +57 -0
- data/lib/google/cloud/aiplatform/v1/saved_query_pb.rb +26 -13
- data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +24 -5
- data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +24 -9
- data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +27 -33
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +27 -157
- data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +25 -29
- data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +25 -11
- data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +26 -14
- data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +25 -10
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +31 -186
- data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +25 -24
- data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +30 -63
- data/lib/google/cloud/aiplatform/v1/types_pb.rb +24 -13
- data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +25 -6
- data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +24 -8
- data/lib/google/cloud/aiplatform/v1/value_pb.rb +24 -8
- data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +27 -88
- data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +6 -2
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +7 -8
- data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +12 -3
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +14 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +3 -2
- data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +61 -0
- data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +235 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +2 -1
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/struct.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +13 -4
@@ -0,0 +1,235 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 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
|
+
# A Model Garden Publisher Model.
|
25
|
+
# @!attribute [r] name
|
26
|
+
# @return [::String]
|
27
|
+
# Output only. The resource name of the PublisherModel.
|
28
|
+
# @!attribute [r] version_id
|
29
|
+
# @return [::String]
|
30
|
+
# Output only. Immutable. The version ID of the PublisherModel.
|
31
|
+
# A new version is committed when a new model version is uploaded under an
|
32
|
+
# existing model id. It is an auto-incrementing decimal number in string
|
33
|
+
# representation.
|
34
|
+
# @!attribute [rw] open_source_category
|
35
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::OpenSourceCategory]
|
36
|
+
# Required. Indicates the open source category of the publisher model.
|
37
|
+
# @!attribute [rw] supported_actions
|
38
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction]
|
39
|
+
# Optional. Supported call-to-action options.
|
40
|
+
# @!attribute [rw] frameworks
|
41
|
+
# @return [::Array<::String>]
|
42
|
+
# Optional. Additional information about the model's Frameworks.
|
43
|
+
# @!attribute [rw] launch_stage
|
44
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::LaunchStage]
|
45
|
+
# Optional. Indicates the launch stage of the model.
|
46
|
+
# @!attribute [r] publisher_model_template
|
47
|
+
# @return [::String]
|
48
|
+
# Optional. Output only. Immutable. Used to indicate this model has a
|
49
|
+
# publisher model and provide the template of the publisher model resource
|
50
|
+
# name.
|
51
|
+
# @!attribute [rw] predict_schemata
|
52
|
+
# @return [::Google::Cloud::AIPlatform::V1::PredictSchemata]
|
53
|
+
# Optional. The schemata that describes formats of the PublisherModel's
|
54
|
+
# predictions and explanations as given and returned via
|
55
|
+
# {::Google::Cloud::AIPlatform::V1::PredictionService::Client#predict PredictionService.Predict}.
|
56
|
+
class PublisherModel
|
57
|
+
include ::Google::Protobuf::MessageExts
|
58
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
59
|
+
|
60
|
+
# Reference to a resource.
|
61
|
+
# @!attribute [rw] uri
|
62
|
+
# @return [::String]
|
63
|
+
# The URI of the resource.
|
64
|
+
# @!attribute [rw] resource_name
|
65
|
+
# @return [::String]
|
66
|
+
# The resource name of the Google Cloud resource.
|
67
|
+
class ResourceReference
|
68
|
+
include ::Google::Protobuf::MessageExts
|
69
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
70
|
+
end
|
71
|
+
|
72
|
+
# A named piece of documentation.
|
73
|
+
# @!attribute [rw] title
|
74
|
+
# @return [::String]
|
75
|
+
# Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, JAVA,
|
76
|
+
# NODE.JS, etc..
|
77
|
+
# @!attribute [rw] content
|
78
|
+
# @return [::String]
|
79
|
+
# Required. Content of this piece of document (in Markdown format).
|
80
|
+
class Documentation
|
81
|
+
include ::Google::Protobuf::MessageExts
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
|
+
end
|
84
|
+
|
85
|
+
# Actions could take on this Publisher Model.
|
86
|
+
# @!attribute [rw] view_rest_api
|
87
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::ViewRestApi]
|
88
|
+
# Optional. To view Rest API docs.
|
89
|
+
# @!attribute [rw] open_notebook
|
90
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
|
91
|
+
# Optional. Open notebook of the PublisherModel.
|
92
|
+
# @!attribute [rw] create_application
|
93
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
|
94
|
+
# Optional. Create application using the PublisherModel.
|
95
|
+
# @!attribute [rw] open_fine_tuning_pipeline
|
96
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
|
97
|
+
# Optional. Open fine-tuning pipeline of the PublisherModel.
|
98
|
+
# @!attribute [rw] open_prompt_tuning_pipeline
|
99
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
|
100
|
+
# Optional. Open prompt-tuning pipeline of the PublisherModel.
|
101
|
+
# @!attribute [rw] open_genie
|
102
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
|
103
|
+
# Optional. Open Genie / Playground.
|
104
|
+
# @!attribute [rw] deploy
|
105
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::Deploy]
|
106
|
+
# Optional. Deploy the PublisherModel to Vertex Endpoint.
|
107
|
+
# @!attribute [rw] open_generation_ai_studio
|
108
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
|
109
|
+
# Optional. Open in Generation AI Studio.
|
110
|
+
# @!attribute [rw] request_access
|
111
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
|
112
|
+
# Optional. Request for access.
|
113
|
+
class CallToAction
|
114
|
+
include ::Google::Protobuf::MessageExts
|
115
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
116
|
+
|
117
|
+
# The regional resource name or the URI. Key is region, e.g.,
|
118
|
+
# us-central1, europe-west2, global, etc..
|
119
|
+
# @!attribute [rw] references
|
120
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::PublisherModel::ResourceReference}]
|
121
|
+
# Required.
|
122
|
+
# @!attribute [rw] title
|
123
|
+
# @return [::String]
|
124
|
+
# Required. The title of the regional resource reference.
|
125
|
+
class RegionalResourceReferences
|
126
|
+
include ::Google::Protobuf::MessageExts
|
127
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
128
|
+
|
129
|
+
# @!attribute [rw] key
|
130
|
+
# @return [::String]
|
131
|
+
# @!attribute [rw] value
|
132
|
+
# @return [::Google::Cloud::AIPlatform::V1::PublisherModel::ResourceReference]
|
133
|
+
class ReferencesEntry
|
134
|
+
include ::Google::Protobuf::MessageExts
|
135
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
# Rest API docs.
|
140
|
+
# @!attribute [rw] documentations
|
141
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::PublisherModel::Documentation>]
|
142
|
+
# Required.
|
143
|
+
# @!attribute [rw] title
|
144
|
+
# @return [::String]
|
145
|
+
# Required. The title of the view rest API.
|
146
|
+
class ViewRestApi
|
147
|
+
include ::Google::Protobuf::MessageExts
|
148
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
149
|
+
end
|
150
|
+
|
151
|
+
# Model metadata that is needed for UploadModel or
|
152
|
+
# DeployModel/CreateEndpoint requests.
|
153
|
+
# @!attribute [rw] dedicated_resources
|
154
|
+
# @return [::Google::Cloud::AIPlatform::V1::DedicatedResources]
|
155
|
+
# A description of resources that are dedicated to the DeployedModel,
|
156
|
+
# and that need a higher degree of manual configuration.
|
157
|
+
# @!attribute [rw] automatic_resources
|
158
|
+
# @return [::Google::Cloud::AIPlatform::V1::AutomaticResources]
|
159
|
+
# A description of resources that to large degree are decided by Vertex
|
160
|
+
# AI, and require only a modest additional configuration.
|
161
|
+
# @!attribute [rw] shared_resources
|
162
|
+
# @return [::String]
|
163
|
+
# The resource name of the shared DeploymentResourcePool to deploy on.
|
164
|
+
# Format:
|
165
|
+
# `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
|
166
|
+
# @!attribute [rw] model_display_name
|
167
|
+
# @return [::String]
|
168
|
+
# Optional. Default model display name.
|
169
|
+
# @!attribute [rw] large_model_reference
|
170
|
+
# @return [::Google::Cloud::AIPlatform::V1::LargeModelReference]
|
171
|
+
# Optional. Large model reference. When this is set, model_artifact_spec
|
172
|
+
# is not needed.
|
173
|
+
# @!attribute [rw] container_spec
|
174
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelContainerSpec]
|
175
|
+
# Optional. The specification of the container that is to be used when
|
176
|
+
# deploying this Model in Vertex AI. Not present for Large Models.
|
177
|
+
# @!attribute [rw] artifact_uri
|
178
|
+
# @return [::String]
|
179
|
+
# Optional. The path to the directory containing the Model artifact and
|
180
|
+
# any of its supporting files.
|
181
|
+
# @!attribute [rw] title
|
182
|
+
# @return [::String]
|
183
|
+
# Required. The title of the regional resource reference.
|
184
|
+
class Deploy
|
185
|
+
include ::Google::Protobuf::MessageExts
|
186
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
# An enum representing the open source category of a PublisherModel.
|
191
|
+
module OpenSourceCategory
|
192
|
+
# The open source category is unspecified, which should not be used.
|
193
|
+
OPEN_SOURCE_CATEGORY_UNSPECIFIED = 0
|
194
|
+
|
195
|
+
# Used to indicate the PublisherModel is not open sourced.
|
196
|
+
PROPRIETARY = 1
|
197
|
+
|
198
|
+
# Used to indicate the PublisherModel is a Google-owned open source model
|
199
|
+
# w/ Google checkpoint.
|
200
|
+
GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT = 2
|
201
|
+
|
202
|
+
# Used to indicate the PublisherModel is a 3p-owned open source model w/
|
203
|
+
# Google checkpoint.
|
204
|
+
THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT = 3
|
205
|
+
|
206
|
+
# Used to indicate the PublisherModel is a Google-owned pure open source
|
207
|
+
# model.
|
208
|
+
GOOGLE_OWNED_OSS = 4
|
209
|
+
|
210
|
+
# Used to indicate the PublisherModel is a 3p-owned pure open source model.
|
211
|
+
THIRD_PARTY_OWNED_OSS = 5
|
212
|
+
end
|
213
|
+
|
214
|
+
# An enum representing the launch stage of a PublisherModel.
|
215
|
+
module LaunchStage
|
216
|
+
# The model launch stage is unspecified.
|
217
|
+
LAUNCH_STAGE_UNSPECIFIED = 0
|
218
|
+
|
219
|
+
# Used to indicate the PublisherModel is at Experimental launch stage.
|
220
|
+
EXPERIMENTAL = 1
|
221
|
+
|
222
|
+
# Used to indicate the PublisherModel is at Private Preview launch stage.
|
223
|
+
PRIVATE_PREVIEW = 2
|
224
|
+
|
225
|
+
# Used to indicate the PublisherModel is at Public Preview launch stage.
|
226
|
+
PUBLIC_PREVIEW = 3
|
227
|
+
|
228
|
+
# Used to indicate the PublisherModel is at GA launch stage.
|
229
|
+
GA = 4
|
230
|
+
end
|
231
|
+
end
|
232
|
+
end
|
233
|
+
end
|
234
|
+
end
|
235
|
+
end
|
@@ -42,7 +42,8 @@ module Google
|
|
42
42
|
# Output only. Timestamp when this TensorboardExperiment was last updated.
|
43
43
|
# @!attribute [rw] labels
|
44
44
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
45
|
-
# The labels with user-defined metadata to organize your
|
45
|
+
# The labels with user-defined metadata to organize your
|
46
|
+
# TensorboardExperiment.
|
46
47
|
#
|
47
48
|
# Label keys and values cannot be longer than 64 characters
|
48
49
|
# (Unicode codepoints), can only contain lowercase letters, numeric
|
@@ -43,8 +43,12 @@ module Google
|
|
43
43
|
# if (any.is(Foo.class)) {
|
44
44
|
# foo = any.unpack(Foo.class);
|
45
45
|
# }
|
46
|
+
# // or ...
|
47
|
+
# if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
48
|
+
# foo = any.unpack(Foo.getDefaultInstance());
|
49
|
+
# }
|
46
50
|
#
|
47
|
-
#
|
51
|
+
# Example 3: Pack and unpack a message in Python.
|
48
52
|
#
|
49
53
|
# foo = Foo(...)
|
50
54
|
# any = Any()
|
@@ -54,7 +58,7 @@ module Google
|
|
54
58
|
# any.Unpack(foo)
|
55
59
|
# ...
|
56
60
|
#
|
57
|
-
#
|
61
|
+
# Example 4: Pack and unpack a message in Go
|
58
62
|
#
|
59
63
|
# foo := &pb.Foo{...}
|
60
64
|
# any, err := anypb.New(foo)
|
@@ -73,9 +77,8 @@ module Google
|
|
73
77
|
# in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
74
78
|
# name "y.z".
|
75
79
|
#
|
76
|
-
#
|
77
80
|
# JSON
|
78
|
-
#
|
81
|
+
# ====
|
79
82
|
# The JSON representation of an `Any` value uses the regular
|
80
83
|
# representation of the deserialized, embedded message, with an
|
81
84
|
# additional field `@type` which contains the type URL. Example:
|
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
# `NullValue` is a singleton enumeration to represent the null value for the
|
88
88
|
# `Value` type union.
|
89
89
|
#
|
90
|
-
#
|
90
|
+
# The JSON representation for `NullValue` is JSON `null`.
|
91
91
|
module NullValue
|
92
92
|
# Null value.
|
93
93
|
NULL_VALUE = 0
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
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.25.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: 2023-
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.19.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.19.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -260,6 +260,10 @@ files:
|
|
260
260
|
- lib/google/cloud/ai_platform/v1/migration_service/credentials.rb
|
261
261
|
- lib/google/cloud/ai_platform/v1/migration_service/operations.rb
|
262
262
|
- lib/google/cloud/ai_platform/v1/migration_service/paths.rb
|
263
|
+
- lib/google/cloud/ai_platform/v1/model_garden_service.rb
|
264
|
+
- lib/google/cloud/ai_platform/v1/model_garden_service/client.rb
|
265
|
+
- lib/google/cloud/ai_platform/v1/model_garden_service/credentials.rb
|
266
|
+
- lib/google/cloud/ai_platform/v1/model_garden_service/paths.rb
|
263
267
|
- lib/google/cloud/ai_platform/v1/model_service.rb
|
264
268
|
- lib/google/cloud/ai_platform/v1/model_service/client.rb
|
265
269
|
- lib/google/cloud/ai_platform/v1/model_service/credentials.rb
|
@@ -351,6 +355,8 @@ files:
|
|
351
355
|
- lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb
|
352
356
|
- lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb
|
353
357
|
- lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb
|
358
|
+
- lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb
|
359
|
+
- lib/google/cloud/aiplatform/v1/model_garden_service_services_pb.rb
|
354
360
|
- lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb
|
355
361
|
- lib/google/cloud/aiplatform/v1/model_pb.rb
|
356
362
|
- lib/google/cloud/aiplatform/v1/model_service_pb.rb
|
@@ -364,6 +370,7 @@ files:
|
|
364
370
|
- lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb
|
365
371
|
- lib/google/cloud/aiplatform/v1/prediction_service_pb.rb
|
366
372
|
- lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb
|
373
|
+
- lib/google/cloud/aiplatform/v1/publisher_model_pb.rb
|
367
374
|
- lib/google/cloud/aiplatform/v1/saved_query_pb.rb
|
368
375
|
- lib/google/cloud/aiplatform/v1/service_networking_pb.rb
|
369
376
|
- lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb
|
@@ -442,6 +449,7 @@ files:
|
|
442
449
|
- proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb
|
443
450
|
- proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb
|
444
451
|
- proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb
|
452
|
+
- proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb
|
445
453
|
- proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb
|
446
454
|
- proto_docs/google/cloud/aiplatform/v1/model_service.rb
|
447
455
|
- proto_docs/google/cloud/aiplatform/v1/nas_job.rb
|
@@ -451,6 +459,7 @@ files:
|
|
451
459
|
- proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb
|
452
460
|
- proto_docs/google/cloud/aiplatform/v1/pipeline_state.rb
|
453
461
|
- proto_docs/google/cloud/aiplatform/v1/prediction_service.rb
|
462
|
+
- proto_docs/google/cloud/aiplatform/v1/publisher_model.rb
|
454
463
|
- proto_docs/google/cloud/aiplatform/v1/saved_query.rb
|
455
464
|
- proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.rb
|
456
465
|
- proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.rb
|