google-apis-aiplatform_v1beta1 0.16.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -882,11 +882,6 @@ module Google
882
882
  # @return [String]
883
883
  attr_accessor :end_offset
884
884
 
885
- # Internal only fields
886
- # Corresponds to the JSON property `modelLevelMetaData`
887
- # @return [Google::Apis::AiplatformV1beta1::CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata]
888
- attr_accessor :model_level_meta_data
889
-
890
885
  # The start offset of the video.
891
886
  # Corresponds to the JSON property `startOffset`
892
887
  # @return [String]
@@ -899,36 +894,10 @@ module Google
899
894
  # Update properties of this object
900
895
  def update!(**args)
901
896
  @end_offset = args[:end_offset] if args.key?(:end_offset)
902
- @model_level_meta_data = args[:model_level_meta_data] if args.key?(:model_level_meta_data)
903
897
  @start_offset = args[:start_offset] if args.key?(:start_offset)
904
898
  end
905
899
  end
906
900
 
907
- # Internal only fields
908
- class CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata
909
- include Google::Apis::Core::Hashable
910
-
911
- # Frame rate to decode from this video.
912
- # Corresponds to the JSON property `fps`
913
- # @return [Float]
914
- attr_accessor :fps
915
-
916
- # Number of frames to decode from this video.
917
- # Corresponds to the JSON property `numFrames`
918
- # @return [Fixnum]
919
- attr_accessor :num_frames
920
-
921
- def initialize(**args)
922
- update!(**args)
923
- end
924
-
925
- # Update properties of this object
926
- def update!(**args)
927
- @fps = args[:fps] if args.key?(:fps)
928
- @num_frames = args[:num_frames] if args.key?(:num_frames)
929
- end
930
- end
931
-
932
901
  # Content filter results for a prompt sent in the request.
933
902
  class CloudAiNlLlmProtoServicePromptFeedback
934
903
  include Google::Apis::Core::Hashable
@@ -1091,11 +1060,31 @@ module Google
1091
1060
  # @return [String]
1092
1061
  attr_accessor :category
1093
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
+
1094
1068
  # Harm probability levels in the content.
1095
1069
  # Corresponds to the JSON property `probability`
1096
1070
  # @return [String]
1097
1071
  attr_accessor :probability
1098
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
+
1099
1088
  def initialize(**args)
1100
1089
  update!(**args)
1101
1090
  end
@@ -1104,7 +1093,48 @@ module Google
1104
1093
  def update!(**args)
1105
1094
  @blocked = args[:blocked] if args.key?(:blocked)
1106
1095
  @category = args[:category] if args.key?(:category)
1096
+ @influential_terms = args[:influential_terms] if args.key?(:influential_terms)
1107
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)
1108
1138
  end
1109
1139
  end
1110
1140
 
@@ -3080,6 +3110,11 @@ module Google
3080
3110
  # @return [String]
3081
3111
  attr_accessor :finish_reason
3082
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
+
3083
3118
  # Output only. Index of the candidate.
3084
3119
  # Corresponds to the JSON property `index`
3085
3120
  # @return [Fixnum]
@@ -3101,6 +3136,7 @@ module Google
3101
3136
  @content = args[:content] if args.key?(:content)
3102
3137
  @finish_message = args[:finish_message] if args.key?(:finish_message)
3103
3138
  @finish_reason = args[:finish_reason] if args.key?(:finish_reason)
3139
+ @grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
3104
3140
  @index = args[:index] if args.key?(:index)
3105
3141
  @safety_ratings = args[:safety_ratings] if args.key?(:safety_ratings)
3106
3142
  end
@@ -6097,6 +6133,11 @@ module Google
6097
6133
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig]
6098
6134
  attr_accessor :predict_request_response_logging_config
6099
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
+
6100
6141
  # A map from a DeployedModel's ID to the percentage of this Endpoint's traffic
6101
6142
  # that should be forwarded to that DeployedModel. If a DeployedModel's ID is not
