google-cloud-ai_platform-v1 0.48.0 → 0.55.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/bindings_override.rb +48 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/client.rb +129 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/operations.rb +817 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/client.rb +122 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/operations.rb +4181 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/service_stub.rb +60 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest.rb +1 -0
- data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service.rb +1 -0
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +4 -1
- data/lib/google/cloud/ai_platform/v1/llm_utility_service/rest/client.rb +4 -1
- data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +32 -6
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +32 -6
- data/lib/google/cloud/ai_platform/v1/schedule_service/paths.rb +38 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/content_pb.rb +9 -1
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +1 -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/deployment_resource_pool_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_group_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/genai_tuning_service_pb.rb +8 -1
- data/lib/google/cloud/aiplatform/v1/genai_tuning_service_services_pb.rb +4 -0
- data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/notebook_execution_job_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/openapi_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/schedule_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/tool_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/tuning_job_pb.rb +2 -1
- data/proto_docs/google/api/client.rb +31 -0
- data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/content.rb +142 -14
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +20 -5
- data/proto_docs/google/cloud/aiplatform/v1/data_item.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/entity_type.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +34 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +35 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_view_sync.rb +10 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/genai_tuning_service.rb +36 -0
- data/proto_docs/google/cloud/aiplatform/v1/hyperparameter_tuning_job.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/index.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +11 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/nas_job.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/notebook_execution_job.rb +5 -0
- data/proto_docs/google/cloud/aiplatform/v1/openapi.rb +11 -2
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +33 -2
- data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/schedule.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/service_networking.rb +23 -0
- data/proto_docs/google/cloud/aiplatform/v1/tool.rb +28 -3
- data/proto_docs/google/cloud/aiplatform/v1/tuning_job.rb +26 -1
- metadata +5 -3
@@ -41,6 +41,12 @@ module Google
|
|
41
41
|
# @!attribute [r] sync_summary
|
42
42
|
# @return [::Google::Cloud::Aiplatform::V1::FeatureViewSync::SyncSummary]
|
43
43
|
# Output only. Summary of the sync job.
|
44
|
+
# @!attribute [r] satisfies_pzs
|
45
|
+
# @return [::Boolean]
|
46
|
+
# Output only. Reserved for future use.
|
47
|
+
# @!attribute [r] satisfies_pzi
|
48
|
+
# @return [::Boolean]
|
49
|
+
# Output only. Reserved for future use.
|
44
50
|
class FeatureViewSync
|
45
51
|
include ::Google::Protobuf::MessageExts
|
46
52
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -53,6 +59,10 @@ module Google
|
|
53
59
|
# @!attribute [r] total_slot
|
54
60
|
# @return [::Integer]
|
55
61
|
# Output only. BigQuery slot milliseconds consumed for the sync job.
|
62
|
+
# @!attribute [rw] system_watermark_time
|
63
|
+
# @return [::Google::Protobuf::Timestamp]
|
64
|
+
# Lower bound of the system time watermark for the sync job. This is only
|
65
|
+
# set for continuously syncing feature views.
|
56
66
|
class SyncSummary
|
57
67
|
include ::Google::Protobuf::MessageExts
|
58
68
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -73,6 +73,12 @@ module Google
|
|
73
73
|
# @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
|
74
74
|
# Optional. Customer-managed encryption key spec for data storage. If set,
|
75
75
|
# both of the online and offline data storage will be secured by this key.
|
76
|
+
# @!attribute [r] satisfies_pzs
|
77
|
+
# @return [::Boolean]
|
78
|
+
# Output only. Reserved for future use.
|
79
|
+
# @!attribute [r] satisfies_pzi
|
80
|
+
# @return [::Boolean]
|
81
|
+
# Output only. Reserved for future use.
|
76
82
|
class Featurestore
|
77
83
|
include ::Google::Protobuf::MessageExts
|
78
84
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -94,6 +94,42 @@ module Google
|
|
94
94
|
include ::Google::Protobuf::MessageExts
|
95
95
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
96
96
|
end
|
97
|
+
|
98
|
+
# Request message for
|
99
|
+
# {::Google::Cloud::AIPlatform::V1::GenAiTuningService::Client#rebase_tuned_model GenAiTuningService.RebaseTunedModel}.
|
100
|
+
# @!attribute [rw] parent
|
101
|
+
# @return [::String]
|
102
|
+
# Required. The resource name of the Location into which to rebase the Model.
|
103
|
+
# Format: `projects/{project}/locations/{location}`
|
104
|
+
# @!attribute [rw] tuned_model_ref
|
105
|
+
# @return [::Google::Cloud::AIPlatform::V1::TunedModelRef]
|
106
|
+
# Required. TunedModel reference to retrieve the legacy model information.
|
107
|
+
# @!attribute [rw] tuning_job
|
108
|
+
# @return [::Google::Cloud::AIPlatform::V1::TuningJob]
|
109
|
+
# Optional. The TuningJob to be updated. Users can use this TuningJob field
|
110
|
+
# to overwrite tuning configs.
|
111
|
+
# @!attribute [rw] artifact_destination
|
112
|
+
# @return [::Google::Cloud::AIPlatform::V1::GcsDestination]
|
113
|
+
# Optional. The Google Cloud Storage location to write the artifacts.
|
114
|
+
# @!attribute [rw] deploy_to_same_endpoint
|
115
|
+
# @return [::Boolean]
|
116
|
+
# Optional. By default, bison to gemini migration will always create new
|
117
|
+
# model/endpoint, but for gemini-1.0 to gemini-1.5 migration, we default
|
118
|
+
# deploy to the same endpoint. See details in this Section.
|
119
|
+
class RebaseTunedModelRequest
|
120
|
+
include ::Google::Protobuf::MessageExts
|
121
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
122
|
+
end
|
123
|
+
|
124
|
+
# Runtime operation information for
|
125
|
+
# {::Google::Cloud::AIPlatform::V1::GenAiTuningService::Client#rebase_tuned_model GenAiTuningService.RebaseTunedModel}.
|
126
|
+
# @!attribute [rw] generic_metadata
|
127
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
128
|
+
# The common part of the operation generic information.
|
129
|
+
class RebaseTunedModelOperationMetadata
|
130
|
+
include ::Google::Protobuf::MessageExts
|
131
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
132
|
+
end
|
97
133
|
end
|
98
134
|
end
|
99
135
|
end
|
@@ -92,6 +92,12 @@ module Google
|
|
92
92
|
# Customer-managed encryption key options for a HyperparameterTuningJob.
|
93
93
|
# If this is set, then all resources created by the HyperparameterTuningJob
|
94
94
|
# will be encrypted with the provided encryption key.
|
95
|
+
# @!attribute [r] satisfies_pzs
|
96
|
+
# @return [::Boolean]
|
97
|
+
# Output only. Reserved for future use.
|
98
|
+
# @!attribute [r] satisfies_pzi
|
99
|
+
# @return [::Boolean]
|
100
|
+
# Output only. Reserved for future use.
|
95
101
|
class HyperparameterTuningJob
|
96
102
|
include ::Google::Protobuf::MessageExts
|
97
103
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -91,6 +91,12 @@ module Google
|
|
91
91
|
# @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
|
92
92
|
# Immutable. Customer-managed encryption key spec for an Index. If set, this
|
93
93
|
# Index and all sub-resources of this Index will be secured by this key.
|
94
|
+
# @!attribute [r] satisfies_pzs
|
95
|
+
# @return [::Boolean]
|
96
|
+
# Output only. Reserved for future use.
|
97
|
+
# @!attribute [r] satisfies_pzi
|
98
|
+
# @return [::Boolean]
|
99
|
+
# Output only. Reserved for future use.
|
94
100
|
class Index
|
95
101
|
include ::Google::Protobuf::MessageExts
|
96
102
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -108,6 +108,12 @@ module Google
|
|
108
108
|
# Immutable. Customer-managed encryption key spec for an IndexEndpoint. If
|
109
109
|
# set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be
|
110
110
|
# secured by this key.
|
111
|
+
# @!attribute [r] satisfies_pzs
|
112
|
+
# @return [::Boolean]
|
113
|
+
# Output only. Reserved for future use.
|
114
|
+
# @!attribute [r] satisfies_pzi
|
115
|
+
# @return [::Boolean]
|
116
|
+
# Output only. Reserved for future use.
|
111
117
|
class IndexEndpoint
|
112
118
|
include ::Google::Protobuf::MessageExts
|
113
119
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -234,6 +240,11 @@ module Google
|
|
234
240
|
# [d, e] is disallowed.
|
235
241
|
#
|
236
242
|
# Note: we only support up to 5 deployment groups(not including 'default').
|
243
|
+
# @!attribute [rw] psc_automation_configs
|
244
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::PSCAutomationConfig>]
|
245
|
+
# Optional. If set for PSC deployed index, PSC connection will be
|
246
|
+
# automatically created after deployment is done and the endpoint information
|
247
|
+
# is populated in private_endpoints.psc_automated_endpoints.
|
237
248
|
class DeployedIndex
|
238
249
|
include ::Google::Protobuf::MessageExts
|
239
250
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -141,6 +141,12 @@ module Google
|
|
141
141
|
# @return [::Google::Rpc::Status]
|
142
142
|
# Output only. Only populated when the job's state is `JOB_STATE_FAILED` or
|
143
143
|
# `JOB_STATE_CANCELLED`.
|
144
|
+
# @!attribute [r] satisfies_pzs
|
145
|
+
# @return [::Boolean]
|
146
|
+
# Output only. Reserved for future use.
|
147
|
+
# @!attribute [r] satisfies_pzi
|
148
|
+
# @return [::Boolean]
|
149
|
+
# Output only. Reserved for future use.
|
144
150
|
class ModelDeploymentMonitoringJob
|
145
151
|
include ::Google::Protobuf::MessageExts
|
146
152
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -39,6 +39,9 @@ module Google
|
|
39
39
|
# @return [::Boolean]
|
40
40
|
# Optional. Boolean indicates whether the requested model is a Hugging Face
|
41
41
|
# model.
|
42
|
+
# @!attribute [rw] hugging_face_token
|
43
|
+
# @return [::String]
|
44
|
+
# Optional. Token used to access Hugging Face gated models.
|
42
45
|
class GetPublisherModelRequest
|
43
46
|
include ::Google::Protobuf::MessageExts
|
44
47
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -76,6 +76,12 @@ module Google
|
|
76
76
|
# @return [::Boolean]
|
77
77
|
# Optional. Enable a separation of Custom model training
|
78
78
|
# and restricted image training for tenant project.
|
79
|
+
# @!attribute [r] satisfies_pzs
|
80
|
+
# @return [::Boolean]
|
81
|
+
# Output only. Reserved for future use.
|
82
|
+
# @!attribute [r] satisfies_pzi
|
83
|
+
# @return [::Boolean]
|
84
|
+
# Output only. Reserved for future use.
|
79
85
|
class NasJob
|
80
86
|
include ::Google::Protobuf::MessageExts
|
81
87
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -87,6 +87,11 @@ module Google
|
|
87
87
|
# See https://goo.gl/xmQnxf for more information and examples of labels.
|
88
88
|
# System reserved label keys are prefixed with "aiplatform.googleapis.com/"
|
89
89
|
# and are immutable.
|
90
|
+
# @!attribute [rw] encryption_spec
|
91
|
+
# @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
|
92
|
+
# Customer-managed encryption key spec for the notebook execution job.
|
93
|
+
# This field is auto-populated if the
|
94
|
+
# [NotebookService.NotebookRuntimeTemplate][] has an encryption spec.
|
90
95
|
class NotebookExecutionJob
|
91
96
|
include ::Google::Protobuf::MessageExts
|
92
97
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -23,8 +23,8 @@ module Google
|
|
23
23
|
module V1
|
24
24
|
# Schema is used to define the format of input/output data. Represents a select
|
25
25
|
# subset of an [OpenAPI 3.0 schema
|
26
|
-
# object](https://spec.openapis.org/oas/v3.0.3#schema). More fields may
|
27
|
-
# added in the future as needed.
|
26
|
+
# object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may
|
27
|
+
# be added in the future as needed.
|
28
28
|
# @!attribute [rw] type
|
29
29
|
# @return [::Google::Cloud::AIPlatform::V1::Type]
|
30
30
|
# Optional. The type of the data.
|
@@ -66,6 +66,11 @@ module Google
|
|
66
66
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::Schema}]
|
67
67
|
# Optional. SCHEMA FIELDS FOR TYPE OBJECT
|
68
68
|
# Properties of Type.OBJECT.
|
69
|
+
# @!attribute [rw] property_ordering
|
70
|
+
# @return [::Array<::String>]
|
71
|
+
# Optional. The order of the properties.
|
72
|
+
# Not a standard field in open api spec. Only used to support the order of
|
73
|
+
# the properties.
|
69
74
|
# @!attribute [rw] required
|
70
75
|
# @return [::Array<::String>]
|
71
76
|
# Optional. Required properties of Type.OBJECT.
|
@@ -97,6 +102,10 @@ module Google
|
|
97
102
|
# @return [::Google::Protobuf::Value]
|
98
103
|
# Optional. Example of the object. Will only populated when the object is the
|
99
104
|
# root.
|
105
|
+
# @!attribute [rw] any_of
|
106
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::Schema>]
|
107
|
+
# Optional. The value should be validated against any (one or more) of the
|
108
|
+
# subschemas in the list.
|
100
109
|
class Schema
|
101
110
|
include ::Google::Protobuf::MessageExts
|
102
111
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -454,6 +454,10 @@ module Google
|
|
454
454
|
# A `Tool` is a piece of code that enables the system to interact with
|
455
455
|
# external systems to perform an action, or set of actions, outside of
|
456
456
|
# knowledge and scope of the model.
|
457
|
+
# @!attribute [rw] generation_config
|
458
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenerationConfig]
|
459
|
+
# Optional. Generation config that the model will use to generate the
|
460
|
+
# response.
|
457
461
|
class CountTokensRequest
|
458
462
|
include ::Google::Protobuf::MessageExts
|
459
463
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -475,9 +479,14 @@ module Google
|
|
475
479
|
# Request message for [PredictionService.GenerateContent].
|
476
480
|
# @!attribute [rw] model
|
477
481
|
# @return [::String]
|
478
|
-
# Required. The name of the publisher model
|
479
|
-
#
|
482
|
+
# Required. The fully qualified name of the publisher model or tuned model
|
483
|
+
# endpoint to use.
|
484
|
+
#
|
485
|
+
# Publisher model format:
|
480
486
|
# `projects/{project}/locations/{location}/publishers/*/models/*`
|
487
|
+
#
|
488
|
+
# Tuned model endpoint format:
|
489
|
+
# `projects/{project}/locations/{location}/endpoints/{endpoint}`
|
481
490
|
# @!attribute [rw] contents
|
482
491
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::Content>]
|
483
492
|
# Required. The content of the current conversation with the model.
|
@@ -502,6 +511,15 @@ module Google
|
|
502
511
|
# @return [::Google::Cloud::AIPlatform::V1::ToolConfig]
|
503
512
|
# Optional. Tool config. This config is shared for all tools provided in the
|
504
513
|
# request.
|
514
|
+
# @!attribute [rw] labels
|
515
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
516
|
+
# Optional. The labels with user-defined metadata for the request. It is used
|
517
|
+
# for billing and reporting only.
|
518
|
+
#
|
519
|
+
# Label keys and values can be no longer than 63 characters
|
520
|
+
# (Unicode codepoints) and can only contain lowercase letters, numeric
|
521
|
+
# characters, underscores, and dashes. International characters are allowed.
|
522
|
+
# Label values are optional. Label keys must start with a letter.
|
505
523
|
# @!attribute [rw] safety_settings
|
506
524
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::SafetySetting>]
|
507
525
|
# Optional. Per request settings for blocking unsafe content.
|
@@ -512,12 +530,24 @@ module Google
|
|
512
530
|
class GenerateContentRequest
|
513
531
|
include ::Google::Protobuf::MessageExts
|
514
532
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
533
|
+
|
534
|
+
# @!attribute [rw] key
|
535
|
+
# @return [::String]
|
536
|
+
# @!attribute [rw] value
|
537
|
+
# @return [::String]
|
538
|
+
class LabelsEntry
|
539
|
+
include ::Google::Protobuf::MessageExts
|
540
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
541
|
+
end
|
515
542
|
end
|
516
543
|
|
517
544
|
# Response message for [PredictionService.GenerateContent].
|
518
545
|
# @!attribute [r] candidates
|
519
546
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::Candidate>]
|
520
547
|
# Output only. Generated candidates.
|
548
|
+
# @!attribute [r] model_version
|
549
|
+
# @return [::String]
|
550
|
+
# Output only. The model version used to generate the response.
|
521
551
|
# @!attribute [r] prompt_feedback
|
522
552
|
# @return [::Google::Cloud::AIPlatform::V1::GenerateContentResponse::PromptFeedback]
|
523
553
|
# Output only. Content filter results for a prompt sent in the request.
|
@@ -575,6 +605,7 @@ module Google
|
|
575
605
|
# Number of tokens in the response(s).
|
576
606
|
# @!attribute [rw] total_token_count
|
577
607
|
# @return [::Integer]
|
608
|
+
# Total token count for prompt and response candidates.
|
578
609
|
class UsageMetadata
|
579
610
|
include ::Google::Protobuf::MessageExts
|
580
611
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -252,6 +252,9 @@ module Google
|
|
252
252
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
253
253
|
# Optional. Labels for the deployment. For managing deployment config
|
254
254
|
# like verifying, source of deployment config, etc.
|
255
|
+
# @!attribute [rw] sample_request
|
256
|
+
# @return [::String]
|
257
|
+
# Optional. Sample request for deployed endpoint.
|
255
258
|
class DeployMetadata
|
256
259
|
include ::Google::Protobuf::MessageExts
|
257
260
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -37,6 +37,10 @@ module Google
|
|
37
37
|
# {::Google::Cloud::AIPlatform::V1::PipelineService::Client#create_pipeline_job PipelineService.CreatePipelineJob}.
|
38
38
|
# CreatePipelineJobRequest.parent field is required (format:
|
39
39
|
# projects/\\{project}/locations/\\{location}).
|
40
|
+
# @!attribute [rw] create_notebook_execution_job_request
|
41
|
+
# @return [::Google::Cloud::AIPlatform::V1::CreateNotebookExecutionJobRequest]
|
42
|
+
# Request for
|
43
|
+
# {::Google::Cloud::AIPlatform::V1::NotebookService::Client#create_notebook_execution_job NotebookService.CreateNotebookExecutionJob}.
|
40
44
|
# @!attribute [rw] name
|
41
45
|
# @return [::String]
|
42
46
|
# Immutable. The resource name of the Schedule.
|
@@ -21,6 +21,24 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module AIPlatform
|
23
23
|
module V1
|
24
|
+
# PSC config that is used to automatically create forwarding rule via
|
25
|
+
# ServiceConnectionMap.
|
26
|
+
# @!attribute [rw] project_id
|
27
|
+
# @return [::String]
|
28
|
+
# Required. Project id used to create forwarding rule.
|
29
|
+
# @!attribute [rw] network
|
30
|
+
# @return [::String]
|
31
|
+
# Required. The full name of the Google Compute Engine
|
32
|
+
# [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
|
33
|
+
# [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert):
|
34
|
+
# `projects/{project}/global/networks/{network}`.
|
35
|
+
# Where \\{project} is a project number, as in '12345', and \\{network} is
|
36
|
+
# network name.
|
37
|
+
class PSCAutomationConfig
|
38
|
+
include ::Google::Protobuf::MessageExts
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
40
|
+
end
|
41
|
+
|
24
42
|
# Represents configuration for private service connect.
|
25
43
|
# @!attribute [rw] enable_private_service_connect
|
26
44
|
# @return [::Boolean]
|
@@ -29,6 +47,11 @@ module Google
|
|
29
47
|
# @return [::Array<::String>]
|
30
48
|
# A list of Projects from which the forwarding rule will target the service
|
31
49
|
# attachment.
|
50
|
+
# @!attribute [r] service_attachment
|
51
|
+
# @return [::String]
|
52
|
+
# Output only. The name of the generated service attachment resource.
|
53
|
+
# This is only populated if the endpoint is deployed with
|
54
|
+
# PrivateServiceConnect.
|
32
55
|
class PrivateServiceConnectConfig
|
33
56
|
include ::Google::Protobuf::MessageExts
|
34
57
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -135,10 +135,10 @@ module Google
|
|
135
135
|
end
|
136
136
|
|
137
137
|
# Retrieve from Vertex AI Search datastore for grounding.
|
138
|
-
# See https://cloud.google.com/
|
138
|
+
# See https://cloud.google.com/products/agent-builder
|
139
139
|
# @!attribute [rw] datastore
|
140
140
|
# @return [::String]
|
141
|
-
# Required. Fully-qualified Vertex AI Search
|
141
|
+
# Required. Fully-qualified Vertex AI Search data store resource ID.
|
142
142
|
# Format:
|
143
143
|
# `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
|
144
144
|
class VertexAISearch
|
@@ -147,11 +147,36 @@ module Google
|
|
147
147
|
end
|
148
148
|
|
149
149
|
# Tool to retrieve public web data for grounding, powered by Google.
|
150
|
+
# @!attribute [rw] dynamic_retrieval_config
|
151
|
+
# @return [::Google::Cloud::AIPlatform::V1::DynamicRetrievalConfig]
|
152
|
+
# Specifies the dynamic retrieval configuration for the given source.
|
150
153
|
class GoogleSearchRetrieval
|
151
154
|
include ::Google::Protobuf::MessageExts
|
152
155
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
153
156
|
end
|
154
157
|
|
158
|
+
# Describes the options to customize dynamic retrieval.
|
159
|
+
# @!attribute [rw] mode
|
160
|
+
# @return [::Google::Cloud::AIPlatform::V1::DynamicRetrievalConfig::Mode]
|
161
|
+
# The mode of the predictor to be used in dynamic retrieval.
|
162
|
+
# @!attribute [rw] dynamic_threshold
|
163
|
+
# @return [::Float]
|
164
|
+
# Optional. The threshold to be used in dynamic retrieval.
|
165
|
+
# If not set, a system default value is used.
|
166
|
+
class DynamicRetrievalConfig
|
167
|
+
include ::Google::Protobuf::MessageExts
|
168
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
169
|
+
|
170
|
+
# The mode of the predictor to be used in dynamic retrieval.
|
171
|
+
module Mode
|
172
|
+
# Always trigger retrieval.
|
173
|
+
MODE_UNSPECIFIED = 0
|
174
|
+
|
175
|
+
# Run retrieval only when system decides it is necessary.
|
176
|
+
MODE_DYNAMIC = 1
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
155
180
|
# Tool config. This config is shared for all tools provided in the request.
|
156
181
|
# @!attribute [rw] function_calling_config
|
157
182
|
# @return [::Google::Cloud::AIPlatform::V1::FunctionCallingConfig]
|
@@ -180,7 +205,7 @@ module Google
|
|
180
205
|
MODE_UNSPECIFIED = 0
|
181
206
|
|
182
207
|
# Default model behavior, model decides to predict either a function call
|
183
|
-
# or a natural language
|
208
|
+
# or a natural language response.
|
184
209
|
AUTO = 1
|
185
210
|
|
186
211
|
# Model is constrained to always predicting a function call only.
|
@@ -203,6 +203,14 @@ module Google
|
|
203
203
|
# @!attribute [r] user_dataset_examples
|
204
204
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::Content>]
|
205
205
|
# Output only. Sample user messages in the training dataset uri.
|
206
|
+
# @!attribute [rw] total_truncated_example_count
|
207
|
+
# @return [::Integer]
|
208
|
+
# The number of examples in the dataset that have been truncated by any
|
209
|
+
# amount.
|
210
|
+
# @!attribute [rw] truncated_example_indices
|
211
|
+
# @return [::Array<::Integer>]
|
212
|
+
# A partial sample of the indices (starting from 1) of the truncated
|
213
|
+
# examples.
|
206
214
|
class SupervisedTuningDataStats
|
207
215
|
include ::Google::Protobuf::MessageExts
|
208
216
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -252,7 +260,7 @@ module Google
|
|
252
260
|
end
|
253
261
|
end
|
254
262
|
|
255
|
-
# Tuning Spec for Supervised Tuning.
|
263
|
+
# Tuning Spec for Supervised Tuning for first party models.
|
256
264
|
# @!attribute [rw] training_dataset_uri
|
257
265
|
# @return [::String]
|
258
266
|
# Required. Cloud Storage path to file containing training dataset for
|
@@ -268,6 +276,23 @@ module Google
|
|
268
276
|
include ::Google::Protobuf::MessageExts
|
269
277
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
270
278
|
end
|
279
|
+
|
280
|
+
# TunedModel Reference for legacy model migration.
|
281
|
+
# @!attribute [rw] tuned_model
|
282
|
+
# @return [::String]
|
283
|
+
# Support migration from model registry.
|
284
|
+
# @!attribute [rw] tuning_job
|
285
|
+
# @return [::String]
|
286
|
+
# Support migration from tuning job list page, from gemini-1.0-pro-002
|
287
|
+
# to 1.5 and above.
|
288
|
+
# @!attribute [rw] pipeline_job
|
289
|
+
# @return [::String]
|
290
|
+
# Support migration from tuning job list page, from bison model to gemini
|
291
|
+
# model.
|
292
|
+
class TunedModelRef
|
293
|
+
include ::Google::Protobuf::MessageExts
|
294
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
295
|
+
end
|
271
296
|
end
|
272
297
|
end
|
273
298
|
end
|
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.55.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-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -179,9 +179,11 @@ files:
|
|
179
179
|
- lib/google/cloud/ai_platform/v1/gen_ai_tuning_service.rb
|
180
180
|
- lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/client.rb
|
181
181
|
- lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/credentials.rb
|
182
|
+
- lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/operations.rb
|
182
183
|
- lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/paths.rb
|
183
184
|
- lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest.rb
|
184
185
|
- lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/client.rb
|
186
|
+
- lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/operations.rb
|
185
187
|
- lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/rest/service_stub.rb
|
186
188
|
- lib/google/cloud/ai_platform/v1/index_endpoint_service.rb
|
187
189
|
- lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb
|
@@ -649,7 +651,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
649
651
|
- !ruby/object:Gem::Version
|
650
652
|
version: '0'
|
651
653
|
requirements: []
|
652
|
-
rubygems_version: 3.5.
|
654
|
+
rubygems_version: 3.5.21
|
653
655
|
signing_key:
|
654
656
|
specification_version: 4
|
655
657
|
summary: Train high-quality custom machine learning models with minimal machine learning
|