google-apis-aiplatform_v1beta1 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +351 -108
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +164 -71
- data/lib/google/apis/aiplatform_v1beta1/service.rb +147 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ae07011ab599be2274faf0b480021a98ab45856538453245f0a83a842992d7b
|
4
|
+
data.tar.gz: f7acc37a28fa80cd3a92b9ab55038f7c3bfe8e293022534cab5383b935f4efe4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0f8146f4438b0bcd7adff5fa27e3fe67e9bec6c5418745ef8fd0536115ec38e73607124401248bfc970e7a392bc91c770ba32704353ad6a99d82cdf80313ea8
|
7
|
+
data.tar.gz: b9d097f1aa664a8c91e6c10d5e053770d12d51ebc47713e8ee698ce3c9f129b84103c1eb856697990e0af6ab1e38255c3ac8cfe20ab9ad6ea0a29b52a41bc066
|
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::AiplatformV1beta1::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
|
|
@@ -3049,6 +3110,11 @@ module Google
|
|
3049
3110
|
# @return [String]
|
3050
3111
|
attr_accessor :finish_reason
|
3051
3112
|
|
3113
|
+
# Metadata returned to client when grounding is enabled.
|
3114
|
+
# Corresponds to the JSON property `groundingMetadata`
|
3115
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingMetadata]
|
3116
|
+
attr_accessor :grounding_metadata
|
3117
|
+
|
3052
3118
|
# Output only. Index of the candidate.
|
3053
3119
|
# Corresponds to the JSON property `index`
|
3054
3120
|
# @return [Fixnum]
|
@@ -3070,6 +3136,7 @@ module Google
|
|
3070
3136
|
@content = args[:content] if args.key?(:content)
|
3071
3137
|
@finish_message = args[:finish_message] if args.key?(:finish_message)
|
3072
3138
|
@finish_reason = args[:finish_reason] if args.key?(:finish_reason)
|
3139
|
+
@grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
|
3073
3140
|
@index = args[:index] if args.key?(:index)
|
3074
3141
|
@safety_ratings = args[:safety_ratings] if args.key?(:safety_ratings)
|
3075
3142
|
end
|
@@ -6066,6 +6133,11 @@ module Google
|
|
6066
6133
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig]
|
6067
6134
|
attr_accessor :predict_request_response_logging_config
|
6068
6135
|
|
6136
|
+
# Represents configuration for private service connect.
|
6137
|
+
# Corresponds to the JSON property `privateServiceConnectConfig`
|
6138
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig]
|
6139
|
+
attr_accessor :private_service_connect_config
|
6140
|
+
|
6069
6141
|
# A map from a DeployedModel's ID to the percentage of this Endpoint's traffic
|
6070
6142
|
# that should be forwarded to that DeployedModel. If a DeployedModel's ID is not
|
6071
6143
|
# listed in this map, then it receives no traffic. The traffic percentage values
|
@@ -6098,6 +6170,7 @@ module Google
|
|
6098
6170
|
@name = args[:name] if args.key?(:name)
|
6099
6171
|
@network = args[:network] if args.key?(:network)
|
6100
6172
|
@predict_request_response_logging_config = args[:predict_request_response_logging_config] if args.key?(:predict_request_response_logging_config)
|
6173
|
+
@private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config)
|
6101
6174
|
@traffic_split = args[:traffic_split] if args.key?(:traffic_split)
|
6102
6175
|
@update_time = args[:update_time] if args.key?(:update_time)
|
6103
6176
|
end
|
@@ -7454,63 +7527,6 @@ module Google
|
|
7454
7527
|
end
|
7455
7528
|
end
|
7456
7529
|
|
7457
|
-
# Details of EndpointService.ExportEndpoint operation.
|
7458
|
-
class GoogleCloudAiplatformV1beta1ExportEndpointOperationMetadata
|
7459
|
-
include Google::Apis::Core::Hashable
|
7460
|
-
|
7461
|
-
# Generic Metadata shared by all operations.
|
7462
|
-
# Corresponds to the JSON property `genericMetadata`
|
7463
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
|
7464
|
-
attr_accessor :generic_metadata
|
7465
|
-
|
7466
|
-
def initialize(**args)
|
7467
|
-
update!(**args)
|
7468
|
-
end
|
7469
|
-
|
7470
|
-
# Update properties of this object
|
7471
|
-
def update!(**args)
|
7472
|
-
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
7473
|
-
end
|
7474
|
-
end
|
7475
|
-
|
7476
|
-
# Response message of EndpointService.ExportEndpoint operation.
|
7477
|
-
class GoogleCloudAiplatformV1beta1ExportEndpointResponse
|
7478
|
-
include Google::Apis::Core::Hashable
|
7479
|
-
|
7480
|
-
# Describes the output of the ExportEndpoint.
|
7481
|
-
# Corresponds to the JSON property `outputInfo`
|
7482
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExportEndpointResponseOutputInfo]
|
7483
|
-
attr_accessor :output_info
|
7484
|
-
|
7485
|
-
def initialize(**args)
|
7486
|
-
update!(**args)
|
7487
|
-
end
|
7488
|
-
|
7489
|
-
# Update properties of this object
|
7490
|
-
def update!(**args)
|
7491
|
-
@output_info = args[:output_info] if args.key?(:output_info)
|
7492
|
-
end
|
7493
|
-
end
|
7494
|
-
|
7495
|
-
# Describes the output of the ExportEndpoint.
|
7496
|
-
class GoogleCloudAiplatformV1beta1ExportEndpointResponseOutputInfo
|
7497
|
-
include Google::Apis::Core::Hashable
|
7498
|
-
|
7499
|
-
# The BigQuery location for the output content.
|
7500
|
-
# Corresponds to the JSON property `bigQueryDestination`
|
7501
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BigQueryDestination]
|
7502
|
-
attr_accessor :big_query_destination
|
7503
|
-
|
7504
|
-
def initialize(**args)
|
7505
|
-
update!(**args)
|
7506
|
-
end
|
7507
|
-
|
7508
|
-
# Update properties of this object
|
7509
|
-
def update!(**args)
|
7510
|
-
@big_query_destination = args[:big_query_destination] if args.key?(:big_query_destination)
|
7511
|
-
end
|
7512
|
-
end
|
7513
|
-
|
7514
7530
|
# Details of operations that exports Features values.
|
7515
7531
|
class GoogleCloudAiplatformV1beta1ExportFeatureValuesOperationMetadata
|
7516
7532
|
include Google::Apis::Core::Hashable
|
@@ -8755,6 +8771,11 @@ module Google
|
|
8755
8771
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySourceFeatureGroup>]
|
8756
8772
|
attr_accessor :feature_groups
|
8757
8773
|
|
8774
|
+
# Optional. The project number of the parent project of the Feature Groups.
|
8775
|
+
# Corresponds to the JSON property `projectNumber`
|
8776
|
+
# @return [Fixnum]
|
8777
|
+
attr_accessor :project_number
|
8778
|
+
|
8758
8779
|
def initialize(**args)
|
8759
8780
|
update!(**args)
|
8760
8781
|
end
|
@@ -8762,6 +8783,7 @@ module Google
|
|
8762
8783
|
# Update properties of this object
|
8763
8784
|
def update!(**args)
|
8764
8785
|
@feature_groups = args[:feature_groups] if args.key?(:feature_groups)
|
8786
|
+
@project_number = args[:project_number] if args.key?(:project_number)
|
8765
8787
|
end
|
8766
8788
|
end
|
8767
8789
|
|
@@ -8828,6 +8850,12 @@ module Google
|
|
8828
8850
|
# @return [Google::Apis::AiplatformV1beta1::GoogleTypeInterval]
|
8829
8851
|
attr_accessor :run_time
|
8830
8852
|
|
8853
|
+
# Summary from the Sync job. For continuous syncs, the summary is updated
|
8854
|
+
# periodically. For batch syncs, it gets updated on completion of the sync.
|
8855
|
+
# Corresponds to the JSON property `syncSummary`
|
8856
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewSyncSyncSummary]
|
8857
|
+
attr_accessor :sync_summary
|
8858
|
+
|
8831
8859
|
def initialize(**args)
|
8832
8860
|
update!(**args)
|
8833
8861
|
end
|
@@ -8838,6 +8866,7 @@ module Google
|
|
8838
8866
|
@final_status = args[:final_status] if args.key?(:final_status)
|
8839
8867
|
@name = args[:name] if args.key?(:name)
|
8840
8868
|
@run_time = args[:run_time] if args.key?(:run_time)
|
8869
|
+
@sync_summary = args[:sync_summary] if args.key?(:sync_summary)
|
8841
8870
|
end
|
8842
8871
|
end
|
8843
8872
|
|
@@ -8864,6 +8893,32 @@ module Google
|
|
8864
8893
|
end
|
8865
8894
|
end
|
8866
8895
|
|
8896
|
+
# Summary from the Sync job. For continuous syncs, the summary is updated
|
8897
|
+
# periodically. For batch syncs, it gets updated on completion of the sync.
|
8898
|
+
class GoogleCloudAiplatformV1beta1FeatureViewSyncSyncSummary
|
8899
|
+
include Google::Apis::Core::Hashable
|
8900
|
+
|
8901
|
+
# Output only. Total number of rows synced.
|
8902
|
+
# Corresponds to the JSON property `rowSynced`
|
8903
|
+
# @return [Fixnum]
|
8904
|
+
attr_accessor :row_synced
|
8905
|
+
|
8906
|
+
# Output only. BigQuery slot milliseconds consumed for the sync job.
|
8907
|
+
# Corresponds to the JSON property `totalSlot`
|
8908
|
+
# @return [Fixnum]
|
8909
|
+
attr_accessor :total_slot
|
8910
|
+
|
8911
|
+
def initialize(**args)
|
8912
|
+
update!(**args)
|
8913
|
+
end
|
8914
|
+
|
8915
|
+
# Update properties of this object
|
8916
|
+
def update!(**args)
|
8917
|
+
@row_synced = args[:row_synced] if args.key?(:row_synced)
|
8918
|
+
@total_slot = args[:total_slot] if args.key?(:total_slot)
|
8919
|
+
end
|
8920
|
+
end
|
8921
|
+
|
8867
8922
|
# Deprecated. Use IndexConfig instead.
|
8868
8923
|
class GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
|
8869
8924
|
include Google::Apis::Core::Hashable
|
@@ -9871,7 +9926,7 @@ module Google
|
|
9871
9926
|
# Optional. A list of `Tools` the model may use to generate the next response. A
|
9872
9927
|
# `Tool` is a piece of code that enables the system to interact with external
|
9873
9928
|
# systems to perform an action, or set of actions, outside of knowledge and
|
9874
|
-
# scope of the model.
|
9929
|
+
# scope of the model.
|
9875
9930
|
# Corresponds to the JSON property `tools`
|
9876
9931
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Tool>]
|
9877
9932
|
attr_accessor :tools
|
@@ -10065,6 +10120,110 @@ module Google
|
|
10065
10120
|
end
|
10066
10121
|
end
|
10067
10122
|
|
10123
|
+
# Tool to retrieve public web data for grounding, powered by Google.
|
10124
|
+
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
10125
|
+
include Google::Apis::Core::Hashable
|
10126
|
+
|
10127
|
+
# Optional. Disable using the result from this tool in detecting grounding
|
10128
|
+
# attribution. This does not affect how the result is given to the model for
|
10129
|
+
# generation.
|
10130
|
+
# Corresponds to the JSON property `disableAttribution`
|
10131
|
+
# @return [Boolean]
|
10132
|
+
attr_accessor :disable_attribution
|
10133
|
+
alias_method :disable_attribution?, :disable_attribution
|
10134
|
+
|
10135
|
+
def initialize(**args)
|
10136
|
+
update!(**args)
|
10137
|
+
end
|
10138
|
+
|
10139
|
+
# Update properties of this object
|
10140
|
+
def update!(**args)
|
10141
|
+
@disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
|
10142
|
+
end
|
10143
|
+
end
|
10144
|
+
|
10145
|
+
# Grounding attribution.
|
10146
|
+
class GoogleCloudAiplatformV1beta1GroundingAttribution
|
10147
|
+
include Google::Apis::Core::Hashable
|
10148
|
+
|
10149
|
+
# Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1.
|
10150
|
+
# 1 is the most confident.
|
10151
|
+
# Corresponds to the JSON property `confidenceScore`
|
10152
|
+
# @return [Float]
|
10153
|
+
attr_accessor :confidence_score
|
10154
|
+
|
10155
|
+
# Segment of the content.
|
10156
|
+
# Corresponds to the JSON property `segment`
|
10157
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Segment]
|
10158
|
+
attr_accessor :segment
|
10159
|
+
|
10160
|
+
# Attribution from the web.
|
10161
|
+
# Corresponds to the JSON property `web`
|
10162
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingAttributionWeb]
|
10163
|
+
attr_accessor :web
|
10164
|
+
|
10165
|
+
def initialize(**args)
|
10166
|
+
update!(**args)
|
10167
|
+
end
|
10168
|
+
|
10169
|
+
# Update properties of this object
|
10170
|
+
def update!(**args)
|
10171
|
+
@confidence_score = args[:confidence_score] if args.key?(:confidence_score)
|
10172
|
+
@segment = args[:segment] if args.key?(:segment)
|
10173
|
+
@web = args[:web] if args.key?(:web)
|
10174
|
+
end
|
10175
|
+
end
|
10176
|
+
|
10177
|
+
# Attribution from the web.
|
10178
|
+
class GoogleCloudAiplatformV1beta1GroundingAttributionWeb
|
10179
|
+
include Google::Apis::Core::Hashable
|
10180
|
+
|
10181
|
+
# Output only. Title of the attribution.
|
10182
|
+
# Corresponds to the JSON property `title`
|
10183
|
+
# @return [String]
|
10184
|
+
attr_accessor :title
|
10185
|
+
|
10186
|
+
# Output only. URI reference of the attribution.
|
10187
|
+
# Corresponds to the JSON property `uri`
|
10188
|
+
# @return [String]
|
10189
|
+
attr_accessor :uri
|
10190
|
+
|
10191
|
+
def initialize(**args)
|
10192
|
+
update!(**args)
|
10193
|
+
end
|
10194
|
+
|
10195
|
+
# Update properties of this object
|
10196
|
+
def update!(**args)
|
10197
|
+
@title = args[:title] if args.key?(:title)
|
10198
|
+
@uri = args[:uri] if args.key?(:uri)
|
10199
|
+
end
|
10200
|
+
end
|
10201
|
+
|
10202
|
+
# Metadata returned to client when grounding is enabled.
|
10203
|
+
class GoogleCloudAiplatformV1beta1GroundingMetadata
|
10204
|
+
include Google::Apis::Core::Hashable
|
10205
|
+
|
10206
|
+
# Optional. List of grounding attributions.
|
10207
|
+
# Corresponds to the JSON property `groundingAttributions`
|
10208
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingAttribution>]
|
10209
|
+
attr_accessor :grounding_attributions
|
10210
|
+
|
10211
|
+
# Optional. Web search queries for the following-up web search.
|
10212
|
+
# Corresponds to the JSON property `webSearchQueries`
|
10213
|
+
# @return [Array<String>]
|
10214
|
+
attr_accessor :web_search_queries
|
10215
|
+
|
10216
|
+
def initialize(**args)
|
10217
|
+
update!(**args)
|
10218
|
+
end
|
10219
|
+
|
10220
|
+
# Update properties of this object
|
10221
|
+
def update!(**args)
|
10222
|
+
@grounding_attributions = args[:grounding_attributions] if args.key?(:grounding_attributions)
|
10223
|
+
@web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
|
10224
|
+
end
|
10225
|
+
end
|
10226
|
+
|
10068
10227
|
# Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study
|
10069
10228
|
# specification and multiple CustomJobs with identical CustomJob specification.
|
10070
10229
|
class GoogleCloudAiplatformV1beta1HyperparameterTuningJob
|
@@ -16625,11 +16784,6 @@ module Google
|
|
16625
16784
|
class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig
|
16626
16785
|
include Google::Apis::Core::Hashable
|
16627
16786
|
|
16628
|
-
# The default runtime for the PipelineJob.
|
16629
|
-
# Corresponds to the JSON property `defaultRuntime`
|
16630
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime]
|
16631
|
-
attr_accessor :default_runtime
|
16632
|
-
|
16633
16787
|
# Represents the failure policy of a pipeline. Currently, the default of a
|
16634
16788
|
# pipeline is that the pipeline will continue to run until no more tasks can be
|
16635
16789
|
# executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a
|
@@ -16680,7 +16834,6 @@ module Google
|
|
16680
16834
|
|
16681
16835
|
# Update properties of this object
|
16682
16836
|
def update!(**args)
|
16683
|
-
@default_runtime = args[:default_runtime] if args.key?(:default_runtime)
|
16684
16837
|
@failure_policy = args[:failure_policy] if args.key?(:failure_policy)
|
16685
16838
|
@gcs_output_directory = args[:gcs_output_directory] if args.key?(:gcs_output_directory)
|
16686
16839
|
@input_artifacts = args[:input_artifacts] if args.key?(:input_artifacts)
|
@@ -16689,26 +16842,6 @@ module Google
|
|
16689
16842
|
end
|
16690
16843
|
end
|
16691
16844
|
|
16692
|
-
# The default runtime for the PipelineJob.
|
16693
|
-
class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime
|
16694
|
-
include Google::Apis::Core::Hashable
|
16695
|
-
|
16696
|
-
# Persistent resource based runtime detail. For more information, refer to https:
|
16697
|
-
# //cloud.google.com/vertex-ai/docs/training/persistent-resource-overview
|
16698
|
-
# Corresponds to the JSON property `persistentResourceRuntimeDetail`
|
16699
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail]
|
16700
|
-
attr_accessor :persistent_resource_runtime_detail
|
16701
|
-
|
16702
|
-
def initialize(**args)
|
16703
|
-
update!(**args)
|
16704
|
-
end
|
16705
|
-
|
16706
|
-
# Update properties of this object
|
16707
|
-
def update!(**args)
|
16708
|
-
@persistent_resource_runtime_detail = args[:persistent_resource_runtime_detail] if args.key?(:persistent_resource_runtime_detail)
|
16709
|
-
end
|
16710
|
-
end
|
16711
|
-
|
16712
16845
|
# The type of an input artifact.
|
16713
16846
|
class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact
|
16714
16847
|
include Google::Apis::Core::Hashable
|
@@ -16731,27 +16864,6 @@ module Google
|
|
16731
16864
|
end
|
16732
16865
|
end
|
16733
16866
|
|
16734
|
-
# Persistent resource based runtime detail. For more information, refer to https:
|
16735
|
-
# //cloud.google.com/vertex-ai/docs/training/persistent-resource-overview
|
16736
|
-
class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail
|
16737
|
-
include Google::Apis::Core::Hashable
|
16738
|
-
|
16739
|
-
# Persistent resource name. Format: `projects/`project`/locations/`location`/
|
16740
|
-
# persistentResources/`persistent_resource``
|
16741
|
-
# Corresponds to the JSON property `persistentResourceName`
|
16742
|
-
# @return [String]
|
16743
|
-
attr_accessor :persistent_resource_name
|
16744
|
-
|
16745
|
-
def initialize(**args)
|
16746
|
-
update!(**args)
|
16747
|
-
end
|
16748
|
-
|
16749
|
-
# Update properties of this object
|
16750
|
-
def update!(**args)
|
16751
|
-
@persistent_resource_name = args[:persistent_resource_name] if args.key?(:persistent_resource_name)
|
16752
|
-
end
|
16753
|
-
end
|
16754
|
-
|
16755
16867
|
# The runtime detail of a task execution.
|
16756
16868
|
class GoogleCloudAiplatformV1beta1PipelineTaskDetail
|
16757
16869
|
include Google::Apis::Core::Hashable
|
@@ -18257,6 +18369,26 @@ module Google
|
|
18257
18369
|
end
|
18258
18370
|
end
|
18259
18371
|
|
18372
|
+
# Configuration for the Ray metrics.
|
18373
|
+
class GoogleCloudAiplatformV1beta1RayMetricSpec
|
18374
|
+
include Google::Apis::Core::Hashable
|
18375
|
+
|
18376
|
+
# Optional. Flag to disable the Ray metrics collection.
|
18377
|
+
# Corresponds to the JSON property `disabled`
|
18378
|
+
# @return [Boolean]
|
18379
|
+
attr_accessor :disabled
|
18380
|
+
alias_method :disabled?, :disabled
|
18381
|
+
|
18382
|
+
def initialize(**args)
|
18383
|
+
update!(**args)
|
18384
|
+
end
|
18385
|
+
|
18386
|
+
# Update properties of this object
|
18387
|
+
def update!(**args)
|
18388
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
18389
|
+
end
|
18390
|
+
end
|
18391
|
+
|
18260
18392
|
# Configuration information for the Ray cluster. For experimental launch, Ray
|
18261
18393
|
# cluster creation and Persistent cluster creation are 1:1 mapping: We will
|
18262
18394
|
# provision all the nodes within the Persistent cluster as Ray nodes.
|
@@ -18280,6 +18412,11 @@ module Google
|
|
18280
18412
|
# @return [String]
|
18281
18413
|
attr_accessor :image_uri
|
18282
18414
|
|
18415
|
+
# Configuration for the Ray metrics.
|
18416
|
+
# Corresponds to the JSON property `rayMetricSpec`
|
18417
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RayMetricSpec]
|
18418
|
+
attr_accessor :ray_metric_spec
|
18419
|
+
|
18283
18420
|
# Optional. Required if image_uri isn't set. A map of resource_pool_id to
|
18284
18421
|
# prebuild Ray image if user need to use different images for different head/
|
18285
18422
|
# worker pools. This map needs to cover all the resource pool ids. Example: ` "
|
@@ -18297,6 +18434,7 @@ module Google
|
|
18297
18434
|
def update!(**args)
|
18298
18435
|
@head_node_resource_pool_id = args[:head_node_resource_pool_id] if args.key?(:head_node_resource_pool_id)
|
18299
18436
|
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
18437
|
+
@ray_metric_spec = args[:ray_metric_spec] if args.key?(:ray_metric_spec)
|
18300
18438
|
@resource_pool_images = args[:resource_pool_images] if args.key?(:resource_pool_images)
|
18301
18439
|
end
|
18302
18440
|
end
|
@@ -19012,6 +19150,35 @@ module Google
|
|
19012
19150
|
end
|
19013
19151
|
end
|
19014
19152
|
|
19153
|
+
# Defines a retrieval tool that model can call to access external knowledge.
|
19154
|
+
class GoogleCloudAiplatformV1beta1Retrieval
|
19155
|
+
include Google::Apis::Core::Hashable
|
19156
|
+
|
19157
|
+
# Optional. Disable using the result from this tool in detecting grounding
|
19158
|
+
# attribution. This does not affect how the result is given to the model for
|
19159
|
+
# generation.
|
19160
|
+
# Corresponds to the JSON property `disableAttribution`
|
19161
|
+
# @return [Boolean]
|
19162
|
+
attr_accessor :disable_attribution
|
19163
|
+
alias_method :disable_attribution?, :disable_attribution
|
19164
|
+
|
19165
|
+
# Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
|
19166
|
+
# google.com/vertex-ai-search-and-conversation
|
19167
|
+
# Corresponds to the JSON property `vertexAiSearch`
|
19168
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VertexAiSearch]
|
19169
|
+
attr_accessor :vertex_ai_search
|
19170
|
+
|
19171
|
+
def initialize(**args)
|
19172
|
+
update!(**args)
|
19173
|
+
end
|
19174
|
+
|
19175
|
+
# Update properties of this object
|
19176
|
+
def update!(**args)
|
19177
|
+
@disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
|
19178
|
+
@vertex_ai_search = args[:vertex_ai_search] if args.key?(:vertex_ai_search)
|
19179
|
+
end
|
19180
|
+
end
|
19181
|
+
|
19015
19182
|
# Safety rating corresponding to the generated content.
|
19016
19183
|
class GoogleCloudAiplatformV1beta1SafetyRating
|
19017
19184
|
include Google::Apis::Core::Hashable
|
@@ -25709,6 +25876,39 @@ module Google
|
|
25709
25876
|
end
|
25710
25877
|
end
|
25711
25878
|
|
25879
|
+
# Segment of the content.
|
25880
|
+
class GoogleCloudAiplatformV1beta1Segment
|
25881
|
+
include Google::Apis::Core::Hashable
|
25882
|
+
|
25883
|
+
# Output only. End index in the given Part, measured in bytes. Offset from the
|
25884
|
+
# start of the Part, exclusive, starting at zero.
|
25885
|
+
# Corresponds to the JSON property `endIndex`
|
25886
|
+
# @return [Fixnum]
|
25887
|
+
attr_accessor :end_index
|
25888
|
+
|
25889
|
+
# Output only. The index of a Part object within its parent Content object.
|
25890
|
+
# Corresponds to the JSON property `partIndex`
|
25891
|
+
# @return [Fixnum]
|
25892
|
+
attr_accessor :part_index
|
25893
|
+
|
25894
|
+
# Output only. Start index in the given Part, measured in bytes. Offset from the
|
25895
|
+
# start of the Part, inclusive, starting at zero.
|
25896
|
+
# Corresponds to the JSON property `startIndex`
|
25897
|
+
# @return [Fixnum]
|
25898
|
+
attr_accessor :start_index
|
25899
|
+
|
25900
|
+
def initialize(**args)
|
25901
|
+
update!(**args)
|
25902
|
+
end
|
25903
|
+
|
25904
|
+
# Update properties of this object
|
25905
|
+
def update!(**args)
|
25906
|
+
@end_index = args[:end_index] if args.key?(:end_index)
|
25907
|
+
@part_index = args[:part_index] if args.key?(:part_index)
|
25908
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
25909
|
+
end
|
25910
|
+
end
|
25911
|
+
|
25712
25912
|
# Configuration for the use of custom service account to run the workloads.
|
25713
25913
|
class GoogleCloudAiplatformV1beta1ServiceAccountSpec
|
25714
25914
|
include Google::Apis::Core::Hashable
|
@@ -27755,7 +27955,8 @@ module Google
|
|
27755
27955
|
|
27756
27956
|
# Tool details that the model may use to generate response. A `Tool` is a piece
|
27757
27957
|
# of code that enables the system to interact with external systems to perform
|
27758
|
-
# an action, or set of actions, outside of knowledge and scope of the model.
|
27958
|
+
# an action, or set of actions, outside of knowledge and scope of the model. A
|
27959
|
+
# Tool object should contain exactly one type of Tool.
|
27759
27960
|
class GoogleCloudAiplatformV1beta1Tool
|
27760
27961
|
include Google::Apis::Core::Hashable
|
27761
27962
|
|
@@ -27769,6 +27970,16 @@ module Google
|
|
27769
27970
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration>]
|
27770
27971
|
attr_accessor :function_declarations
|
27771
27972
|
|
27973
|
+
# Tool to retrieve public web data for grounding, powered by Google.
|
27974
|
+
# Corresponds to the JSON property `googleSearchRetrieval`
|
27975
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval]
|
27976
|
+
attr_accessor :google_search_retrieval
|
27977
|
+
|
27978
|
+
# Defines a retrieval tool that model can call to access external knowledge.
|
27979
|
+
# Corresponds to the JSON property `retrieval`
|
27980
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Retrieval]
|
27981
|
+
attr_accessor :retrieval
|
27982
|
+
|
27772
27983
|
def initialize(**args)
|
27773
27984
|
update!(**args)
|
27774
27985
|
end
|
@@ -27776,6 +27987,8 @@ module Google
|
|
27776
27987
|
# Update properties of this object
|
27777
27988
|
def update!(**args)
|
27778
27989
|
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
|
27990
|
+
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
27991
|
+
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
27779
27992
|
end
|
27780
27993
|
end
|
27781
27994
|
|
@@ -28806,6 +29019,27 @@ module Google
|
|
28806
29019
|
end
|
28807
29020
|
end
|
28808
29021
|
|
29022
|
+
# Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
|
29023
|
+
# google.com/vertex-ai-search-and-conversation
|
29024
|
+
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
29025
|
+
include Google::Apis::Core::Hashable
|
29026
|
+
|
29027
|
+
# Required. Fully-qualified Vertex AI Search's datastore resource ID. projects/<>
|
29028
|
+
# /locations/<>/collections/<>/dataStores/<>
|
29029
|
+
# Corresponds to the JSON property `datastore`
|
29030
|
+
# @return [String]
|
29031
|
+
attr_accessor :datastore
|
29032
|
+
|
29033
|
+
def initialize(**args)
|
29034
|
+
update!(**args)
|
29035
|
+
end
|
29036
|
+
|
29037
|
+
# Update properties of this object
|
29038
|
+
def update!(**args)
|
29039
|
+
@datastore = args[:datastore] if args.key?(:datastore)
|
29040
|
+
end
|
29041
|
+
end
|
29042
|
+
|
28809
29043
|
# Metadata describes the input video content.
|
28810
29044
|
class GoogleCloudAiplatformV1beta1VideoMetadata
|
28811
29045
|
include Google::Apis::Core::Hashable
|
@@ -30168,7 +30402,8 @@ module Google
|
|
30168
30402
|
|
30169
30403
|
# The recitation action for one given input. When its segments contain different
|
30170
30404
|
# actions, the overall action will be returned in the precedence of BLOCK > CITE
|
30171
|
-
# > NO_ACTION.
|
30405
|
+
# > NO_ACTION. When the given input is not found in any source, the recitation
|
30406
|
+
# action will not be specified.
|
30172
30407
|
# Corresponds to the JSON property `recitationAction`
|
30173
30408
|
# @return [String]
|
30174
30409
|
attr_accessor :recitation_action
|
@@ -30522,7 +30757,8 @@ module Google
|
|
30522
30757
|
|
30523
30758
|
# The recitation action for one given input. When its segments contain different
|
30524
30759
|
# actions, the overall action will be returned in the precedence of BLOCK > CITE
|
30525
|
-
# > NO_ACTION.
|
30760
|
+
# > NO_ACTION. When the given input is not found in any source, the recitation
|
30761
|
+
# action will be NO_ACTION.
|
30526
30762
|
# Corresponds to the JSON property `recitationAction`
|
30527
30763
|
# @return [String]
|
30528
30764
|
attr_accessor :recitation_action
|
@@ -31984,6 +32220,12 @@ module Google
|
|
31984
32220
|
# @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadata]
|
31985
32221
|
attr_accessor :grounding_metadata
|
31986
32222
|
|
32223
|
+
# Applies to streaming response message only. Whether the message is a code.
|
32224
|
+
# Corresponds to the JSON property `isCode`
|
32225
|
+
# @return [Boolean]
|
32226
|
+
attr_accessor :is_code
|
32227
|
+
alias_method :is_code?, :is_code
|
32228
|
+
|
31987
32229
|
# Applies to Response message only. Indicates whether the message is a fallback
|
31988
32230
|
# and the response would have otherwise been empty.
|
31989
32231
|
# Corresponds to the JSON property `isFallback`
|
@@ -32082,6 +32324,7 @@ module Google
|
|
32082
32324
|
@final_message_score = args[:final_message_score] if args.key?(:final_message_score)
|
32083
32325
|
@finish_reason = args[:finish_reason] if args.key?(:finish_reason)
|
32084
32326
|
@grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
|
32327
|
+
@is_code = args[:is_code] if args.key?(:is_code)
|
32085
32328
|
@is_fallback = args[:is_fallback] if args.key?(:is_fallback)
|
32086
32329
|
@langid_result = args[:langid_result] if args.key?(:langid_result)
|
32087
32330
|
@language = args[:language] if args.key?(:language)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AiplatformV1beta1
|
18
18
|
# Version of the google-apis-aiplatform_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.18.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
|
|
@@ -1282,24 +1288,6 @@ module Google
|
|
1282
1288
|
include Google::Apis::Core::JsonObjectSupport
|
1283
1289
|
end
|
1284
1290
|
|
1285
|
-
class GoogleCloudAiplatformV1beta1ExportEndpointOperationMetadata
|
1286
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1287
|
-
|
1288
|
-
include Google::Apis::Core::JsonObjectSupport
|
1289
|
-
end
|
1290
|
-
|
1291
|
-
class GoogleCloudAiplatformV1beta1ExportEndpointResponse
|
1292
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1293
|
-
|
1294
|
-
include Google::Apis::Core::JsonObjectSupport
|
1295
|
-
end
|
1296
|
-
|
1297
|
-
class GoogleCloudAiplatformV1beta1ExportEndpointResponseOutputInfo
|
1298
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1299
|
-
|
1300
|
-
include Google::Apis::Core::JsonObjectSupport
|
1301
|
-
end
|
1302
|
-
|
1303
1291
|
class GoogleCloudAiplatformV1beta1ExportFeatureValuesOperationMetadata
|
1304
1292
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1305
1293
|
|
@@ -1528,6 +1516,12 @@ module Google
|
|
1528
1516
|
include Google::Apis::Core::JsonObjectSupport
|
1529
1517
|
end
|
1530
1518
|
|
1519
|
+
class GoogleCloudAiplatformV1beta1FeatureViewSyncSyncSummary
|
1520
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1521
|
+
|
1522
|
+
include Google::Apis::Core::JsonObjectSupport
|
1523
|
+
end
|
1524
|
+
|
1531
1525
|
class GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
|
1532
1526
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1533
1527
|
|
@@ -1738,6 +1732,30 @@ module Google
|
|
1738
1732
|
include Google::Apis::Core::JsonObjectSupport
|
1739
1733
|
end
|
1740
1734
|
|
1735
|
+
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
1736
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1737
|
+
|
1738
|
+
include Google::Apis::Core::JsonObjectSupport
|
1739
|
+
end
|
1740
|
+
|
1741
|
+
class GoogleCloudAiplatformV1beta1GroundingAttribution
|
1742
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1743
|
+
|
1744
|
+
include Google::Apis::Core::JsonObjectSupport
|
1745
|
+
end
|
1746
|
+
|
1747
|
+
class GoogleCloudAiplatformV1beta1GroundingAttributionWeb
|
1748
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1749
|
+
|
1750
|
+
include Google::Apis::Core::JsonObjectSupport
|
1751
|
+
end
|
1752
|
+
|
1753
|
+
class GoogleCloudAiplatformV1beta1GroundingMetadata
|
1754
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1755
|
+
|
1756
|
+
include Google::Apis::Core::JsonObjectSupport
|
1757
|
+
end
|
1758
|
+
|
1741
1759
|
class GoogleCloudAiplatformV1beta1HyperparameterTuningJob
|
1742
1760
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1743
1761
|
|
@@ -2746,24 +2764,12 @@ module Google
|
|
2746
2764
|
include Google::Apis::Core::JsonObjectSupport
|
2747
2765
|
end
|
2748
2766
|
|
2749
|
-
class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime
|
2750
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2751
|
-
|
2752
|
-
include Google::Apis::Core::JsonObjectSupport
|
2753
|
-
end
|
2754
|
-
|
2755
2767
|
class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact
|
2756
2768
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2757
2769
|
|
2758
2770
|
include Google::Apis::Core::JsonObjectSupport
|
2759
2771
|
end
|
2760
2772
|
|
2761
|
-
class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail
|
2762
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2763
|
-
|
2764
|
-
include Google::Apis::Core::JsonObjectSupport
|
2765
|
-
end
|
2766
|
-
|
2767
2773
|
class GoogleCloudAiplatformV1beta1PipelineTaskDetail
|
2768
2774
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2769
2775
|
|
@@ -3016,6 +3022,12 @@ module Google
|
|
3016
3022
|
include Google::Apis::Core::JsonObjectSupport
|
3017
3023
|
end
|
3018
3024
|
|
3025
|
+
class GoogleCloudAiplatformV1beta1RayMetricSpec
|
3026
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3027
|
+
|
3028
|
+
include Google::Apis::Core::JsonObjectSupport
|
3029
|
+
end
|
3030
|
+
|
3019
3031
|
class GoogleCloudAiplatformV1beta1RaySpec
|
3020
3032
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3021
3033
|
|
@@ -3202,6 +3214,12 @@ module Google
|
|
3202
3214
|
include Google::Apis::Core::JsonObjectSupport
|
3203
3215
|
end
|
3204
3216
|
|
3217
|
+
class GoogleCloudAiplatformV1beta1Retrieval
|
3218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3219
|
+
|
3220
|
+
include Google::Apis::Core::JsonObjectSupport
|
3221
|
+
end
|
3222
|
+
|
3205
3223
|
class GoogleCloudAiplatformV1beta1SafetyRating
|
3206
3224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3207
3225
|
|
@@ -4282,6 +4300,12 @@ module Google
|
|
4282
4300
|
include Google::Apis::Core::JsonObjectSupport
|
4283
4301
|
end
|
4284
4302
|
|
4303
|
+
class GoogleCloudAiplatformV1beta1Segment
|
4304
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4305
|
+
|
4306
|
+
include Google::Apis::Core::JsonObjectSupport
|
4307
|
+
end
|
4308
|
+
|
4285
4309
|
class GoogleCloudAiplatformV1beta1ServiceAccountSpec
|
4286
4310
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4287
4311
|
|
@@ -4816,6 +4840,12 @@ module Google
|
|
4816
4840
|
include Google::Apis::Core::JsonObjectSupport
|
4817
4841
|
end
|
4818
4842
|
|
4843
|
+
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
4844
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4845
|
+
|
4846
|
+
include Google::Apis::Core::JsonObjectSupport
|
4847
|
+
end
|
4848
|
+
|
4819
4849
|
class GoogleCloudAiplatformV1beta1VideoMetadata
|
4820
4850
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4821
4851
|
|
@@ -5653,7 +5683,22 @@ module Google
|
|
5653
5683
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5654
5684
|
property :blocked, as: 'blocked'
|
5655
5685
|
property :category, as: 'category'
|
5686
|
+
collection :influential_terms, as: 'influentialTerms', class: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm, decorator: Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm::Representation
|
5687
|
+
|
5656
5688
|
property :probability, as: 'probability'
|
5689
|
+
property :probability_score, as: 'probabilityScore'
|
5690
|
+
property :severity, as: 'severity'
|
5691
|
+
property :severity_score, as: 'severityScore'
|
5692
|
+
end
|
5693
|
+
end
|
5694
|
+
|
5695
|
+
class CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm
|
5696
|
+
# @private
|
5697
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5698
|
+
property :begin_offset, as: 'beginOffset'
|
5699
|
+
property :confidence, as: 'confidence'
|
5700
|
+
property :source, as: 'source'
|
5701
|
+
property :term, as: 'term'
|
5657
5702
|
end
|
5658
5703
|
end
|
5659
5704
|
|
@@ -6237,6 +6282,8 @@ module Google
|
|
6237
6282
|
|
6238
6283
|
property :finish_message, as: 'finishMessage'
|
6239
6284
|
property :finish_reason, as: 'finishReason'
|
6285
|
+
property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingMetadata, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingMetadata::Representation
|
6286
|
+
|
6240
6287
|
property :index, as: 'index'
|
6241
6288
|
collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SafetyRating, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SafetyRating::Representation
|
6242
6289
|
|
@@ -7089,6 +7136,8 @@ module Google
|
|
7089
7136
|
property :network, as: 'network'
|
7090
7137
|
property :predict_request_response_logging_config, as: 'predictRequestResponseLoggingConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig::Representation
|
7091
7138
|
|
7139
|
+
property :private_service_connect_config, as: 'privateServiceConnectConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig::Representation
|
7140
|
+
|
7092
7141
|
hash :traffic_split, as: 'trafficSplit'
|
7093
7142
|
property :update_time, as: 'updateTime'
|
7094
7143
|
end
|
@@ -7435,30 +7484,6 @@ module Google
|
|
7435
7484
|
end
|
7436
7485
|
end
|
7437
7486
|
|
7438
|
-
class GoogleCloudAiplatformV1beta1ExportEndpointOperationMetadata
|
7439
|
-
# @private
|
7440
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
7441
|
-
property :generic_metadata, as: 'genericMetadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata::Representation
|
7442
|
-
|
7443
|
-
end
|
7444
|
-
end
|
7445
|
-
|
7446
|
-
class GoogleCloudAiplatformV1beta1ExportEndpointResponse
|
7447
|
-
# @private
|
7448
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
7449
|
-
property :output_info, as: 'outputInfo', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExportEndpointResponseOutputInfo, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExportEndpointResponseOutputInfo::Representation
|
7450
|
-
|
7451
|
-
end
|
7452
|
-
end
|
7453
|
-
|
7454
|
-
class GoogleCloudAiplatformV1beta1ExportEndpointResponseOutputInfo
|
7455
|
-
# @private
|
7456
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
7457
|
-
property :big_query_destination, as: 'bigQueryDestination', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BigQueryDestination, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BigQueryDestination::Representation
|
7458
|
-
|
7459
|
-
end
|
7460
|
-
end
|
7461
|
-
|
7462
7487
|
class GoogleCloudAiplatformV1beta1ExportFeatureValuesOperationMetadata
|
7463
7488
|
# @private
|
7464
7489
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7813,6 +7838,7 @@ module Google
|
|
7813
7838
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7814
7839
|
collection :feature_groups, as: 'featureGroups', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySourceFeatureGroup, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySourceFeatureGroup::Representation
|
7815
7840
|
|
7841
|
+
property :project_number, :numeric_string => true, as: 'projectNumber'
|
7816
7842
|
end
|
7817
7843
|
end
|
7818
7844
|
|
@@ -7833,6 +7859,8 @@ module Google
|
|
7833
7859
|
property :name, as: 'name'
|
7834
7860
|
property :run_time, as: 'runTime', class: Google::Apis::AiplatformV1beta1::GoogleTypeInterval, decorator: Google::Apis::AiplatformV1beta1::GoogleTypeInterval::Representation
|
7835
7861
|
|
7862
|
+
property :sync_summary, as: 'syncSummary', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewSyncSyncSummary, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewSyncSyncSummary::Representation
|
7863
|
+
|
7836
7864
|
end
|
7837
7865
|
end
|
7838
7866
|
|
@@ -7843,6 +7871,14 @@ module Google
|
|
7843
7871
|
end
|
7844
7872
|
end
|
7845
7873
|
|
7874
|
+
class GoogleCloudAiplatformV1beta1FeatureViewSyncSyncSummary
|
7875
|
+
# @private
|
7876
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7877
|
+
property :row_synced, :numeric_string => true, as: 'rowSynced'
|
7878
|
+
property :total_slot, :numeric_string => true, as: 'totalSlot'
|
7879
|
+
end
|
7880
|
+
end
|
7881
|
+
|
7846
7882
|
class GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
|
7847
7883
|
# @private
|
7848
7884
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8180,6 +8216,41 @@ module Google
|
|
8180
8216
|
end
|
8181
8217
|
end
|
8182
8218
|
|
8219
|
+
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
8220
|
+
# @private
|
8221
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8222
|
+
property :disable_attribution, as: 'disableAttribution'
|
8223
|
+
end
|
8224
|
+
end
|
8225
|
+
|
8226
|
+
class GoogleCloudAiplatformV1beta1GroundingAttribution
|
8227
|
+
# @private
|
8228
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8229
|
+
property :confidence_score, as: 'confidenceScore'
|
8230
|
+
property :segment, as: 'segment', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Segment, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Segment::Representation
|
8231
|
+
|
8232
|
+
property :web, as: 'web', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingAttributionWeb, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingAttributionWeb::Representation
|
8233
|
+
|
8234
|
+
end
|
8235
|
+
end
|
8236
|
+
|
8237
|
+
class GoogleCloudAiplatformV1beta1GroundingAttributionWeb
|
8238
|
+
# @private
|
8239
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8240
|
+
property :title, as: 'title'
|
8241
|
+
property :uri, as: 'uri'
|
8242
|
+
end
|
8243
|
+
end
|
8244
|
+
|
8245
|
+
class GoogleCloudAiplatformV1beta1GroundingMetadata
|
8246
|
+
# @private
|
8247
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8248
|
+
collection :grounding_attributions, as: 'groundingAttributions', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingAttribution, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingAttribution::Representation
|
8249
|
+
|
8250
|
+
collection :web_search_queries, as: 'webSearchQueries'
|
8251
|
+
end
|
8252
|
+
end
|
8253
|
+
|
8183
8254
|
class GoogleCloudAiplatformV1beta1HyperparameterTuningJob
|
8184
8255
|
# @private
|
8185
8256
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9985,8 +10056,6 @@ module Google
|
|
9985
10056
|
class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig
|
9986
10057
|
# @private
|
9987
10058
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9988
|
-
property :default_runtime, as: 'defaultRuntime', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime::Representation
|
9989
|
-
|
9990
10059
|
property :failure_policy, as: 'failurePolicy'
|
9991
10060
|
property :gcs_output_directory, as: 'gcsOutputDirectory'
|
9992
10061
|
hash :input_artifacts, as: 'inputArtifacts', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact::Representation
|
@@ -9997,14 +10066,6 @@ module Google
|
|
9997
10066
|
end
|
9998
10067
|
end
|
9999
10068
|
|
10000
|
-
class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime
|
10001
|
-
# @private
|
10002
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
10003
|
-
property :persistent_resource_runtime_detail, as: 'persistentResourceRuntimeDetail', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail::Representation
|
10004
|
-
|
10005
|
-
end
|
10006
|
-
end
|
10007
|
-
|
10008
10069
|
class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact
|
10009
10070
|
# @private
|
10010
10071
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10012,13 +10073,6 @@ module Google
|
|
10012
10073
|
end
|
10013
10074
|
end
|
10014
10075
|
|
10015
|
-
class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail
|
10016
|
-
# @private
|
10017
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
10018
|
-
property :persistent_resource_name, as: 'persistentResourceName'
|
10019
|
-
end
|
10020
|
-
end
|
10021
|
-
|
10022
10076
|
class GoogleCloudAiplatformV1beta1PipelineTaskDetail
|
10023
10077
|
# @private
|
10024
10078
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10448,11 +10502,20 @@ module Google
|
|
10448
10502
|
end
|
10449
10503
|
end
|
10450
10504
|
|
10505
|
+
class GoogleCloudAiplatformV1beta1RayMetricSpec
|
10506
|
+
# @private
|
10507
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10508
|
+
property :disabled, as: 'disabled'
|
10509
|
+
end
|
10510
|
+
end
|
10511
|
+
|
10451
10512
|
class GoogleCloudAiplatformV1beta1RaySpec
|
10452
10513
|
# @private
|
10453
10514
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10454
10515
|
property :head_node_resource_pool_id, as: 'headNodeResourcePoolId'
|
10455
10516
|
property :image_uri, as: 'imageUri'
|
10517
|
+
property :ray_metric_spec, as: 'rayMetricSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RayMetricSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RayMetricSpec::Representation
|
10518
|
+
|
10456
10519
|
hash :resource_pool_images, as: 'resourcePoolImages'
|
10457
10520
|
end
|
10458
10521
|
end
|
@@ -10705,6 +10768,15 @@ module Google
|
|
10705
10768
|
end
|
10706
10769
|
end
|
10707
10770
|
|
10771
|
+
class GoogleCloudAiplatformV1beta1Retrieval
|
10772
|
+
# @private
|
10773
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10774
|
+
property :disable_attribution, as: 'disableAttribution'
|
10775
|
+
property :vertex_ai_search, as: 'vertexAiSearch', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VertexAiSearch, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VertexAiSearch::Representation
|
10776
|
+
|
10777
|
+
end
|
10778
|
+
end
|
10779
|
+
|
10708
10780
|
class GoogleCloudAiplatformV1beta1SafetyRating
|
10709
10781
|
# @private
|
10710
10782
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12480,6 +12552,15 @@ module Google
|
|
12480
12552
|
end
|
12481
12553
|
end
|
12482
12554
|
|
12555
|
+
class GoogleCloudAiplatformV1beta1Segment
|
12556
|
+
# @private
|
12557
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12558
|
+
property :end_index, as: 'endIndex'
|
12559
|
+
property :part_index, as: 'partIndex'
|
12560
|
+
property :start_index, as: 'startIndex'
|
12561
|
+
end
|
12562
|
+
end
|
12563
|
+
|
12483
12564
|
class GoogleCloudAiplatformV1beta1ServiceAccountSpec
|
12484
12565
|
# @private
|
12485
12566
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13017,6 +13098,10 @@ module Google
|
|
13017
13098
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13018
13099
|
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
|
13019
13100
|
|
13101
|
+
property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval::Representation
|
13102
|
+
|
13103
|
+
property :retrieval, as: 'retrieval', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Retrieval, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Retrieval::Representation
|
13104
|
+
|
13020
13105
|
end
|
13021
13106
|
end
|
13022
13107
|
|
@@ -13343,6 +13428,13 @@ module Google
|
|
13343
13428
|
end
|
13344
13429
|
end
|
13345
13430
|
|
13431
|
+
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
13432
|
+
# @private
|
13433
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13434
|
+
property :datastore, as: 'datastore'
|
13435
|
+
end
|
13436
|
+
end
|
13437
|
+
|
13346
13438
|
class GoogleCloudAiplatformV1beta1VideoMetadata
|
13347
13439
|
# @private
|
13348
13440
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14179,6 +14271,7 @@ module Google
|
|
14179
14271
|
property :finish_reason, as: 'finishReason'
|
14180
14272
|
property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadata, decorator: Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadata::Representation
|
14181
14273
|
|
14274
|
+
property :is_code, as: 'isCode'
|
14182
14275
|
property :is_fallback, as: 'isFallback'
|
14183
14276
|
property :langid_result, as: 'langidResult', class: Google::Apis::AiplatformV1beta1::NlpSaftLangIdResult, decorator: Google::Apis::AiplatformV1beta1::NlpSaftLangIdResult::Representation
|
14184
14277
|
|
@@ -4216,6 +4216,152 @@ module Google
|
|
4216
4216
|
execute_or_queue_command(command, &block)
|
4217
4217
|
end
|
4218
4218
|
|
4219
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
4220
|
+
# longer interested in the operation result. It does not cancel the operation.
|
4221
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
4222
|
+
# UNIMPLEMENTED`.
|
4223
|
+
# @param [String] name
|
4224
|
+
# The name of the operation resource to be deleted.
|
4225
|
+
# @param [String] fields
|
4226
|
+
# Selector specifying which fields to include in a partial response.
|
4227
|
+
# @param [String] quota_user
|
4228
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4229
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4230
|
+
# @param [Google::Apis::RequestOptions] options
|
4231
|
+
# Request-specific options
|
4232
|
+
#
|
4233
|
+
# @yield [result, err] Result & error if block supplied
|
4234
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
4235
|
+
# @yieldparam err [StandardError] error object if request failed
|
4236
|
+
#
|
4237
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
4238
|
+
#
|
4239
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4240
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4241
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4242
|
+
def delete_project_location_evaluation_task_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
4243
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
4244
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
4245
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
4246
|
+
command.params['name'] = name unless name.nil?
|
4247
|
+
command.query['fields'] = fields unless fields.nil?
|
4248
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4249
|
+
execute_or_queue_command(command, &block)
|
4250
|
+
end
|
4251
|
+
|
4252
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
4253
|
+
# to poll the operation result at intervals as recommended by the API service.
|
4254
|
+
# @param [String] name
|
4255
|
+
# The name of the operation resource.
|
4256
|
+
# @param [String] fields
|
4257
|
+
# Selector specifying which fields to include in a partial response.
|
4258
|
+
# @param [String] quota_user
|
4259
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4260
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4261
|
+
# @param [Google::Apis::RequestOptions] options
|
4262
|
+
# Request-specific options
|
4263
|
+
#
|
4264
|
+
# @yield [result, err] Result & error if block supplied
|
4265
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
4266
|
+
# @yieldparam err [StandardError] error object if request failed
|
4267
|
+
#
|
4268
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
4269
|
+
#
|
4270
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4271
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4272
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4273
|
+
def get_project_location_evaluation_task_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
4274
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
4275
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
4276
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
4277
|
+
command.params['name'] = name unless name.nil?
|
4278
|
+
command.query['fields'] = fields unless fields.nil?
|
4279
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4280
|
+
execute_or_queue_command(command, &block)
|
4281
|
+
end
|
4282
|
+
|
4283
|
+
# Lists operations that match the specified filter in the request. If the server
|
4284
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
4285
|
+
# @param [String] name
|
4286
|
+
# The name of the operation's parent resource.
|
4287
|
+
# @param [String] filter
|
4288
|
+
# The standard list filter.
|
4289
|
+
# @param [Fixnum] page_size
|
4290
|
+
# The standard list page size.
|
4291
|
+
# @param [String] page_token
|
4292
|
+
# The standard list page token.
|
4293
|
+
# @param [String] fields
|
4294
|
+
# Selector specifying which fields to include in a partial response.
|
4295
|
+
# @param [String] quota_user
|
4296
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4297
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4298
|
+
# @param [Google::Apis::RequestOptions] options
|
4299
|
+
# Request-specific options
|
4300
|
+
#
|
4301
|
+
# @yield [result, err] Result & error if block supplied
|
4302
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
4303
|
+
# @yieldparam err [StandardError] error object if request failed
|
4304
|
+
#
|
4305
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
4306
|
+
#
|
4307
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4308
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4309
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4310
|
+
def list_project_location_evaluation_task_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4311
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
4312
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
4313
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
4314
|
+
command.params['name'] = name unless name.nil?
|
4315
|
+
command.query['filter'] = filter unless filter.nil?
|
4316
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4317
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4318
|
+
command.query['fields'] = fields unless fields.nil?
|
4319
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4320
|
+
execute_or_queue_command(command, &block)
|
4321
|
+
end
|
4322
|
+
|
4323
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
4324
|
+
# specified timeout, returning the latest state. If the operation is already
|
4325
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
4326
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
4327
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
4328
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
4329
|
+
# the latest state before the specified timeout (including immediately), meaning
|
4330
|
+
# even an immediate response is no guarantee that the operation is done.
|
4331
|
+
# @param [String] name
|
4332
|
+
# The name of the operation resource to wait on.
|
4333
|
+
# @param [String] timeout
|
4334
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
4335
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
4336
|
+
# context deadline is also specified, the shorter one will be used.
|
4337
|
+
# @param [String] fields
|
4338
|
+
# Selector specifying which fields to include in a partial response.
|
4339
|
+
# @param [String] quota_user
|
4340
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4341
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4342
|
+
# @param [Google::Apis::RequestOptions] options
|
4343
|
+
# Request-specific options
|
4344
|
+
#
|
4345
|
+
# @yield [result, err] Result & error if block supplied
|
4346
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
4347
|
+
# @yieldparam err [StandardError] error object if request failed
|
4348
|
+
#
|
4349
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
4350
|
+
#
|
4351
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4352
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4353
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4354
|
+
def wait_project_location_evaluation_task_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4355
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
4356
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
4357
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
4358
|
+
command.params['name'] = name unless name.nil?
|
4359
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
4360
|
+
command.query['fields'] = fields unless fields.nil?
|
4361
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4362
|
+
execute_or_queue_command(command, &block)
|
4363
|
+
end
|
4364
|
+
|
4219
4365
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
4220
4366
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
4221
4367
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -6098,7 +6244,7 @@ module Google
|
|
6098
6244
|
# to the resource, not the full request. A field will be overwritten if it is in
|
6099
6245
|
# the mask. If the user does not provide a mask then only the non-empty fields
|
6100
6246
|
# present in the request will be overwritten. Set the update_mask to `*` to
|
6101
|
-
# override all fields. Updatable fields: * `labels`
|
6247
|
+
# override all fields. Updatable fields: * `labels` * `serviceAgentType`
|
6102
6248
|
# @param [String] fields
|
6103
6249
|
# Selector specifying which fields to include in a partial response.
|
6104
6250
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.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_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.18.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|