6102
6143
  # listed in this map, then it receives no traffic. The traffic percentage values
@@ -6129,6 +6170,7 @@ module Google
6129
6170
  @name = args[:name] if args.key?(:name)
6130
6171
  @network = args[:network] if args.key?(:network)
6131
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)
6132
6174
  @traffic_split = args[:traffic_split] if args.key?(:traffic_split)
6133
6175
  @update_time = args[:update_time] if args.key?(:update_time)
6134
6176
  end
@@ -7485,63 +7527,6 @@ module Google
7485
7527
  end
7486
7528
  end
7487
7529
 
7488
- # Details of EndpointService.ExportEndpoint operation.
7489
- class GoogleCloudAiplatformV1beta1ExportEndpointOperationMetadata
7490
- include Google::Apis::Core::Hashable
7491
-
7492
- # Generic Metadata shared by all operations.
7493
- # Corresponds to the JSON property `genericMetadata`
7494
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
7495
- attr_accessor :generic_metadata
7496
-
7497
- def initialize(**args)
7498
- update!(**args)
7499
- end
7500
-
7501
- # Update properties of this object
7502
- def update!(**args)
7503
- @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
7504
- end
7505
- end
7506
-
7507
- # Response message of EndpointService.ExportEndpoint operation.
7508
- class GoogleCloudAiplatformV1beta1ExportEndpointResponse
7509
- include Google::Apis::Core::Hashable
7510
-
7511
- # Describes the output of the ExportEndpoint.
7512
- # Corresponds to the JSON property `outputInfo`
7513
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExportEndpointResponseOutputInfo]
7514
- attr_accessor :output_info
7515
-
7516
- def initialize(**args)
7517
- update!(**args)
7518
- end
7519
-
7520
- # Update properties of this object
7521
- def update!(**args)
7522
- @output_info = args[:output_info] if args.key?(:output_info)
7523
- end
7524
- end
7525
-
7526
- # Describes the output of the ExportEndpoint.
7527
- class GoogleCloudAiplatformV1beta1ExportEndpointResponseOutputInfo
7528
- include Google::Apis::Core::Hashable
7529
-
7530
- # The BigQuery location for the output content.
7531
- # Corresponds to the JSON property `bigQueryDestination`
7532
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BigQueryDestination]
7533
- attr_accessor :big_query_destination
7534
-
7535
- def initialize(**args)
7536
- update!(**args)
7537
- end
7538
-
7539
- # Update properties of this object
7540
- def update!(**args)
7541
- @big_query_destination = args[:big_query_destination] if args.key?(:big_query_destination)
7542
- end
7543
- end
7544
-
7545
7530
  # Details of operations that exports Features values.
7546
7531
  class GoogleCloudAiplatformV1beta1ExportFeatureValuesOperationMetadata
7547
7532
  include Google::Apis::Core::Hashable
@@ -8708,7 +8693,7 @@ module Google
8708
8693
  # @return [String]
8709
8694
  attr_accessor :update_time
8710
8695
 
8711
- # Configuration for vector search.
8696
+ # Deprecated. Use IndexConfig instead.
8712
8697
  # Corresponds to the JSON property `vectorSearchConfig`
8713
8698
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig]
8714
8699
  attr_accessor :vector_search_config
@@ -8786,6 +8771,11 @@ module Google
8786
8771
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySourceFeatureGroup>]
8787
8772
  attr_accessor :feature_groups
8788
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
+
8789
8779
  def initialize(**args)
8790
8780
  update!(**args)
8791
8781
  end
@@ -8793,6 +8783,7 @@ module Google
8793
8783
  # Update properties of this object
8794
8784
  def update!(**args)
8795
8785
  @feature_groups = args[:feature_groups] if args.key?(:feature_groups)
8786
+ @project_number = args[:project_number] if args.key?(:project_number)
8796
8787
  end
8797
8788
  end
8798
8789
 
