google-apis-aiplatform_v1beta1 0.17.0 → 0.19.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 +9 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +658 -127
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +308 -72
- data/lib/google/apis/aiplatform_v1beta1/service.rb +148 -6
- metadata +7 -7
@@ -135,7 +135,7 @@ module Google
|
|
135
135
|
# @return [Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionImageRaiScores]
|
136
136
|
attr_accessor :image_rai_scores
|
137
137
|
|
138
|
-
# RAI info for image
|
138
|
+
# RAI info for image.
|
139
139
|
# Corresponds to the JSON property `raiInfo`
|
140
140
|
# @return [Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionRaiInfo]
|
141
141
|
attr_accessor :rai_info
|
@@ -145,6 +145,11 @@ module Google
|
|
145
145
|
# @return [Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionSemanticFilterResponse]
|
146
146
|
attr_accessor :semantic_filter_response
|
147
147
|
|
148
|
+
# Text/Expanded text input for imagen.
|
149
|
+
# Corresponds to the JSON property `text`
|
150
|
+
# @return [String]
|
151
|
+
attr_accessor :text
|
152
|
+
|
148
153
|
# Path to another storage (typically Google Cloud Storage).
|
149
154
|
# Corresponds to the JSON property `uri`
|
150
155
|
# @return [String]
|
@@ -161,6 +166,7 @@ module Google
|
|
161
166
|
@image_rai_scores = args[:image_rai_scores] if args.key?(:image_rai_scores)
|
162
167
|
@rai_info = args[:rai_info] if args.key?(:rai_info)
|
163
168
|
@semantic_filter_response = args[:semantic_filter_response] if args.key?(:semantic_filter_response)
|
169
|
+
@text = args[:text] if args.key?(:text)
|
164
170
|
@uri = args[:uri] if args.key?(:uri)
|
165
171
|
end
|
166
172
|
end
|
@@ -1060,11 +1066,31 @@ module Google
|
|
1060
1066
|
# @return [String]
|
1061
1067
|
attr_accessor :category
|
1062
1068
|
|
1069
|
+
# The influential terms that could potentially block the response.
|
1070
|
+
# Corresponds to the JSON property `influentialTerms`
|
1071
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm>]
|
1072
|
+
attr_accessor :influential_terms
|
1073
|
+
|
1063
1074
|
# Harm probability levels in the content.
|
1064
1075
|
# Corresponds to the JSON property `probability`
|
1065
1076
|
# @return [String]
|
1066
1077
|
attr_accessor :probability
|
1067
1078
|
|
1079
|
+
# Harm probability score.
|
1080
|
+
# Corresponds to the JSON property `probabilityScore`
|
1081
|
+
# @return [Float]
|
1082
|
+
attr_accessor :probability_score
|
1083
|
+
|
1084
|
+
# Harm severity levels in the content.
|
1085
|
+
# Corresponds to the JSON property `severity`
|
1086
|
+
# @return [String]
|
1087
|
+
attr_accessor :severity
|
1088
|
+
|
1089
|
+
# Harm severity score.
|
1090
|
+
# Corresponds to the JSON property `severityScore`
|
1091
|
+
# @return [Float]
|
1092
|
+
attr_accessor :severity_score
|
1093
|
+
|
1068
1094
|
def initialize(**args)
|
1069
1095
|
update!(**args)
|
1070
1096
|
end
|
@@ -1073,7 +1099,48 @@ module Google
|
|
1073
1099
|
def update!(**args)
|
1074
1100
|
@blocked = args[:blocked] if args.key?(:blocked)
|
1075
1101
|
@category = args[:category] if args.key?(:category)
|
1102
|
+
@influential_terms = args[:influential_terms] if args.key?(:influential_terms)
|
1076
1103
|
@probability = args[:probability] if args.key?(:probability)
|
1104
|
+
@probability_score = args[:probability_score] if args.key?(:probability_score)
|
1105
|
+
@severity = args[:severity] if args.key?(:severity)
|
1106
|
+
@severity_score = args[:severity_score] if args.key?(:severity_score)
|
1107
|
+
end
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
# The influential term that could potentially block the response.
|
1111
|
+
class CloudAiNlLlmProtoServiceSafetyRatingInfluentialTerm
|
1112
|
+
include Google::Apis::Core::Hashable
|
1113
|
+
|
1114
|
+
# The beginning offset of the influential term.
|
1115
|
+
# Corresponds to the JSON property `beginOffset`
|
1116
|
+
# @return [Fixnum]
|
1117
|
+
attr_accessor :begin_offset
|
1118
|
+
|
1119
|
+
# The confidence score of the influential term.
|
1120
|
+
# Corresponds to the JSON property `confidence`
|
1121
|
+
# @return [Float]
|
1122
|
+
attr_accessor :confidence
|
1123
|
+
|
1124
|
+
# The source of the influential term, prompt or response.
|
1125
|
+
# Corresponds to the JSON property `source`
|
1126
|
+
# @return [String]
|
1127
|
+
attr_accessor :source
|
1128
|
+
|
1129
|
+
# The influential term.
|
1130
|
+
# Corresponds to the JSON property `term`
|
1131
|
+
# @return [String]
|
1132
|
+
attr_accessor :term
|
1133
|
+
|
1134
|
+
def initialize(**args)
|
1135
|
+
update!(**args)
|
1136
|
+
end
|
1137
|
+
|
1138
|
+
# Update properties of this object
|
1139
|
+
def update!(**args)
|
1140
|
+
@begin_offset = args[:begin_offset] if args.key?(:begin_offset)
|
1141
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
1142
|
+
@source = args[:source] if args.key?(:source)
|
1143
|
+
@term = args[:term] if args.key?(:term)
|
1077
1144
|
end
|
1078
1145
|
end
|
1079
1146
|
|
@@ -3049,6 +3116,11 @@ module Google
|
|
3049
3116
|
# @return [String]
|
3050
3117
|
attr_accessor :finish_reason
|
3051
3118
|
|
3119
|
+
# Metadata returned to client when grounding is enabled.
|
3120
|
+
# Corresponds to the JSON property `groundingMetadata`
|
3121
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingMetadata]
|
3122
|
+
attr_accessor :grounding_metadata
|
3123
|
+
|
3052
3124
|
# Output only. Index of the candidate.
|
3053
3125
|
# Corresponds to the JSON property `index`
|
3054
3126
|
# @return [Fixnum]
|
@@ -3070,6 +3142,7 @@ module Google
|
|
3070
3142
|
@content = args[:content] if args.key?(:content)
|
3071
3143
|
@finish_message = args[:finish_message] if args.key?(:finish_message)
|
3072
3144
|
@finish_reason = args[:finish_reason] if args.key?(:finish_reason)
|
3145
|
+
@grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
|
3073
3146
|
@index = args[:index] if args.key?(:index)
|
3074
3147
|
@safety_ratings = args[:safety_ratings] if args.key?(:safety_ratings)
|
3075
3148
|
end
|
@@ -4077,13 +4150,6 @@ module Google
|
|
4077
4150
|
# @return [String]
|
4078
4151
|
attr_accessor :pipeline_job_id
|
4079
4152
|
|
4080
|
-
# Optional. Whether to do component level validations before job creation.
|
4081
|
-
# Currently we only support Google First Party Component/Pipelines.
|
4082
|
-
# Corresponds to the JSON property `preflightValidations`
|
4083
|
-
# @return [Boolean]
|
4084
|
-
attr_accessor :preflight_validations
|
4085
|
-
alias_method :preflight_validations?, :preflight_validations
|
4086
|
-
|
4087
4153
|
def initialize(**args)
|
4088
4154
|
update!(**args)
|
4089
4155
|
end
|
@@ -4093,7 +4159,6 @@ module Google
|
|
4093
4159
|
@parent = args[:parent] if args.key?(:parent)
|
4094
4160
|
@pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
|
4095
4161
|
@pipeline_job_id = args[:pipeline_job_id] if args.key?(:pipeline_job_id)
|
4096
|
-
@preflight_validations = args[:preflight_validations] if args.key?(:preflight_validations)
|
4097
4162
|
end
|
4098
4163
|
end
|
4099
4164
|
|
@@ -4910,12 +4975,23 @@ module Google
|
|
4910
4975
|
# @return [String]
|
4911
4976
|
attr_accessor :create_time
|
4912
4977
|
|
4978
|
+
# The user-defined name of the DatasetVersion. The name can be up to 128
|
4979
|
+
# characters long and can consist of any UTF-8 characters.
|
4980
|
+
# Corresponds to the JSON property `displayName`
|
4981
|
+
# @return [String]
|
4982
|
+
attr_accessor :display_name
|
4983
|
+
|
4913
4984
|
# Used to perform consistent read-modify-write updates. If not set, a blind "
|
4914
4985
|
# overwrite" update happens.
|
4915
4986
|
# Corresponds to the JSON property `etag`
|
4916
4987
|
# @return [String]
|
4917
4988
|
attr_accessor :etag
|
4918
4989
|
|
4990
|
+
# Required. Additional information about the DatasetVersion.
|
4991
|
+
# Corresponds to the JSON property `metadata`
|
4992
|
+
# @return [Object]
|
4993
|
+
attr_accessor :metadata
|
4994
|
+
|
4919
4995
|
# Output only. The resource name of the DatasetVersion.
|
4920
4996
|
# Corresponds to the JSON property `name`
|
4921
4997
|
# @return [String]
|
@@ -4934,7 +5010,9 @@ module Google
|
|
4934
5010
|
def update!(**args)
|
4935
5011
|
@big_query_dataset_name = args[:big_query_dataset_name] if args.key?(:big_query_dataset_name)
|
4936
5012
|
@create_time = args[:create_time] if args.key?(:create_time)
|
5013
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
4937
5014
|
@etag = args[:etag] if args.key?(:etag)
|
5015
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
4938
5016
|
@name = args[:name] if args.key?(:name)
|
4939
5017
|
@update_time = args[:update_time] if args.key?(:update_time)
|
4940
5018
|
end
|
@@ -6066,6 +6144,11 @@ module Google
|
|
6066
6144
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig]
|
6067
6145
|
attr_accessor :predict_request_response_logging_config
|
6068
6146
|
|
6147
|
+
# Represents configuration for private service connect.
|
6148
|
+
# Corresponds to the JSON property `privateServiceConnectConfig`
|
6149
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig]
|
6150
|
+
attr_accessor :private_service_connect_config
|
6151
|
+
|
6069
6152
|
# A map from a DeployedModel's ID to the percentage of this Endpoint's traffic
|
6070
6153
|
# that should be forwarded to that DeployedModel. If a DeployedModel's ID is not
|
6071
6154
|
# listed in this map, then it receives no traffic. The traffic percentage values
|
@@ -6098,6 +6181,7 @@ module Google
|
|
6098
6181
|
@name = args[:name] if args.key?(:name)
|
6099
6182
|
@network = args[:network] if args.key?(:network)
|
6100
6183
|
@predict_request_response_logging_config = args[:predict_request_response_logging_config] if args.key?(:predict_request_response_logging_config)
|
6184
|
+
@private_service_connect_config = args[:private_service_connect_config] if args.key?(:private_service_connect_config)
|
6101
6185
|
@traffic_split = args[:traffic_split] if args.key?(:traffic_split)
|
6102
6186
|
@update_time = args[:update_time] if args.key?(:update_time)
|
6103
6187
|
end
|
@@ -7454,63 +7538,6 @@ module Google
|
|
7454
7538
|
end
|
7455
7539
|
end
|
7456
7540
|
|
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
7541
|
# Details of operations that exports Features values.
|
7515
7542
|
class GoogleCloudAiplatformV1beta1ExportFeatureValuesOperationMetadata
|
7516
7543
|
include Google::Apis::Core::Hashable
|
@@ -7943,6 +7970,12 @@ module Google
|
|
7943
7970
|
# @return [String]
|
7944
7971
|
attr_accessor :name
|
7945
7972
|
|
7973
|
+
# Entity responsible for maintaining this feature. Can be comma separated list
|
7974
|
+
# of email addresses or URIs.
|
7975
|
+
# Corresponds to the JSON property `pointOfContact`
|
7976
|
+
# @return [String]
|
7977
|
+
attr_accessor :point_of_contact
|
7978
|
+
|
7946
7979
|
# Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp
|
7947
7980
|
# when this EntityType was most recently updated.
|
7948
7981
|
# Corresponds to the JSON property `updateTime`
|
@@ -7977,6 +8010,7 @@ module Google
|
|
7977
8010
|
@monitoring_stats = args[:monitoring_stats] if args.key?(:monitoring_stats)
|
7978
8011
|
@monitoring_stats_anomalies = args[:monitoring_stats_anomalies] if args.key?(:monitoring_stats_anomalies)
|
7979
8012
|
@name = args[:name] if args.key?(:name)
|
8013
|
+
@point_of_contact = args[:point_of_contact] if args.key?(:point_of_contact)
|
7980
8014
|
@update_time = args[:update_time] if args.key?(:update_time)
|
7981
8015
|
@value_type = args[:value_type] if args.key?(:value_type)
|
7982
8016
|
@version_column_name = args[:version_column_name] if args.key?(:version_column_name)
|
@@ -8055,8 +8089,8 @@ module Google
|
|
8055
8089
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BigQuerySource]
|
8056
8090
|
attr_accessor :big_query_source
|
8057
8091
|
|
8058
|
-
# Optional. Columns to construct entity_id / row keys.
|
8059
|
-
#
|
8092
|
+
# Optional. Columns to construct entity_id / row keys. If not provided defaults
|
8093
|
+
# to `entity_id`.
|
8060
8094
|
# Corresponds to the JSON property `entityIdColumns`
|
8061
8095
|
# @return [Array<String>]
|
8062
8096
|
attr_accessor :entity_id_columns
|
@@ -8667,6 +8701,23 @@ module Google
|
|
8667
8701
|
# @return [String]
|
8668
8702
|
attr_accessor :name
|
8669
8703
|
|
8704
|
+
# Output only. A Service Account unique to this FeatureView. The role bigquery.
|
8705
|
+
# dataViewer should be granted to this service account to allow Vertex AI
|
8706
|
+
# Feature Store to sync data to the online store.
|
8707
|
+
# Corresponds to the JSON property `serviceAccountEmail`
|
8708
|
+
# @return [String]
|
8709
|
+
attr_accessor :service_account_email
|
8710
|
+
|
8711
|
+
# Optional. Service agent type used during data sync. By default, the Vertex AI
|
8712
|
+
# Service Agent is used. When using an IAM Policy to isolate this FeatureView
|
8713
|
+
# within a project (https://cloud.google.com/vertex-ai/docs/featurestore/latest/
|
8714
|
+
# resource-policy) a separate service account should be provisioned by setting
|
8715
|
+
# this field to `SERVICE_AGENT_TYPE_FEATURE_VIEW`. This will generate a separate
|
8716
|
+
# service account to access the BigQuery source table.
|
8717
|
+
# Corresponds to the JSON property `serviceAgentType`
|
8718
|
+
# @return [String]
|
8719
|
+
attr_accessor :service_agent_type
|
8720
|
+
|
8670
8721
|
# Configuration for Sync. Only one option is set.
|
8671
8722
|
# Corresponds to the JSON property `syncConfig`
|
8672
8723
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewSyncConfig]
|
@@ -8694,6 +8745,8 @@ module Google
|
|
8694
8745
|
@feature_registry_source = args[:feature_registry_source] if args.key?(:feature_registry_source)
|
8695
8746
|
@labels = args[:labels] if args.key?(:labels)
|
8696
8747
|
@name = args[:name] if args.key?(:name)
|
8748
|
+
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
8749
|
+
@service_agent_type = args[:service_agent_type] if args.key?(:service_agent_type)
|
8697
8750
|
@sync_config = args[:sync_config] if args.key?(:sync_config)
|
8698
8751
|
@update_time = args[:update_time] if args.key?(:update_time)
|
8699
8752
|
@vector_search_config = args[:vector_search_config] if args.key?(:vector_search_config)
|
@@ -8704,8 +8757,7 @@ module Google
|
|
8704
8757
|
class GoogleCloudAiplatformV1beta1FeatureViewBigQuerySource
|
8705
8758
|
include Google::Apis::Core::Hashable
|
8706
8759
|
|
8707
|
-
# Required. Columns to construct entity_id / row keys.
|
8708
|
-
# only.
|
8760
|
+
# Required. Columns to construct entity_id / row keys.
|
8709
8761
|
# Corresponds to the JSON property `entityIdColumns`
|
8710
8762
|
# @return [Array<String>]
|
8711
8763
|
attr_accessor :entity_id_columns
|
@@ -8731,6 +8783,11 @@ module Google
|
|
8731
8783
|
class GoogleCloudAiplatformV1beta1FeatureViewDataKey
|
8732
8784
|
include Google::Apis::Core::Hashable
|
8733
8785
|
|
8786
|
+
# ID that is comprised from several parts (columns).
|
8787
|
+
# Corresponds to the JSON property `compositeKey`
|
8788
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewDataKeyCompositeKey]
|
8789
|
+
attr_accessor :composite_key
|
8790
|
+
|
8734
8791
|
# String key to use for lookup.
|
8735
8792
|
# Corresponds to the JSON property `key`
|
8736
8793
|
# @return [String]
|
@@ -8742,10 +8799,31 @@ module Google
|
|
8742
8799
|
|
8743
8800
|
# Update properties of this object
|
8744
8801
|
def update!(**args)
|
8802
|
+
@composite_key = args[:composite_key] if args.key?(:composite_key)
|
8745
8803
|
@key = args[:key] if args.key?(:key)
|
8746
8804
|
end
|
8747
8805
|
end
|
8748
8806
|
|
8807
|
+
# ID that is comprised from several parts (columns).
|
8808
|
+
class GoogleCloudAiplatformV1beta1FeatureViewDataKeyCompositeKey
|
8809
|
+
include Google::Apis::Core::Hashable
|
8810
|
+
|
8811
|
+
# Parts to construct Entity ID. Should match with the same ID columns as defined
|
8812
|
+
# in FeatureView in the same order.
|
8813
|
+
# Corresponds to the JSON property `parts`
|
8814
|
+
# @return [Array<String>]
|
8815
|
+
attr_accessor :parts
|
8816
|
+
|
8817
|
+
def initialize(**args)
|
8818
|
+
update!(**args)
|
8819
|
+
end
|
8820
|
+
|
8821
|
+
# Update properties of this object
|
8822
|
+
def update!(**args)
|
8823
|
+
@parts = args[:parts] if args.key?(:parts)
|
8824
|
+
end
|
8825
|
+
end
|
8826
|
+
|
8749
8827
|
# A Feature Registry source for features that need to be synced to Online Store.
|
8750
8828
|
class GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource
|
8751
8829
|
include Google::Apis::Core::Hashable
|
@@ -8755,6 +8833,11 @@ module Google
|
|
8755
8833
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySourceFeatureGroup>]
|
8756
8834
|
attr_accessor :feature_groups
|
8757
8835
|
|
8836
|
+
# Optional. The project number of the parent project of the Feature Groups.
|
8837
|
+
# Corresponds to the JSON property `projectNumber`
|
8838
|
+
# @return [Fixnum]
|
8839
|
+
attr_accessor :project_number
|
8840
|
+
|
8758
8841
|
def initialize(**args)
|
8759
8842
|
update!(**args)
|
8760
8843
|
end
|
@@ -8762,6 +8845,7 @@ module Google
|
|
8762
8845
|
# Update properties of this object
|
8763
8846
|
def update!(**args)
|
8764
8847
|
@feature_groups = args[:feature_groups] if args.key?(:feature_groups)
|
8848
|
+
@project_number = args[:project_number] if args.key?(:project_number)
|
8765
8849
|
end
|
8766
8850
|
end
|
8767
8851
|
|
@@ -8828,6 +8912,12 @@ module Google
|
|
8828
8912
|
# @return [Google::Apis::AiplatformV1beta1::GoogleTypeInterval]
|
8829
8913
|
attr_accessor :run_time
|
8830
8914
|
|
8915
|
+
# Summary from the Sync job. For continuous syncs, the summary is updated
|
8916
|
+
# periodically. For batch syncs, it gets updated on completion of the sync.
|
8917
|
+
# Corresponds to the JSON property `syncSummary`
|
8918
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewSyncSyncSummary]
|
8919
|
+
attr_accessor :sync_summary
|
8920
|
+
|
8831
8921
|
def initialize(**args)
|
8832
8922
|
update!(**args)
|
8833
8923
|
end
|
@@ -8838,6 +8928,7 @@ module Google
|
|
8838
8928
|
@final_status = args[:final_status] if args.key?(:final_status)
|
8839
8929
|
@name = args[:name] if args.key?(:name)
|
8840
8930
|
@run_time = args[:run_time] if args.key?(:run_time)
|
8931
|
+
@sync_summary = args[:sync_summary] if args.key?(:sync_summary)
|
8841
8932
|
end
|
8842
8933
|
end
|
8843
8934
|
|
@@ -8864,6 +8955,32 @@ module Google
|
|
8864
8955
|
end
|
8865
8956
|
end
|
8866
8957
|
|
8958
|
+
# Summary from the Sync job. For continuous syncs, the summary is updated
|
8959
|
+
# periodically. For batch syncs, it gets updated on completion of the sync.
|
8960
|
+
class GoogleCloudAiplatformV1beta1FeatureViewSyncSyncSummary
|
8961
|
+
include Google::Apis::Core::Hashable
|
8962
|
+
|
8963
|
+
# Output only. Total number of rows synced.
|
8964
|
+
# Corresponds to the JSON property `rowSynced`
|
8965
|
+
# @return [Fixnum]
|
8966
|
+
attr_accessor :row_synced
|
8967
|
+
|
8968
|
+
# Output only. BigQuery slot milliseconds consumed for the sync job.
|
8969
|
+
# Corresponds to the JSON property `totalSlot`
|
8970
|
+
# @return [Fixnum]
|
8971
|
+
attr_accessor :total_slot
|
8972
|
+
|
8973
|
+
def initialize(**args)
|
8974
|
+
update!(**args)
|
8975
|
+
end
|
8976
|
+
|
8977
|
+
# Update properties of this object
|
8978
|
+
def update!(**args)
|
8979
|
+
@row_synced = args[:row_synced] if args.key?(:row_synced)
|
8980
|
+
@total_slot = args[:total_slot] if args.key?(:total_slot)
|
8981
|
+
end
|
8982
|
+
end
|
8983
|
+
|
8867
8984
|
# Deprecated. Use IndexConfig instead.
|
8868
8985
|
class GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
|
8869
8986
|
include Google::Apis::Core::Hashable
|
@@ -9871,7 +9988,7 @@ module Google
|
|
9871
9988
|
# Optional. A list of `Tools` the model may use to generate the next response. A
|
9872
9989
|
# `Tool` is a piece of code that enables the system to interact with external
|
9873
9990
|
# systems to perform an action, or set of actions, outside of knowledge and
|
9874
|
-
# scope of the model.
|
9991
|
+
# scope of the model.
|
9875
9992
|
# Corresponds to the JSON property `tools`
|
9876
9993
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Tool>]
|
9877
9994
|
attr_accessor :tools
|
@@ -10065,6 +10182,130 @@ module Google
|
|
10065
10182
|
end
|
10066
10183
|
end
|
10067
10184
|
|
10185
|
+
# Contains information about the source of the models generated from Generative
|
10186
|
+
# AI Studio.
|
10187
|
+
class GoogleCloudAiplatformV1beta1GenieSource
|
10188
|
+
include Google::Apis::Core::Hashable
|
10189
|
+
|
10190
|
+
# Required. The public base model URI.
|
10191
|
+
# Corresponds to the JSON property `baseModelUri`
|
10192
|
+
# @return [String]
|
10193
|
+
attr_accessor :base_model_uri
|
10194
|
+
|
10195
|
+
def initialize(**args)
|
10196
|
+
update!(**args)
|
10197
|
+
end
|
10198
|
+
|
10199
|
+
# Update properties of this object
|
10200
|
+
def update!(**args)
|
10201
|
+
@base_model_uri = args[:base_model_uri] if args.key?(:base_model_uri)
|
10202
|
+
end
|
10203
|
+
end
|
10204
|
+
|
10205
|
+
# Tool to retrieve public web data for grounding, powered by Google.
|
10206
|
+
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
10207
|
+
include Google::Apis::Core::Hashable
|
10208
|
+
|
10209
|
+
# Optional. Disable using the result from this tool in detecting grounding
|
10210
|
+
# attribution. This does not affect how the result is given to the model for
|
10211
|
+
# generation.
|
10212
|
+
# Corresponds to the JSON property `disableAttribution`
|
10213
|
+
# @return [Boolean]
|
10214
|
+
attr_accessor :disable_attribution
|
10215
|
+
alias_method :disable_attribution?, :disable_attribution
|
10216
|
+
|
10217
|
+
def initialize(**args)
|
10218
|
+
update!(**args)
|
10219
|
+
end
|
10220
|
+
|
10221
|
+
# Update properties of this object
|
10222
|
+
def update!(**args)
|
10223
|
+
@disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
|
10224
|
+
end
|
10225
|
+
end
|
10226
|
+
|
10227
|
+
# Grounding attribution.
|
10228
|
+
class GoogleCloudAiplatformV1beta1GroundingAttribution
|
10229
|
+
include Google::Apis::Core::Hashable
|
10230
|
+
|
10231
|
+
# Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1.
|
10232
|
+
# 1 is the most confident.
|
10233
|
+
# Corresponds to the JSON property `confidenceScore`
|
10234
|
+
# @return [Float]
|
10235
|
+
attr_accessor :confidence_score
|
10236
|
+
|
10237
|
+
# Segment of the content.
|
10238
|
+
# Corresponds to the JSON property `segment`
|
10239
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Segment]
|
10240
|
+
attr_accessor :segment
|
10241
|
+
|
10242
|
+
# Attribution from the web.
|
10243
|
+
# Corresponds to the JSON property `web`
|
10244
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingAttributionWeb]
|
10245
|
+
attr_accessor :web
|
10246
|
+
|
10247
|
+
def initialize(**args)
|
10248
|
+
update!(**args)
|
10249
|
+
end
|
10250
|
+
|
10251
|
+
# Update properties of this object
|
10252
|
+
def update!(**args)
|
10253
|
+
@confidence_score = args[:confidence_score] if args.key?(:confidence_score)
|
10254
|
+
@segment = args[:segment] if args.key?(:segment)
|
10255
|
+
@web = args[:web] if args.key?(:web)
|
10256
|
+
end
|
10257
|
+
end
|
10258
|
+
|
10259
|
+
# Attribution from the web.
|
10260
|
+
class GoogleCloudAiplatformV1beta1GroundingAttributionWeb
|
10261
|
+
include Google::Apis::Core::Hashable
|
10262
|
+
|
10263
|
+
# Output only. Title of the attribution.
|
10264
|
+
# Corresponds to the JSON property `title`
|
10265
|
+
# @return [String]
|
10266
|
+
attr_accessor :title
|
10267
|
+
|
10268
|
+
# Output only. URI reference of the attribution.
|
10269
|
+
# Corresponds to the JSON property `uri`
|
10270
|
+
# @return [String]
|
10271
|
+
attr_accessor :uri
|
10272
|
+
|
10273
|
+
def initialize(**args)
|
10274
|
+
update!(**args)
|
10275
|
+
end
|
10276
|
+
|
10277
|
+
# Update properties of this object
|
10278
|
+
def update!(**args)
|
10279
|
+
@title = args[:title] if args.key?(:title)
|
10280
|
+
@uri = args[:uri] if args.key?(:uri)
|
10281
|
+
end
|
10282
|
+
end
|
10283
|
+
|
10284
|
+
# Metadata returned to client when grounding is enabled.
|
10285
|
+
class GoogleCloudAiplatformV1beta1GroundingMetadata
|
10286
|
+
include Google::Apis::Core::Hashable
|
10287
|
+
|
10288
|
+
# Optional. List of grounding attributions.
|
10289
|
+
# Corresponds to the JSON property `groundingAttributions`
|
10290
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingAttribution>]
|
10291
|
+
attr_accessor :grounding_attributions
|
10292
|
+
|
10293
|
+
# Optional. Web search queries for the following-up web search.
|
10294
|
+
# Corresponds to the JSON property `webSearchQueries`
|
10295
|
+
# @return [Array<String>]
|
10296
|
+
attr_accessor :web_search_queries
|
10297
|
+
|
10298
|
+
def initialize(**args)
|
10299
|
+
update!(**args)
|
10300
|
+
end
|
10301
|
+
|
10302
|
+
# Update properties of this object
|
10303
|
+
def update!(**args)
|
10304
|
+
@grounding_attributions = args[:grounding_attributions] if args.key?(:grounding_attributions)
|
10305
|
+
@web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
|
10306
|
+
end
|
10307
|
+
end
|
10308
|
+
|
10068
10309
|
# Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study
|
10069
10310
|
# specification and multiple CustomJobs with identical CustomJob specification.
|
10070
10311
|
class GoogleCloudAiplatformV1beta1HyperparameterTuningJob
|
@@ -13248,6 +13489,12 @@ module Google
|
|
13248
13489
|
# @return [String]
|
13249
13490
|
attr_accessor :artifact_uri
|
13250
13491
|
|
13492
|
+
# User input field to specify the base model source. Currently it only supports
|
13493
|
+
# specifing the Model Garden models and Genie models.
|
13494
|
+
# Corresponds to the JSON property `baseModelSource`
|
13495
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelBaseModelSource]
|
13496
|
+
attr_accessor :base_model_source
|
13497
|
+
|
13251
13498
|
# Specification of a container for serving predictions. Some fields in this
|
13252
13499
|
# message correspond to fields in the [Kubernetes Container v1 core
|
13253
13500
|
# specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/
|
@@ -13460,6 +13707,7 @@ module Google
|
|
13460
13707
|
# Update properties of this object
|
13461
13708
|
def update!(**args)
|
13462
13709
|
@artifact_uri = args[:artifact_uri] if args.key?(:artifact_uri)
|
13710
|
+
@base_model_source = args[:base_model_source] if args.key?(:base_model_source)
|
13463
13711
|
@container_spec = args[:container_spec] if args.key?(:container_spec)
|
13464
13712
|
@create_time = args[:create_time] if args.key?(:create_time)
|
13465
13713
|
@deployed_models = args[:deployed_models] if args.key?(:deployed_models)
|
@@ -13490,6 +13738,34 @@ module Google
|
|
13490
13738
|
end
|
13491
13739
|
end
|
13492
13740
|
|
13741
|
+
# User input field to specify the base model source. Currently it only supports
|
13742
|
+
# specifing the Model Garden models and Genie models.
|
13743
|
+
class GoogleCloudAiplatformV1beta1ModelBaseModelSource
|
13744
|
+
include Google::Apis::Core::Hashable
|
13745
|
+
|
13746
|
+
# Contains information about the source of the models generated from Generative
|
13747
|
+
# AI Studio.
|
13748
|
+
# Corresponds to the JSON property `genieSource`
|
13749
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenieSource]
|
13750
|
+
attr_accessor :genie_source
|
13751
|
+
|
13752
|
+
# Contains information about the source of the models generated from Model
|
13753
|
+
# Garden.
|
13754
|
+
# Corresponds to the JSON property `modelGardenSource`
|
13755
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelGardenSource]
|
13756
|
+
attr_accessor :model_garden_source
|
13757
|
+
|
13758
|
+
def initialize(**args)
|
13759
|
+
update!(**args)
|
13760
|
+
end
|
13761
|
+
|
13762
|
+
# Update properties of this object
|
13763
|
+
def update!(**args)
|
13764
|
+
@genie_source = args[:genie_source] if args.key?(:genie_source)
|
13765
|
+
@model_garden_source = args[:model_garden_source] if args.key?(:model_garden_source)
|
13766
|
+
end
|
13767
|
+
end
|
13768
|
+
|
13493
13769
|
# Specification of a container for serving predictions. Some fields in this
|
13494
13770
|
# message correspond to fields in the [Kubernetes Container v1 core
|
13495
13771
|
# specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/
|
@@ -14435,6 +14711,26 @@ module Google
|
|
14435
14711
|
end
|
14436
14712
|
end
|
14437
14713
|
|
14714
|
+
# Contains information about the source of the models generated from Model
|
14715
|
+
# Garden.
|
14716
|
+
class GoogleCloudAiplatformV1beta1ModelGardenSource
|
14717
|
+
include Google::Apis::Core::Hashable
|
14718
|
+
|
14719
|
+
# Required. The model garden source model resource name.
|
14720
|
+
# Corresponds to the JSON property `publicModelName`
|
14721
|
+
# @return [String]
|
14722
|
+
attr_accessor :public_model_name
|
14723
|
+
|
14724
|
+
def initialize(**args)
|
14725
|
+
update!(**args)
|
14726
|
+
end
|
14727
|
+
|
14728
|
+
# Update properties of this object
|
14729
|
+
def update!(**args)
|
14730
|
+
@public_model_name = args[:public_model_name] if args.key?(:public_model_name)
|
14731
|
+
end
|
14732
|
+
end
|
14733
|
+
|
14438
14734
|
# The alert config for model monitoring.
|
14439
14735
|
class GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig
|
14440
14736
|
include Google::Apis::Core::Hashable
|
@@ -16504,6 +16800,12 @@ module Google
|
|
16504
16800
|
# @return [Hash<String,Object>]
|
16505
16801
|
attr_accessor :pipeline_spec
|
16506
16802
|
|
16803
|
+
# Optional. Whether to do component level validations before job creation.
|
16804
|
+
# Corresponds to the JSON property `preflightValidations`
|
16805
|
+
# @return [Boolean]
|
16806
|
+
attr_accessor :preflight_validations
|
16807
|
+
alias_method :preflight_validations?, :preflight_validations
|
16808
|
+
|
16507
16809
|
# A list of names for the reserved ip ranges under the VPC network that can be
|
16508
16810
|
# used for this Pipeline Job's workload. If set, we will deploy the Pipeline Job'
|
16509
16811
|
# s workload within the provided ip ranges. Otherwise, the job will be deployed
|
@@ -16578,6 +16880,7 @@ module Google
|
|
16578
16880
|
@name = args[:name] if args.key?(:name)
|
16579
16881
|
@network = args[:network] if args.key?(:network)
|
16580
16882
|
@pipeline_spec = args[:pipeline_spec] if args.key?(:pipeline_spec)
|
16883
|
+
@preflight_validations = args[:preflight_validations] if args.key?(:preflight_validations)
|
16581
16884
|
@reserved_ip_ranges = args[:reserved_ip_ranges] if args.key?(:reserved_ip_ranges)
|
16582
16885
|
@runtime_config = args[:runtime_config] if args.key?(:runtime_config)
|
16583
16886
|
@schedule_name = args[:schedule_name] if args.key?(:schedule_name)
|
@@ -16625,11 +16928,6 @@ module Google
|
|
16625
16928
|
class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig
|
16626
16929
|
include Google::Apis::Core::Hashable
|
16627
16930
|
|
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
16931
|
# Represents the failure policy of a pipeline. Currently, the default of a
|
16634
16932
|
# pipeline is that the pipeline will continue to run until no more tasks can be
|
16635
16933
|
# executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a
|
@@ -16680,7 +16978,6 @@ module Google
|
|
16680
16978
|
|
16681
16979
|
# Update properties of this object
|
16682
16980
|
def update!(**args)
|
16683
|
-
@default_runtime = args[:default_runtime] if args.key?(:default_runtime)
|
16684
16981
|
@failure_policy = args[:failure_policy] if args.key?(:failure_policy)
|
16685
16982
|
@gcs_output_directory = args[:gcs_output_directory] if args.key?(:gcs_output_directory)
|
16686
16983
|
@input_artifacts = args[:input_artifacts] if args.key?(:input_artifacts)
|
@@ -16689,26 +16986,6 @@ module Google
|
|
16689
16986
|
end
|
16690
16987
|
end
|
16691
16988
|
|
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
16989
|
# The type of an input artifact.
|
16713
16990
|
class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact
|
16714
16991
|
include Google::Apis::Core::Hashable
|
@@ -16731,27 +17008,6 @@ module Google
|
|
16731
17008
|
end
|
16732
17009
|
end
|
16733
17010
|
|
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
17011
|
# The runtime detail of a task execution.
|
16756
17012
|
class GoogleCloudAiplatformV1beta1PipelineTaskDetail
|
16757
17013
|
include Google::Apis::Core::Hashable
|
@@ -18257,6 +18513,26 @@ module Google
|
|
18257
18513
|
end
|
18258
18514
|
end
|
18259
18515
|
|
18516
|
+
# Configuration for the Ray metrics.
|
18517
|
+
class GoogleCloudAiplatformV1beta1RayMetricSpec
|
18518
|
+
include Google::Apis::Core::Hashable
|
18519
|
+
|
18520
|
+
# Optional. Flag to disable the Ray metrics collection.
|
18521
|
+
# Corresponds to the JSON property `disabled`
|
18522
|
+
# @return [Boolean]
|
18523
|
+
attr_accessor :disabled
|
18524
|
+
alias_method :disabled?, :disabled
|
18525
|
+
|
18526
|
+
def initialize(**args)
|
18527
|
+
update!(**args)
|
18528
|
+
end
|
18529
|
+
|
18530
|
+
# Update properties of this object
|
18531
|
+
def update!(**args)
|
18532
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
18533
|
+
end
|
18534
|
+
end
|
18535
|
+
|
18260
18536
|
# Configuration information for the Ray cluster. For experimental launch, Ray
|
18261
18537
|
# cluster creation and Persistent cluster creation are 1:1 mapping: We will
|
18262
18538
|
# provision all the nodes within the Persistent cluster as Ray nodes.
|
@@ -18280,6 +18556,11 @@ module Google
|
|
18280
18556
|
# @return [String]
|
18281
18557
|
attr_accessor :image_uri
|
18282
18558
|
|
18559
|
+
# Configuration for the Ray metrics.
|
18560
|
+
# Corresponds to the JSON property `rayMetricSpec`
|
18561
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RayMetricSpec]
|
18562
|
+
attr_accessor :ray_metric_spec
|
18563
|
+
|
18283
18564
|
# Optional. Required if image_uri isn't set. A map of resource_pool_id to
|
18284
18565
|
# prebuild Ray image if user need to use different images for different head/
|
18285
18566
|
# worker pools. This map needs to cover all the resource pool ids. Example: ` "
|
@@ -18297,6 +18578,7 @@ module Google
|
|
18297
18578
|
def update!(**args)
|
18298
18579
|
@head_node_resource_pool_id = args[:head_node_resource_pool_id] if args.key?(:head_node_resource_pool_id)
|
18299
18580
|
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
18581
|
+
@ray_metric_spec = args[:ray_metric_spec] if args.key?(:ray_metric_spec)
|
18300
18582
|
@resource_pool_images = args[:resource_pool_images] if args.key?(:resource_pool_images)
|
18301
18583
|
end
|
18302
18584
|
end
|
@@ -19012,6 +19294,35 @@ module Google
|
|
19012
19294
|
end
|
19013
19295
|
end
|
19014
19296
|
|
19297
|
+
# Defines a retrieval tool that model can call to access external knowledge.
|
19298
|
+
class GoogleCloudAiplatformV1beta1Retrieval
|
19299
|
+
include Google::Apis::Core::Hashable
|
19300
|
+
|
19301
|
+
# Optional. Disable using the result from this tool in detecting grounding
|
19302
|
+
# attribution. This does not affect how the result is given to the model for
|
19303
|
+
# generation.
|
19304
|
+
# Corresponds to the JSON property `disableAttribution`
|
19305
|
+
# @return [Boolean]
|
19306
|
+
attr_accessor :disable_attribution
|
19307
|
+
alias_method :disable_attribution?, :disable_attribution
|
19308
|
+
|
19309
|
+
# Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
|
19310
|
+
# google.com/vertex-ai-search-and-conversation
|
19311
|
+
# Corresponds to the JSON property `vertexAiSearch`
|
19312
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VertexAiSearch]
|
19313
|
+
attr_accessor :vertex_ai_search
|
19314
|
+
|
19315
|
+
def initialize(**args)
|
19316
|
+
update!(**args)
|
19317
|
+
end
|
19318
|
+
|
19319
|
+
# Update properties of this object
|
19320
|
+
def update!(**args)
|
19321
|
+
@disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
|
19322
|
+
@vertex_ai_search = args[:vertex_ai_search] if args.key?(:vertex_ai_search)
|
19323
|
+
end
|
19324
|
+
end
|
19325
|
+
|
19015
19326
|
# Safety rating corresponding to the generated content.
|
19016
19327
|
class GoogleCloudAiplatformV1beta1SafetyRating
|
19017
19328
|
include Google::Apis::Core::Hashable
|
@@ -19033,6 +19344,21 @@ module Google
|
|
19033
19344
|
# @return [String]
|
19034
19345
|
attr_accessor :probability
|
19035
19346
|
|
19347
|
+
# Output only. Harm probability score.
|
19348
|
+
# Corresponds to the JSON property `probabilityScore`
|
19349
|
+
# @return [Float]
|
19350
|
+
attr_accessor :probability_score
|
19351
|
+
|
19352
|
+
# Output only. Harm severity levels in the content.
|
19353
|
+
# Corresponds to the JSON property `severity`
|
19354
|
+
# @return [String]
|
19355
|
+
attr_accessor :severity
|
19356
|
+
|
19357
|
+
# Output only. Harm severity score.
|
19358
|
+
# Corresponds to the JSON property `severityScore`
|
19359
|
+
# @return [Float]
|
19360
|
+
attr_accessor :severity_score
|
19361
|
+
|
19036
19362
|
def initialize(**args)
|
19037
19363
|
update!(**args)
|
19038
19364
|
end
|
@@ -19042,6 +19368,9 @@ module Google
|
|
19042
19368
|
@blocked = args[:blocked] if args.key?(:blocked)
|
19043
19369
|
@category = args[:category] if args.key?(:category)
|
19044
19370
|
@probability = args[:probability] if args.key?(:probability)
|
19371
|
+
@probability_score = args[:probability_score] if args.key?(:probability_score)
|
19372
|
+
@severity = args[:severity] if args.key?(:severity)
|
19373
|
+
@severity_score = args[:severity_score] if args.key?(:severity_score)
|
19045
19374
|
end
|
19046
19375
|
end
|
19047
19376
|
|
@@ -25709,6 +26038,39 @@ module Google
|
|
25709
26038
|
end
|
25710
26039
|
end
|
25711
26040
|
|
26041
|
+
# Segment of the content.
|
26042
|
+
class GoogleCloudAiplatformV1beta1Segment
|
26043
|
+
include Google::Apis::Core::Hashable
|
26044
|
+
|
26045
|
+
# Output only. End index in the given Part, measured in bytes. Offset from the
|
26046
|
+
# start of the Part, exclusive, starting at zero.
|
26047
|
+
# Corresponds to the JSON property `endIndex`
|
26048
|
+
# @return [Fixnum]
|
26049
|
+
attr_accessor :end_index
|
26050
|
+
|
26051
|
+
# Output only. The index of a Part object within its parent Content object.
|
26052
|
+
# Corresponds to the JSON property `partIndex`
|
26053
|
+
# @return [Fixnum]
|
26054
|
+
attr_accessor :part_index
|
26055
|
+
|
26056
|
+
# Output only. Start index in the given Part, measured in bytes. Offset from the
|
26057
|
+
# start of the Part, inclusive, starting at zero.
|
26058
|
+
# Corresponds to the JSON property `startIndex`
|
26059
|
+
# @return [Fixnum]
|
26060
|
+
attr_accessor :start_index
|
26061
|
+
|
26062
|
+
def initialize(**args)
|
26063
|
+
update!(**args)
|
26064
|
+
end
|
26065
|
+
|
26066
|
+
# Update properties of this object
|
26067
|
+
def update!(**args)
|
26068
|
+
@end_index = args[:end_index] if args.key?(:end_index)
|
26069
|
+
@part_index = args[:part_index] if args.key?(:part_index)
|
26070
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
26071
|
+
end
|
26072
|
+
end
|
26073
|
+
|
25712
26074
|
# Configuration for the use of custom service account to run the workloads.
|
25713
26075
|
class GoogleCloudAiplatformV1beta1ServiceAccountSpec
|
25714
26076
|
include Google::Apis::Core::Hashable
|
@@ -27755,20 +28117,32 @@ module Google
|
|
27755
28117
|
|
27756
28118
|
# Tool details that the model may use to generate response. A `Tool` is a piece
|
27757
28119
|
# 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.
|
28120
|
+
# an action, or set of actions, outside of knowledge and scope of the model. A
|
28121
|
+
# Tool object should contain exactly one type of Tool (e.g FunctionDeclaration,
|
28122
|
+
# Retrieval or GoogleSearchRetrieval).
|
27759
28123
|
class GoogleCloudAiplatformV1beta1Tool
|
27760
28124
|
include Google::Apis::Core::Hashable
|
27761
28125
|
|
27762
|
-
# Optional. One or more function declarations to be passed
|
27763
|
-
# with the current user query. Model may decide to call a
|
27764
|
-
# functions by populating FunctionCall in the response. User
|
27765
|
-
# FunctionResponse for each function call in the next turn.
|
27766
|
-
# function responses, Model will generate the final response back
|
27767
|
-
# Maximum 64 function declarations can be provided.
|
28126
|
+
# Optional. Function tool type. One or more function declarations to be passed
|
28127
|
+
# to the model along with the current user query. Model may decide to call a
|
28128
|
+
# subset of these functions by populating FunctionCall in the response. User
|
28129
|
+
# should provide a FunctionResponse for each function call in the next turn.
|
28130
|
+
# Based on the function responses, Model will generate the final response back
|
28131
|
+
# to the user. Maximum 64 function declarations can be provided.
|
27768
28132
|
# Corresponds to the JSON property `functionDeclarations`
|
27769
28133
|
# @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration>]
|
27770
28134
|
attr_accessor :function_declarations
|
27771
28135
|
|
28136
|
+
# Tool to retrieve public web data for grounding, powered by Google.
|
28137
|
+
# Corresponds to the JSON property `googleSearchRetrieval`
|
28138
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval]
|
28139
|
+
attr_accessor :google_search_retrieval
|
28140
|
+
|
28141
|
+
# Defines a retrieval tool that model can call to access external knowledge.
|
28142
|
+
# Corresponds to the JSON property `retrieval`
|
28143
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Retrieval]
|
28144
|
+
attr_accessor :retrieval
|
28145
|
+
|
27772
28146
|
def initialize(**args)
|
27773
28147
|
update!(**args)
|
27774
28148
|
end
|
@@ -27776,6 +28150,8 @@ module Google
|
|
27776
28150
|
# Update properties of this object
|
27777
28151
|
def update!(**args)
|
27778
28152
|
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
|
28153
|
+
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
28154
|
+
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
27779
28155
|
end
|
27780
28156
|
end
|
27781
28157
|
|
@@ -28806,6 +29182,27 @@ module Google
|
|
28806
29182
|
end
|
28807
29183
|
end
|
28808
29184
|
|
29185
|
+
# Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
|
29186
|
+
# google.com/vertex-ai-search-and-conversation
|
29187
|
+
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
29188
|
+
include Google::Apis::Core::Hashable
|
29189
|
+
|
29190
|
+
# Required. Fully-qualified Vertex AI Search's datastore resource ID. projects/<>
|
29191
|
+
# /locations/<>/collections/<>/dataStores/<>
|
29192
|
+
# Corresponds to the JSON property `datastore`
|
29193
|
+
# @return [String]
|
29194
|
+
attr_accessor :datastore
|
29195
|
+
|
29196
|
+
def initialize(**args)
|
29197
|
+
update!(**args)
|
29198
|
+
end
|
29199
|
+
|
29200
|
+
# Update properties of this object
|
29201
|
+
def update!(**args)
|
29202
|
+
@datastore = args[:datastore] if args.key?(:datastore)
|
29203
|
+
end
|
29204
|
+
end
|
29205
|
+
|
28809
29206
|
# Metadata describes the input video content.
|
28810
29207
|
class GoogleCloudAiplatformV1beta1VideoMetadata
|
28811
29208
|
include Google::Apis::Core::Hashable
|
@@ -30168,7 +30565,8 @@ module Google
|
|
30168
30565
|
|
30169
30566
|
# The recitation action for one given input. When its segments contain different
|
30170
30567
|
# actions, the overall action will be returned in the precedence of BLOCK > CITE
|
30171
|
-
# > NO_ACTION.
|
30568
|
+
# > NO_ACTION. When the given input is not found in any source, the recitation
|
30569
|
+
# action will not be specified.
|
30172
30570
|
# Corresponds to the JSON property `recitationAction`
|
30173
30571
|
# @return [String]
|
30174
30572
|
attr_accessor :recitation_action
|
@@ -30522,7 +30920,8 @@ module Google
|
|
30522
30920
|
|
30523
30921
|
# The recitation action for one given input. When its segments contain different
|
30524
30922
|
# actions, the overall action will be returned in the precedence of BLOCK > CITE
|
30525
|
-
# > NO_ACTION.
|
30923
|
+
# > NO_ACTION. When the given input is not found in any source, the recitation
|
30924
|
+
# action will be NO_ACTION.
|
30526
30925
|
# Corresponds to the JSON property `recitationAction`
|
30527
30926
|
# @return [String]
|
30528
30927
|
attr_accessor :recitation_action
|
@@ -30734,6 +31133,125 @@ module Google
|
|
30734
31133
|
end
|
30735
31134
|
end
|
30736
31135
|
|
31136
|
+
# Stores all metadata relating to AIDA DoConversation.
|
31137
|
+
class LearningGenaiRootCodeyChatMetadata
|
31138
|
+
include Google::Apis::Core::Hashable
|
31139
|
+
|
31140
|
+
# Indicates the programming language of the code if the message is a code chunk.
|
31141
|
+
# Corresponds to the JSON property `codeLanguage`
|
31142
|
+
# @return [String]
|
31143
|
+
attr_accessor :code_language
|
31144
|
+
|
31145
|
+
def initialize(**args)
|
31146
|
+
update!(**args)
|
31147
|
+
end
|
31148
|
+
|
31149
|
+
# Update properties of this object
|
31150
|
+
def update!(**args)
|
31151
|
+
@code_language = args[:code_language] if args.key?(:code_language)
|
31152
|
+
end
|
31153
|
+
end
|
31154
|
+
|
31155
|
+
# Describes a sample at a checkpoint for post-processing.
|
31156
|
+
class LearningGenaiRootCodeyCheckpoint
|
31157
|
+
include Google::Apis::Core::Hashable
|
31158
|
+
|
31159
|
+
# Metadata describing what was truncated at each checkpoint.
|
31160
|
+
# Corresponds to the JSON property `codeyTruncatorMetadata`
|
31161
|
+
# @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyTruncatorMetadata]
|
31162
|
+
attr_accessor :codey_truncator_metadata
|
31163
|
+
|
31164
|
+
# Current state of the sample after truncator.
|
31165
|
+
# Corresponds to the JSON property `currentSample`
|
31166
|
+
# @return [String]
|
31167
|
+
attr_accessor :current_sample
|
31168
|
+
|
31169
|
+
# Postprocessor run that yielded this checkpoint.
|
31170
|
+
# Corresponds to the JSON property `postInferenceStep`
|
31171
|
+
# @return [String]
|
31172
|
+
attr_accessor :post_inference_step
|
31173
|
+
|
31174
|
+
def initialize(**args)
|
31175
|
+
update!(**args)
|
31176
|
+
end
|
31177
|
+
|
31178
|
+
# Update properties of this object
|
31179
|
+
def update!(**args)
|
31180
|
+
@codey_truncator_metadata = args[:codey_truncator_metadata] if args.key?(:codey_truncator_metadata)
|
31181
|
+
@current_sample = args[:current_sample] if args.key?(:current_sample)
|
31182
|
+
@post_inference_step = args[:post_inference_step] if args.key?(:post_inference_step)
|
31183
|
+
end
|
31184
|
+
end
|
31185
|
+
|
31186
|
+
# Stores all metadata relating to Completion.
|
31187
|
+
class LearningGenaiRootCodeyCompletionMetadata
|
31188
|
+
include Google::Apis::Core::Hashable
|
31189
|
+
|
31190
|
+
#
|
31191
|
+
# Corresponds to the JSON property `checkpoints`
|
31192
|
+
# @return [Array<Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyCheckpoint>]
|
31193
|
+
attr_accessor :checkpoints
|
31194
|
+
|
31195
|
+
def initialize(**args)
|
31196
|
+
update!(**args)
|
31197
|
+
end
|
31198
|
+
|
31199
|
+
# Update properties of this object
|
31200
|
+
def update!(**args)
|
31201
|
+
@checkpoints = args[:checkpoints] if args.key?(:checkpoints)
|
31202
|
+
end
|
31203
|
+
end
|
31204
|
+
|
31205
|
+
# Top-level wrapper used to store all things codey-related.
|
31206
|
+
class LearningGenaiRootCodeyOutput
|
31207
|
+
include Google::Apis::Core::Hashable
|
31208
|
+
|
31209
|
+
# Stores all metadata relating to AIDA DoConversation.
|
31210
|
+
# Corresponds to the JSON property `codeyChatMetadata`
|
31211
|
+
# @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyChatMetadata]
|
31212
|
+
attr_accessor :codey_chat_metadata
|
31213
|
+
|
31214
|
+
# Stores all metadata relating to Completion.
|
31215
|
+
# Corresponds to the JSON property `codeyCompletionMetadata`
|
31216
|
+
# @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyCompletionMetadata]
|
31217
|
+
attr_accessor :codey_completion_metadata
|
31218
|
+
|
31219
|
+
def initialize(**args)
|
31220
|
+
update!(**args)
|
31221
|
+
end
|
31222
|
+
|
31223
|
+
# Update properties of this object
|
31224
|
+
def update!(**args)
|
31225
|
+
@codey_chat_metadata = args[:codey_chat_metadata] if args.key?(:codey_chat_metadata)
|
31226
|
+
@codey_completion_metadata = args[:codey_completion_metadata] if args.key?(:codey_completion_metadata)
|
31227
|
+
end
|
31228
|
+
end
|
31229
|
+
|
31230
|
+
# Metadata describing what was truncated at each checkpoint.
|
31231
|
+
class LearningGenaiRootCodeyTruncatorMetadata
|
31232
|
+
include Google::Apis::Core::Hashable
|
31233
|
+
|
31234
|
+
# Index of the current sample that trims off truncated text.
|
31235
|
+
# Corresponds to the JSON property `cutoffIndex`
|
31236
|
+
# @return [Fixnum]
|
31237
|
+
attr_accessor :cutoff_index
|
31238
|
+
|
31239
|
+
# Text that was truncated at a specific checkpoint.
|
31240
|
+
# Corresponds to the JSON property `truncatedText`
|
31241
|
+
# @return [String]
|
31242
|
+
attr_accessor :truncated_text
|
31243
|
+
|
31244
|
+
def initialize(**args)
|
31245
|
+
update!(**args)
|
31246
|
+
end
|
31247
|
+
|
31248
|
+
# Update properties of this object
|
31249
|
+
def update!(**args)
|
31250
|
+
@cutoff_index = args[:cutoff_index] if args.key?(:cutoff_index)
|
31251
|
+
@truncated_text = args[:truncated_text] if args.key?(:truncated_text)
|
31252
|
+
end
|
31253
|
+
end
|
31254
|
+
|
30737
31255
|
#
|
30738
31256
|
class LearningGenaiRootDataProviderOutput
|
30739
31257
|
include Google::Apis::Core::Hashable
|
@@ -31952,6 +32470,11 @@ module Google
|
|
31952
32470
|
# @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootClassifierOutputSummary]
|
31953
32471
|
attr_accessor :classifier_summary
|
31954
32472
|
|
32473
|
+
# Top-level wrapper used to store all things codey-related.
|
32474
|
+
# Corresponds to the JSON property `codeyOutput`
|
32475
|
+
# @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootCodeyOutput]
|
32476
|
+
attr_accessor :codey_output
|
32477
|
+
|
31955
32478
|
#
|
31956
32479
|
# Corresponds to the JSON property `currentStreamTextLength`
|
31957
32480
|
# @return [Fixnum]
|
@@ -31984,6 +32507,12 @@ module Google
|
|
31984
32507
|
# @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadata]
|
31985
32508
|
attr_accessor :grounding_metadata
|
31986
32509
|
|
32510
|
+
# Applies to streaming response message only. Whether the message is a code.
|
32511
|
+
# Corresponds to the JSON property `isCode`
|
32512
|
+
# @return [Boolean]
|
32513
|
+
attr_accessor :is_code
|
32514
|
+
alias_method :is_code?, :is_code
|
32515
|
+
|
31987
32516
|
# Applies to Response message only. Indicates whether the message is a fallback
|
31988
32517
|
# and the response would have otherwise been empty.
|
31989
32518
|
# Corresponds to the JSON property `isFallback`
|
@@ -32076,12 +32605,14 @@ module Google
|
|
32076
32605
|
# Update properties of this object
|
32077
32606
|
def update!(**args)
|
32078
32607
|
@classifier_summary = args[:classifier_summary] if args.key?(:classifier_summary)
|
32608
|
+
@codey_output = args[:codey_output] if args.key?(:codey_output)
|
32079
32609
|
@current_stream_text_length = args[:current_stream_text_length] if args.key?(:current_stream_text_length)
|
32080
32610
|
@deleted = args[:deleted] if args.key?(:deleted)
|
32081
32611
|
@filter_meta = args[:filter_meta] if args.key?(:filter_meta)
|
32082
32612
|
@final_message_score = args[:final_message_score] if args.key?(:final_message_score)
|
32083
32613
|
@finish_reason = args[:finish_reason] if args.key?(:finish_reason)
|
32084
32614
|
@grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
|
32615
|
+
@is_code = args[:is_code] if args.key?(:is_code)
|
32085
32616
|
@is_fallback = args[:is_fallback] if args.key?(:is_fallback)
|
32086
32617
|
@langid_result = args[:langid_result] if args.key?(:langid_result)
|
32087
32618
|
@language = args[:language] if args.key?(:language)
|