google-apis-aiplatform_v1 0.65.0 → 0.67.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 443a90be9f146cdb018c3c6b7ad2f550d7b3cd66125ae1808655cda064f5dc36
|
4
|
+
data.tar.gz: 01fd0ff47ca3dd2b7f660e95b76c2777474ce98cd581fcda81e6fb2832be35a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63e7e5e8767a40dd75147b6d752c50eace42743bc34392ce0b7e25d76ef9dd30d53af8c451b999e0ceb5b9a068fa1155b43a745a0e0b744e6ab17c0387128fec
|
7
|
+
data.tar.gz: 42ac942cb32311e489f05192e8683a0da094a8897dbe437d9937ae70c40c71fecbc3ad744e5847531619491debd23240b5e988d40389ab4d1545849a60ec7173
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-aiplatform_v1
|
2
2
|
|
3
|
+
### v0.67.0 (2025-09-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250920
|
6
|
+
|
7
|
+
### v0.66.0 (2025-09-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250916
|
10
|
+
|
3
11
|
### v0.65.0 (2025-09-07)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250902
|
@@ -1533,6 +1533,11 @@ module Google
|
|
1533
1533
|
attr_accessor :flip_enabled
|
1534
1534
|
alias_method :flip_enabled?, :flip_enabled
|
1535
1535
|
|
1536
|
+
# Generation config.
|
1537
|
+
# Corresponds to the JSON property `generationConfig`
|
1538
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig]
|
1539
|
+
attr_accessor :generation_config
|
1540
|
+
|
1536
1541
|
# Optional. Number of samples for each instance in the dataset. If not specified,
|
1537
1542
|
# the default is 4. Minimum value is 1, maximum value is 32.
|
1538
1543
|
# Corresponds to the JSON property `samplingCount`
|
@@ -1547,6 +1552,7 @@ module Google
|
|
1547
1552
|
def update!(**args)
|
1548
1553
|
@autorater_model = args[:autorater_model] if args.key?(:autorater_model)
|
1549
1554
|
@flip_enabled = args[:flip_enabled] if args.key?(:flip_enabled)
|
1555
|
+
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
1550
1556
|
@sampling_count = args[:sampling_count] if args.key?(:sampling_count)
|
1551
1557
|
end
|
1552
1558
|
end
|
@@ -2623,8 +2629,8 @@ module Google
|
|
2623
2629
|
# @return [String]
|
2624
2630
|
attr_accessor :prompt_column
|
2625
2631
|
|
2626
|
-
# Optional. The name of the column that contains the rubrics. This
|
2627
|
-
# evaluation_rubric.RubricGroup format
|
2632
|
+
# Optional. The name of the column that contains the rubrics. This is in
|
2633
|
+
# evaluation_rubric.RubricGroup format.
|
2628
2634
|
# Corresponds to the JSON property `rubricsColumn`
|
2629
2635
|
# @return [String]
|
2630
2636
|
attr_accessor :rubrics_column
|
@@ -6482,8 +6488,10 @@ module Google
|
|
6482
6488
|
class GoogleCloudAiplatformV1DeployRequestEndpointConfig
|
6483
6489
|
include Google::Apis::Core::Hashable
|
6484
6490
|
|
6485
|
-
# Optional. By default, if dedicated endpoint is enabled
|
6486
|
-
# exposed through a dedicated
|
6491
|
+
# Optional. By default, if dedicated endpoint is enabled and private service
|
6492
|
+
# connect config is not set, the endpoint will be exposed through a dedicated
|
6493
|
+
# DNS [Endpoint.dedicated_endpoint_dns]. If private service connect config is
|
6494
|
+
# set, the endpoint will be exposed through private service connect. Your
|
6487
6495
|
# request to the dedicated DNS will be isolated from other users' traffic and
|
6488
6496
|
# will have better performance and reliability. Note: Once you enabled dedicated
|
6489
6497
|
# endpoint, you won't be able to send request to the shared DNS `region`-
|
@@ -6526,6 +6534,11 @@ module Google
|
|
6526
6534
|
# @return [String]
|
6527
6535
|
attr_accessor :endpoint_user_id
|
6528
6536
|
|
6537
|
+
# Represents configuration for private service connect.
|
6538
|
+
# Corresponds to the JSON property `privateServiceConnectConfig`
|
6539
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig]
|
6540
|
+
attr_accessor :private_service_connect_config
|
6541
|
+
|
6529
6542
|
def initialize(**args)
|
6530
6543
|
update!(**args)
|
6531
6544
|
end
|
@@ -6536,6 +6549,7 @@ module Google
|
|
6536
6549
|
@dedicated_endpoint_enabled = args[:dedicated_endpoint_enabled] if args.key?(:dedicated_endpoint_enabled)
|
6537
6550
|
@endpoint_display_name = args[:endpoint_display_name] if args.key?(:endpoint_display_name)
|
6538
6551
|
@endpoint_user_id = args[:endpoint_user_id] if args.key?(:endpoint_user_id)
|
6552
|
+
@private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config)
|
6539
6553
|
end
|
6540
6554
|
end
|
6541
6555
|
|
@@ -8625,7 +8639,7 @@ module Google
|
|
8625
8639
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationResult]
|
8626
8640
|
attr_accessor :evaluation_response
|
8627
8641
|
|
8628
|
-
# The
|
8642
|
+
# The Cloud Storage object where the request or response is stored.
|
8629
8643
|
# Corresponds to the JSON property `gcsUri`
|
8630
8644
|
# @return [String]
|
8631
8645
|
attr_accessor :gcs_uri
|
@@ -9166,11 +9180,6 @@ module Google
|
|
9166
9180
|
class GoogleCloudAiplatformV1EvaluationRunMetric
|
9167
9181
|
include Google::Apis::Core::Hashable
|
9168
9182
|
|
9169
|
-
# Specification for a computation based metric.
|
9170
|
-
# Corresponds to the JSON property `computationBasedMetricSpec`
|
9171
|
-
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec]
|
9172
|
-
attr_accessor :computation_based_metric_spec
|
9173
|
-
|
9174
9183
|
# Specification for an LLM based metric.
|
9175
9184
|
# Corresponds to the JSON property `llmBasedMetricSpec`
|
9176
9185
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricLlmBasedMetricSpec]
|
@@ -9197,7 +9206,6 @@ module Google
|
|
9197
9206
|
|
9198
9207
|
# Update properties of this object
|
9199
9208
|
def update!(**args)
|
9200
|
-
@computation_based_metric_spec = args[:computation_based_metric_spec] if args.key?(:computation_based_metric_spec)
|
9201
9209
|
@llm_based_metric_spec = args[:llm_based_metric_spec] if args.key?(:llm_based_metric_spec)
|
9202
9210
|
@metric = args[:metric] if args.key?(:metric)
|
9203
9211
|
@predefined_metric_spec = args[:predefined_metric_spec] if args.key?(:predefined_metric_spec)
|
@@ -9205,31 +9213,6 @@ module Google
|
|
9205
9213
|
end
|
9206
9214
|
end
|
9207
9215
|
|
9208
|
-
# Specification for a computation based metric.
|
9209
|
-
class GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec
|
9210
|
-
include Google::Apis::Core::Hashable
|
9211
|
-
|
9212
|
-
# Optional. A map of parameters for the metric, e.g. `"rouge_type": "rougeL"`.
|
9213
|
-
# Corresponds to the JSON property `parameters`
|
9214
|
-
# @return [Hash<String,Object>]
|
9215
|
-
attr_accessor :parameters
|
9216
|
-
|
9217
|
-
# Required. The type of the computation based metric.
|
9218
|
-
# Corresponds to the JSON property `type`
|
9219
|
-
# @return [String]
|
9220
|
-
attr_accessor :type
|
9221
|
-
|
9222
|
-
def initialize(**args)
|
9223
|
-
update!(**args)
|
9224
|
-
end
|
9225
|
-
|
9226
|
-
# Update properties of this object
|
9227
|
-
def update!(**args)
|
9228
|
-
@parameters = args[:parameters] if args.key?(:parameters)
|
9229
|
-
@type = args[:type] if args.key?(:type)
|
9230
|
-
end
|
9231
|
-
end
|
9232
|
-
|
9233
9216
|
# Specification for an LLM based metric.
|
9234
9217
|
class GoogleCloudAiplatformV1EvaluationRunMetricLlmBasedMetricSpec
|
9235
9218
|
include Google::Apis::Core::Hashable
|
@@ -13681,7 +13664,7 @@ module Google
|
|
13681
13664
|
# @return [Hash<String,Object>]
|
13682
13665
|
attr_accessor :args
|
13683
13666
|
|
13684
|
-
#
|
13667
|
+
# Optional. The name of the function to call. Matches [FunctionDeclaration.name].
|
13685
13668
|
# Corresponds to the JSON property `name`
|
13686
13669
|
# @return [String]
|
13687
13670
|
attr_accessor :name
|
@@ -14028,7 +14011,9 @@ module Google
|
|
14028
14011
|
# @return [String]
|
14029
14012
|
attr_accessor :model_version
|
14030
14013
|
|
14031
|
-
# Content filter results for a prompt sent in the request.
|
14014
|
+
# Content filter results for a prompt sent in the request. Note: This is sent
|
14015
|
+
# only in the first stream chunk and only if no candidates were generated due to
|
14016
|
+
# content violations.
|
14032
14017
|
# Corresponds to the JSON property `promptFeedback`
|
14033
14018
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback]
|
14034
14019
|
attr_accessor :prompt_feedback
|
@@ -14039,7 +14024,8 @@ module Google
|
|
14039
14024
|
# @return [String]
|
14040
14025
|
attr_accessor :response_id
|
14041
14026
|
|
14042
|
-
# Usage metadata about response
|
14027
|
+
# Usage metadata about the content generation request and response. This message
|
14028
|
+
# provides a detailed breakdown of token usage and other relevant metrics.
|
14043
14029
|
# Corresponds to the JSON property `usageMetadata`
|
14044
14030
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata]
|
14045
14031
|
attr_accessor :usage_metadata
|
@@ -14059,21 +14045,25 @@ module Google
|
|
14059
14045
|
end
|
14060
14046
|
end
|
14061
14047
|
|
14062
|
-
# Content filter results for a prompt sent in the request.
|
14048
|
+
# Content filter results for a prompt sent in the request. Note: This is sent
|
14049
|
+
# only in the first stream chunk and only if no candidates were generated due to
|
14050
|
+
# content violations.
|
14063
14051
|
class GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback
|
14064
14052
|
include Google::Apis::Core::Hashable
|
14065
14053
|
|
14066
|
-
# Output only.
|
14054
|
+
# Output only. The reason why the prompt was blocked.
|
14067
14055
|
# Corresponds to the JSON property `blockReason`
|
14068
14056
|
# @return [String]
|
14069
14057
|
attr_accessor :block_reason
|
14070
14058
|
|
14071
|
-
# Output only. A readable
|
14059
|
+
# Output only. A readable message that explains the reason why the prompt was
|
14060
|
+
# blocked.
|
14072
14061
|
# Corresponds to the JSON property `blockReasonMessage`
|
14073
14062
|
# @return [String]
|
14074
14063
|
attr_accessor :block_reason_message
|
14075
14064
|
|
14076
|
-
# Output only.
|
14065
|
+
# Output only. A list of safety ratings for the prompt. There is one rating per
|
14066
|
+
# category.
|
14077
14067
|
# Corresponds to the JSON property `safetyRatings`
|
14078
14068
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyRating>]
|
14079
14069
|
attr_accessor :safety_ratings
|
@@ -14090,67 +14080,73 @@ module Google
|
|
14090
14080
|
end
|
14091
14081
|
end
|
14092
14082
|
|
14093
|
-
# Usage metadata about response
|
14083
|
+
# Usage metadata about the content generation request and response. This message
|
14084
|
+
# provides a detailed breakdown of token usage and other relevant metrics.
|
14094
14085
|
class GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata
|
14095
14086
|
include Google::Apis::Core::Hashable
|
14096
14087
|
|
14097
|
-
# Output only.
|
14088
|
+
# Output only. A detailed breakdown of the token count for each modality in the
|
14089
|
+
# cached content.
|
14098
14090
|
# Corresponds to the JSON property `cacheTokensDetails`
|
14099
14091
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount>]
|
14100
14092
|
attr_accessor :cache_tokens_details
|
14101
14093
|
|
14102
|
-
# Output only.
|
14103
|
-
#
|
14094
|
+
# Output only. The number of tokens in the cached content that was used for this
|
14095
|
+
# request.
|
14104
14096
|
# Corresponds to the JSON property `cachedContentTokenCount`
|
14105
14097
|
# @return [Fixnum]
|
14106
14098
|
attr_accessor :cached_content_token_count
|
14107
14099
|
|
14108
|
-
#
|
14100
|
+
# The total number of tokens in the generated candidates.
|
14109
14101
|
# Corresponds to the JSON property `candidatesTokenCount`
|
14110
14102
|
# @return [Fixnum]
|
14111
14103
|
attr_accessor :candidates_token_count
|
14112
14104
|
|
14113
|
-
# Output only.
|
14105
|
+
# Output only. A detailed breakdown of the token count for each modality in the
|
14106
|
+
# generated candidates.
|
14114
14107
|
# Corresponds to the JSON property `candidatesTokensDetails`
|
14115
14108
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount>]
|
14116
14109
|
attr_accessor :candidates_tokens_details
|
14117
14110
|
|
14118
|
-
#
|
14119
|
-
#
|
14120
|
-
# the cached content.
|
14111
|
+
# The total number of tokens in the prompt. This includes any text, images, or
|
14112
|
+
# other media provided in the request. When `cached_content` is set, this also
|
14113
|
+
# includes the number of tokens in the cached content.
|
14121
14114
|
# Corresponds to the JSON property `promptTokenCount`
|
14122
14115
|
# @return [Fixnum]
|
14123
14116
|
attr_accessor :prompt_token_count
|
14124
14117
|
|
14125
|
-
# Output only.
|
14118
|
+
# Output only. A detailed breakdown of the token count for each modality in the
|
14119
|
+
# prompt.
|
14126
14120
|
# Corresponds to the JSON property `promptTokensDetails`
|
14127
14121
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount>]
|
14128
14122
|
attr_accessor :prompt_tokens_details
|
14129
14123
|
|
14130
|
-
# Output only.
|
14124
|
+
# Output only. The number of tokens that were part of the model's generated "
|
14125
|
+
# thoughts" output, if applicable.
|
14131
14126
|
# Corresponds to the JSON property `thoughtsTokenCount`
|
14132
14127
|
# @return [Fixnum]
|
14133
14128
|
attr_accessor :thoughts_token_count
|
14134
14129
|
|
14135
|
-
# Output only.
|
14130
|
+
# Output only. The number of tokens in the results from tool executions, which
|
14131
|
+
# are provided back to the model as input, if applicable.
|
14136
14132
|
# Corresponds to the JSON property `toolUsePromptTokenCount`
|
14137
14133
|
# @return [Fixnum]
|
14138
14134
|
attr_accessor :tool_use_prompt_token_count
|
14139
14135
|
|
14140
|
-
# Output only.
|
14141
|
-
#
|
14136
|
+
# Output only. A detailed breakdown by modality of the token counts from the
|
14137
|
+
# results of tool executions, which are provided back to the model as input.
|
14142
14138
|
# Corresponds to the JSON property `toolUsePromptTokensDetails`
|
14143
14139
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount>]
|
14144
14140
|
attr_accessor :tool_use_prompt_tokens_details
|
14145
14141
|
|
14146
|
-
#
|
14147
|
-
#
|
14142
|
+
# The total number of tokens for the entire request. This is the sum of `
|
14143
|
+
# prompt_token_count`, `candidates_token_count`, `tool_use_prompt_token_count`,
|
14144
|
+
# and `thoughts_token_count`.
|
14148
14145
|
# Corresponds to the JSON property `totalTokenCount`
|
14149
14146
|
# @return [Fixnum]
|
14150
14147
|
attr_accessor :total_token_count
|
14151
14148
|
|
14152
|
-
# Output only.
|
14153
|
-
# or Provisioned Throughput quota.
|
14149
|
+
# Output only. The traffic type for this request.
|
14154
14150
|
# Corresponds to the JSON property `trafficType`
|
14155
14151
|
# @return [String]
|
14156
14152
|
attr_accessor :traffic_type
|
@@ -14711,12 +14707,19 @@ module Google
|
|
14711
14707
|
class GoogleCloudAiplatformV1GoogleMaps
|
14712
14708
|
include Google::Apis::Core::Hashable
|
14713
14709
|
|
14710
|
+
# Optional. If true, include the widget context token in the response.
|
14711
|
+
# Corresponds to the JSON property `enableWidget`
|
14712
|
+
# @return [Boolean]
|
14713
|
+
attr_accessor :enable_widget
|
14714
|
+
alias_method :enable_widget?, :enable_widget
|
14715
|
+
|
14714
14716
|
def initialize(**args)
|
14715
14717
|
update!(**args)
|
14716
14718
|
end
|
14717
14719
|
|
14718
14720
|
# Update properties of this object
|
14719
14721
|
def update!(**args)
|
14722
|
+
@enable_widget = args[:enable_widget] if args.key?(:enable_widget)
|
14720
14723
|
end
|
14721
14724
|
end
|
14722
14725
|
|
@@ -14886,17 +14889,17 @@ module Google
|
|
14886
14889
|
# @return [String]
|
14887
14890
|
attr_accessor :place_id
|
14888
14891
|
|
14889
|
-
# Text of the
|
14892
|
+
# Text of the place answer.
|
14890
14893
|
# Corresponds to the JSON property `text`
|
14891
14894
|
# @return [String]
|
14892
14895
|
attr_accessor :text
|
14893
14896
|
|
14894
|
-
# Title of the
|
14897
|
+
# Title of the place.
|
14895
14898
|
# Corresponds to the JSON property `title`
|
14896
14899
|
# @return [String]
|
14897
14900
|
attr_accessor :title
|
14898
14901
|
|
14899
|
-
# URI reference of the
|
14902
|
+
# URI reference of the place.
|
14900
14903
|
# Corresponds to the JSON property `uri`
|
14901
14904
|
# @return [String]
|
14902
14905
|
attr_accessor :uri
|
@@ -14919,11 +14922,6 @@ module Google
|
|
14919
14922
|
class GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources
|
14920
14923
|
include Google::Apis::Core::Hashable
|
14921
14924
|
|
14922
|
-
# A link where users can flag a problem with the generated answer.
|
14923
|
-
# Corresponds to the JSON property `flagContentUri`
|
14924
|
-
# @return [String]
|
14925
|
-
attr_accessor :flag_content_uri
|
14926
|
-
|
14927
14925
|
# Snippets of reviews that are used to generate the answer.
|
14928
14926
|
# Corresponds to the JSON property `reviewSnippets`
|
14929
14927
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet>]
|
@@ -14935,72 +14933,28 @@ module Google
|
|
14935
14933
|
|
14936
14934
|
# Update properties of this object
|
14937
14935
|
def update!(**args)
|
14938
|
-
@flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
|
14939
14936
|
@review_snippets = args[:review_snippets] if args.key?(:review_snippets)
|
14940
14937
|
end
|
14941
14938
|
end
|
14942
14939
|
|
14943
|
-
# Author attribution for a photo or review.
|
14944
|
-
class GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
|
14945
|
-
include Google::Apis::Core::Hashable
|
14946
|
-
|
14947
|
-
# Name of the author of the Photo or Review.
|
14948
|
-
# Corresponds to the JSON property `displayName`
|
14949
|
-
# @return [String]
|
14950
|
-
attr_accessor :display_name
|
14951
|
-
|
14952
|
-
# Profile photo URI of the author of the Photo or Review.
|
14953
|
-
# Corresponds to the JSON property `photoUri`
|
14954
|
-
# @return [String]
|
14955
|
-
attr_accessor :photo_uri
|
14956
|
-
|
14957
|
-
# URI of the author of the Photo or Review.
|
14958
|
-
# Corresponds to the JSON property `uri`
|
14959
|
-
# @return [String]
|
14960
|
-
attr_accessor :uri
|
14961
|
-
|
14962
|
-
def initialize(**args)
|
14963
|
-
update!(**args)
|
14964
|
-
end
|
14965
|
-
|
14966
|
-
# Update properties of this object
|
14967
|
-
def update!(**args)
|
14968
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
14969
|
-
@photo_uri = args[:photo_uri] if args.key?(:photo_uri)
|
14970
|
-
@uri = args[:uri] if args.key?(:uri)
|
14971
|
-
end
|
14972
|
-
end
|
14973
|
-
|
14974
14940
|
# Encapsulates a review snippet.
|
14975
14941
|
class GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
|
14976
14942
|
include Google::Apis::Core::Hashable
|
14977
14943
|
|
14978
|
-
# Author attribution for a photo or review.
|
14979
|
-
# Corresponds to the JSON property `authorAttribution`
|
14980
|
-
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution]
|
14981
|
-
attr_accessor :author_attribution
|
14982
|
-
|
14983
|
-
# A link where users can flag a problem with the review.
|
14984
|
-
# Corresponds to the JSON property `flagContentUri`
|
14985
|
-
# @return [String]
|
14986
|
-
attr_accessor :flag_content_uri
|
14987
|
-
|
14988
14944
|
# A link to show the review on Google Maps.
|
14989
14945
|
# Corresponds to the JSON property `googleMapsUri`
|
14990
14946
|
# @return [String]
|
14991
14947
|
attr_accessor :google_maps_uri
|
14992
14948
|
|
14993
|
-
#
|
14994
|
-
#
|
14995
|
-
# Corresponds to the JSON property `relativePublishTimeDescription`
|
14949
|
+
# Id of the review referencing the place.
|
14950
|
+
# Corresponds to the JSON property `reviewId`
|
14996
14951
|
# @return [String]
|
14997
|
-
attr_accessor :
|
14952
|
+
attr_accessor :review_id
|
14998
14953
|
|
14999
|
-
#
|
15000
|
-
#
|
15001
|
-
# Corresponds to the JSON property `review`
|
14954
|
+
# Title of the review.
|
14955
|
+
# Corresponds to the JSON property `title`
|
15002
14956
|
# @return [String]
|
15003
|
-
attr_accessor :
|
14957
|
+
attr_accessor :title
|
15004
14958
|
|
15005
14959
|
def initialize(**args)
|
15006
14960
|
update!(**args)
|
@@ -15008,11 +14962,9 @@ module Google
|
|
15008
14962
|
|
15009
14963
|
# Update properties of this object
|
15010
14964
|
def update!(**args)
|
15011
|
-
@author_attribution = args[:author_attribution] if args.key?(:author_attribution)
|
15012
|
-
@flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
|
15013
14965
|
@google_maps_uri = args[:google_maps_uri] if args.key?(:google_maps_uri)
|
15014
|
-
@
|
15015
|
-
@
|
14966
|
+
@review_id = args[:review_id] if args.key?(:review_id)
|
14967
|
+
@title = args[:title] if args.key?(:title)
|
15016
14968
|
end
|
15017
14969
|
end
|
15018
14970
|
|
@@ -15123,6 +15075,12 @@ module Google
|
|
15123
15075
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchEntryPoint]
|
15124
15076
|
attr_accessor :search_entry_point
|
15125
15077
|
|
15078
|
+
# Optional. Output only. List of source flagging uris. This is currently
|
15079
|
+
# populated only for Google Maps grounding.
|
15080
|
+
# Corresponds to the JSON property `sourceFlaggingUris`
|
15081
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingMetadataSourceFlaggingUri>]
|
15082
|
+
attr_accessor :source_flagging_uris
|
15083
|
+
|
15126
15084
|
# Optional. Web search queries for the following-up web search.
|
15127
15085
|
# Corresponds to the JSON property `webSearchQueries`
|
15128
15086
|
# @return [Array<String>]
|
@@ -15139,10 +15097,37 @@ module Google
|
|
15139
15097
|
@grounding_supports = args[:grounding_supports] if args.key?(:grounding_supports)
|
15140
15098
|
@retrieval_metadata = args[:retrieval_metadata] if args.key?(:retrieval_metadata)
|
15141
15099
|
@search_entry_point = args[:search_entry_point] if args.key?(:search_entry_point)
|
15100
|
+
@source_flagging_uris = args[:source_flagging_uris] if args.key?(:source_flagging_uris)
|
15142
15101
|
@web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
|
15143
15102
|
end
|
15144
15103
|
end
|
15145
15104
|
|
15105
|
+
# Source content flagging uri for a place or review. This is currently populated
|
15106
|
+
# only for Google Maps grounding.
|
15107
|
+
class GoogleCloudAiplatformV1GroundingMetadataSourceFlaggingUri
|
15108
|
+
include Google::Apis::Core::Hashable
|
15109
|
+
|
15110
|
+
# A link where users can flag a problem with the source (place or review).
|
15111
|
+
# Corresponds to the JSON property `flagContentUri`
|
15112
|
+
# @return [String]
|
15113
|
+
attr_accessor :flag_content_uri
|
15114
|
+
|
15115
|
+
# Id of the place or review.
|
15116
|
+
# Corresponds to the JSON property `sourceId`
|
15117
|
+
# @return [String]
|
15118
|
+
attr_accessor :source_id
|
15119
|
+
|
15120
|
+
def initialize(**args)
|
15121
|
+
update!(**args)
|
15122
|
+
end
|
15123
|
+
|
15124
|
+
# Update properties of this object
|
15125
|
+
def update!(**args)
|
15126
|
+
@flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
|
15127
|
+
@source_id = args[:source_id] if args.key?(:source_id)
|
15128
|
+
end
|
15129
|
+
end
|
15130
|
+
|
15146
15131
|
# Grounding support.
|
15147
15132
|
class GoogleCloudAiplatformV1GroundingSupport
|
15148
15133
|
include Google::Apis::Core::Hashable
|
@@ -16521,6 +16506,46 @@ module Google
|
|
16521
16506
|
end
|
16522
16507
|
end
|
16523
16508
|
|
16509
|
+
# Request message for PredictionService.Invoke.
|
16510
|
+
class GoogleCloudAiplatformV1InvokeRequest
|
16511
|
+
include Google::Apis::Core::Hashable
|
16512
|
+
|
16513
|
+
# ID of the DeployedModel that serves the invoke request.
|
16514
|
+
# Corresponds to the JSON property `deployedModelId`
|
16515
|
+
# @return [String]
|
16516
|
+
attr_accessor :deployed_model_id
|
16517
|
+
|
16518
|
+
# Message that represents an arbitrary HTTP body. It should only be used for
|
16519
|
+
# payload formats that can't be represented as JSON, such as raw binary or an
|
16520
|
+
# HTML page. This message can be used both in streaming and non-streaming API
|
16521
|
+
# methods in the request as well as the response. It can be used as a top-level
|
16522
|
+
# request field, which is convenient if one wants to extract parameters from
|
16523
|
+
# either the URL or HTTP template into the request fields and also want access
|
16524
|
+
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
|
16525
|
+
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
|
16526
|
+
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
|
16527
|
+
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
|
16528
|
+
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
|
16529
|
+
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
|
16530
|
+
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
|
16531
|
+
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
|
16532
|
+
# only changes how the request and response bodies are handled, all other
|
16533
|
+
# features will continue to work unchanged.
|
16534
|
+
# Corresponds to the JSON property `httpBody`
|
16535
|
+
# @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
|
16536
|
+
attr_accessor :http_body
|
16537
|
+
|
16538
|
+
def initialize(**args)
|
16539
|
+
update!(**args)
|
16540
|
+
end
|
16541
|
+
|
16542
|
+
# Update properties of this object
|
16543
|
+
def update!(**args)
|
16544
|
+
@deployed_model_id = args[:deployed_model_id] if args.key?(:deployed_model_id)
|
16545
|
+
@http_body = args[:http_body] if args.key?(:http_body)
|
16546
|
+
end
|
16547
|
+
end
|
16548
|
+
|
16524
16549
|
# The Jira source for the ImportRagFilesRequest.
|
16525
16550
|
class GoogleCloudAiplatformV1JiraSource
|
16526
16551
|
include Google::Apis::Core::Hashable
|
@@ -16585,6 +16610,63 @@ module Google
|
|
16585
16610
|
end
|
16586
16611
|
end
|
16587
16612
|
|
16613
|
+
# Specification for an LLM based metric.
|
16614
|
+
class GoogleCloudAiplatformV1LlmBasedMetricSpec
|
16615
|
+
include Google::Apis::Core::Hashable
|
16616
|
+
|
16617
|
+
# Optional. Optional additional configuration for the metric.
|
16618
|
+
# Corresponds to the JSON property `additionalConfig`
|
16619
|
+
# @return [Hash<String,Object>]
|
16620
|
+
attr_accessor :additional_config
|
16621
|
+
|
16622
|
+
# The configs for autorater. This is applicable to both EvaluateInstances and
|
16623
|
+
# EvaluateDataset.
|
16624
|
+
# Corresponds to the JSON property `judgeAutoraterConfig`
|
16625
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AutoraterConfig]
|
16626
|
+
attr_accessor :judge_autorater_config
|
16627
|
+
|
16628
|
+
# Required. Template for the prompt sent to the judge model.
|
16629
|
+
# Corresponds to the JSON property `metricPromptTemplate`
|
16630
|
+
# @return [String]
|
16631
|
+
attr_accessor :metric_prompt_template
|
16632
|
+
|
16633
|
+
# The spec for a pre-defined metric.
|
16634
|
+
# Corresponds to the JSON property `predefinedRubricGenerationSpec`
|
16635
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredefinedMetricSpec]
|
16636
|
+
attr_accessor :predefined_rubric_generation_spec
|
16637
|
+
|
16638
|
+
# Specification for how rubrics should be generated.
|
16639
|
+
# Corresponds to the JSON property `rubricGenerationSpec`
|
16640
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricGenerationSpec]
|
16641
|
+
attr_accessor :rubric_generation_spec
|
16642
|
+
|
16643
|
+
# Use a pre-defined group of rubrics associated with the input. Refers to a key
|
16644
|
+
# in the rubric_groups map of EvaluationInstance.
|
16645
|
+
# Corresponds to the JSON property `rubricGroupKey`
|
16646
|
+
# @return [String]
|
16647
|
+
attr_accessor :rubric_group_key
|
16648
|
+
|
16649
|
+
# Optional. System instructions for the judge model.
|
16650
|
+
# Corresponds to the JSON property `systemInstruction`
|
16651
|
+
# @return [String]
|
16652
|
+
attr_accessor :system_instruction
|
16653
|
+
|
16654
|
+
def initialize(**args)
|
16655
|
+
update!(**args)
|
16656
|
+
end
|
16657
|
+
|
16658
|
+
# Update properties of this object
|
16659
|
+
def update!(**args)
|
16660
|
+
@additional_config = args[:additional_config] if args.key?(:additional_config)
|
16661
|
+
@judge_autorater_config = args[:judge_autorater_config] if args.key?(:judge_autorater_config)
|
16662
|
+
@metric_prompt_template = args[:metric_prompt_template] if args.key?(:metric_prompt_template)
|
16663
|
+
@predefined_rubric_generation_spec = args[:predefined_rubric_generation_spec] if args.key?(:predefined_rubric_generation_spec)
|
16664
|
+
@rubric_generation_spec = args[:rubric_generation_spec] if args.key?(:rubric_generation_spec)
|
16665
|
+
@rubric_group_key = args[:rubric_group_key] if args.key?(:rubric_group_key)
|
16666
|
+
@system_instruction = args[:system_instruction] if args.key?(:system_instruction)
|
16667
|
+
end
|
16668
|
+
end
|
16669
|
+
|
16588
16670
|
# Contains information about the Large Model.
|
16589
16671
|
class GoogleCloudAiplatformV1LargeModelReference
|
16590
16672
|
include Google::Apis::Core::Hashable
|
@@ -18197,6 +18279,44 @@ module Google
|
|
18197
18279
|
end
|
18198
18280
|
end
|
18199
18281
|
|
18282
|
+
# Represents a mount configuration for Lustre file system.
|
18283
|
+
class GoogleCloudAiplatformV1LustreMount
|
18284
|
+
include Google::Apis::Core::Hashable
|
18285
|
+
|
18286
|
+
# Required. The name of the Lustre filesystem.
|
18287
|
+
# Corresponds to the JSON property `filesystem`
|
18288
|
+
# @return [String]
|
18289
|
+
attr_accessor :filesystem
|
18290
|
+
|
18291
|
+
# Required. IP address of the Lustre instance.
|
18292
|
+
# Corresponds to the JSON property `instanceIp`
|
18293
|
+
# @return [String]
|
18294
|
+
attr_accessor :instance_ip
|
18295
|
+
|
18296
|
+
# Required. Destination mount path. The Lustre file system will be mounted for
|
18297
|
+
# the user under /mnt/lustre/
|
18298
|
+
# Corresponds to the JSON property `mountPoint`
|
18299
|
+
# @return [String]
|
18300
|
+
attr_accessor :mount_point
|
18301
|
+
|
18302
|
+
# Required. The unique identifier of the Lustre volume.
|
18303
|
+
# Corresponds to the JSON property `volumeHandle`
|
18304
|
+
# @return [String]
|
18305
|
+
attr_accessor :volume_handle
|
18306
|
+
|
18307
|
+
def initialize(**args)
|
18308
|
+
update!(**args)
|
18309
|
+
end
|
18310
|
+
|
18311
|
+
# Update properties of this object
|
18312
|
+
def update!(**args)
|
18313
|
+
@filesystem = args[:filesystem] if args.key?(:filesystem)
|
18314
|
+
@instance_ip = args[:instance_ip] if args.key?(:instance_ip)
|
18315
|
+
@mount_point = args[:mount_point] if args.key?(:mount_point)
|
18316
|
+
@volume_handle = args[:volume_handle] if args.key?(:volume_handle)
|
18317
|
+
end
|
18318
|
+
end
|
18319
|
+
|
18200
18320
|
# Specification of a single machine.
|
18201
18321
|
class GoogleCloudAiplatformV1MachineSpec
|
18202
18322
|
include Google::Apis::Core::Hashable
|
@@ -18534,6 +18654,11 @@ module Google
|
|
18534
18654
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExactMatchSpec]
|
18535
18655
|
attr_accessor :exact_match_spec
|
18536
18656
|
|
18657
|
+
# Specification for an LLM based metric.
|
18658
|
+
# Corresponds to the JSON property `llmBasedMetricSpec`
|
18659
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LlmBasedMetricSpec]
|
18660
|
+
attr_accessor :llm_based_metric_spec
|
18661
|
+
|
18537
18662
|
# Spec for pairwise metric.
|
18538
18663
|
# Corresponds to the JSON property `pairwiseMetricSpec`
|
18539
18664
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricSpec]
|
@@ -18564,6 +18689,7 @@ module Google
|
|
18564
18689
|
@aggregation_metrics = args[:aggregation_metrics] if args.key?(:aggregation_metrics)
|
18565
18690
|
@bleu_spec = args[:bleu_spec] if args.key?(:bleu_spec)
|
18566
18691
|
@exact_match_spec = args[:exact_match_spec] if args.key?(:exact_match_spec)
|
18692
|
+
@llm_based_metric_spec = args[:llm_based_metric_spec] if args.key?(:llm_based_metric_spec)
|
18567
18693
|
@pairwise_metric_spec = args[:pairwise_metric_spec] if args.key?(:pairwise_metric_spec)
|
18568
18694
|
@pointwise_metric_spec = args[:pointwise_metric_spec] if args.key?(:pointwise_metric_spec)
|
18569
18695
|
@predefined_metric_spec = args[:predefined_metric_spec] if args.key?(:predefined_metric_spec)
|
@@ -42740,6 +42866,11 @@ module Google
|
|
42740
42866
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DiskSpec]
|
42741
42867
|
attr_accessor :disk_spec
|
42742
42868
|
|
42869
|
+
# Optional. List of Lustre mounts.
|
42870
|
+
# Corresponds to the JSON property `lustreMounts`
|
42871
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LustreMount>]
|
42872
|
+
attr_accessor :lustre_mounts
|
42873
|
+
|
42743
42874
|
# Specification of a single machine.
|
42744
42875
|
# Corresponds to the JSON property `machineSpec`
|
42745
42876
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MachineSpec]
|
@@ -42768,6 +42899,7 @@ module Google
|
|
42768
42899
|
def update!(**args)
|
42769
42900
|
@container_spec = args[:container_spec] if args.key?(:container_spec)
|
42770
42901
|
@disk_spec = args[:disk_spec] if args.key?(:disk_spec)
|
42902
|
+
@lustre_mounts = args[:lustre_mounts] if args.key?(:lustre_mounts)
|
42771
42903
|
@machine_spec = args[:machine_spec] if args.key?(:machine_spec)
|
42772
42904
|
@nfs_mounts = args[:nfs_mounts] if args.key?(:nfs_mounts)
|
42773
42905
|
@python_package_spec = args[:python_package_spec] if args.key?(:python_package_spec)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AiplatformV1
|
18
18
|
# Version of the google-apis-aiplatform_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.67.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250920"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1498,12 +1498,6 @@ module Google
|
|
1498
1498
|
include Google::Apis::Core::JsonObjectSupport
|
1499
1499
|
end
|
1500
1500
|
|
1501
|
-
class GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec
|
1502
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1503
|
-
|
1504
|
-
include Google::Apis::Core::JsonObjectSupport
|
1505
|
-
end
|
1506
|
-
|
1507
1501
|
class GoogleCloudAiplatformV1EvaluationRunMetricLlmBasedMetricSpec
|
1508
1502
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1509
1503
|
|
@@ -2452,31 +2446,31 @@ module Google
|
|
2452
2446
|
include Google::Apis::Core::JsonObjectSupport
|
2453
2447
|
end
|
2454
2448
|
|
2455
|
-
class
|
2449
|
+
class GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
|
2456
2450
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2457
2451
|
|
2458
2452
|
include Google::Apis::Core::JsonObjectSupport
|
2459
2453
|
end
|
2460
2454
|
|
2461
|
-
class
|
2455
|
+
class GoogleCloudAiplatformV1GroundingChunkRetrievedContext
|
2462
2456
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2463
2457
|
|
2464
2458
|
include Google::Apis::Core::JsonObjectSupport
|
2465
2459
|
end
|
2466
2460
|
|
2467
|
-
class
|
2461
|
+
class GoogleCloudAiplatformV1GroundingChunkWeb
|
2468
2462
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2469
2463
|
|
2470
2464
|
include Google::Apis::Core::JsonObjectSupport
|
2471
2465
|
end
|
2472
2466
|
|
2473
|
-
class
|
2467
|
+
class GoogleCloudAiplatformV1GroundingMetadata
|
2474
2468
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2475
2469
|
|
2476
2470
|
include Google::Apis::Core::JsonObjectSupport
|
2477
2471
|
end
|
2478
2472
|
|
2479
|
-
class
|
2473
|
+
class GoogleCloudAiplatformV1GroundingMetadataSourceFlaggingUri
|
2480
2474
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2481
2475
|
|
2482
2476
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -2638,6 +2632,12 @@ module Google
|
|
2638
2632
|
include Google::Apis::Core::JsonObjectSupport
|
2639
2633
|
end
|
2640
2634
|
|
2635
|
+
class GoogleCloudAiplatformV1InvokeRequest
|
2636
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2637
|
+
|
2638
|
+
include Google::Apis::Core::JsonObjectSupport
|
2639
|
+
end
|
2640
|
+
|
2641
2641
|
class GoogleCloudAiplatformV1JiraSource
|
2642
2642
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2643
2643
|
|
@@ -2650,6 +2650,12 @@ module Google
|
|
2650
2650
|
include Google::Apis::Core::JsonObjectSupport
|
2651
2651
|
end
|
2652
2652
|
|
2653
|
+
class GoogleCloudAiplatformV1LlmBasedMetricSpec
|
2654
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2655
|
+
|
2656
|
+
include Google::Apis::Core::JsonObjectSupport
|
2657
|
+
end
|
2658
|
+
|
2653
2659
|
class GoogleCloudAiplatformV1LargeModelReference
|
2654
2660
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2655
2661
|
|
@@ -3028,6 +3034,12 @@ module Google
|
|
3028
3034
|
include Google::Apis::Core::JsonObjectSupport
|
3029
3035
|
end
|
3030
3036
|
|
3037
|
+
class GoogleCloudAiplatformV1LustreMount
|
3038
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3039
|
+
|
3040
|
+
include Google::Apis::Core::JsonObjectSupport
|
3041
|
+
end
|
3042
|
+
|
3031
3043
|
class GoogleCloudAiplatformV1MachineSpec
|
3032
3044
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3033
3045
|
|
@@ -7766,6 +7778,8 @@ module Google
|
|
7766
7778
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7767
7779
|
property :autorater_model, as: 'autoraterModel'
|
7768
7780
|
property :flip_enabled, as: 'flipEnabled'
|
7781
|
+
property :generation_config, as: 'generationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig::Representation
|
7782
|
+
|
7769
7783
|
property :sampling_count, as: 'samplingCount'
|
7770
7784
|
end
|
7771
7785
|
end
|
@@ -9237,6 +9251,8 @@ module Google
|
|
9237
9251
|
property :dedicated_endpoint_enabled, as: 'dedicatedEndpointEnabled'
|
9238
9252
|
property :endpoint_display_name, as: 'endpointDisplayName'
|
9239
9253
|
property :endpoint_user_id, as: 'endpointUserId'
|
9254
|
+
property :private_service_connect_config, as: 'privateServiceConnectConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig::Representation
|
9255
|
+
|
9240
9256
|
end
|
9241
9257
|
end
|
9242
9258
|
|
@@ -9974,8 +9990,6 @@ module Google
|
|
9974
9990
|
class GoogleCloudAiplatformV1EvaluationRunMetric
|
9975
9991
|
# @private
|
9976
9992
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9977
|
-
property :computation_based_metric_spec, as: 'computationBasedMetricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec::Representation
|
9978
|
-
|
9979
9993
|
property :llm_based_metric_spec, as: 'llmBasedMetricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricLlmBasedMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricLlmBasedMetricSpec::Representation
|
9980
9994
|
|
9981
9995
|
property :metric, as: 'metric'
|
@@ -9986,14 +10000,6 @@ module Google
|
|
9986
10000
|
end
|
9987
10001
|
end
|
9988
10002
|
|
9989
|
-
class GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec
|
9990
|
-
# @private
|
9991
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
9992
|
-
hash :parameters, as: 'parameters'
|
9993
|
-
property :type, as: 'type'
|
9994
|
-
end
|
9995
|
-
end
|
9996
|
-
|
9997
10003
|
class GoogleCloudAiplatformV1EvaluationRunMetricLlmBasedMetricSpec
|
9998
10004
|
# @private
|
9999
10005
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -11524,6 +11530,7 @@ module Google
|
|
11524
11530
|
class GoogleCloudAiplatformV1GoogleMaps
|
11525
11531
|
# @private
|
11526
11532
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11533
|
+
property :enable_widget, as: 'enableWidget'
|
11527
11534
|
end
|
11528
11535
|
end
|
11529
11536
|
|
@@ -11596,30 +11603,17 @@ module Google
|
|
11596
11603
|
class GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources
|
11597
11604
|
# @private
|
11598
11605
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11599
|
-
property :flag_content_uri, as: 'flagContentUri'
|
11600
11606
|
collection :review_snippets, as: 'reviewSnippets', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet::Representation
|
11601
11607
|
|
11602
11608
|
end
|
11603
11609
|
end
|
11604
11610
|
|
11605
|
-
class GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
|
11606
|
-
# @private
|
11607
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
11608
|
-
property :display_name, as: 'displayName'
|
11609
|
-
property :photo_uri, as: 'photoUri'
|
11610
|
-
property :uri, as: 'uri'
|
11611
|
-
end
|
11612
|
-
end
|
11613
|
-
|
11614
11611
|
class GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
|
11615
11612
|
# @private
|
11616
11613
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11617
|
-
property :author_attribution, as: 'authorAttribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution::Representation
|
11618
|
-
|
11619
|
-
property :flag_content_uri, as: 'flagContentUri'
|
11620
11614
|
property :google_maps_uri, as: 'googleMapsUri'
|
11621
|
-
property :
|
11622
|
-
property :
|
11615
|
+
property :review_id, as: 'reviewId'
|
11616
|
+
property :title, as: 'title'
|
11623
11617
|
end
|
11624
11618
|
end
|
11625
11619
|
|
@@ -11656,10 +11650,20 @@ module Google
|
|
11656
11650
|
|
11657
11651
|
property :search_entry_point, as: 'searchEntryPoint', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchEntryPoint, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SearchEntryPoint::Representation
|
11658
11652
|
|
11653
|
+
collection :source_flagging_uris, as: 'sourceFlaggingUris', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingMetadataSourceFlaggingUri, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingMetadataSourceFlaggingUri::Representation
|
11654
|
+
|
11659
11655
|
collection :web_search_queries, as: 'webSearchQueries'
|
11660
11656
|
end
|
11661
11657
|
end
|
11662
11658
|
|
11659
|
+
class GoogleCloudAiplatformV1GroundingMetadataSourceFlaggingUri
|
11660
|
+
# @private
|
11661
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11662
|
+
property :flag_content_uri, as: 'flagContentUri'
|
11663
|
+
property :source_id, as: 'sourceId'
|
11664
|
+
end
|
11665
|
+
end
|
11666
|
+
|
11663
11667
|
class GoogleCloudAiplatformV1GroundingSupport
|
11664
11668
|
# @private
|
11665
11669
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12000,6 +12004,15 @@ module Google
|
|
12000
12004
|
end
|
12001
12005
|
end
|
12002
12006
|
|
12007
|
+
class GoogleCloudAiplatformV1InvokeRequest
|
12008
|
+
# @private
|
12009
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12010
|
+
property :deployed_model_id, as: 'deployedModelId'
|
12011
|
+
property :http_body, as: 'httpBody', class: Google::Apis::AiplatformV1::GoogleApiHttpBody, decorator: Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
|
12012
|
+
|
12013
|
+
end
|
12014
|
+
end
|
12015
|
+
|
12003
12016
|
class GoogleCloudAiplatformV1JiraSource
|
12004
12017
|
# @private
|
12005
12018
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12020,6 +12033,22 @@ module Google
|
|
12020
12033
|
end
|
12021
12034
|
end
|
12022
12035
|
|
12036
|
+
class GoogleCloudAiplatformV1LlmBasedMetricSpec
|
12037
|
+
# @private
|
12038
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12039
|
+
hash :additional_config, as: 'additionalConfig'
|
12040
|
+
property :judge_autorater_config, as: 'judgeAutoraterConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AutoraterConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AutoraterConfig::Representation
|
12041
|
+
|
12042
|
+
property :metric_prompt_template, as: 'metricPromptTemplate'
|
12043
|
+
property :predefined_rubric_generation_spec, as: 'predefinedRubricGenerationSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredefinedMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredefinedMetricSpec::Representation
|
12044
|
+
|
12045
|
+
property :rubric_generation_spec, as: 'rubricGenerationSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricGenerationSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricGenerationSpec::Representation
|
12046
|
+
|
12047
|
+
property :rubric_group_key, as: 'rubricGroupKey'
|
12048
|
+
property :system_instruction, as: 'systemInstruction'
|
12049
|
+
end
|
12050
|
+
end
|
12051
|
+
|
12023
12052
|
class GoogleCloudAiplatformV1LargeModelReference
|
12024
12053
|
# @private
|
12025
12054
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12582,6 +12611,16 @@ module Google
|
|
12582
12611
|
end
|
12583
12612
|
end
|
12584
12613
|
|
12614
|
+
class GoogleCloudAiplatformV1LustreMount
|
12615
|
+
# @private
|
12616
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12617
|
+
property :filesystem, as: 'filesystem'
|
12618
|
+
property :instance_ip, as: 'instanceIp'
|
12619
|
+
property :mount_point, as: 'mountPoint'
|
12620
|
+
property :volume_handle, as: 'volumeHandle'
|
12621
|
+
end
|
12622
|
+
end
|
12623
|
+
|
12585
12624
|
class GoogleCloudAiplatformV1MachineSpec
|
12586
12625
|
# @private
|
12587
12626
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12676,6 +12715,8 @@ module Google
|
|
12676
12715
|
|
12677
12716
|
property :exact_match_spec, as: 'exactMatchSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExactMatchSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExactMatchSpec::Representation
|
12678
12717
|
|
12718
|
+
property :llm_based_metric_spec, as: 'llmBasedMetricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LlmBasedMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LlmBasedMetricSpec::Representation
|
12719
|
+
|
12679
12720
|
property :pairwise_metric_spec, as: 'pairwiseMetricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricSpec::Representation
|
12680
12721
|
|
12681
12722
|
property :pointwise_metric_spec, as: 'pointwiseMetricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricSpec::Representation
|
@@ -19551,6 +19592,8 @@ module Google
|
|
19551
19592
|
|
19552
19593
|
property :disk_spec, as: 'diskSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DiskSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DiskSpec::Representation
|
19553
19594
|
|
19595
|
+
collection :lustre_mounts, as: 'lustreMounts', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LustreMount, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LustreMount::Representation
|
19596
|
+
|
19554
19597
|
property :machine_spec, as: 'machineSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MachineSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MachineSpec::Representation
|
19555
19598
|
|
19556
19599
|
collection :nfs_mounts, as: 'nfsMounts', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NfsMount, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NfsMount::Representation
|
@@ -1278,8 +1278,8 @@ module Google
|
|
1278
1278
|
# @param [String] name
|
1279
1279
|
# The resource that owns the locations collection, if applicable.
|
1280
1280
|
# @param [Array<String>, String] extra_location_types
|
1281
|
-
# Optional.
|
1282
|
-
#
|
1281
|
+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
|
1282
|
+
# field which is primarily intended for internal usage.
|
1283
1283
|
# @param [String] filter
|
1284
1284
|
# A filter to narrow down results to a preferred subset. The filtering language
|
1285
1285
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -5430,6 +5430,124 @@ module Google
|
|
5430
5430
|
execute_or_queue_command(command, &block)
|
5431
5431
|
end
|
5432
5432
|
|
5433
|
+
# Forwards arbitrary HTTP requests for both streaming and non-streaming cases.
|
5434
|
+
# To use this method, invoke_route_prefix must be set to allow the paths that
|
5435
|
+
# will be specified in the request.
|
5436
|
+
# @param [String] endpoint
|
5437
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
5438
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
5439
|
+
# @param [String] deployed_model_id
|
5440
|
+
# ID of the DeployedModel that serves the invoke request.
|
5441
|
+
# @param [String] invoke_id
|
5442
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1InvokeRequest] google_cloud_aiplatform_v1_invoke_request_object
|
5443
|
+
# @param [String] fields
|
5444
|
+
# Selector specifying which fields to include in a partial response.
|
5445
|
+
# @param [String] quota_user
|
5446
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5447
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5448
|
+
# @param [Google::Apis::RequestOptions] options
|
5449
|
+
# Request-specific options
|
5450
|
+
#
|
5451
|
+
# @yield [result, err] Result & error if block supplied
|
5452
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleApiHttpBody] parsed result object
|
5453
|
+
# @yieldparam err [StandardError] error object if request failed
|
5454
|
+
#
|
5455
|
+
# @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
|
5456
|
+
#
|
5457
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5458
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5459
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5460
|
+
def invoke_project_location_endpoint_deployed_model_invoke(endpoint, deployed_model_id, invoke_id, google_cloud_aiplatform_v1_invoke_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
5461
|
+
command = make_simple_command(:post, 'v1/{+endpoint}/deployedModels/{deployedModelId}/invoke/{+invokeId}', options)
|
5462
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1InvokeRequest::Representation
|
5463
|
+
command.request_object = google_cloud_aiplatform_v1_invoke_request_object
|
5464
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
|
5465
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleApiHttpBody
|
5466
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
5467
|
+
command.params['deployedModelId'] = deployed_model_id unless deployed_model_id.nil?
|
5468
|
+
command.params['invokeId'] = invoke_id unless invoke_id.nil?
|
5469
|
+
command.query['fields'] = fields unless fields.nil?
|
5470
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5471
|
+
execute_or_queue_command(command, &block)
|
5472
|
+
end
|
5473
|
+
|
5474
|
+
# Forwards arbitrary HTTP requests for both streaming and non-streaming cases.
|
5475
|
+
# To use this method, invoke_route_prefix must be set to allow the paths that
|
5476
|
+
# will be specified in the request.
|
5477
|
+
# @param [String] endpoint
|
5478
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
5479
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
5480
|
+
# @param [String] invoke_id
|
5481
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1InvokeRequest] google_cloud_aiplatform_v1_invoke_request_object
|
5482
|
+
# @param [String] fields
|
5483
|
+
# Selector specifying which fields to include in a partial response.
|
5484
|
+
# @param [String] quota_user
|
5485
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5486
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5487
|
+
# @param [Google::Apis::RequestOptions] options
|
5488
|
+
# Request-specific options
|
5489
|
+
#
|
5490
|
+
# @yield [result, err] Result & error if block supplied
|
5491
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleApiHttpBody] parsed result object
|
5492
|
+
# @yieldparam err [StandardError] error object if request failed
|
5493
|
+
#
|
5494
|
+
# @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
|
5495
|
+
#
|
5496
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5497
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5498
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5499
|
+
def invoke_project_location_endpoint_invoke(endpoint, invoke_id, google_cloud_aiplatform_v1_invoke_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
5500
|
+
command = make_simple_command(:post, 'v1/{+endpoint}/invoke/{+invokeId}', options)
|
5501
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1InvokeRequest::Representation
|
5502
|
+
command.request_object = google_cloud_aiplatform_v1_invoke_request_object
|
5503
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
|
5504
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleApiHttpBody
|
5505
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
5506
|
+
command.params['invokeId'] = invoke_id unless invoke_id.nil?
|
5507
|
+
command.query['fields'] = fields unless fields.nil?
|
5508
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5509
|
+
execute_or_queue_command(command, &block)
|
5510
|
+
end
|
5511
|
+
|
5512
|
+
# Forwards arbitrary HTTP requests for both streaming and non-streaming cases.
|
5513
|
+
# To use this method, invoke_route_prefix must be set to allow the paths that
|
5514
|
+
# will be specified in the request.
|
5515
|
+
# @param [String] endpoint
|
5516
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
5517
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
5518
|
+
# @param [Google::Apis::AiplatformV1::GoogleApiHttpBody] google_api_http_body_object
|
5519
|
+
# @param [String] deployed_model_id
|
5520
|
+
# ID of the DeployedModel that serves the invoke request.
|
5521
|
+
# @param [String] fields
|
5522
|
+
# Selector specifying which fields to include in a partial response.
|
5523
|
+
# @param [String] quota_user
|
5524
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5525
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5526
|
+
# @param [Google::Apis::RequestOptions] options
|
5527
|
+
# Request-specific options
|
5528
|
+
#
|
5529
|
+
# @yield [result, err] Result & error if block supplied
|
5530
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleApiHttpBody] parsed result object
|
5531
|
+
# @yieldparam err [StandardError] error object if request failed
|
5532
|
+
#
|
5533
|
+
# @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
|
5534
|
+
#
|
5535
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5536
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5537
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5538
|
+
def embeddings_project_location_endpoint_openapi(endpoint, google_api_http_body_object = nil, deployed_model_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5539
|
+
command = make_simple_command(:post, 'v1/{+endpoint}/embeddings', options)
|
5540
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
|
5541
|
+
command.request_object = google_api_http_body_object
|
5542
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
|
5543
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleApiHttpBody
|
5544
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
5545
|
+
command.query['deployedModelId'] = deployed_model_id unless deployed_model_id.nil?
|
5546
|
+
command.query['fields'] = fields unless fields.nil?
|
5547
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5548
|
+
execute_or_queue_command(command, &block)
|
5549
|
+
end
|
5550
|
+
|
5433
5551
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
5434
5552
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
5435
5553
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.67.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.67.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|