google-apis-aiplatform_v1 0.13.0 → 0.14.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: 230bc5c9931f593f07381b40100dc2f62c6f13ce7ef199c43487f16ec9312826
|
4
|
+
data.tar.gz: bc57aa707c8ba9cef6d40f33353fb984910e876cd77de21997b9558c6204a851
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecac9e798fe20fb1cfebf4d1fab8cbcc1f734801ec17bcab26ddfd2333cc585363694b1cd8a4bc4158b11239be9079fee7a1ad725656b1bad544353e53b0fca6
|
7
|
+
data.tar.gz: 6676c83aeea7d6d2614993dcb6b78e1185dde573a4b76df289b8dee7d339fd3e4967635b76f569c7589ab62b52977c1c94076e5d1874bdd28e829e964c3dd136
|
data/CHANGELOG.md
CHANGED
@@ -1060,11 +1060,31 @@ module Google
|
|
1060
1060
|
# @return [String]
|
1061
1061
|
attr_accessor :category
|
1062
1062
|
|
1063
|
+
# The influential terms that could potentially block the response.
|
1064
|
+
# Corresponds to the JSON property `influentialTerms`
|
1065
|
+
# @return [Array<Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm>]
|
1066
|
+
attr_accessor :influential_terms
|
1067
|
+
|
1063
1068
|
# Harm probability levels in the content.
|
1064
1069
|
# Corresponds to the JSON property `probability`
|
1065
1070
|
# @return [String]
|
1066
1071
|
attr_accessor :probability
|
1067
1072
|
|
1073
|
+
# Harm probability score.
|
1074
|
+
# Corresponds to the JSON property `probabilityScore`
|
1075
|
+
# @return [Float]
|
1076
|
+
attr_accessor :probability_score
|
1077
|
+
|
1078
|
+
# Harm severity levels in the content.
|
1079
|
+
# Corresponds to the JSON property `severity`
|
1080
|
+
# @return [String]
|
1081
|
+
attr_accessor :severity
|
1082
|
+
|
1083
|
+
# Harm severity score.
|
1084
|
+
# Corresponds to the JSON property `severityScore`
|
1085
|
+
# @return [Float]
|
1086
|
+
attr_accessor :severity_score
|
1087
|
+
|
1068
1088
|
def initialize(**args)
|
1069
1089
|
update!(**args)
|
1070
1090
|
end
|
@@ -1073,7 +1093,48 @@ module Google
|
|
1073
1093
|
def update!(**args)
|
1074
1094
|
@blocked = args[:blocked] if args.key?(:blocked)
|
1075
1095
|
@category = args[:category] if args.key?(:category)
|
1096
|
+
@influential_terms = args[:influential_terms] if args.key?(:influential_terms)
|
1076
1097
|
@probability = args[:probability] if args.key?(:probability)
|
1098
|
+
@probability_score = args[:probability_score] if args.key?(:probability_score)
|
1099
|
+
@severity = args[:severity] if args.key?(:severity)
|
1100
|
+
@severity_score = args[:severity_score] if args.key?(:severity_score)
|
1101
|
+
end
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
# The influential term that could potentially block the response.
|
1105
|
+
class CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm
|
1106
|
+
include Google::Apis::Core::Hashable
|
1107
|
+
|
1108
|
+
# The beginning offset of the influential term.
|
1109
|
+
# Corresponds to the JSON property `beginOffset`
|
1110
|
+
# @return [Fixnum]
|
1111
|
+
attr_accessor :begin_offset
|
1112
|
+
|
1113
|
+
# The confidence score of the influential term.
|
1114
|
+
# Corresponds to the JSON property `confidence`
|
1115
|
+
# @return [Float]
|
1116
|
+
attr_accessor :confidence
|
1117
|
+
|
1118
|
+
# The source of the influential term, prompt or response.
|
1119
|
+
# Corresponds to the JSON property `source`
|
1120
|
+
# @return [String]
|
1121
|
+
attr_accessor :source
|
1122
|
+
|
1123
|
+
# The influential term.
|
1124
|
+
# Corresponds to the JSON property `term`
|
1125
|
+
# @return [String]
|
1126
|
+
attr_accessor :term
|
1127
|
+
|
1128
|
+
def initialize(**args)
|
1129
|
+
update!(**args)
|
1130
|
+
end
|
1131
|
+
|
1132
|
+
# Update properties of this object
|
1133
|
+
def update!(**args)
|
1134
|
+
@begin_offset = args[:begin_offset] if args.key?(:begin_offset)
|
1135
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
1136
|
+
@source = args[:source] if args.key?(:source)
|
1137
|
+
@term = args[:term] if args.key?(:term)
|
1077
1138
|
end
|
1078
1139
|
end
|
1079
1140
|
|
@@ -2946,6 +3007,11 @@ module Google
|
|
2946
3007
|
# @return [String]
|
2947
3008
|
attr_accessor :finish_reason
|
2948
3009
|
|
3010
|
+
# Metadata returned to client when grounding is enabled.
|
3011
|
+
# Corresponds to the JSON property `groundingMetadata`
|
3012
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingMetadata]
|
3013
|
+
attr_accessor :grounding_metadata
|
3014
|
+
|
2949
3015
|
# Output only. Index of the candidate.
|
2950
3016
|
# Corresponds to the JSON property `index`
|
2951
3017
|
# @return [Fixnum]
|
@@ -2967,6 +3033,7 @@ module Google
|
|
2967
3033
|
@content = args[:content] if args.key?(:content)
|
2968
3034
|
@finish_message = args[:finish_message] if args.key?(:finish_message)
|
2969
3035
|
@finish_reason = args[:finish_reason] if args.key?(:finish_reason)
|
3036
|
+
@grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
|
2970
3037
|
@index = args[:index] if args.key?(:index)
|
2971
3038
|
@safety_ratings = args[:safety_ratings] if args.key?(:safety_ratings)
|
2972
3039
|
end
|
@@ -3930,13 +3997,6 @@ module Google
|
|
3930
3997
|
# @return [String]
|
3931
3998
|
attr_accessor :pipeline_job_id
|
3932
3999
|
|
3933
|
-
# Optional. Whether to do component level validations before job creation.
|
3934
|
-
# Currently we only support Google First Party Component/Pipelines.
|
3935
|
-
# Corresponds to the JSON property `preflightValidations`
|
3936
|
-
# @return [Boolean]
|
3937
|
-
attr_accessor :preflight_validations
|
3938
|
-
alias_method :preflight_validations?, :preflight_validations
|
3939
|
-
|
3940
4000
|
def initialize(**args)
|
3941
4001
|
update!(**args)
|
3942
4002
|
end
|
@@ -3946,7 +4006,6 @@ module Google
|
|
3946
4006
|
@parent = args[:parent] if args.key?(:parent)
|
3947
4007
|
@pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
|
3948
4008
|
@pipeline_job_id = args[:pipeline_job_id] if args.key?(:pipeline_job_id)
|
3949
|
-
@preflight_validations = args[:preflight_validations] if args.key?(:preflight_validations)
|
3950
4009
|
end
|
3951
4010
|
end
|
3952
4011
|
|
@@ -5865,6 +5924,11 @@ module Google
|
|
5865
5924
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig]
|
5866
5925
|
attr_accessor :predict_request_response_logging_config
|
5867
5926
|
|
5927
|
+
# Represents configuration for private service connect.
|
5928
|
+
# Corresponds to the JSON property `privateServiceConnectConfig`
|
5929
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig]
|
5930
|
+
attr_accessor :private_service_connect_config
|
5931
|
+
|
5868
5932
|
# A map from a DeployedModel's ID to the percentage of this Endpoint's traffic
|
5869
5933
|
# that should be forwarded to that DeployedModel. If a DeployedModel's ID is not
|
5870
5934
|
# listed in this map, then it receives no traffic. The traffic percentage values
|
@@ -5897,6 +5961,7 @@ module Google
|
|
5897
5961
|
@name = args[:name] if args.key?(:name)
|
5898
5962
|
@network = args[:network] if args.key?(:network)
|
5899
5963
|
@predict_request_response_logging_config = args[:predict_request_response_logging_config] if args.key?(:predict_request_response_logging_config)
|
5964
|
+
@private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config)
|
5900
5965
|
@traffic_split = args[:traffic_split] if args.key?(:traffic_split)
|
5901
5966
|
@update_time = args[:update_time] if args.key?(:update_time)
|
5902
5967
|
end
|
@@ -8442,6 +8507,11 @@ module Google
|
|
8442
8507
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup>]
|
8443
8508
|
attr_accessor :feature_groups
|
8444
8509
|
|
8510
|
+
# Optional. The project number of the parent project of the Feature Groups.
|
8511
|
+
# Corresponds to the JSON property `projectNumber`
|
8512
|
+
# @return [Fixnum]
|
8513
|
+
attr_accessor :project_number
|
8514
|
+
|
8445
8515
|
def initialize(**args)
|
8446
8516
|
update!(**args)
|
8447
8517
|
end
|
@@ -8449,6 +8519,7 @@ module Google
|
|
8449
8519
|
# Update properties of this object
|
8450
8520
|
def update!(**args)
|
8451
8521
|
@feature_groups = args[:feature_groups] if args.key?(:feature_groups)
|
8522
|
+
@project_number = args[:project_number] if args.key?(:project_number)
|
8452
8523
|
end
|
8453
8524
|
end
|
8454
8525
|
|
@@ -8515,6 +8586,12 @@ module Google
|
|
8515
8586
|
# @return [Google::Apis::AiplatformV1::GoogleTypeInterval]
|
8516
8587
|
attr_accessor :run_time
|
8517
8588
|
|
8589
|
+
# Summary from the Sync job. For continuous syncs, the summary is updated
|
8590
|
+
# periodically. For batch syncs, it gets updated on completion of the sync.
|
8591
|
+
# Corresponds to the JSON property `syncSummary`
|
8592
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncSyncSummary]
|
8593
|
+
attr_accessor :sync_summary
|
8594
|
+
|
8518
8595
|
def initialize(**args)
|
8519
8596
|
update!(**args)
|
8520
8597
|
end
|
@@ -8525,6 +8602,7 @@ module Google
|
|
8525
8602
|
@final_status = args[:final_status] if args.key?(:final_status)
|
8526
8603
|
@name = args[:name] if args.key?(:name)
|
8527
8604
|
@run_time = args[:run_time] if args.key?(:run_time)
|
8605
|
+
@sync_summary = args[:sync_summary] if args.key?(:sync_summary)
|
8528
8606
|
end
|
8529
8607
|
end
|
8530
8608
|
|
@@ -8551,6 +8629,32 @@ module Google
|
|
8551
8629
|
end
|
8552
8630
|
end
|
8553
8631
|
|
8632
|
+
# Summary from the Sync job. For continuous syncs, the summary is updated
|
8633
|
+
# periodically. For batch syncs, it gets updated on completion of the sync.
|
8634
|
+
class GoogleCloudAiplatformV1FeatureViewSyncSyncSummary
|
8635
|
+
include Google::Apis::Core::Hashable
|
8636
|
+
|
8637
|
+
# Output only. Total number of rows synced.
|
8638
|
+
# Corresponds to the JSON property `rowSynced`
|
8639
|
+
# @return [Fixnum]
|
8640
|
+
attr_accessor :row_synced
|
8641
|
+
|
8642
|
+
# Output only. BigQuery slot milliseconds consumed for the sync job.
|
8643
|
+
# Corresponds to the JSON property `totalSlot`
|
8644
|
+
# @return [Fixnum]
|
8645
|
+
attr_accessor :total_slot
|
8646
|
+
|
8647
|
+
def initialize(**args)
|
8648
|
+
update!(**args)
|
8649
|
+
end
|
8650
|
+
|
8651
|
+
# Update properties of this object
|
8652
|
+
def update!(**args)
|
8653
|
+
@row_synced = args[:row_synced] if args.key?(:row_synced)
|
8654
|
+
@total_slot = args[:total_slot] if args.key?(:total_slot)
|
8655
|
+
end
|
8656
|
+
end
|
8657
|
+
|
8554
8658
|
# Vertex AI Feature Store provides a centralized repository for organizing,
|
8555
8659
|
# storing, and serving ML features. The Featurestore is a top-level container
|
8556
8660
|
# for your features and their values.
|
@@ -9378,7 +9482,7 @@ module Google
|
|
9378
9482
|
# Optional. A list of `Tools` the model may use to generate the next response. A
|
9379
9483
|
# `Tool` is a piece of code that enables the system to interact with external
|
9380
9484
|
# systems to perform an action, or set of actions, outside of knowledge and
|
9381
|
-
# scope of the model.
|
9485
|
+
# scope of the model.
|
9382
9486
|
# Corresponds to the JSON property `tools`
|
9383
9487
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool>]
|
9384
9488
|
attr_accessor :tools
|
@@ -9572,6 +9676,110 @@ module Google
|
|
9572
9676
|
end
|
9573
9677
|
end
|
9574
9678
|
|
9679
|
+
# Tool to retrieve public web data for grounding, powered by Google.
|
9680
|
+
class GoogleCloudAiplatformV1GoogleSearchRetrieval
|
9681
|
+
include Google::Apis::Core::Hashable
|
9682
|
+
|
9683
|
+
# Optional. Disable using the result from this tool in detecting grounding
|
9684
|
+
# attribution. This does not affect how the result is given to the model for
|
9685
|
+
# generation.
|
9686
|
+
# Corresponds to the JSON property `disableAttribution`
|
9687
|
+
# @return [Boolean]
|
9688
|
+
attr_accessor :disable_attribution
|
9689
|
+
alias_method :disable_attribution?, :disable_attribution
|
9690
|
+
|
9691
|
+
def initialize(**args)
|
9692
|
+
update!(**args)
|
9693
|
+
end
|
9694
|
+
|
9695
|
+
# Update properties of this object
|
9696
|
+
def update!(**args)
|
9697
|
+
@disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
|
9698
|
+
end
|
9699
|
+
end
|
9700
|
+
|
9701
|
+
# Grounding attribution.
|
9702
|
+
class GoogleCloudAiplatformV1GroundingAttribution
|
9703
|
+
include Google::Apis::Core::Hashable
|
9704
|
+
|
9705
|
+
# Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1.
|
9706
|
+
# 1 is the most confident.
|
9707
|
+
# Corresponds to the JSON property `confidenceScore`
|
9708
|
+
# @return [Float]
|
9709
|
+
attr_accessor :confidence_score
|
9710
|
+
|
9711
|
+
# Segment of the content.
|
9712
|
+
# Corresponds to the JSON property `segment`
|
9713
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Segment]
|
9714
|
+
attr_accessor :segment
|
9715
|
+
|
9716
|
+
# Attribution from the web.
|
9717
|
+
# Corresponds to the JSON property `web`
|
9718
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttributionWeb]
|
9719
|
+
attr_accessor :web
|
9720
|
+
|
9721
|
+
def initialize(**args)
|
9722
|
+
update!(**args)
|
9723
|
+
end
|
9724
|
+
|
9725
|
+
# Update properties of this object
|
9726
|
+
def update!(**args)
|
9727
|
+
@confidence_score = args[:confidence_score] if args.key?(:confidence_score)
|
9728
|
+
@segment = args[:segment] if args.key?(:segment)
|
9729
|
+
@web = args[:web] if args.key?(:web)
|
9730
|
+
end
|
9731
|
+
end
|
9732
|
+
|
9733
|
+
# Attribution from the web.
|
9734
|
+
class GoogleCloudAiplatformV1GroundingAttributionWeb
|
9735
|
+
include Google::Apis::Core::Hashable
|
9736
|
+
|
9737
|
+
# Output only. Title of the attribution.
|
9738
|
+
# Corresponds to the JSON property `title`
|
9739
|
+
# @return [String]
|
9740
|
+
attr_accessor :title
|
9741
|
+
|
9742
|
+
# Output only. URI reference of the attribution.
|
9743
|
+
# Corresponds to the JSON property `uri`
|
9744
|
+
# @return [String]
|
9745
|
+
attr_accessor :uri
|
9746
|
+
|
9747
|
+
def initialize(**args)
|
9748
|
+
update!(**args)
|
9749
|
+
end
|
9750
|
+
|
9751
|
+
# Update properties of this object
|
9752
|
+
def update!(**args)
|
9753
|
+
@title = args[:title] if args.key?(:title)
|
9754
|
+
@uri = args[:uri] if args.key?(:uri)
|
9755
|
+
end
|
9756
|
+
end
|
9757
|
+
|
9758
|
+
# Metadata returned to client when grounding is enabled.
|
9759
|
+
class GoogleCloudAiplatformV1GroundingMetadata
|
9760
|
+
include Google::Apis::Core::Hashable
|
9761
|
+
|
9762
|
+
# Optional. List of grounding attributions.
|
9763
|
+
# Corresponds to the JSON property `groundingAttributions`
|
9764
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution>]
|
9765
|
+
attr_accessor :grounding_attributions
|
9766
|
+
|
9767
|
+
# Optional. Web search queries for the following-up web search.
|
9768
|
+
# Corresponds to the JSON property `webSearchQueries`
|
9769
|
+
# @return [Array<String>]
|
9770
|
+
attr_accessor :web_search_queries
|
9771
|
+
|
9772
|
+
def initialize(**args)
|
9773
|
+
update!(**args)
|
9774
|
+
end
|
9775
|
+
|
9776
|
+
# Update properties of this object
|
9777
|
+
def update!(**args)
|
9778
|
+
@grounding_attributions = args[:grounding_attributions] if args.key?(:grounding_attributions)
|
9779
|
+
@web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
|
9780
|
+
end
|
9781
|
+
end
|
9782
|
+
|
9575
9783
|
# Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study
|
9576
9784
|
# specification and multiple CustomJobs with identical CustomJob specification.
|
9577
9785
|
class GoogleCloudAiplatformV1HyperparameterTuningJob
|
@@ -15926,11 +16134,6 @@ module Google
|
|
15926
16134
|
class GoogleCloudAiplatformV1PipelineJobRuntimeConfig
|
15927
16135
|
include Google::Apis::Core::Hashable
|
15928
16136
|
|
15929
|
-
# The default runtime for the PipelineJob.
|
15930
|
-
# Corresponds to the JSON property `defaultRuntime`
|
15931
|
-
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime]
|
15932
|
-
attr_accessor :default_runtime
|
15933
|
-
|
15934
16137
|
# Represents the failure policy of a pipeline. Currently, the default of a
|
15935
16138
|
# pipeline is that the pipeline will continue to run until no more tasks can be
|
15936
16139
|
# executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a
|
@@ -15981,7 +16184,6 @@ module Google
|
|
15981
16184
|
|
15982
16185
|
# Update properties of this object
|
15983
16186
|
def update!(**args)
|
15984
|
-
@default_runtime = args[:default_runtime] if args.key?(:default_runtime)
|
15985
16187
|
@failure_policy = args[:failure_policy] if args.key?(:failure_policy)
|
15986
16188
|
@gcs_output_directory = args[:gcs_output_directory] if args.key?(:gcs_output_directory)
|
15987
16189
|
@input_artifacts = args[:input_artifacts] if args.key?(:input_artifacts)
|
@@ -15990,26 +16192,6 @@ module Google
|
|
15990
16192
|
end
|
15991
16193
|
end
|
15992
16194
|
|
15993
|
-
# The default runtime for the PipelineJob.
|
15994
|
-
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime
|
15995
|
-
include Google::Apis::Core::Hashable
|
15996
|
-
|
15997
|
-
# Persistent resource based runtime detail. For more information, refer to https:
|
15998
|
-
# //cloud.google.com/vertex-ai/docs/training/persistent-resource-overview
|
15999
|
-
# Corresponds to the JSON property `persistentResourceRuntimeDetail`
|
16000
|
-
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail]
|
16001
|
-
attr_accessor :persistent_resource_runtime_detail
|
16002
|
-
|
16003
|
-
def initialize(**args)
|
16004
|
-
update!(**args)
|
16005
|
-
end
|
16006
|
-
|
16007
|
-
# Update properties of this object
|
16008
|
-
def update!(**args)
|
16009
|
-
@persistent_resource_runtime_detail = args[:persistent_resource_runtime_detail] if args.key?(:persistent_resource_runtime_detail)
|
16010
|
-
end
|
16011
|
-
end
|
16012
|
-
|
16013
16195
|
# The type of an input artifact.
|
16014
16196
|
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact
|
16015
16197
|
include Google::Apis::Core::Hashable
|
@@ -16032,27 +16214,6 @@ module Google
|
|
16032
16214
|
end
|
16033
16215
|
end
|
16034
16216
|
|
16035
|
-
# Persistent resource based runtime detail. For more information, refer to https:
|
16036
|
-
# //cloud.google.com/vertex-ai/docs/training/persistent-resource-overview
|
16037
|
-
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail
|
16038
|
-
include Google::Apis::Core::Hashable
|
16039
|
-
|
16040
|
-
# Persistent resource name. Format: `projects/`project`/locations/`location`/
|
16041
|
-
# persistentResources/`persistent_resource``
|
16042
|
-
# Corresponds to the JSON property `persistentResourceName`
|
16043
|
-
# @return [String]
|
16044
|
-
attr_accessor :persistent_resource_name
|
16045
|
-
|
16046
|
-
def initialize(**args)
|
16047
|
-
update!(**args)
|
16048
|
-
end
|
16049
|
-
|
16050
|
-
# Update properties of this object
|
16051
|
-
def update!(**args)
|
16052
|
-
@persistent_resource_name = args[:persistent_resource_name] if args.key?(:persistent_resource_name)
|
16053
|
-
end
|
16054
|
-
end
|
16055
|
-
|
16056
16217
|
# The runtime detail of a task execution.
|
16057
16218
|
class GoogleCloudAiplatformV1PipelineTaskDetail
|
16058
16219
|
include Google::Apis::Core::Hashable
|
@@ -17984,6 +18145,35 @@ module Google
|
|
17984
18145
|
end
|
17985
18146
|
end
|
17986
18147
|
|
18148
|
+
# Defines a retrieval tool that model can call to access external knowledge.
|
18149
|
+
class GoogleCloudAiplatformV1Retrieval
|
18150
|
+
include Google::Apis::Core::Hashable
|
18151
|
+
|
18152
|
+
# Optional. Disable using the result from this tool in detecting grounding
|
18153
|
+
# attribution. This does not affect how the result is given to the model for
|
18154
|
+
# generation.
|
18155
|
+
# Corresponds to the JSON property `disableAttribution`
|
18156
|
+
# @return [Boolean]
|
18157
|
+
attr_accessor :disable_attribution
|
18158
|
+
alias_method :disable_attribution?, :disable_attribution
|
18159
|
+
|
18160
|
+
# Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
|
18161
|
+
# google.com/vertex-ai-search-and-conversation
|
18162
|
+
# Corresponds to the JSON property `vertexAiSearch`
|
18163
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearch]
|
18164
|
+
attr_accessor :vertex_ai_search
|
18165
|
+
|
18166
|
+
def initialize(**args)
|
18167
|
+
update!(**args)
|
18168
|
+
end
|
18169
|
+
|
18170
|
+
# Update properties of this object
|
18171
|
+
def update!(**args)
|
18172
|
+
@disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
|
18173
|
+
@vertex_ai_search = args[:vertex_ai_search] if args.key?(:vertex_ai_search)
|
18174
|
+
end
|
18175
|
+
end
|
18176
|
+
|
17987
18177
|
# Safety rating corresponding to the generated content.
|
17988
18178
|
class GoogleCloudAiplatformV1SafetyRating
|
17989
18179
|
include Google::Apis::Core::Hashable
|
@@ -24829,6 +25019,39 @@ module Google
|
|
24829
25019
|
end
|
24830
25020
|
end
|
24831
25021
|
|
25022
|
+
# Segment of the content.
|
25023
|
+
class GoogleCloudAiplatformV1Segment
|
25024
|
+
include Google::Apis::Core::Hashable
|
25025
|
+
|
25026
|
+
# Output only. End index in the given Part, measured in bytes. Offset from the
|
25027
|
+
# start of the Part, exclusive, starting at zero.
|
25028
|
+
# Corresponds to the JSON property `endIndex`
|
25029
|
+
# @return [Fixnum]
|
25030
|
+
attr_accessor :end_index
|
25031
|
+
|
25032
|
+
# Output only. The index of a Part object within its parent Content object.
|
25033
|
+
# Corresponds to the JSON property `partIndex`
|
25034
|
+
# @return [Fixnum]
|
25035
|
+
attr_accessor :part_index
|
25036
|
+
|
25037
|
+
# Output only. Start index in the given Part, measured in bytes. Offset from the
|
25038
|
+
# start of the Part, inclusive, starting at zero.
|
25039
|
+
# Corresponds to the JSON property `startIndex`
|
25040
|
+
# @return [Fixnum]
|
25041
|
+
attr_accessor :start_index
|
25042
|
+
|
25043
|
+
def initialize(**args)
|
25044
|
+
update!(**args)
|
25045
|
+
end
|
25046
|
+
|
25047
|
+
# Update properties of this object
|
25048
|
+
def update!(**args)
|
25049
|
+
@end_index = args[:end_index] if args.key?(:end_index)
|
25050
|
+
@part_index = args[:part_index] if args.key?(:part_index)
|
25051
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
25052
|
+
end
|
25053
|
+
end
|
25054
|
+
|
24832
25055
|
# A set of Shielded Instance options. See [Images using supported Shielded VM
|
24833
25056
|
# features](https://cloud.google.com/compute/docs/instances/modifying-shielded-
|
24834
25057
|
# vm).
|
@@ -26771,7 +26994,8 @@ module Google
|
|
26771
26994
|
|
26772
26995
|
# Tool details that the model may use to generate response. A `Tool` is a piece
|
26773
26996
|
# of code that enables the system to interact with external systems to perform
|
26774
|
-
# an action, or set of actions, outside of knowledge and scope of the model.
|
26997
|
+
# an action, or set of actions, outside of knowledge and scope of the model. A
|
26998
|
+
# Tool object should contain exactly one type of Tool.
|
26775
26999
|
class GoogleCloudAiplatformV1Tool
|
26776
27000
|
include Google::Apis::Core::Hashable
|
26777
27001
|
|
@@ -26785,6 +27009,16 @@ module Google
|
|
26785
27009
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration>]
|
26786
27010
|
attr_accessor :function_declarations
|
26787
27011
|
|
27012
|
+
# Tool to retrieve public web data for grounding, powered by Google.
|
27013
|
+
# Corresponds to the JSON property `googleSearchRetrieval`
|
27014
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval]
|
27015
|
+
attr_accessor :google_search_retrieval
|
27016
|
+
|
27017
|
+
# Defines a retrieval tool that model can call to access external knowledge.
|
27018
|
+
# Corresponds to the JSON property `retrieval`
|
27019
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval]
|
27020
|
+
attr_accessor :retrieval
|
27021
|
+
|
26788
27022
|
def initialize(**args)
|
26789
27023
|
update!(**args)
|
26790
27024
|
end
|
@@ -26792,6 +27026,8 @@ module Google
|
|
26792
27026
|
# Update properties of this object
|
26793
27027
|
def update!(**args)
|
26794
27028
|
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
|
27029
|
+
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
27030
|
+
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
26795
27031
|
end
|
26796
27032
|
end
|
26797
27033
|
|
@@ -27778,6 +28014,27 @@ module Google
|
|
27778
28014
|
end
|
27779
28015
|
end
|
27780
28016
|
|
28017
|
+
# Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
|
28018
|
+
# google.com/vertex-ai-search-and-conversation
|
28019
|
+
class GoogleCloudAiplatformV1VertexAiSearch
|
28020
|
+
include Google::Apis::Core::Hashable
|
28021
|
+
|
28022
|
+
# Required. Fully-qualified Vertex AI Search's datastore resource ID. projects/<>
|
28023
|
+
# /locations/<>/collections/<>/dataStores/<>
|
28024
|
+
# Corresponds to the JSON property `datastore`
|
28025
|
+
# @return [String]
|
28026
|
+
attr_accessor :datastore
|
28027
|
+
|
28028
|
+
def initialize(**args)
|
28029
|
+
update!(**args)
|
28030
|
+
end
|
28031
|
+
|
28032
|
+
# Update properties of this object
|
28033
|
+
def update!(**args)
|
28034
|
+
@datastore = args[:datastore] if args.key?(:datastore)
|
28035
|
+
end
|
28036
|
+
end
|
28037
|
+
|
27781
28038
|
# Metadata describes the input video content.
|
27782
28039
|
class GoogleCloudAiplatformV1VideoMetadata
|
27783
28040
|
include Google::Apis::Core::Hashable
|
@@ -29072,7 +29329,8 @@ module Google
|
|
29072
29329
|
|
29073
29330
|
# The recitation action for one given input. When its segments contain different
|
29074
29331
|
# actions, the overall action will be returned in the precedence of BLOCK > CITE
|
29075
|
-
# > NO_ACTION.
|
29332
|
+
# > NO_ACTION. When the given input is not found in any source, the recitation
|
29333
|
+
# action will not be specified.
|
29076
29334
|
# Corresponds to the JSON property `recitationAction`
|
29077
29335
|
# @return [String]
|
29078
29336
|
attr_accessor :recitation_action
|
@@ -29426,7 +29684,8 @@ module Google
|
|
29426
29684
|
|
29427
29685
|
# The recitation action for one given input. When its segments contain different
|
29428
29686
|
# actions, the overall action will be returned in the precedence of BLOCK > CITE
|
29429
|
-
# > NO_ACTION.
|
29687
|
+
# > NO_ACTION. When the given input is not found in any source, the recitation
|
29688
|
+
# action will be NO_ACTION.
|
29430
29689
|
# Corresponds to the JSON property `recitationAction`
|
29431
29690
|
# @return [String]
|
29432
29691
|
attr_accessor :recitation_action
|
@@ -30888,6 +31147,12 @@ module Google
|
|
30888
31147
|
# @return [Google::Apis::AiplatformV1::LearningGenaiRootGroundingMetadata]
|
30889
31148
|
attr_accessor :grounding_metadata
|
30890
31149
|
|
31150
|
+
# Applies to streaming response message only. Whether the message is a code.
|
31151
|
+
# Corresponds to the JSON property `isCode`
|
31152
|
+
# @return [Boolean]
|
31153
|
+
attr_accessor :is_code
|
31154
|
+
alias_method :is_code?, :is_code
|
31155
|
+
|
30891
31156
|
# Applies to Response message only. Indicates whether the message is a fallback
|
30892
31157
|
# and the response would have otherwise been empty.
|
30893
31158
|
# Corresponds to the JSON property `isFallback`
|
@@ -30986,6 +31251,7 @@ module Google
|
|
30986
31251
|
@final_message_score = args[:final_message_score] if args.key?(:final_message_score)
|
30987
31252
|
@finish_reason = args[:finish_reason] if args.key?(:finish_reason)
|
30988
31253
|
@grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
|
31254
|
+
@is_code = args[:is_code] if args.key?(:is_code)
|
30989
31255
|
@is_fallback = args[:is_fallback] if args.key?(:is_fallback)
|
30990
31256
|
@langid_result = args[:langid_result] if args.key?(:langid_result)
|
30991
31257
|
@language = args[:language] if args.key?(:language)
|
@@ -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.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240213"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -208,6 +208,12 @@ module Google
|
|
208
208
|
include Google::Apis::Core::JsonObjectSupport
|
209
209
|
end
|
210
210
|
|
211
|
+
class CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
211
217
|
class CloudAiNlLlmProtoServiceUsageMetadata
|
212
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
219
|
|
@@ -1444,6 +1450,12 @@ module Google
|
|
1444
1450
|
include Google::Apis::Core::JsonObjectSupport
|
1445
1451
|
end
|
1446
1452
|
|
1453
|
+
class GoogleCloudAiplatformV1FeatureViewSyncSyncSummary
|
1454
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1455
|
+
|
1456
|
+
include Google::Apis::Core::JsonObjectSupport
|
1457
|
+
end
|
1458
|
+
|
1447
1459
|
class GoogleCloudAiplatformV1Featurestore
|
1448
1460
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1449
1461
|
|
@@ -1624,6 +1636,30 @@ module Google
|
|
1624
1636
|
include Google::Apis::Core::JsonObjectSupport
|
1625
1637
|
end
|
1626
1638
|
|
1639
|
+
class GoogleCloudAiplatformV1GoogleSearchRetrieval
|
1640
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1641
|
+
|
1642
|
+
include Google::Apis::Core::JsonObjectSupport
|
1643
|
+
end
|
1644
|
+
|
1645
|
+
class GoogleCloudAiplatformV1GroundingAttribution
|
1646
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1647
|
+
|
1648
|
+
include Google::Apis::Core::JsonObjectSupport
|
1649
|
+
end
|
1650
|
+
|
1651
|
+
class GoogleCloudAiplatformV1GroundingAttributionWeb
|
1652
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1653
|
+
|
1654
|
+
include Google::Apis::Core::JsonObjectSupport
|
1655
|
+
end
|
1656
|
+
|
1657
|
+
class GoogleCloudAiplatformV1GroundingMetadata
|
1658
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1659
|
+
|
1660
|
+
include Google::Apis::Core::JsonObjectSupport
|
1661
|
+
end
|
1662
|
+
|
1627
1663
|
class GoogleCloudAiplatformV1HyperparameterTuningJob
|
1628
1664
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1629
1665
|
|
@@ -2596,24 +2632,12 @@ module Google
|
|
2596
2632
|
include Google::Apis::Core::JsonObjectSupport
|
2597
2633
|
end
|
2598
2634
|
|
2599
|
-
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime
|
2600
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2601
|
-
|
2602
|
-
include Google::Apis::Core::JsonObjectSupport
|
2603
|
-
end
|
2604
|
-
|
2605
2635
|
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact
|
2606
2636
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2607
2637
|
|
2608
2638
|
include Google::Apis::Core::JsonObjectSupport
|
2609
2639
|
end
|
2610
2640
|
|
2611
|
-
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail
|
2612
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2613
|
-
|
2614
|
-
include Google::Apis::Core::JsonObjectSupport
|
2615
|
-
end
|
2616
|
-
|
2617
2641
|
class GoogleCloudAiplatformV1PipelineTaskDetail
|
2618
2642
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2619
2643
|
|
@@ -2992,6 +3016,12 @@ module Google
|
|
2992
3016
|
include Google::Apis::Core::JsonObjectSupport
|
2993
3017
|
end
|
2994
3018
|
|
3019
|
+
class GoogleCloudAiplatformV1Retrieval
|
3020
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3021
|
+
|
3022
|
+
include Google::Apis::Core::JsonObjectSupport
|
3023
|
+
end
|
3024
|
+
|
2995
3025
|
class GoogleCloudAiplatformV1SafetyRating
|
2996
3026
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2997
3027
|
|
@@ -4090,6 +4120,12 @@ module Google
|
|
4090
4120
|
include Google::Apis::Core::JsonObjectSupport
|
4091
4121
|
end
|
4092
4122
|
|
4123
|
+
class GoogleCloudAiplatformV1Segment
|
4124
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4125
|
+
|
4126
|
+
include Google::Apis::Core::JsonObjectSupport
|
4127
|
+
end
|
4128
|
+
|
4093
4129
|
class GoogleCloudAiplatformV1ShieldedVmConfig
|
4094
4130
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4095
4131
|
|
@@ -4600,6 +4636,12 @@ module Google
|
|
4600
4636
|
include Google::Apis::Core::JsonObjectSupport
|
4601
4637
|
end
|
4602
4638
|
|
4639
|
+
class GoogleCloudAiplatformV1VertexAiSearch
|
4640
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4641
|
+
|
4642
|
+
include Google::Apis::Core::JsonObjectSupport
|
4643
|
+
end
|
4644
|
+
|
4603
4645
|
class GoogleCloudAiplatformV1VideoMetadata
|
4604
4646
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4605
4647
|
|
@@ -5419,7 +5461,22 @@ module Google
|
|
5419
5461
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5420
5462
|
property :blocked, as: 'blocked'
|
5421
5463
|
property :category, as: 'category'
|
5464
|
+
collection :influential_terms, as: 'influentialTerms', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm::Representation
|
5465
|
+
|
5422
5466
|
property :probability, as: 'probability'
|
5467
|
+
property :probability_score, as: 'probabilityScore'
|
5468
|
+
property :severity, as: 'severity'
|
5469
|
+
property :severity_score, as: 'severityScore'
|
5470
|
+
end
|
5471
|
+
end
|
5472
|
+
|
5473
|
+
class CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm
|
5474
|
+
# @private
|
5475
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5476
|
+
property :begin_offset, as: 'beginOffset'
|
5477
|
+
property :confidence, as: 'confidence'
|
5478
|
+
property :source, as: 'source'
|
5479
|
+
property :term, as: 'term'
|
5423
5480
|
end
|
5424
5481
|
end
|
5425
5482
|
|
@@ -5967,6 +6024,8 @@ module Google
|
|
5967
6024
|
|
5968
6025
|
property :finish_message, as: 'finishMessage'
|
5969
6026
|
property :finish_reason, as: 'finishReason'
|
6027
|
+
property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingMetadata::Representation
|
6028
|
+
|
5970
6029
|
property :index, as: 'index'
|
5971
6030
|
collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyRating, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyRating::Representation
|
5972
6031
|
|
@@ -6281,7 +6340,6 @@ module Google
|
|
6281
6340
|
property :pipeline_job, as: 'pipelineJob', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJob, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJob::Representation
|
6282
6341
|
|
6283
6342
|
property :pipeline_job_id, as: 'pipelineJobId'
|
6284
|
-
property :preflight_validations, as: 'preflightValidations'
|
6285
6343
|
end
|
6286
6344
|
end
|
6287
6345
|
|
@@ -6784,6 +6842,8 @@ module Google
|
|
6784
6842
|
property :network, as: 'network'
|
6785
6843
|
property :predict_request_response_logging_config, as: 'predictRequestResponseLoggingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig::Representation
|
6786
6844
|
|
6845
|
+
property :private_service_connect_config, as: 'privateServiceConnectConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig::Representation
|
6846
|
+
|
6787
6847
|
hash :traffic_split, as: 'trafficSplit'
|
6788
6848
|
property :update_time, as: 'updateTime'
|
6789
6849
|
end
|
@@ -7451,6 +7511,7 @@ module Google
|
|
7451
7511
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7452
7512
|
collection :feature_groups, as: 'featureGroups', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewFeatureRegistrySourceFeatureGroup::Representation
|
7453
7513
|
|
7514
|
+
property :project_number, :numeric_string => true, as: 'projectNumber'
|
7454
7515
|
end
|
7455
7516
|
end
|
7456
7517
|
|
@@ -7471,6 +7532,8 @@ module Google
|
|
7471
7532
|
property :name, as: 'name'
|
7472
7533
|
property :run_time, as: 'runTime', class: Google::Apis::AiplatformV1::GoogleTypeInterval, decorator: Google::Apis::AiplatformV1::GoogleTypeInterval::Representation
|
7473
7534
|
|
7535
|
+
property :sync_summary, as: 'syncSummary', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncSyncSummary, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncSyncSummary::Representation
|
7536
|
+
|
7474
7537
|
end
|
7475
7538
|
end
|
7476
7539
|
|
@@ -7481,6 +7544,14 @@ module Google
|
|
7481
7544
|
end
|
7482
7545
|
end
|
7483
7546
|
|
7547
|
+
class GoogleCloudAiplatformV1FeatureViewSyncSyncSummary
|
7548
|
+
# @private
|
7549
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7550
|
+
property :row_synced, :numeric_string => true, as: 'rowSynced'
|
7551
|
+
property :total_slot, :numeric_string => true, as: 'totalSlot'
|
7552
|
+
end
|
7553
|
+
end
|
7554
|
+
|
7484
7555
|
class GoogleCloudAiplatformV1Featurestore
|
7485
7556
|
# @private
|
7486
7557
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7770,6 +7841,41 @@ module Google
|
|
7770
7841
|
end
|
7771
7842
|
end
|
7772
7843
|
|
7844
|
+
class GoogleCloudAiplatformV1GoogleSearchRetrieval
|
7845
|
+
# @private
|
7846
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7847
|
+
property :disable_attribution, as: 'disableAttribution'
|
7848
|
+
end
|
7849
|
+
end
|
7850
|
+
|
7851
|
+
class GoogleCloudAiplatformV1GroundingAttribution
|
7852
|
+
# @private
|
7853
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7854
|
+
property :confidence_score, as: 'confidenceScore'
|
7855
|
+
property :segment, as: 'segment', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Segment, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Segment::Representation
|
7856
|
+
|
7857
|
+
property :web, as: 'web', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttributionWeb, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttributionWeb::Representation
|
7858
|
+
|
7859
|
+
end
|
7860
|
+
end
|
7861
|
+
|
7862
|
+
class GoogleCloudAiplatformV1GroundingAttributionWeb
|
7863
|
+
# @private
|
7864
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7865
|
+
property :title, as: 'title'
|
7866
|
+
property :uri, as: 'uri'
|
7867
|
+
end
|
7868
|
+
end
|
7869
|
+
|
7870
|
+
class GoogleCloudAiplatformV1GroundingMetadata
|
7871
|
+
# @private
|
7872
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7873
|
+
collection :grounding_attributions, as: 'groundingAttributions', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution::Representation
|
7874
|
+
|
7875
|
+
collection :web_search_queries, as: 'webSearchQueries'
|
7876
|
+
end
|
7877
|
+
end
|
7878
|
+
|
7773
7879
|
class GoogleCloudAiplatformV1HyperparameterTuningJob
|
7774
7880
|
# @private
|
7775
7881
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9509,8 +9615,6 @@ module Google
|
|
9509
9615
|
class GoogleCloudAiplatformV1PipelineJobRuntimeConfig
|
9510
9616
|
# @private
|
9511
9617
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9512
|
-
property :default_runtime, as: 'defaultRuntime', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime::Representation
|
9513
|
-
|
9514
9618
|
property :failure_policy, as: 'failurePolicy'
|
9515
9619
|
property :gcs_output_directory, as: 'gcsOutputDirectory'
|
9516
9620
|
hash :input_artifacts, as: 'inputArtifacts', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact::Representation
|
@@ -9521,14 +9625,6 @@ module Google
|
|
9521
9625
|
end
|
9522
9626
|
end
|
9523
9627
|
|
9524
|
-
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigDefaultRuntime
|
9525
|
-
# @private
|
9526
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
9527
|
-
property :persistent_resource_runtime_detail, as: 'persistentResourceRuntimeDetail', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail::Representation
|
9528
|
-
|
9529
|
-
end
|
9530
|
-
end
|
9531
|
-
|
9532
9628
|
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigInputArtifact
|
9533
9629
|
# @private
|
9534
9630
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9536,13 +9632,6 @@ module Google
|
|
9536
9632
|
end
|
9537
9633
|
end
|
9538
9634
|
|
9539
|
-
class GoogleCloudAiplatformV1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail
|
9540
|
-
# @private
|
9541
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
9542
|
-
property :persistent_resource_name, as: 'persistentResourceName'
|
9543
|
-
end
|
9544
|
-
end
|
9545
|
-
|
9546
9635
|
class GoogleCloudAiplatformV1PipelineTaskDetail
|
9547
9636
|
# @private
|
9548
9637
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10132,6 +10221,15 @@ module Google
|
|
10132
10221
|
end
|
10133
10222
|
end
|
10134
10223
|
|
10224
|
+
class GoogleCloudAiplatformV1Retrieval
|
10225
|
+
# @private
|
10226
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10227
|
+
property :disable_attribution, as: 'disableAttribution'
|
10228
|
+
property :vertex_ai_search, as: 'vertexAiSearch', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearch, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearch::Representation
|
10229
|
+
|
10230
|
+
end
|
10231
|
+
end
|
10232
|
+
|
10135
10233
|
class GoogleCloudAiplatformV1SafetyRating
|
10136
10234
|
# @private
|
10137
10235
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -11944,6 +12042,15 @@ module Google
|
|
11944
12042
|
end
|
11945
12043
|
end
|
11946
12044
|
|
12045
|
+
class GoogleCloudAiplatformV1Segment
|
12046
|
+
# @private
|
12047
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12048
|
+
property :end_index, as: 'endIndex'
|
12049
|
+
property :part_index, as: 'partIndex'
|
12050
|
+
property :start_index, as: 'startIndex'
|
12051
|
+
end
|
12052
|
+
end
|
12053
|
+
|
11947
12054
|
class GoogleCloudAiplatformV1ShieldedVmConfig
|
11948
12055
|
# @private
|
11949
12056
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12458,6 +12565,10 @@ module Google
|
|
12458
12565
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12459
12566
|
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration::Representation
|
12460
12567
|
|
12568
|
+
property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval::Representation
|
12569
|
+
|
12570
|
+
property :retrieval, as: 'retrieval', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval::Representation
|
12571
|
+
|
12461
12572
|
end
|
12462
12573
|
end
|
12463
12574
|
|
@@ -12767,6 +12878,13 @@ module Google
|
|
12767
12878
|
end
|
12768
12879
|
end
|
12769
12880
|
|
12881
|
+
class GoogleCloudAiplatformV1VertexAiSearch
|
12882
|
+
# @private
|
12883
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12884
|
+
property :datastore, as: 'datastore'
|
12885
|
+
end
|
12886
|
+
end
|
12887
|
+
|
12770
12888
|
class GoogleCloudAiplatformV1VideoMetadata
|
12771
12889
|
# @private
|
12772
12890
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13581,6 +13699,7 @@ module Google
|
|
13581
13699
|
property :finish_reason, as: 'finishReason'
|
13582
13700
|
property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::AiplatformV1::LearningGenaiRootGroundingMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootGroundingMetadata::Representation
|
13583
13701
|
|
13702
|
+
property :is_code, as: 'isCode'
|
13584
13703
|
property :is_fallback, as: 'isFallback'
|
13585
13704
|
property :langid_result, as: 'langidResult', class: Google::Apis::AiplatformV1::NlpSaftLangIdResult, decorator: Google::Apis::AiplatformV1::NlpSaftLangIdResult::Representation
|
13586
13705
|
|
@@ -5099,7 +5099,7 @@ module Google
|
|
5099
5099
|
# to the resource, not the full request. A field will be overwritten if it is in
|
5100
5100
|
# the mask. If the user does not provide a mask then only the non-empty fields
|
5101
5101
|
# present in the request will be overwritten. Set the update_mask to `*` to
|
5102
|
-
# override all fields. Updatable fields: * `labels`
|
5102
|
+
# override all fields. Updatable fields: * `labels` * `serviceAgentType`
|
5103
5103
|
# @param [String] fields
|
5104
5104
|
# Selector specifying which fields to include in a partial response.
|
5105
5105
|
# @param [String] quota_user
|
@@ -13725,9 +13725,6 @@ module Google
|
|
13725
13725
|
# the PipelineJob name. If not provided, an ID will be automatically generated.
|
13726
13726
|
# This value should be less than 128 characters, and valid characters are `/a-z-/
|
13727
13727
|
# `.
|
13728
|
-
# @param [Boolean] preflight_validations
|
13729
|
-
# Optional. Whether to do component level validations before job creation.
|
13730
|
-
# Currently we only support Google First Party Component/Pipelines.
|
13731
13728
|
# @param [String] fields
|
13732
13729
|
# Selector specifying which fields to include in a partial response.
|
13733
13730
|
# @param [String] quota_user
|
@@ -13745,7 +13742,7 @@ module Google
|
|
13745
13742
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
13746
13743
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
13747
13744
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
13748
|
-
def create_project_location_pipeline_job(parent, google_cloud_aiplatform_v1_pipeline_job_object = nil, pipeline_job_id: nil,
|
13745
|
+
def create_project_location_pipeline_job(parent, google_cloud_aiplatform_v1_pipeline_job_object = nil, pipeline_job_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
13749
13746
|
command = make_simple_command(:post, 'v1/{+parent}/pipelineJobs', options)
|
13750
13747
|
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJob::Representation
|
13751
13748
|
command.request_object = google_cloud_aiplatform_v1_pipeline_job_object
|
@@ -13753,7 +13750,6 @@ module Google
|
|
13753
13750
|
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PipelineJob
|
13754
13751
|
command.params['parent'] = parent unless parent.nil?
|
13755
13752
|
command.query['pipelineJobId'] = pipeline_job_id unless pipeline_job_id.nil?
|
13756
|
-
command.query['preflightValidations'] = preflight_validations unless preflight_validations.nil?
|
13757
13753
|
command.query['fields'] = fields unless fields.nil?
|
13758
13754
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
13759
13755
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.14.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|