@@ -8859,6 +8850,12 @@ module Google
8859
8850
  # @return [Google::Apis::AiplatformV1beta1::GoogleTypeInterval]
8860
8851
  attr_accessor :run_time
8861
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
+
8862
8859
  def initialize(**args)
8863
8860
  update!(**args)
8864
8861
  end
@@ -8869,6 +8866,7 @@ module Google
8869
8866
  @final_status = args[:final_status] if args.key?(:final_status)
8870
8867
  @name = args[:name] if args.key?(:name)
8871
8868
  @run_time = args[:run_time] if args.key?(:run_time)
8869
+ @sync_summary = args[:sync_summary] if args.key?(:sync_summary)
8872
8870
  end
8873
8871
  end
8874
8872
 
@@ -8895,7 +8893,33 @@ module Google
8895
8893
  end
8896
8894
  end
8897
8895
 
8898
- # Configuration for vector search.
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
+
8922
+ # Deprecated. Use IndexConfig instead.
8899
8923
  class GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig
8900
8924
  include Google::Apis::Core::Hashable
8901
8925
 
@@ -9902,7 +9926,7 @@ module Google
9902
9926
  # Optional. A list of `Tools` the model may use to generate the next response. A
9903
9927
  # `Tool` is a piece of code that enables the system to interact with external
9904
9928
  # systems to perform an action, or set of actions, outside of knowledge and
9905
- # scope of the model. The only supported tool is currently `Function`
9929
+ # scope of the model.
9906
9930
  # Corresponds to the JSON property `tools`
9907
9931
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Tool>]
9908
9932
  attr_accessor :tools
@@ -10096,6 +10120,110 @@ module Google
10096
10120
  end
10097
10121
  end
10098
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
+
10099
10227
  # Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study
10100
10228
  # specification and multiple CustomJobs with identical CustomJob specification.
10101
10229
  class GoogleCloudAiplatformV1beta1HyperparameterTuningJob
@@ -13274,7 +13402,7 @@ module Google
13274
13402
  include Google::Apis::Core::Hashable
13275
13403
 
13276
13404
  # Immutable. The path to the directory containing the Model artifact and any of
13277
- # its supporting files. Not present for AutoML Models or Large Models.
13405
+ # its supporting files. Not required for AutoML Models.
13278
13406
  # Corresponds to the JSON property `artifactUri`
13279
13407
  # @return [String]
13280
13408
  attr_accessor :artifact_uri
@@ -13755,6 +13883,12 @@ module Google
13755
13883
  # @return [String]
13756
13884
  attr_accessor :log_type
13757
13885
 
13886
+ # Output only. The schema version of the request/response logging BigQuery table.
13887
+ # Default to v1 if unset.
13888
+ # Corresponds to the JSON property `requestResponseLoggingSchemaVersion`
13889
+ # @return [String]
13890
+ attr_accessor :request_response_logging_schema_version
13891
+
13758
13892
  def initialize(**args)
13759
13893
  update!(**args)
13760
13894
  end
@@ -13764,6 +13898,7 @@ module Google
13764
13898
  @bigquery_table_path = args[:bigquery_table_path] if args.key?(:bigquery_table_path)
13765
13899
  @log_source = args[:log_source] if args.key?(:log_source)
13766
13900
  @log_type = args[:log_type] if args.key?(:log_type)
13901
+ @request_response_logging_schema_version = args[:request_response_logging_schema_version] if args.key?(:request_response_logging_schema_version)
13767
13902
  end
13768
13903
  end
13769
13904
 
@@ -13873,7 +14008,7 @@ module Google
13873
14008
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringScheduleConfig]
13874
14009
  attr_accessor :model_deployment_monitoring_schedule_config
13875
14010
 
13876
- # Alert config for model monitoring.
14011
+ # The alert config for model monitoring.
13877
14012
  # Corresponds to the JSON property `modelMonitoringAlertConfig`
