google-apis-aiplatform_v1beta1 0.55.0 → 0.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +729 -54
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +307 -21
- data/lib/google/apis/aiplatform_v1beta1/service.rb +34 -0
- metadata +2 -2
@@ -1118,18 +1118,6 @@ module Google
|
|
1118
1118
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiRequestReadConfig]
|
1119
1119
|
attr_accessor :gemini_request_read_config
|
1120
1120
|
|
1121
|
-
# Template configuration to create Gemini examples from a multimodal dataset.
|
1122
|
-
# Corresponds to the JSON property `geminiTemplateConfig`
|
1123
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig]
|
1124
|
-
attr_accessor :gemini_template_config
|
1125
|
-
|
1126
|
-
# Optional. The column name in the underlying table that contains already fully
|
1127
|
-
# assembled requests. If this field is set, the original request will be copied
|
1128
|
-
# to the output table.
|
1129
|
-
# Corresponds to the JSON property `requestColumnName`
|
1130
|
-
# @return [String]
|
1131
|
-
attr_accessor :request_column_name
|
1132
|
-
|
1133
1121
|
def initialize(**args)
|
1134
1122
|
update!(**args)
|
1135
1123
|
end
|
@@ -1137,8 +1125,6 @@ module Google
|
|
1137
1125
|
# Update properties of this object
|
1138
1126
|
def update!(**args)
|
1139
1127
|
@gemini_request_read_config = args[:gemini_request_read_config] if args.key?(:gemini_request_read_config)
|
1140
|
-
@gemini_template_config = args[:gemini_template_config] if args.key?(:gemini_template_config)
|
1141
|
-
@request_column_name = args[:request_column_name] if args.key?(:request_column_name)
|
1142
1128
|
end
|
1143
1129
|
end
|
1144
1130
|
|
@@ -1162,17 +1148,6 @@ module Google
|
|
1162
1148
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiRequestReadConfig]
|
1163
1149
|
attr_accessor :gemini_request_read_config
|
1164
1150
|
|
1165
|
-
# Template configuration to create Gemini examples from a multimodal dataset.
|
1166
|
-
# Corresponds to the JSON property `geminiTemplateConfig`
|
1167
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig]
|
1168
|
-
attr_accessor :gemini_template_config
|
1169
|
-
|
1170
|
-
# Optional. The column name in the underlying table that contains already fully
|
1171
|
-
# assembled requests.
|
1172
|
-
# Corresponds to the JSON property `requestColumnName`
|
1173
|
-
# @return [String]
|
1174
|
-
attr_accessor :request_column_name
|
1175
|
-
|
1176
1151
|
# Configuration for the tuning resource usage assessment.
|
1177
1152
|
# Corresponds to the JSON property `tuningResourceUsageAssessmentConfig`
|
1178
1153
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig]
|
@@ -1192,8 +1167,6 @@ module Google
|
|
1192
1167
|
@batch_prediction_resource_usage_assessment_config = args[:batch_prediction_resource_usage_assessment_config] if args.key?(:batch_prediction_resource_usage_assessment_config)
|
1193
1168
|
@batch_prediction_validation_assessment_config = args[:batch_prediction_validation_assessment_config] if args.key?(:batch_prediction_validation_assessment_config)
|
1194
1169
|
@gemini_request_read_config = args[:gemini_request_read_config] if args.key?(:gemini_request_read_config)
|
1195
|
-
@gemini_template_config = args[:gemini_template_config] if args.key?(:gemini_template_config)
|
1196
|
-
@request_column_name = args[:request_column_name] if args.key?(:request_column_name)
|
1197
1170
|
@tuning_resource_usage_assessment_config = args[:tuning_resource_usage_assessment_config] if args.key?(:tuning_resource_usage_assessment_config)
|
1198
1171
|
@tuning_validation_assessment_config = args[:tuning_validation_assessment_config] if args.key?(:tuning_validation_assessment_config)
|
1199
1172
|
end
|
@@ -1809,7 +1782,8 @@ module Google
|
|
1809
1782
|
|
1810
1783
|
# Required. The resource metric name. Supported metrics: * For Online Prediction:
|
1811
1784
|
# * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` * `
|
1812
|
-
# aiplatform.googleapis.com/prediction/online/cpu/utilization`
|
1785
|
+
# aiplatform.googleapis.com/prediction/online/cpu/utilization` * `aiplatform.
|
1786
|
+
# googleapis.com/prediction/online/request_count`
|
1813
1787
|
# Corresponds to the JSON property `metricName`
|
1814
1788
|
# @return [String]
|
1815
1789
|
attr_accessor :metric_name
|
@@ -2037,6 +2011,12 @@ module Google
|
|
2037
2011
|
class GoogleCloudAiplatformV1beta1BatchDedicatedResources
|
2038
2012
|
include Google::Apis::Core::Hashable
|
2039
2013
|
|
2014
|
+
# FlexStart is used to schedule the deployment workload on DWS resource. It
|
2015
|
+
# contains the max duration of the deployment.
|
2016
|
+
# Corresponds to the JSON property `flexStart`
|
2017
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FlexStart]
|
2018
|
+
attr_accessor :flex_start
|
2019
|
+
|
2040
2020
|
# Specification of a single machine.
|
2041
2021
|
# Corresponds to the JSON property `machineSpec`
|
2042
2022
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec]
|
@@ -2048,6 +2028,13 @@ module Google
|
|
2048
2028
|
# @return [Fixnum]
|
2049
2029
|
attr_accessor :max_replica_count
|
2050
2030
|
|
2031
|
+
# Optional. If true, schedule the deployment workload on [spot VMs](https://
|
2032
|
+
# cloud.google.com/kubernetes-engine/docs/concepts/spot-vms).
|
2033
|
+
# Corresponds to the JSON property `spot`
|
2034
|
+
# @return [Boolean]
|
2035
|
+
attr_accessor :spot
|
2036
|
+
alias_method :spot?, :spot
|
2037
|
+
|
2051
2038
|
# Immutable. The number of machine replicas used at the start of the batch
|
2052
2039
|
# operation. If not set, Vertex AI decides starting number, not greater than
|
2053
2040
|
# max_replica_count
|
@@ -2061,8 +2048,10 @@ module Google
|
|
2061
2048
|
|
2062
2049
|
# Update properties of this object
|
2063
2050
|
def update!(**args)
|
2051
|
+
@flex_start = args[:flex_start] if args.key?(:flex_start)
|
2064
2052
|
@machine_spec = args[:machine_spec] if args.key?(:machine_spec)
|
2065
2053
|
@max_replica_count = args[:max_replica_count] if args.key?(:max_replica_count)
|
2054
|
+
@spot = args[:spot] if args.key?(:spot)
|
2066
2055
|
@starting_replica_count = args[:starting_replica_count] if args.key?(:starting_replica_count)
|
2067
2056
|
end
|
2068
2057
|
end
|
@@ -4771,6 +4760,12 @@ module Google
|
|
4771
4760
|
class GoogleCloudAiplatformV1beta1CreateEndpointOperationMetadata
|
4772
4761
|
include Google::Apis::Core::Hashable
|
4773
4762
|
|
4763
|
+
# Output only. The deployment stage of the model. Only populated if this
|
4764
|
+
# CreateEndpoint request deploys a model at the same time.
|
4765
|
+
# Corresponds to the JSON property `deploymentStage`
|
4766
|
+
# @return [String]
|
4767
|
+
attr_accessor :deployment_stage
|
4768
|
+
|
4774
4769
|
# Generic Metadata shared by all operations.
|
4775
4770
|
# Corresponds to the JSON property `genericMetadata`
|
4776
4771
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
@@ -4782,6 +4777,7 @@ module Google
|
|
4782
4777
|
|
4783
4778
|
# Update properties of this object
|
4784
4779
|
def update!(**args)
|
4780
|
+
@deployment_stage = args[:deployment_stage] if args.key?(:deployment_stage)
|
4785
4781
|
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
4786
4782
|
end
|
4787
4783
|
end
|
@@ -6736,6 +6732,11 @@ module Google
|
|
6736
6732
|
class GoogleCloudAiplatformV1beta1DeployModelOperationMetadata
|
6737
6733
|
include Google::Apis::Core::Hashable
|
6738
6734
|
|
6735
|
+
# Output only. The deployment stage of the model.
|
6736
|
+
# Corresponds to the JSON property `deploymentStage`
|
6737
|
+
# @return [String]
|
6738
|
+
attr_accessor :deployment_stage
|
6739
|
+
|
6739
6740
|
# Generic Metadata shared by all operations.
|
6740
6741
|
# Corresponds to the JSON property `genericMetadata`
|
6741
6742
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
@@ -6747,6 +6748,7 @@ module Google
|
|
6747
6748
|
|
6748
6749
|
# Update properties of this object
|
6749
6750
|
def update!(**args)
|
6751
|
+
@deployment_stage = args[:deployment_stage] if args.key?(:deployment_stage)
|
6750
6752
|
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
6751
6753
|
end
|
6752
6754
|
end
|
@@ -7129,6 +7131,12 @@ module Google
|
|
7129
7131
|
# @return [String]
|
7130
7132
|
attr_accessor :deployment_group
|
7131
7133
|
|
7134
|
+
# Optional. The deployment tier that the index is deployed to.
|
7135
|
+
# DEPLOYMENT_TIER_UNSPECIFIED defaults to PERFORMANCE.
|
7136
|
+
# Corresponds to the JSON property `deploymentTier`
|
7137
|
+
# @return [String]
|
7138
|
+
attr_accessor :deployment_tier
|
7139
|
+
|
7132
7140
|
# The display name of the DeployedIndex. If not provided upon creation, the
|
7133
7141
|
# Index's display_name is used.
|
7134
7142
|
# Corresponds to the JSON property `displayName`
|
@@ -7221,6 +7229,7 @@ module Google
|
|
7221
7229
|
@dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
|
7222
7230
|
@deployed_index_auth_config = args[:deployed_index_auth_config] if args.key?(:deployed_index_auth_config)
|
7223
7231
|
@deployment_group = args[:deployment_group] if args.key?(:deployment_group)
|
7232
|
+
@deployment_tier = args[:deployment_tier] if args.key?(:deployment_tier)
|
7224
7233
|
@display_name = args[:display_name] if args.key?(:display_name)
|
7225
7234
|
@enable_access_logging = args[:enable_access_logging] if args.key?(:enable_access_logging)
|
7226
7235
|
@enable_datapoint_upsert_logging = args[:enable_datapoint_upsert_logging] if args.key?(:enable_datapoint_upsert_logging)
|
@@ -8198,12 +8207,19 @@ module Google
|
|
8198
8207
|
class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
|
8199
8208
|
include Google::Apis::Core::Hashable
|
8200
8209
|
|
8210
|
+
# Optional. List of domains to be excluded from the search results. The default
|
8211
|
+
# limit is 2000 domains.
|
8212
|
+
# Corresponds to the JSON property `excludeDomains`
|
8213
|
+
# @return [Array<String>]
|
8214
|
+
attr_accessor :exclude_domains
|
8215
|
+
|
8201
8216
|
def initialize(**args)
|
8202
8217
|
update!(**args)
|
8203
8218
|
end
|
8204
8219
|
|
8205
8220
|
# Update properties of this object
|
8206
8221
|
def update!(**args)
|
8222
|
+
@exclude_domains = args[:exclude_domains] if args.key?(:exclude_domains)
|
8207
8223
|
end
|
8208
8224
|
end
|
8209
8225
|
|
@@ -12742,6 +12758,11 @@ module Google
|
|
12742
12758
|
# @return [String]
|
12743
12759
|
attr_accessor :name
|
12744
12760
|
|
12761
|
+
# Value for a feature.
|
12762
|
+
# Corresponds to the JSON property `value`
|
12763
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureValue]
|
12764
|
+
attr_accessor :value
|
12765
|
+
|
12745
12766
|
# Feature value and timestamp.
|
12746
12767
|
# Corresponds to the JSON property `valueAndTimestamp`
|
12747
12768
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeatureFeatureValueAndTimestamp]
|
@@ -12754,6 +12775,7 @@ module Google
|
|
12754
12775
|
# Update properties of this object
|
12755
12776
|
def update!(**args)
|
12756
12777
|
@name = args[:name] if args.key?(:name)
|
12778
|
+
@value = args[:value] if args.key?(:value)
|
12757
12779
|
@value_and_timestamp = args[:value_and_timestamp] if args.key?(:value_and_timestamp)
|
12758
12780
|
end
|
12759
12781
|
end
|
@@ -14665,6 +14687,59 @@ module Google
|
|
14665
14687
|
end
|
14666
14688
|
end
|
14667
14689
|
|
14690
|
+
# Input example for preference optimization.
|
14691
|
+
class GoogleCloudAiplatformV1beta1GeminiPreferenceExample
|
14692
|
+
include Google::Apis::Core::Hashable
|
14693
|
+
|
14694
|
+
# List of completions for a given prompt.
|
14695
|
+
# Corresponds to the JSON property `completions`
|
14696
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiPreferenceExampleCompletion>]
|
14697
|
+
attr_accessor :completions
|
14698
|
+
|
14699
|
+
# Multi-turn contents that represents the Prompt.
|
14700
|
+
# Corresponds to the JSON property `contents`
|
14701
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>]
|
14702
|
+
attr_accessor :contents
|
14703
|
+
|
14704
|
+
def initialize(**args)
|
14705
|
+
update!(**args)
|
14706
|
+
end
|
14707
|
+
|
14708
|
+
# Update properties of this object
|
14709
|
+
def update!(**args)
|
14710
|
+
@completions = args[:completions] if args.key?(:completions)
|
14711
|
+
@contents = args[:contents] if args.key?(:contents)
|
14712
|
+
end
|
14713
|
+
end
|
14714
|
+
|
14715
|
+
# Completion and its preference score.
|
14716
|
+
class GoogleCloudAiplatformV1beta1GeminiPreferenceExampleCompletion
|
14717
|
+
include Google::Apis::Core::Hashable
|
14718
|
+
|
14719
|
+
# The base structured datatype containing multi-part content of a message. A `
|
14720
|
+
# Content` includes a `role` field designating the producer of the `Content` and
|
14721
|
+
# a `parts` field containing multi-part data that contains the content of the
|
14722
|
+
# message turn.
|
14723
|
+
# Corresponds to the JSON property `completion`
|
14724
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
|
14725
|
+
attr_accessor :completion
|
14726
|
+
|
14727
|
+
# The score for the given completion.
|
14728
|
+
# Corresponds to the JSON property `score`
|
14729
|
+
# @return [Float]
|
14730
|
+
attr_accessor :score
|
14731
|
+
|
14732
|
+
def initialize(**args)
|
14733
|
+
update!(**args)
|
14734
|
+
end
|
14735
|
+
|
14736
|
+
# Update properties of this object
|
14737
|
+
def update!(**args)
|
14738
|
+
@completion = args[:completion] if args.key?(:completion)
|
14739
|
+
@score = args[:score] if args.key?(:score)
|
14740
|
+
end
|
14741
|
+
end
|
14742
|
+
|
14668
14743
|
# Configuration for how to read Gemini requests from a multimodal dataset.
|
14669
14744
|
class GoogleCloudAiplatformV1beta1GeminiRequestReadConfig
|
14670
14745
|
include Google::Apis::Core::Hashable
|
@@ -15070,6 +15145,12 @@ module Google
|
|
15070
15145
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectContentsSource]
|
15071
15146
|
attr_accessor :direct_contents_source
|
15072
15147
|
|
15148
|
+
# Defines a direct source of memories that should be uploaded to Memory Bank
|
15149
|
+
# with consolidation.
|
15150
|
+
# Corresponds to the JSON property `directMemoriesSource`
|
15151
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource]
|
15152
|
+
attr_accessor :direct_memories_source
|
15153
|
+
|
15073
15154
|
# Optional. If true, generated memories will not be consolidated with existing
|
15074
15155
|
# memories; all generated memories will be added as new memories regardless of
|
15075
15156
|
# whether they are duplicates of or contradictory to existing memories. By
|
@@ -15102,6 +15183,7 @@ module Google
|
|
15102
15183
|
# Update properties of this object
|
15103
15184
|
def update!(**args)
|
15104
15185
|
@direct_contents_source = args[:direct_contents_source] if args.key?(:direct_contents_source)
|
15186
|
+
@direct_memories_source = args[:direct_memories_source] if args.key?(:direct_memories_source)
|
15105
15187
|
@disable_consolidation = args[:disable_consolidation] if args.key?(:disable_consolidation)
|
15106
15188
|
@scope = args[:scope] if args.key?(:scope)
|
15107
15189
|
@vertex_session_source = args[:vertex_session_source] if args.key?(:vertex_session_source)
|
@@ -15149,6 +15231,46 @@ module Google
|
|
15149
15231
|
end
|
15150
15232
|
end
|
15151
15233
|
|
15234
|
+
# Defines a direct source of memories that should be uploaded to Memory Bank
|
15235
|
+
# with consolidation.
|
15236
|
+
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource
|
15237
|
+
include Google::Apis::Core::Hashable
|
15238
|
+
|
15239
|
+
# Required. The direct memories to upload to Memory Bank. At most 5 direct
|
15240
|
+
# memories are allowed per request.
|
15241
|
+
# Corresponds to the JSON property `directMemories`
|
15242
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory>]
|
15243
|
+
attr_accessor :direct_memories
|
15244
|
+
|
15245
|
+
def initialize(**args)
|
15246
|
+
update!(**args)
|
15247
|
+
end
|
15248
|
+
|
15249
|
+
# Update properties of this object
|
15250
|
+
def update!(**args)
|
15251
|
+
@direct_memories = args[:direct_memories] if args.key?(:direct_memories)
|
15252
|
+
end
|
15253
|
+
end
|
15254
|
+
|
15255
|
+
# A direct memory to upload to Memory Bank.
|
15256
|
+
class GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory
|
15257
|
+
include Google::Apis::Core::Hashable
|
15258
|
+
|
15259
|
+
# Required. The fact to consolidate with existing memories.
|
15260
|
+
# Corresponds to the JSON property `fact`
|
15261
|
+
# @return [String]
|
15262
|
+
attr_accessor :fact
|
15263
|
+
|
15264
|
+
def initialize(**args)
|
15265
|
+
update!(**args)
|
15266
|
+
end
|
15267
|
+
|
15268
|
+
# Update properties of this object
|
15269
|
+
def update!(**args)
|
15270
|
+
@fact = args[:fact] if args.key?(:fact)
|
15271
|
+
end
|
15272
|
+
end
|
15273
|
+
|
15152
15274
|
# Defines an Agent Engine Session from which to generate the memories. If `scope`
|
15153
15275
|
# is not provided, the scope will be extracted from the Session (i.e. `"user_id"
|
15154
15276
|
# : sesison.user_id`).
|
@@ -15634,6 +15756,32 @@ module Google
|
|
15634
15756
|
end
|
15635
15757
|
end
|
15636
15758
|
|
15759
|
+
# Tool to retrieve public maps data for grounding, powered by Google.
|
15760
|
+
class GoogleCloudAiplatformV1beta1GoogleMaps
|
15761
|
+
include Google::Apis::Core::Hashable
|
15762
|
+
|
15763
|
+
# The generic reusable api auth config. Deprecated. Please use AuthConfig (
|
15764
|
+
# google/cloud/aiplatform/master/auth.proto) instead.
|
15765
|
+
# Corresponds to the JSON property `apiAuth`
|
15766
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ApiAuth]
|
15767
|
+
attr_accessor :api_auth
|
15768
|
+
|
15769
|
+
# Auth configuration to run the extension.
|
15770
|
+
# Corresponds to the JSON property `authConfig`
|
15771
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AuthConfig]
|
15772
|
+
attr_accessor :auth_config
|
15773
|
+
|
15774
|
+
def initialize(**args)
|
15775
|
+
update!(**args)
|
15776
|
+
end
|
15777
|
+
|
15778
|
+
# Update properties of this object
|
15779
|
+
def update!(**args)
|
15780
|
+
@api_auth = args[:api_auth] if args.key?(:api_auth)
|
15781
|
+
@auth_config = args[:auth_config] if args.key?(:auth_config)
|
15782
|
+
end
|
15783
|
+
end
|
15784
|
+
|
15637
15785
|
# Tool to retrieve public web data for grounding, powered by Google.
|
15638
15786
|
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
15639
15787
|
include Google::Apis::Core::Hashable
|
@@ -15758,6 +15906,11 @@ module Google
|
|
15758
15906
|
class GoogleCloudAiplatformV1beta1GroundingChunk
|
15759
15907
|
include Google::Apis::Core::Hashable
|
15760
15908
|
|
15909
|
+
# Chunk from Google Maps.
|
15910
|
+
# Corresponds to the JSON property `maps`
|
15911
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkMaps]
|
15912
|
+
attr_accessor :maps
|
15913
|
+
|
15761
15914
|
# Chunk from context retrieved by the retrieval tools.
|
15762
15915
|
# Corresponds to the JSON property `retrievedContext`
|
15763
15916
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext]
|
@@ -15774,11 +15927,157 @@ module Google
|
|
15774
15927
|
|
15775
15928
|
# Update properties of this object
|
15776
15929
|
def update!(**args)
|
15930
|
+
@maps = args[:maps] if args.key?(:maps)
|
15777
15931
|
@retrieved_context = args[:retrieved_context] if args.key?(:retrieved_context)
|
15778
15932
|
@web = args[:web] if args.key?(:web)
|
15779
15933
|
end
|
15780
15934
|
end
|
15781
15935
|
|
15936
|
+
# Chunk from Google Maps.
|
15937
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkMaps
|
15938
|
+
include Google::Apis::Core::Hashable
|
15939
|
+
|
15940
|
+
# Sources used to generate the place answer.
|
15941
|
+
# Corresponds to the JSON property `placeAnswerSources`
|
15942
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources]
|
15943
|
+
attr_accessor :place_answer_sources
|
15944
|
+
|
15945
|
+
# This Place's resource name, in `places/`place_id`` format. Can be used to look
|
15946
|
+
# up the Place.
|
15947
|
+
# Corresponds to the JSON property `placeId`
|
15948
|
+
# @return [String]
|
15949
|
+
attr_accessor :place_id
|
15950
|
+
|
15951
|
+
# Text of the chunk.
|
15952
|
+
# Corresponds to the JSON property `text`
|
15953
|
+
# @return [String]
|
15954
|
+
attr_accessor :text
|
15955
|
+
|
15956
|
+
# Title of the chunk.
|
15957
|
+
# Corresponds to the JSON property `title`
|
15958
|
+
# @return [String]
|
15959
|
+
attr_accessor :title
|
15960
|
+
|
15961
|
+
# URI reference of the chunk.
|
15962
|
+
# Corresponds to the JSON property `uri`
|
15963
|
+
# @return [String]
|
15964
|
+
attr_accessor :uri
|
15965
|
+
|
15966
|
+
def initialize(**args)
|
15967
|
+
update!(**args)
|
15968
|
+
end
|
15969
|
+
|
15970
|
+
# Update properties of this object
|
15971
|
+
def update!(**args)
|
15972
|
+
@place_answer_sources = args[:place_answer_sources] if args.key?(:place_answer_sources)
|
15973
|
+
@place_id = args[:place_id] if args.key?(:place_id)
|
15974
|
+
@text = args[:text] if args.key?(:text)
|
15975
|
+
@title = args[:title] if args.key?(:title)
|
15976
|
+
@uri = args[:uri] if args.key?(:uri)
|
15977
|
+
end
|
15978
|
+
end
|
15979
|
+
|
15980
|
+
# Sources used to generate the place answer.
|
15981
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources
|
15982
|
+
include Google::Apis::Core::Hashable
|
15983
|
+
|
15984
|
+
# A link where users can flag a problem with the generated answer.
|
15985
|
+
# Corresponds to the JSON property `flagContentUri`
|
15986
|
+
# @return [String]
|
15987
|
+
attr_accessor :flag_content_uri
|
15988
|
+
|
15989
|
+
# Snippets of reviews that are used to generate the answer.
|
15990
|
+
# Corresponds to the JSON property `reviewSnippets`
|
15991
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet>]
|
15992
|
+
attr_accessor :review_snippets
|
15993
|
+
|
15994
|
+
def initialize(**args)
|
15995
|
+
update!(**args)
|
15996
|
+
end
|
15997
|
+
|
15998
|
+
# Update properties of this object
|
15999
|
+
def update!(**args)
|
16000
|
+
@flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
|
16001
|
+
@review_snippets = args[:review_snippets] if args.key?(:review_snippets)
|
16002
|
+
end
|
16003
|
+
end
|
16004
|
+
|
16005
|
+
# Author attribution for a photo or review.
|
16006
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
|
16007
|
+
include Google::Apis::Core::Hashable
|
16008
|
+
|
16009
|
+
# Name of the author of the Photo or Review.
|
16010
|
+
# Corresponds to the JSON property `displayName`
|
16011
|
+
# @return [String]
|
16012
|
+
attr_accessor :display_name
|
16013
|
+
|
16014
|
+
# Profile photo URI of the author of the Photo or Review.
|
16015
|
+
# Corresponds to the JSON property `photoUri`
|
16016
|
+
# @return [String]
|
16017
|
+
attr_accessor :photo_uri
|
16018
|
+
|
16019
|
+
# URI of the author of the Photo or Review.
|
16020
|
+
# Corresponds to the JSON property `uri`
|
16021
|
+
# @return [String]
|
16022
|
+
attr_accessor :uri
|
16023
|
+
|
16024
|
+
def initialize(**args)
|
16025
|
+
update!(**args)
|
16026
|
+
end
|
16027
|
+
|
16028
|
+
# Update properties of this object
|
16029
|
+
def update!(**args)
|
16030
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
16031
|
+
@photo_uri = args[:photo_uri] if args.key?(:photo_uri)
|
16032
|
+
@uri = args[:uri] if args.key?(:uri)
|
16033
|
+
end
|
16034
|
+
end
|
16035
|
+
|
16036
|
+
# Encapsulates a review snippet.
|
16037
|
+
class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
|
16038
|
+
include Google::Apis::Core::Hashable
|
16039
|
+
|
16040
|
+
# Author attribution for a photo or review.
|
16041
|
+
# Corresponds to the JSON property `authorAttribution`
|
16042
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution]
|
16043
|
+
attr_accessor :author_attribution
|
16044
|
+
|
16045
|
+
# A link where users can flag a problem with the review.
|
16046
|
+
# Corresponds to the JSON property `flagContentUri`
|
16047
|
+
# @return [String]
|
16048
|
+
attr_accessor :flag_content_uri
|
16049
|
+
|
16050
|
+
# A link to show the review on Google Maps.
|
16051
|
+
# Corresponds to the JSON property `googleMapsUri`
|
16052
|
+
# @return [String]
|
16053
|
+
attr_accessor :google_maps_uri
|
16054
|
+
|
16055
|
+
# A string of formatted recent time, expressing the review time relative to the
|
16056
|
+
# current time in a form appropriate for the language and country.
|
16057
|
+
# Corresponds to the JSON property `relativePublishTimeDescription`
|
16058
|
+
# @return [String]
|
16059
|
+
attr_accessor :relative_publish_time_description
|
16060
|
+
|
16061
|
+
# A reference representing this place review which may be used to look up this
|
16062
|
+
# place review again.
|
16063
|
+
# Corresponds to the JSON property `review`
|
16064
|
+
# @return [String]
|
16065
|
+
attr_accessor :review
|
16066
|
+
|
16067
|
+
def initialize(**args)
|
16068
|
+
update!(**args)
|
16069
|
+
end
|
16070
|
+
|
16071
|
+
# Update properties of this object
|
16072
|
+
def update!(**args)
|
16073
|
+
@author_attribution = args[:author_attribution] if args.key?(:author_attribution)
|
16074
|
+
@flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
|
16075
|
+
@google_maps_uri = args[:google_maps_uri] if args.key?(:google_maps_uri)
|
16076
|
+
@relative_publish_time_description = args[:relative_publish_time_description] if args.key?(:relative_publish_time_description)
|
16077
|
+
@review = args[:review] if args.key?(:review)
|
16078
|
+
end
|
16079
|
+
end
|
16080
|
+
|
15782
16081
|
# Chunk from context retrieved by the retrieval tools.
|
15783
16082
|
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
|
15784
16083
|
include Google::Apis::Core::Hashable
|
@@ -15852,6 +16151,13 @@ module Google
|
|
15852
16151
|
class GoogleCloudAiplatformV1beta1GroundingMetadata
|
15853
16152
|
include Google::Apis::Core::Hashable
|
15854
16153
|
|
16154
|
+
# Optional. Output only. Resource name of the Google Maps widget context token
|
16155
|
+
# to be used with the PlacesContextElement widget to render contextual data.
|
16156
|
+
# This is populated only for Google Maps grounding.
|
16157
|
+
# Corresponds to the JSON property `googleMapsWidgetContextToken`
|
16158
|
+
# @return [String]
|
16159
|
+
attr_accessor :google_maps_widget_context_token
|
16160
|
+
|
15855
16161
|
# List of supporting references retrieved from specified grounding source.
|
15856
16162
|
# Corresponds to the JSON property `groundingChunks`
|
15857
16163
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingChunk>]
|
@@ -15888,6 +16194,7 @@ module Google
|
|
15888
16194
|
|
15889
16195
|
# Update properties of this object
|
15890
16196
|
def update!(**args)
|
16197
|
+
@google_maps_widget_context_token = args[:google_maps_widget_context_token] if args.key?(:google_maps_widget_context_token)
|
15891
16198
|
@grounding_chunks = args[:grounding_chunks] if args.key?(:grounding_chunks)
|
15892
16199
|
@grounding_supports = args[:grounding_supports] if args.key?(:grounding_supports)
|
15893
16200
|
@retrieval_metadata = args[:retrieval_metadata] if args.key?(:retrieval_metadata)
|
@@ -16917,6 +17224,11 @@ module Google
|
|
16917
17224
|
# @return [String]
|
16918
17225
|
attr_accessor :datapoint_id
|
16919
17226
|
|
17227
|
+
# Optional. The key-value map of additional metadata for the datapoint.
|
17228
|
+
# Corresponds to the JSON property `embeddingMetadata`
|
17229
|
+
# @return [Hash<String,Object>]
|
17230
|
+
attr_accessor :embedding_metadata
|
17231
|
+
|
16920
17232
|
# Required. Feature embedding vector for dense index. An array of numbers with
|
16921
17233
|
# the length of [NearestNeighborSearchConfig.dimensions].
|
16922
17234
|
# Corresponds to the JSON property `featureVector`
|
@@ -16952,6 +17264,7 @@ module Google
|
|
16952
17264
|
def update!(**args)
|
16953
17265
|
@crowding_tag = args[:crowding_tag] if args.key?(:crowding_tag)
|
16954
17266
|
@datapoint_id = args[:datapoint_id] if args.key?(:datapoint_id)
|
17267
|
+
@embedding_metadata = args[:embedding_metadata] if args.key?(:embedding_metadata)
|
16955
17268
|
@feature_vector = args[:feature_vector] if args.key?(:feature_vector)
|
16956
17269
|
@numeric_restricts = args[:numeric_restricts] if args.key?(:numeric_restricts)
|
16957
17270
|
@restricts = args[:restricts] if args.key?(:restricts)
|
@@ -25141,6 +25454,50 @@ module Google
|
|
25141
25454
|
end
|
25142
25455
|
end
|
25143
25456
|
|
25457
|
+
# Request message for GenAiTuningService.OptimizePrompt.
|
25458
|
+
class GoogleCloudAiplatformV1beta1OptimizePromptRequest
|
25459
|
+
include Google::Apis::Core::Hashable
|
25460
|
+
|
25461
|
+
# The base structured datatype containing multi-part content of a message. A `
|
25462
|
+
# Content` includes a `role` field designating the producer of the `Content` and
|
25463
|
+
# a `parts` field containing multi-part data that contains the content of the
|
25464
|
+
# message turn.
|
25465
|
+
# Corresponds to the JSON property `content`
|
25466
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
|
25467
|
+
attr_accessor :content
|
25468
|
+
|
25469
|
+
def initialize(**args)
|
25470
|
+
update!(**args)
|
25471
|
+
end
|
25472
|
+
|
25473
|
+
# Update properties of this object
|
25474
|
+
def update!(**args)
|
25475
|
+
@content = args[:content] if args.key?(:content)
|
25476
|
+
end
|
25477
|
+
end
|
25478
|
+
|
25479
|
+
# Response message for GenAiTuningService.OptimizePrompt
|
25480
|
+
class GoogleCloudAiplatformV1beta1OptimizePromptResponse
|
25481
|
+
include Google::Apis::Core::Hashable
|
25482
|
+
|
25483
|
+
# The base structured datatype containing multi-part content of a message. A `
|
25484
|
+
# Content` includes a `role` field designating the producer of the `Content` and
|
25485
|
+
# a `parts` field containing multi-part data that contains the content of the
|
25486
|
+
# message turn.
|
25487
|
+
# Corresponds to the JSON property `content`
|
25488
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
|
25489
|
+
attr_accessor :content
|
25490
|
+
|
25491
|
+
def initialize(**args)
|
25492
|
+
update!(**args)
|
25493
|
+
end
|
25494
|
+
|
25495
|
+
# Update properties of this object
|
25496
|
+
def update!(**args)
|
25497
|
+
@content = args[:content] if args.key?(:content)
|
25498
|
+
end
|
25499
|
+
end
|
25500
|
+
|
25144
25501
|
# Config for evaluation output.
|
25145
25502
|
class GoogleCloudAiplatformV1beta1OutputConfig
|
25146
25503
|
include Google::Apis::Core::Hashable
|
@@ -26841,6 +27198,42 @@ module Google
|
|
26841
27198
|
end
|
26842
27199
|
end
|
26843
27200
|
|
27201
|
+
# A pre-tuned model for continuous tuning.
|
27202
|
+
class GoogleCloudAiplatformV1beta1PreTunedModel
|
27203
|
+
include Google::Apis::Core::Hashable
|
27204
|
+
|
27205
|
+
# Output only. The name of the base model this PreTunedModel was tuned from.
|
27206
|
+
# Corresponds to the JSON property `baseModel`
|
27207
|
+
# @return [String]
|
27208
|
+
attr_accessor :base_model
|
27209
|
+
|
27210
|
+
# Optional. The source checkpoint id. If not specified, the default checkpoint
|
27211
|
+
# will be used.
|
27212
|
+
# Corresponds to the JSON property `checkpointId`
|
27213
|
+
# @return [String]
|
27214
|
+
attr_accessor :checkpoint_id
|
27215
|
+
|
27216
|
+
# The resource name of the Model. E.g., a model resource name with a specified
|
27217
|
+
# version id or alias: `projects/`project`/locations/`location`/models/`model`@`
|
27218
|
+
# version_id`` `projects/`project`/locations/`location`/models/`model`@`alias``
|
27219
|
+
# Or, omit the version id to use the default version: `projects/`project`/
|
27220
|
+
# locations/`location`/models/`model``
|
27221
|
+
# Corresponds to the JSON property `tunedModelName`
|
27222
|
+
# @return [String]
|
27223
|
+
attr_accessor :tuned_model_name
|
27224
|
+
|
27225
|
+
def initialize(**args)
|
27226
|
+
update!(**args)
|
27227
|
+
end
|
27228
|
+
|
27229
|
+
# Update properties of this object
|
27230
|
+
def update!(**args)
|
27231
|
+
@base_model = args[:base_model] if args.key?(:base_model)
|
27232
|
+
@checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
|
27233
|
+
@tuned_model_name = args[:tuned_model_name] if args.key?(:tuned_model_name)
|
27234
|
+
end
|
27235
|
+
end
|
27236
|
+
|
26844
27237
|
# The configuration for the prebuilt speaker to use.
|
26845
27238
|
class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
|
26846
27239
|
include Google::Apis::Core::Hashable
|
@@ -27140,6 +27533,138 @@ module Google
|
|
27140
27533
|
end
|
27141
27534
|
end
|
27142
27535
|
|
27536
|
+
# Statistics computed for datasets used for preference optimization.
|
27537
|
+
class GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats
|
27538
|
+
include Google::Apis::Core::Hashable
|
27539
|
+
|
27540
|
+
# Distribution computed over a tuning dataset.
|
27541
|
+
# Corresponds to the JSON property `scoreVariancePerExampleDistribution`
|
27542
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution]
|
27543
|
+
attr_accessor :score_variance_per_example_distribution
|
27544
|
+
|
27545
|
+
# Distribution computed over a tuning dataset.
|
27546
|
+
# Corresponds to the JSON property `scoresDistribution`
|
27547
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution]
|
27548
|
+
attr_accessor :scores_distribution
|
27549
|
+
|
27550
|
+
# Output only. Number of billable tokens in the tuning dataset.
|
27551
|
+
# Corresponds to the JSON property `totalBillableTokenCount`
|
27552
|
+
# @return [Fixnum]
|
27553
|
+
attr_accessor :total_billable_token_count
|
27554
|
+
|
27555
|
+
# Output only. Number of examples in the tuning dataset.
|
27556
|
+
# Corresponds to the JSON property `tuningDatasetExampleCount`
|
27557
|
+
# @return [Fixnum]
|
27558
|
+
attr_accessor :tuning_dataset_example_count
|
27559
|
+
|
27560
|
+
# Output only. Number of tuning steps for this Tuning Job.
|
27561
|
+
# Corresponds to the JSON property `tuningStepCount`
|
27562
|
+
# @return [Fixnum]
|
27563
|
+
attr_accessor :tuning_step_count
|
27564
|
+
|
27565
|
+
# Output only. Sample user examples in the training dataset.
|
27566
|
+
# Corresponds to the JSON property `userDatasetExamples`
|
27567
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiPreferenceExample>]
|
27568
|
+
attr_accessor :user_dataset_examples
|
27569
|
+
|
27570
|
+
# Distribution computed over a tuning dataset.
|
27571
|
+
# Corresponds to the JSON property `userInputTokenDistribution`
|
27572
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution]
|
27573
|
+
attr_accessor :user_input_token_distribution
|
27574
|
+
|
27575
|
+
# Distribution computed over a tuning dataset.
|
27576
|
+
# Corresponds to the JSON property `userOutputTokenDistribution`
|
27577
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution]
|
27578
|
+
attr_accessor :user_output_token_distribution
|
27579
|
+
|
27580
|
+
def initialize(**args)
|
27581
|
+
update!(**args)
|
27582
|
+
end
|
27583
|
+
|
27584
|
+
# Update properties of this object
|
27585
|
+
def update!(**args)
|
27586
|
+
@score_variance_per_example_distribution = args[:score_variance_per_example_distribution] if args.key?(:score_variance_per_example_distribution)
|
27587
|
+
@scores_distribution = args[:scores_distribution] if args.key?(:scores_distribution)
|
27588
|
+
@total_billable_token_count = args[:total_billable_token_count] if args.key?(:total_billable_token_count)
|
27589
|
+
@tuning_dataset_example_count = args[:tuning_dataset_example_count] if args.key?(:tuning_dataset_example_count)
|
27590
|
+
@tuning_step_count = args[:tuning_step_count] if args.key?(:tuning_step_count)
|
27591
|
+
@user_dataset_examples = args[:user_dataset_examples] if args.key?(:user_dataset_examples)
|
27592
|
+
@user_input_token_distribution = args[:user_input_token_distribution] if args.key?(:user_input_token_distribution)
|
27593
|
+
@user_output_token_distribution = args[:user_output_token_distribution] if args.key?(:user_output_token_distribution)
|
27594
|
+
end
|
27595
|
+
end
|
27596
|
+
|
27597
|
+
# Hyperparameters for Preference Optimization.
|
27598
|
+
class GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters
|
27599
|
+
include Google::Apis::Core::Hashable
|
27600
|
+
|
27601
|
+
# Optional. Adapter size for preference optimization.
|
27602
|
+
# Corresponds to the JSON property `adapterSize`
|
27603
|
+
# @return [String]
|
27604
|
+
attr_accessor :adapter_size
|
27605
|
+
|
27606
|
+
# Optional. Weight for KL Divergence regularization.
|
27607
|
+
# Corresponds to the JSON property `beta`
|
27608
|
+
# @return [Float]
|
27609
|
+
attr_accessor :beta
|
27610
|
+
|
27611
|
+
# Optional. Number of complete passes the model makes over the entire training
|
27612
|
+
# dataset during training.
|
27613
|
+
# Corresponds to the JSON property `epochCount`
|
27614
|
+
# @return [Fixnum]
|
27615
|
+
attr_accessor :epoch_count
|
27616
|
+
|
27617
|
+
# Optional. Multiplier for adjusting the default learning rate.
|
27618
|
+
# Corresponds to the JSON property `learningRateMultiplier`
|
27619
|
+
# @return [Float]
|
27620
|
+
attr_accessor :learning_rate_multiplier
|
27621
|
+
|
27622
|
+
def initialize(**args)
|
27623
|
+
update!(**args)
|
27624
|
+
end
|
27625
|
+
|
27626
|
+
# Update properties of this object
|
27627
|
+
def update!(**args)
|
27628
|
+
@adapter_size = args[:adapter_size] if args.key?(:adapter_size)
|
27629
|
+
@beta = args[:beta] if args.key?(:beta)
|
27630
|
+
@epoch_count = args[:epoch_count] if args.key?(:epoch_count)
|
27631
|
+
@learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier)
|
27632
|
+
end
|
27633
|
+
end
|
27634
|
+
|
27635
|
+
# Tuning Spec for Preference Optimization.
|
27636
|
+
class GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec
|
27637
|
+
include Google::Apis::Core::Hashable
|
27638
|
+
|
27639
|
+
# Hyperparameters for Preference Optimization.
|
27640
|
+
# Corresponds to the JSON property `hyperParameters`
|
27641
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreferenceOptimizationHyperParameters]
|
27642
|
+
attr_accessor :hyper_parameters
|
27643
|
+
|
27644
|
+
# Required. Cloud Storage path to file containing training dataset for
|
27645
|
+
# preference optimization tuning. The dataset must be formatted as a JSONL file.
|
27646
|
+
# Corresponds to the JSON property `trainingDatasetUri`
|
27647
|
+
# @return [String]
|
27648
|
+
attr_accessor :training_dataset_uri
|
27649
|
+
|
27650
|
+
# Optional. Cloud Storage path to file containing validation dataset for
|
27651
|
+
# preference optimization tuning. The dataset must be formatted as a JSONL file.
|
27652
|
+
# Corresponds to the JSON property `validationDatasetUri`
|
27653
|
+
# @return [String]
|
27654
|
+
attr_accessor :validation_dataset_uri
|
27655
|
+
|
27656
|
+
def initialize(**args)
|
27657
|
+
update!(**args)
|
27658
|
+
end
|
27659
|
+
|
27660
|
+
# Update properties of this object
|
27661
|
+
def update!(**args)
|
27662
|
+
@hyper_parameters = args[:hyper_parameters] if args.key?(:hyper_parameters)
|
27663
|
+
@training_dataset_uri = args[:training_dataset_uri] if args.key?(:training_dataset_uri)
|
27664
|
+
@validation_dataset_uri = args[:validation_dataset_uri] if args.key?(:validation_dataset_uri)
|
27665
|
+
end
|
27666
|
+
end
|
27667
|
+
|
27143
27668
|
# Preset configuration for example-based explanations
|
27144
27669
|
class GoogleCloudAiplatformV1beta1Presets
|
27145
27670
|
include Google::Apis::Core::Hashable
|
@@ -27933,6 +28458,13 @@ module Google
|
|
27933
28458
|
class GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences
|
27934
28459
|
include Google::Apis::Core::Hashable
|
27935
28460
|
|
28461
|
+
# Optional. For notebook resource. When set to true, the Colab Enterprise link
|
28462
|
+
# will be disabled in the "open notebook" dialog in UI.
|
28463
|
+
# Corresponds to the JSON property `colabNotebookDisabled`
|
28464
|
+
# @return [Boolean]
|
28465
|
+
attr_accessor :colab_notebook_disabled
|
28466
|
+
alias_method :colab_notebook_disabled?, :colab_notebook_disabled
|
28467
|
+
|
27936
28468
|
# Required.
|
27937
28469
|
# Corresponds to the JSON property `references`
|
27938
28470
|
# @return [Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelResourceReference>]
|
@@ -27970,6 +28502,7 @@ module Google
|
|
27970
28502
|
|
27971
28503
|
# Update properties of this object
|
27972
28504
|
def update!(**args)
|
28505
|
+
@colab_notebook_disabled = args[:colab_notebook_disabled] if args.key?(:colab_notebook_disabled)
|
27973
28506
|
@references = args[:references] if args.key?(:references)
|
27974
28507
|
@resource_description = args[:resource_description] if args.key?(:resource_description)
|
27975
28508
|
@resource_title = args[:resource_title] if args.key?(:resource_title)
|
@@ -30916,6 +31449,12 @@ module Google
|
|
30916
31449
|
# @return [String]
|
30917
31450
|
attr_accessor :display_name
|
30918
31451
|
|
31452
|
+
# Represents a customer-managed encryption key spec that can be applied to a top-
|
31453
|
+
# level resource.
|
31454
|
+
# Corresponds to the JSON property `encryptionSpec`
|
31455
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
|
31456
|
+
attr_accessor :encryption_spec
|
31457
|
+
|
30919
31458
|
# Optional. Used to perform consistent read-modify-write updates. If not set, a
|
30920
31459
|
# blind "overwrite" update happens.
|
30921
31460
|
# Corresponds to the JSON property `etag`
|
@@ -30948,6 +31487,7 @@ module Google
|
|
30948
31487
|
@create_time = args[:create_time] if args.key?(:create_time)
|
30949
31488
|
@description = args[:description] if args.key?(:description)
|
30950
31489
|
@display_name = args[:display_name] if args.key?(:display_name)
|
31490
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
30951
31491
|
@etag = args[:etag] if args.key?(:etag)
|
30952
31492
|
@name = args[:name] if args.key?(:name)
|
30953
31493
|
@spec = args[:spec] if args.key?(:spec)
|
@@ -31067,6 +31607,15 @@ module Google
|
|
31067
31607
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec]
|
31068
31608
|
attr_accessor :package_spec
|
31069
31609
|
|
31610
|
+
# Optional. The service account that the Reasoning Engine artifact runs as. It
|
31611
|
+
# should have "roles/storage.objectViewer" for reading the user project's Cloud
|
31612
|
+
# Storage and "roles/aiplatform.user" for using Vertex extensions. If not
|
31613
|
+
# specified, the Vertex AI Reasoning Engine Service Agent in the project will be
|
31614
|
+
# used.
|
31615
|
+
# Corresponds to the JSON property `serviceAccount`
|
31616
|
+
# @return [String]
|
31617
|
+
attr_accessor :service_account
|
31618
|
+
|
31070
31619
|
def initialize(**args)
|
31071
31620
|
update!(**args)
|
31072
31621
|
end
|
@@ -31077,6 +31626,7 @@ module Google
|
|
31077
31626
|
@class_methods = args[:class_methods] if args.key?(:class_methods)
|
31078
31627
|
@deployment_spec = args[:deployment_spec] if args.key?(:deployment_spec)
|
31079
31628
|
@package_spec = args[:package_spec] if args.key?(:package_spec)
|
31629
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
31080
31630
|
end
|
31081
31631
|
end
|
31082
31632
|
|
@@ -43056,12 +43606,25 @@ module Google
|
|
43056
43606
|
# @return [String]
|
43057
43607
|
attr_accessor :adapter_size
|
43058
43608
|
|
43609
|
+
# Optional. Batch size for tuning. This feature is only available for open
|
43610
|
+
# source models.
|
43611
|
+
# Corresponds to the JSON property `batchSize`
|
43612
|
+
# @return [Fixnum]
|
43613
|
+
attr_accessor :batch_size
|
43614
|
+
|
43059
43615
|
# Optional. Number of complete passes the model makes over the entire training
|
43060
43616
|
# dataset during training.
|
43061
43617
|
# Corresponds to the JSON property `epochCount`
|
43062
43618
|
# @return [Fixnum]
|
43063
43619
|
attr_accessor :epoch_count
|
43064
43620
|
|
43621
|
+
# Optional. Learning rate for tuning. Mutually exclusive with `
|
43622
|
+
# learning_rate_multiplier`. This feature is only available for open source
|
43623
|
+
# models.
|
43624
|
+
# Corresponds to the JSON property `learningRate`
|
43625
|
+
# @return [Float]
|
43626
|
+
attr_accessor :learning_rate
|
43627
|
+
|
43065
43628
|
# Optional. Multiplier for adjusting the default learning rate. Mutually
|
43066
43629
|
# exclusive with `learning_rate`. This feature is only available for 1P models.
|
43067
43630
|
# Corresponds to the JSON property `learningRateMultiplier`
|
@@ -43075,7 +43638,9 @@ module Google
|
|
43075
43638
|
# Update properties of this object
|
43076
43639
|
def update!(**args)
|
43077
43640
|
@adapter_size = args[:adapter_size] if args.key?(:adapter_size)
|
43641
|
+
@batch_size = args[:batch_size] if args.key?(:batch_size)
|
43078
43642
|
@epoch_count = args[:epoch_count] if args.key?(:epoch_count)
|
43643
|
+
@learning_rate = args[:learning_rate] if args.key?(:learning_rate)
|
43079
43644
|
@learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier)
|
43080
43645
|
end
|
43081
43646
|
end
|
@@ -43292,6 +43857,11 @@ module Google
|
|
43292
43857
|
# @return [String]
|
43293
43858
|
attr_accessor :training_dataset_uri
|
43294
43859
|
|
43860
|
+
# Tuning mode.
|
43861
|
+
# Corresponds to the JSON property `tuningMode`
|
43862
|
+
# @return [String]
|
43863
|
+
attr_accessor :tuning_mode
|
43864
|
+
|
43295
43865
|
# Optional. Validation dataset used for tuning. The dataset can be specified as
|
43296
43866
|
# either a Cloud Storage path to a JSONL file or as the resource name of a
|
43297
43867
|
# Vertex Multimodal Dataset.
|
@@ -43308,6 +43878,7 @@ module Google
|
|
43308
43878
|
@export_last_checkpoint_only = args[:export_last_checkpoint_only] if args.key?(:export_last_checkpoint_only)
|
43309
43879
|
@hyper_parameters = args[:hyper_parameters] if args.key?(:hyper_parameters)
|
43310
43880
|
@training_dataset_uri = args[:training_dataset_uri] if args.key?(:training_dataset_uri)
|
43881
|
+
@tuning_mode = args[:tuning_mode] if args.key?(:tuning_mode)
|
43311
43882
|
@validation_dataset_uri = args[:validation_dataset_uri] if args.key?(:validation_dataset_uri)
|
43312
43883
|
end
|
43313
43884
|
end
|
@@ -44096,11 +44667,6 @@ module Google
|
|
44096
44667
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution]
|
44097
44668
|
attr_accessor :code_execution
|
44098
44669
|
|
44099
|
-
# Tool to support computer use.
|
44100
|
-
# Corresponds to the JSON property `computerUse`
|
44101
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolComputerUse]
|
44102
|
-
attr_accessor :computer_use
|
44103
|
-
|
44104
44670
|
# Tool to search public web data, powered by Vertex AI Search and Sec4
|
44105
44671
|
# compliance.
|
44106
44672
|
# Corresponds to the JSON property `enterpriseWebSearch`
|
@@ -44112,11 +44678,16 @@ module Google
|
|
44112
44678
|
# subset of these functions by populating FunctionCall in the response. User
|
44113
44679
|
# should provide a FunctionResponse for each function call in the next turn.
|
44114
44680
|
# Based on the function responses, Model will generate the final response back
|
44115
|
-
# to the user. Maximum
|
44681
|
+
# to the user. Maximum 512 function declarations can be provided.
|
44116
44682
|
# Corresponds to the JSON property `functionDeclarations`
|
44117
44683
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration>]
|
44118
44684
|
attr_accessor :function_declarations
|
44119
44685
|
|
44686
|
+
# Tool to retrieve public maps data for grounding, powered by Google.
|
44687
|
+
# Corresponds to the JSON property `googleMaps`
|
44688
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleMaps]
|
44689
|
+
attr_accessor :google_maps
|
44690
|
+
|
44120
44691
|
# GoogleSearch tool type. Tool to support Google Search in Model. Powered by
|
44121
44692
|
# Google.
|
44122
44693
|
# Corresponds to the JSON property `googleSearch`
|
@@ -44145,9 +44716,9 @@ module Google
|
|
44145
44716
|
# Update properties of this object
|
44146
44717
|
def update!(**args)
|
44147
44718
|
@code_execution = args[:code_execution] if args.key?(:code_execution)
|
44148
|
-
@computer_use = args[:computer_use] if args.key?(:computer_use)
|
44149
44719
|
@enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
|
44150
44720
|
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
|
44721
|
+
@google_maps = args[:google_maps] if args.key?(:google_maps)
|
44151
44722
|
@google_search = args[:google_search] if args.key?(:google_search)
|
44152
44723
|
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
44153
44724
|
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
@@ -44296,25 +44867,6 @@ module Google
|
|
44296
44867
|
end
|
44297
44868
|
end
|
44298
44869
|
|
44299
|
-
# Tool to support computer use.
|
44300
|
-
class GoogleCloudAiplatformV1beta1ToolComputerUse
|
44301
|
-
include Google::Apis::Core::Hashable
|
44302
|
-
|
44303
|
-
# Required. The environment being operated.
|
44304
|
-
# Corresponds to the JSON property `environment`
|
44305
|
-
# @return [String]
|
44306
|
-
attr_accessor :environment
|
44307
|
-
|
44308
|
-
def initialize(**args)
|
44309
|
-
update!(**args)
|
44310
|
-
end
|
44311
|
-
|
44312
|
-
# Update properties of this object
|
44313
|
-
def update!(**args)
|
44314
|
-
@environment = args[:environment] if args.key?(:environment)
|
44315
|
-
end
|
44316
|
-
end
|
44317
|
-
|
44318
44870
|
# Tool config. This config is shared for all tools provided in the request.
|
44319
44871
|
class GoogleCloudAiplatformV1beta1ToolConfig
|
44320
44872
|
include Google::Apis::Core::Hashable
|
@@ -44345,12 +44897,19 @@ module Google
|
|
44345
44897
|
class GoogleCloudAiplatformV1beta1ToolGoogleSearch
|
44346
44898
|
include Google::Apis::Core::Hashable
|
44347
44899
|
|
44900
|
+
# Optional. List of domains to be excluded from the search results. The default
|
44901
|
+
# limit is 2000 domains. Example: ["amazon.com", "facebook.com"].
|
44902
|
+
# Corresponds to the JSON property `excludeDomains`
|
44903
|
+
# @return [Array<String>]
|
44904
|
+
attr_accessor :exclude_domains
|
44905
|
+
|
44348
44906
|
def initialize(**args)
|
44349
44907
|
update!(**args)
|
44350
44908
|
end
|
44351
44909
|
|
44352
44910
|
# Update properties of this object
|
44353
44911
|
def update!(**args)
|
44912
|
+
@exclude_domains = args[:exclude_domains] if args.key?(:exclude_domains)
|
44354
44913
|
end
|
44355
44914
|
end
|
44356
44915
|
|
@@ -45836,6 +46395,11 @@ module Google
|
|
45836
46395
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationDataStats]
|
45837
46396
|
attr_accessor :distillation_data_stats
|
45838
46397
|
|
46398
|
+
# Statistics computed for datasets used for preference optimization.
|
46399
|
+
# Corresponds to the JSON property `preferenceOptimizationDataStats`
|
46400
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats]
|
46401
|
+
attr_accessor :preference_optimization_data_stats
|
46402
|
+
|
45839
46403
|
# Tuning data statistics for Supervised Tuning.
|
45840
46404
|
# Corresponds to the JSON property `supervisedTuningDataStats`
|
45841
46405
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedTuningDataStats]
|
@@ -45848,6 +46412,7 @@ module Google
|
|
45848
46412
|
# Update properties of this object
|
45849
46413
|
def update!(**args)
|
45850
46414
|
@distillation_data_stats = args[:distillation_data_stats] if args.key?(:distillation_data_stats)
|
46415
|
+
@preference_optimization_data_stats = args[:preference_optimization_data_stats] if args.key?(:preference_optimization_data_stats)
|
45851
46416
|
@supervised_tuning_data_stats = args[:supervised_tuning_data_stats] if args.key?(:supervised_tuning_data_stats)
|
45852
46417
|
end
|
45853
46418
|
end
|
@@ -45868,6 +46433,16 @@ module Google
|
|
45868
46433
|
# @return [String]
|
45869
46434
|
attr_accessor :create_time
|
45870
46435
|
|
46436
|
+
# Optional. The user-provided path to custom model weights. Set this field to
|
46437
|
+
# tune a custom model. The path must be a Cloud Storage directory that contains
|
46438
|
+
# the model weights in .safetensors format along with associated model metadata
|
46439
|
+
# files. If this field is set, the base_model field must still be set to
|
46440
|
+
# indicate which base model the custom model is derived from. This feature is
|
46441
|
+
# only available for open source models.
|
46442
|
+
# Corresponds to the JSON property `customBaseModel`
|
46443
|
+
# @return [String]
|
46444
|
+
attr_accessor :custom_base_model
|
46445
|
+
|
45871
46446
|
# Optional. The description of the TuningJob.
|
45872
46447
|
# Corresponds to the JSON property `description`
|
45873
46448
|
# @return [String]
|
@@ -45922,6 +46497,12 @@ module Google
|
|
45922
46497
|
# @return [String]
|
45923
46498
|
attr_accessor :name
|
45924
46499
|
|
46500
|
+
# Optional. Cloud Storage path to the directory where tuning job outputs are
|
46501
|
+
# written to. This field is only available and required for open source models.
|
46502
|
+
# Corresponds to the JSON property `outputUri`
|
46503
|
+
# @return [String]
|
46504
|
+
attr_accessor :output_uri
|
46505
|
+
|
45925
46506
|
# Tuning spec for Partner models.
|
45926
46507
|
# Corresponds to the JSON property `partnerModelTuningSpec`
|
45927
46508
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PartnerModelTuningSpec]
|
@@ -45934,6 +46515,16 @@ module Google
|
|
45934
46515
|
# @return [String]
|
45935
46516
|
attr_accessor :pipeline_job
|
45936
46517
|
|
46518
|
+
# A pre-tuned model for continuous tuning.
|
46519
|
+
# Corresponds to the JSON property `preTunedModel`
|
46520
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreTunedModel]
|
46521
|
+
attr_accessor :pre_tuned_model
|
46522
|
+
|
46523
|
+
# Tuning Spec for Preference Optimization.
|
46524
|
+
# Corresponds to the JSON property `preferenceOptimizationSpec`
|
46525
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreferenceOptimizationSpec]
|
46526
|
+
attr_accessor :preference_optimization_spec
|
46527
|
+
|
45937
46528
|
# Output only. Reserved for future use.
|
45938
46529
|
# Corresponds to the JSON property `satisfiesPzi`
|
45939
46530
|
# @return [Boolean]
|
@@ -45993,6 +46584,11 @@ module Google
|
|
45993
46584
|
# @return [String]
|
45994
46585
|
attr_accessor :update_time
|
45995
46586
|
|
46587
|
+
# Tuning Spec for Veo Model Tuning.
|
46588
|
+
# Corresponds to the JSON property `veoTuningSpec`
|
46589
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VeoTuningSpec]
|
46590
|
+
attr_accessor :veo_tuning_spec
|
46591
|
+
|
45996
46592
|
def initialize(**args)
|
45997
46593
|
update!(**args)
|
45998
46594
|
end
|
@@ -46001,6 +46597,7 @@ module Google
|
|
46001
46597
|
def update!(**args)
|
46002
46598
|
@base_model = args[:base_model] if args.key?(:base_model)
|
46003
46599
|
@create_time = args[:create_time] if args.key?(:create_time)
|
46600
|
+
@custom_base_model = args[:custom_base_model] if args.key?(:custom_base_model)
|
46004
46601
|
@description = args[:description] if args.key?(:description)
|
46005
46602
|
@distillation_spec = args[:distillation_spec] if args.key?(:distillation_spec)
|
46006
46603
|
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
@@ -46009,8 +46606,11 @@ module Google
|
|
46009
46606
|
@experiment = args[:experiment] if args.key?(:experiment)
|
46010
46607
|
@labels = args[:labels] if args.key?(:labels)
|
46011
46608
|
@name = args[:name] if args.key?(:name)
|
46609
|
+
@output_uri = args[:output_uri] if args.key?(:output_uri)
|
46012
46610
|
@partner_model_tuning_spec = args[:partner_model_tuning_spec] if args.key?(:partner_model_tuning_spec)
|
46013
46611
|
@pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
|
46612
|
+
@pre_tuned_model = args[:pre_tuned_model] if args.key?(:pre_tuned_model)
|
46613
|
+
@preference_optimization_spec = args[:preference_optimization_spec] if args.key?(:preference_optimization_spec)
|
46014
46614
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
46015
46615
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
46016
46616
|
@service_account = args[:service_account] if args.key?(:service_account)
|
@@ -46021,6 +46621,7 @@ module Google
|
|
46021
46621
|
@tuned_model_display_name = args[:tuned_model_display_name] if args.key?(:tuned_model_display_name)
|
46022
46622
|
@tuning_data_stats = args[:tuning_data_stats] if args.key?(:tuning_data_stats)
|
46023
46623
|
@update_time = args[:update_time] if args.key?(:update_time)
|
46624
|
+
@veo_tuning_spec = args[:veo_tuning_spec] if args.key?(:veo_tuning_spec)
|
46024
46625
|
end
|
46025
46626
|
end
|
46026
46627
|
|
@@ -46982,6 +47583,73 @@ module Google
|
|
46982
47583
|
end
|
46983
47584
|
end
|
46984
47585
|
|
47586
|
+
# Hyperparameters for Veo.
|
47587
|
+
class GoogleCloudAiplatformV1beta1VeoHyperParameters
|
47588
|
+
include Google::Apis::Core::Hashable
|
47589
|
+
|
47590
|
+
# Optional. Number of complete passes the model makes over the entire training
|
47591
|
+
# dataset during training.
|
47592
|
+
# Corresponds to the JSON property `epochCount`
|
47593
|
+
# @return [Fixnum]
|
47594
|
+
attr_accessor :epoch_count
|
47595
|
+
|
47596
|
+
# Optional. Multiplier for adjusting the default learning rate.
|
47597
|
+
# Corresponds to the JSON property `learningRateMultiplier`
|
47598
|
+
# @return [Float]
|
47599
|
+
attr_accessor :learning_rate_multiplier
|
47600
|
+
|
47601
|
+
# Optional. The tuning task. Either I2V or T2V.
|
47602
|
+
# Corresponds to the JSON property `tuningTask`
|
47603
|
+
# @return [String]
|
47604
|
+
attr_accessor :tuning_task
|
47605
|
+
|
47606
|
+
def initialize(**args)
|
47607
|
+
update!(**args)
|
47608
|
+
end
|
47609
|
+
|
47610
|
+
# Update properties of this object
|
47611
|
+
def update!(**args)
|
47612
|
+
@epoch_count = args[:epoch_count] if args.key?(:epoch_count)
|
47613
|
+
@learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier)
|
47614
|
+
@tuning_task = args[:tuning_task] if args.key?(:tuning_task)
|
47615
|
+
end
|
47616
|
+
end
|
47617
|
+
|
47618
|
+
# Tuning Spec for Veo Model Tuning.
|
47619
|
+
class GoogleCloudAiplatformV1beta1VeoTuningSpec
|
47620
|
+
include Google::Apis::Core::Hashable
|
47621
|
+
|
47622
|
+
# Hyperparameters for Veo.
|
47623
|
+
# Corresponds to the JSON property `hyperParameters`
|
47624
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VeoHyperParameters]
|
47625
|
+
attr_accessor :hyper_parameters
|
47626
|
+
|
47627
|
+
# Required. Training dataset used for tuning. The dataset can be specified as
|
47628
|
+
# either a Cloud Storage path to a JSONL file or as the resource name of a
|
47629
|
+
# Vertex Multimodal Dataset.
|
47630
|
+
# Corresponds to the JSON property `trainingDatasetUri`
|
47631
|
+
# @return [String]
|
47632
|
+
attr_accessor :training_dataset_uri
|
47633
|
+
|
47634
|
+
# Optional. Validation dataset used for tuning. The dataset can be specified as
|
47635
|
+
# either a Cloud Storage path to a JSONL file or as the resource name of a
|
47636
|
+
# Vertex Multimodal Dataset.
|
47637
|
+
# Corresponds to the JSON property `validationDatasetUri`
|
47638
|
+
# @return [String]
|
47639
|
+
attr_accessor :validation_dataset_uri
|
47640
|
+
|
47641
|
+
def initialize(**args)
|
47642
|
+
update!(**args)
|
47643
|
+
end
|
47644
|
+
|
47645
|
+
# Update properties of this object
|
47646
|
+
def update!(**args)
|
47647
|
+
@hyper_parameters = args[:hyper_parameters] if args.key?(:hyper_parameters)
|
47648
|
+
@training_dataset_uri = args[:training_dataset_uri] if args.key?(:training_dataset_uri)
|
47649
|
+
@validation_dataset_uri = args[:validation_dataset_uri] if args.key?(:validation_dataset_uri)
|
47650
|
+
end
|
47651
|
+
end
|
47652
|
+
|
46985
47653
|
# Retrieve from Vertex AI Search datastore or engine for grounding. datastore
|
46986
47654
|
# and engine are mutually exclusive. See https://cloud.google.com/products/agent-
|
46987
47655
|
# builder
|
@@ -47180,6 +47848,12 @@ module Google
|
|
47180
47848
|
# @return [String]
|
47181
47849
|
attr_accessor :end_offset
|
47182
47850
|
|
47851
|
+
# Optional. The frame rate of the video sent to the model. If not specified, the
|
47852
|
+
# default value will be 1.0. The fps range is (0.0, 24.0].
|
47853
|
+
# Corresponds to the JSON property `fps`
|
47854
|
+
# @return [Float]
|
47855
|
+
attr_accessor :fps
|
47856
|
+
|
47183
47857
|
# Optional. The start offset of the video.
|
47184
47858
|
# Corresponds to the JSON property `startOffset`
|
47185
47859
|
# @return [String]
|
@@ -47192,6 +47866,7 @@ module Google
|
|
47192
47866
|
# Update properties of this object
|
47193
47867
|
def update!(**args)
|
47194
47868
|
@end_offset = args[:end_offset] if args.key?(:end_offset)
|
47869
|
+
@fps = args[:fps] if args.key?(:fps)
|
47195
47870
|
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
47196
47871
|
end
|
47197
47872
|
end
|