13878
14013
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig]
13879
14014
  attr_accessor :model_monitoring_alert_config
@@ -14459,7 +14594,7 @@ module Google
14459
14594
  end
14460
14595
  end
14461
14596
 
14462
- #
14597
+ # The alert config for model monitoring.
14463
14598
  class GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig
14464
14599
  include Google::Apis::Core::Hashable
14465
14600
 
@@ -14518,7 +14653,7 @@ module Google
14518
14653
  class GoogleCloudAiplatformV1beta1ModelMonitoringConfig
14519
14654
  include Google::Apis::Core::Hashable
14520
14655
 
14521
- # Model monitoring alert config.
14656
+ # The alert config for model monitoring.
14522
14657
  # Corresponds to the JSON property `alertConfig`
14523
14658
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig]
14524
14659
  attr_accessor :alert_config
@@ -15525,11 +15660,12 @@ module Google
15525
15660
  end
15526
15661
 
15527
15662
  # String filter is used to search a subset of the entities by using boolean
15528
- # rules. For example: if a query specifies string filter with 'name = color,
15529
- # allow_tokens = `red, blue`, deny_tokens = `purple`',' then that query will
15530
- # match entities that are red or blue, but if those points are also purple, then
15531
- # they will be excluded even if they are red/blue. Only string filter is
15532
- # supported for now, numeric filter will be supported in the near future.
15663
+ # rules on string columns. For example: if a query specifies string filter with '
15664
+ # name = color, allow_tokens = `red, blue`, deny_tokens = `purple`',' then that
15665
+ # query will match entities that are red or blue, but if those points are also
15666
+ # purple, then they will be excluded even if they are red/blue. Only string
15667
+ # filter is supported for now, numeric filter will be supported in the near
15668
+ # future.
15533
15669
  class GoogleCloudAiplatformV1beta1NearestNeighborQueryStringFilter
15534
15670
  include Google::Apis::Core::Hashable
15535
15671
 
@@ -16648,11 +16784,6 @@ module Google
16648
16784
  class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfig
16649
16785
  include Google::Apis::Core::Hashable
16650
16786
 
16651
- # The default runtime for the PipelineJob.
16652
- # Corresponds to the JSON property `defaultRuntime`
16653
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime]
16654
- attr_accessor :default_runtime
16655
-
16656
16787
  # Represents the failure policy of a pipeline. Currently, the default of a
16657
16788
  # pipeline is that the pipeline will continue to run until no more tasks can be
16658
16789
  # executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a
@@ -16703,7 +16834,6 @@ module Google
16703
16834
 
16704
16835
  # Update properties of this object
16705
16836
  def update!(**args)
16706
- @default_runtime = args[:default_runtime] if args.key?(:default_runtime)
16707
16837
  @failure_policy = args[:failure_policy] if args.key?(:failure_policy)
16708
16838
  @gcs_output_directory = args[:gcs_output_directory] if args.key?(:gcs_output_directory)
16709
16839
  @input_artifacts = args[:input_artifacts] if args.key?(:input_artifacts)
@@ -16712,26 +16842,6 @@ module Google
16712
16842
  end
16713
16843
  end
16714
16844
 
16715
- # The default runtime for the PipelineJob.
16716
- class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigDefaultRuntime
16717
- include Google::Apis::Core::Hashable
16718
-
16719
- # Persistent resource based runtime detail. For more information, refer to https:
16720
- # //cloud.google.com/vertex-ai/docs/training/persistent-resource-overview
16721
- # Corresponds to the JSON property `persistentResourceRuntimeDetail`
16722
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail]
16723
- attr_accessor :persistent_resource_runtime_detail
16724
-
16725
- def initialize(**args)
16726
- update!(**args)
16727
- end
16728
-
16729
- # Update properties of this object
16730
- def update!(**args)
16731
- @persistent_resource_runtime_detail = args[:persistent_resource_runtime_detail] if args.key?(:persistent_resource_runtime_detail)
16732
- end
16733
- end
16734
-
16735
16845
  # The type of an input artifact.
16736
16846
  class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigInputArtifact
16737
16847
  include Google::Apis::Core::Hashable
@@ -16754,27 +16864,6 @@ module Google
16754
16864
  end
16755
16865
  end
16756
16866
 
16757
- # Persistent resource based runtime detail. For more information, refer to https:
16758
- # //cloud.google.com/vertex-ai/docs/training/persistent-resource-overview
16759
- class GoogleCloudAiplatformV1beta1PipelineJobRuntimeConfigPersistentResourceRuntimeDetail
16760
- include Google::Apis::Core::Hashable
16761
-
16762
- # Persistent resource name. Format: `projects/`project`/locations/`location`/
16763
- # persistentResources/`persistent_resource``
16764
- # Corresponds to the JSON property `persistentResourceName`
16765
- # @return [String]
16766
- attr_accessor :persistent_resource_name
16767
-
16768
- def initialize(**args)
16769
- update!(**args)
16770
- end
16771
-
16772
- # Update properties of this object
16773
- def update!(**args)
16774
- @persistent_resource_name = args[:persistent_resource_name] if args.key?(:persistent_resource_name)
16775
- end
16776
- end
16777
-
16778
16867
  # The runtime detail of a task execution.
16779
16868
  class GoogleCloudAiplatformV1beta1PipelineTaskDetail
16780
16869
  include Google::Apis::Core::Hashable
@@ -17549,6 +17638,11 @@ module Google
17549
17638
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy]
17550
17639
  attr_accessor :deploy
17551
17640
 
17641
+ # Configurations for PublisherModel GKE deployment
17642
+ # Corresponds to the JSON property `deployGke`
17643
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke]
17644
+ attr_accessor :deploy_gke
17645
+
17552
17646
  # The regional resource name or the URI. Key is region, e.g., us-central1,
17553
17647
  # europe-west2, global, etc..
17554
17648
  # Corresponds to the JSON property `openEvaluationPipeline`
@@ -17614,6 +17708,7 @@ module Google
17614
17708
  def update!(**args)
17615
17709
  @create_application = args[:create_application] if args.key?(:create_application)
17616
17710
  @deploy = args[:deploy] if args.key?(:deploy)
17711
+ @deploy_gke = args[:deploy_gke] if args.key?(:deploy_gke)
17617
17712
  @open_evaluation_pipeline = args[:open_evaluation_pipeline] if args.key?(:open_evaluation_pipeline)
17618
17713
  @open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
17619
17714
  @open_fine_tuning_pipelines = args[:open_fine_tuning_pipelines] if args.key?(:open_fine_tuning_pipelines)
@@ -17704,6 +17799,25 @@ module Google
17704
17799
  end
17705
17800
  end
17706
17801
 
17802
+ # Configurations for PublisherModel GKE deployment
17803
+ class GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke
17804
+ include Google::Apis::Core::Hashable
17805
+
17806
+ # Optional. GKE deployment configuration in yaml format.
17807
+ # Corresponds to the JSON property `gkeYamlConfigs`
17808
+ # @return [Array<String>]
17809
+ attr_accessor :gke_yaml_configs
17810
+
17811
+ def initialize(**args)
17812
+ update!(**args)
17813
+ end
17814
+
17815
+ # Update properties of this object
17816
+ def update!(**args)
17817
+ @gke_yaml_configs = args[:gke_yaml_configs] if args.key?(:gke_yaml_configs)
17818
+ end
17819
+ end
17820
+
17707
17821
  # Open fine tuning pipelines.
17708
17822
  class GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenFineTuningPipelines
17709
17823
  include Google::Apis::Core::Hashable
@@ -18255,6 +18369,26 @@ module Google
18255
18369
  end
18256
18370
  end
18257
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
+
18258
18392
  # Configuration information for the Ray cluster. For experimental launch, Ray
18259
18393
  # cluster creation and Persistent cluster creation are 1:1 mapping: We will
18260
18394
  # provision all the nodes within the Persistent cluster as Ray nodes.
@@ -18278,6 +18412,11 @@ module Google
18278
18412
  # @return [String]
18279
18413
  attr_accessor :image_uri
18280
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
+
18281
18420
  # Optional. Required if image_uri isn't set. A map of resource_pool_id to
18282
18421
  # prebuild Ray image if user need to use different images for different head/
18283
18422
  # worker pools. This map needs to cover all the resource pool ids. Example: ` "
@@ -18295,6 +18434,7 @@ module Google
18295
18434
  def update!(**args)
18296
18435
  @head_node_resource_pool_id = args[:head_node_resource_pool_id] if args.key?(:head_node_resource_pool_id)
18297
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)
18298
18438
  @resource_pool_images = args[:resource_pool_images] if args.key?(:resource_pool_images)
18299
18439
  end
18300
18440
  end
@@ -19010,6 +19150,35 @@ module Google
19010
19150
  end
19011
19151
  end
19012
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
+
19013
19182
  # Safety rating corresponding to the generated content.
19014
19183
  class GoogleCloudAiplatformV1beta1SafetyRating
19015
19184
  include Google::Apis::Core::Hashable
@@ -19447,12 +19616,6 @@ module Google
19447
19616
  attr_accessor :disable_retries
19448
19617
  alias_method :disable_retries?, :disable_retries
19449
19618
 
19450
- # Optional. This is the maximum time a user will wait in the QRM queue for
19451
- # resources. Default is 1 day
19452
- # Corresponds to the JSON property `maxWaitDuration`
19453
- # @return [String]
19454
- attr_accessor :max_wait_duration
19455
-
19456
19619
  # Restarts the entire CustomJob if a worker gets restarted. This feature can be
19457
19620
  # used by distributed training jobs that are not resilient to workers leaving
19458
19621
  # and joining a job.
@@ -19473,7 +19636,6 @@ module Google
19473
19636
  # Update properties of this object
19474
19637
  def update!(**args)
19475
19638
  @disable_retries = args[:disable_retries] if args.key?(:disable_retries)
19476
- @max_wait_duration = args[:max_wait_duration] if args.key?(:max_wait_duration)
19477
19639
  @restart_job_on_worker_restart = args[:restart_job_on_worker_restart] if args.key?(:restart_job_on_worker_restart)
19478
19640
  @timeout = args[:timeout] if args.key?(:timeout)
19479
19641
  end
@@ -25714,6 +25876,39 @@ module Google
25714
25876
  end
25715
25877
  end
25716
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
+
25717
25912
  # Configuration for the use of custom service account to run the workloads.
25718
25913
  class GoogleCloudAiplatformV1beta1ServiceAccountSpec
25719
25914
  include Google::Apis::Core::Hashable
@@ -27760,7 +27955,8 @@ module Google
27760
27955
 
27761
27956
  # Tool details that the model may use to generate response. A `Tool` is a piece
27762
27957
  # of code that enables the system to interact with external systems to perform
27763
- # 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.
27764
27960
  class GoogleCloudAiplatformV1beta1Tool
27765
27961
  include Google::Apis::Core::Hashable
27766
27962
 
@@ -27774,6 +27970,16 @@ module Google
27774
27970
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration>]
27775
27971
  attr_accessor :function_declarations
27776
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
+
27777
27983
  def initialize(**args)
27778
27984
  update!(**args)
27779
27985
  end
@@ -27781,6 +27987,8 @@ module Google
27781
27987
  # Update properties of this object
27782
27988
  def update!(**args)
27783
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)
27784
27992
  end
27785
27993
  end
27786
27994
 
@@ -28711,6 +28919,14 @@ module Google
28711
28919
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapoint>]
28712
28920
  attr_accessor :datapoints
28713
28921
 
28922
+ # Optional. Update mask is used to specify the fields to be overwritten in the
28923
+ # datapoints by the update. The fields specified in the update_mask are relative
28924
+ # to each IndexDatapoint inside datapoints, not the full request. Updatable
28925
+ # fields: * Use `all_restricts` to update both restricts and numeric_restricts.
28926
+ # Corresponds to the JSON property `updateMask`
28927
+ # @return [String]
28928
+ attr_accessor :update_mask
28929
+
28714
28930
  def initialize(**args)
28715
28931
  update!(**args)
28716
28932
  end
@@ -28718,6 +28934,7 @@ module Google
28718
28934
  # Update properties of this object
28719
28935
  def update!(**args)
28720
28936
  @datapoints = args[:datapoints] if args.key?(:datapoints)
28937
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
28721
28938
  end
28722
28939
  end
28723
28940
 
@@ -28802,6 +29019,27 @@ module Google
28802
29019
  end
28803
29020
  end
28804
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
+
28805
29043
  # Metadata describes the input video content.
28806
29044
  class GoogleCloudAiplatformV1beta1VideoMetadata
28807
29045
  include Google::Apis::Core::Hashable
@@ -30164,7 +30402,8 @@ module Google
30164
30402
 
30165
30403
  # The recitation action for one given input. When its segments contain different
30166
30404
  # actions, the overall action will be returned in the precedence of BLOCK > CITE
30167
- # > NO_ACTION.
30405
+ # > NO_ACTION. When the given input is not found in any source, the recitation
30406
+ # action will not be specified.
30168
30407
  # Corresponds to the JSON property `recitationAction`
30169
30408
  # @return [String]
30170
30409
  attr_accessor :recitation_action
@@ -30518,7 +30757,8 @@ module Google
30518
30757
 
30519
30758
  # The recitation action for one given input. When its segments contain different
30520
30759
  # actions, the overall action will be returned in the precedence of BLOCK > CITE
30521
- # > NO_ACTION.
30760
+ # > NO_ACTION. When the given input is not found in any source, the recitation
30761
+ # action will be NO_ACTION.
30522
30762
  # Corresponds to the JSON property `recitationAction`
30523
30763
  # @return [String]
30524
30764
  attr_accessor :recitation_action
@@ -31018,7 +31258,9 @@ module Google
31018
31258
  # @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootHarmSafetyCatCategories]
31019
31259
  attr_accessor :safetycat
31020
31260
 
31021
- #
31261
+ # Spii Filter uses buckets http://google3/google/privacy/dlp/v2/storage.proto;l=
31262
+ # 77;rcl=584719820 to classify the input. LMRoot converts the bucket into double
31263
+ # score. For example the score for "POSSIBLE" is 3 / 5 = 0.6 .
31022
31264
  # Corresponds to the JSON property `spii`
31023
31265
  # @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootHarmSpiiFilter]
31024
31266
  attr_accessor :spii
@@ -31978,6 +32220,12 @@ module Google
31978
32220
  # @return [Google::Apis::AiplatformV1beta1::LearningGenaiRootGroundingMetadata]
31979
32221
  attr_accessor :grounding_metadata
31980
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
+
31981
32229
  # Applies to Response message only. Indicates whether the message is a fallback
31982
32230
  # and the response would have otherwise been empty.
31983
32231
  # Corresponds to the JSON property `isFallback`
@@ -32076,6 +32324,7 @@ module Google
32076
32324
  @final_message_score = args[:final_message_score] if args.key?(:final_message_score)
32077
32325
  @finish_reason = args[:finish_reason] if args.key?(:finish_reason)
32078
32326
  @grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
32327
+ @is_code = args[:is_code] if args.key?(:is_code)
32079
32328
  @is_fallback = args[:is_fallback] if args.key?(:is_fallback)
32080
32329
  @langid_result = args[:langid_result] if args.key?(:langid_result)
32081
32330
  @language = args[:language] if args.key?(:language)