google-apis-aiplatform_v1 0.14.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 230bc5c9931f593f07381b40100dc2f62c6f13ce7ef199c43487f16ec9312826
4
- data.tar.gz: bc57aa707c8ba9cef6d40f33353fb984910e876cd77de21997b9558c6204a851
3
+ metadata.gz: 04ed12ba2ecb19ef93af13a66775c8d4e94b31ec6b1e623fbc8238e94862de1e
4
+ data.tar.gz: f47e2c8850af9b80e995d57c84e5ca0af9f0ad2e221b23772be919b49d94f916
5
5
  SHA512:
6
- metadata.gz: ecac9e798fe20fb1cfebf4d1fab8cbcc1f734801ec17bcab26ddfd2333cc585363694b1cd8a4bc4158b11239be9079fee7a1ad725656b1bad544353e53b0fca6
7
- data.tar.gz: 6676c83aeea7d6d2614993dcb6b78e1185dde573a4b76df289b8dee7d339fd3e4967635b76f569c7589ab62b52977c1c94076e5d1874bdd28e829e964c3dd136
6
+ metadata.gz: 0e8d8cb5c890f6fefd818ae3c59c6deb6b3a723f42d2e7b480abbc50b8499217e36dd12f524760044152a6649f9bd2e16a102eb0fac1e27dd6ce9aa692b411dd
7
+ data.tar.gz: 4532c92fdef13fa18f574624c7de606d4a0a88f05ff61e9320f562000f1f995837c52ed82fe04e4ad2ae6d95208be769c1891893f6b99209093bf730e1ab0335
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.16.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240229
6
+
7
+ ### v0.15.0 (2024-02-25)
8
+
9
+ * Regenerated from discovery document revision 20240219
10
+ * Regenerated using generator version 0.14.0
11
+
3
12
  ### v0.14.0 (2024-02-18)
4
13
 
5
14
  * Regenerated from discovery document revision 20240213
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/vertex-ai/) may provide gui
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -135,7 +135,7 @@ module Google
135
135
  # @return [Google::Apis::AiplatformV1::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::AiplatformV1::CloudAiLargeModelsVisionRaiInfo]
141
141
  attr_accessor :rai_info
@@ -145,6 +145,11 @@ module Google
145
145
  # @return [Google::Apis::AiplatformV1::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
@@ -1852,6 +1858,27 @@ module Google
1852
1858
  end
1853
1859
  end
1854
1860
 
1861
+ # Request message for PipelineService.BatchCancelPipelineJobs.
1862
+ class GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest
1863
+ include Google::Apis::Core::Hashable
1864
+
1865
+ # Required. The names of the PipelineJobs to cancel. A maximum of 32
1866
+ # PipelineJobs can be cancelled in a batch. Format: `projects/`project`/
1867
+ # locations/`location`/pipelineJobs/`pipelineJob``
1868
+ # Corresponds to the JSON property `names`
1869
+ # @return [Array<String>]
1870
+ attr_accessor :names
1871
+
1872
+ def initialize(**args)
1873
+ update!(**args)
1874
+ end
1875
+
1876
+ # Update properties of this object
1877
+ def update!(**args)
1878
+ @names = args[:names] if args.key?(:names)
1879
+ end
1880
+ end
1881
+
1855
1882
  # Details of operations that perform batch create Features.
1856
1883
  class GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata
1857
1884
  include Google::Apis::Core::Hashable
@@ -2025,6 +2052,27 @@ module Google
2025
2052
  end
2026
2053
  end
2027
2054
 
2055
+ # Request message for PipelineService.BatchDeletePipelineJobs.
2056
+ class GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest
2057
+ include Google::Apis::Core::Hashable
2058
+
2059
+ # Required. The names of the PipelineJobs to delete. A maximum of 32
2060
+ # PipelineJobs can be deleted in a batch. Format: `projects/`project`/locations/`
2061
+ # location`/pipelineJobs/`pipelineJob``
2062
+ # Corresponds to the JSON property `names`
2063
+ # @return [Array<String>]
2064
+ attr_accessor :names
2065
+
2066
+ def initialize(**args)
2067
+ update!(**args)
2068
+ end
2069
+
2070
+ # Update properties of this object
2071
+ def update!(**args)
2072
+ @names = args[:names] if args.key?(:names)
2073
+ end
2074
+ end
2075
+
2028
2076
  # Request message for ModelService.BatchImportEvaluatedAnnotations
2029
2077
  class GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest
2030
2078
  include Google::Apis::Core::Hashable
@@ -4793,12 +4841,23 @@ module Google
4793
4841
  # @return [String]
4794
4842
  attr_accessor :create_time
4795
4843
 
4844
+ # The user-defined name of the DatasetVersion. The name can be up to 128
4845
+ # characters long and can consist of any UTF-8 characters.
4846
+ # Corresponds to the JSON property `displayName`
4847
+ # @return [String]
4848
+ attr_accessor :display_name
4849
+
4796
4850
  # Used to perform consistent read-modify-write updates. If not set, a blind "
4797
4851
  # overwrite" update happens.
4798
4852
  # Corresponds to the JSON property `etag`
4799
4853
  # @return [String]
4800
4854
  attr_accessor :etag
4801
4855
 
4856
+ # Required. Output only. Additional information about the DatasetVersion.
4857
+ # Corresponds to the JSON property `metadata`
4858
+ # @return [Object]
4859
+ attr_accessor :metadata
4860
+
4802
4861
  # Output only. The resource name of the DatasetVersion.
4803
4862
  # Corresponds to the JSON property `name`
4804
4863
  # @return [String]
@@ -4817,7 +4876,9 @@ module Google
4817
4876
  def update!(**args)
4818
4877
  @big_query_dataset_name = args[:big_query_dataset_name] if args.key?(:big_query_dataset_name)
4819
4878
  @create_time = args[:create_time] if args.key?(:create_time)
4879
+ @display_name = args[:display_name] if args.key?(:display_name)
4820
4880
  @etag = args[:etag] if args.key?(:etag)
4881
+ @metadata = args[:metadata] if args.key?(:metadata)
4821
4882
  @name = args[:name] if args.key?(:name)
4822
4883
  @update_time = args[:update_time] if args.key?(:update_time)
4823
4884
  end
@@ -7795,6 +7856,12 @@ module Google
7795
7856
  # @return [String]
7796
7857
  attr_accessor :name
7797
7858
 
7859
+ # Entity responsible for maintaining this feature. Can be comma separated list
7860
+ # of email addresses or URIs.
7861
+ # Corresponds to the JSON property `pointOfContact`
7862
+ # @return [String]
7863
+ attr_accessor :point_of_contact
7864
+
7798
7865
  # Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp
7799
7866
  # when this EntityType was most recently updated.
7800
7867
  # Corresponds to the JSON property `updateTime`
@@ -7827,6 +7894,7 @@ module Google
7827
7894
  @labels = args[:labels] if args.key?(:labels)
7828
7895
  @monitoring_stats_anomalies = args[:monitoring_stats_anomalies] if args.key?(:monitoring_stats_anomalies)
7829
7896
  @name = args[:name] if args.key?(:name)
7897
+ @point_of_contact = args[:point_of_contact] if args.key?(:point_of_contact)
7830
7898
  @update_time = args[:update_time] if args.key?(:update_time)
7831
7899
  @value_type = args[:value_type] if args.key?(:value_type)
7832
7900
  @version_column_name = args[:version_column_name] if args.key?(:version_column_name)
@@ -7905,8 +7973,8 @@ module Google
7905
7973
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQuerySource]
7906
7974
  attr_accessor :big_query_source
7907
7975
 
7908
- # Optional. Columns to construct entity_id / row keys. Currently only supports 1
7909
- # entity_id_column. If not provided defaults to `entity_id`.
7976
+ # Optional. Columns to construct entity_id / row keys. If not provided defaults
7977
+ # to `entity_id`.
7910
7978
  # Corresponds to the JSON property `entityIdColumns`
7911
7979
  # @return [Array<String>]
7912
7980
  attr_accessor :entity_id_columns
@@ -8456,8 +8524,7 @@ module Google
8456
8524
  class GoogleCloudAiplatformV1FeatureViewBigQuerySource
8457
8525
  include Google::Apis::Core::Hashable
8458
8526
 
8459
- # Required. Columns to construct entity_id / row keys. Start by supporting 1
8460
- # only.
8527
+ # Required. Columns to construct entity_id / row keys.
8461
8528
  # Corresponds to the JSON property `entityIdColumns`
8462
8529
  # @return [Array<String>]
8463
8530
  attr_accessor :entity_id_columns
@@ -8483,6 +8550,11 @@ module Google
8483
8550
  class GoogleCloudAiplatformV1FeatureViewDataKey
8484
8551
  include Google::Apis::Core::Hashable
8485
8552
 
8553
+ # ID that is comprised from several parts (columns).
8554
+ # Corresponds to the JSON property `compositeKey`
8555
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey]
8556
+ attr_accessor :composite_key
8557
+
8486
8558
  # String key to use for lookup.
8487
8559
  # Corresponds to the JSON property `key`
8488
8560
  # @return [String]
@@ -8494,10 +8566,31 @@ module Google
8494
8566
 
8495
8567
  # Update properties of this object
8496
8568
  def update!(**args)
8569
+ @composite_key = args[:composite_key] if args.key?(:composite_key)
8497
8570
  @key = args[:key] if args.key?(:key)
8498
8571
  end
8499
8572
  end
8500
8573
 
8574
+ # ID that is comprised from several parts (columns).
8575
+ class GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey
8576
+ include Google::Apis::Core::Hashable
8577
+
8578
+ # Parts to construct Entity ID. Should match with the same ID columns as defined
8579
+ # in FeatureView in the same order.
8580
+ # Corresponds to the JSON property `parts`
8581
+ # @return [Array<String>]
8582
+ attr_accessor :parts
8583
+
8584
+ def initialize(**args)
8585
+ update!(**args)
8586
+ end
8587
+
8588
+ # Update properties of this object
8589
+ def update!(**args)
8590
+ @parts = args[:parts] if args.key?(:parts)
8591
+ end
8592
+ end
8593
+
8501
8594
  # A Feature Registry source for features that need to be synced to Online Store.
8502
8595
  class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource
8503
8596
  include Google::Apis::Core::Hashable
@@ -9676,17 +9769,15 @@ module Google
9676
9769
  end
9677
9770
  end
9678
9771
 
9679
- # Tool to retrieve public web data for grounding, powered by Google.
9680
- class GoogleCloudAiplatformV1GoogleSearchRetrieval
9772
+ # Contains information about the source of the models generated from Generative
9773
+ # AI Studio.
9774
+ class GoogleCloudAiplatformV1GenieSource
9681
9775
  include Google::Apis::Core::Hashable
9682
9776
 
9683
- # Optional. Disable using the result from this tool in detecting grounding
9684
- # attribution. This does not affect how the result is given to the model for
9685
- # generation.
9686
- # Corresponds to the JSON property `disableAttribution`
9687
- # @return [Boolean]
9688
- attr_accessor :disable_attribution
9689
- alias_method :disable_attribution?, :disable_attribution
9777
+ # Required. The public base model URI.
9778
+ # Corresponds to the JSON property `baseModelUri`
9779
+ # @return [String]
9780
+ attr_accessor :base_model_uri
9690
9781
 
9691
9782
  def initialize(**args)
9692
9783
  update!(**args)
@@ -9694,7 +9785,7 @@ module Google
9694
9785
 
9695
9786
  # Update properties of this object
9696
9787
  def update!(**args)
9697
- @disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
9788
+ @base_model_uri = args[:base_model_uri] if args.key?(:base_model_uri)
9698
9789
  end
9699
9790
  end
9700
9791
 
@@ -12867,6 +12958,12 @@ module Google
12867
12958
  # @return [String]
12868
12959
  attr_accessor :artifact_uri
12869
12960
 
12961
+ # User input field to specify the base model source. Currently it only supports
12962
+ # specifing the Model Garden models and Genie models.
12963
+ # Corresponds to the JSON property `baseModelSource`
12964
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelBaseModelSource]
12965
+ attr_accessor :base_model_source
12966
+
12870
12967
  # Specification of a container for serving predictions. Some fields in this
12871
12968
  # message correspond to fields in the [Kubernetes Container v1 core
12872
12969
  # specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/
@@ -13089,6 +13186,7 @@ module Google
13089
13186
  # Update properties of this object
13090
13187
  def update!(**args)
13091
13188
  @artifact_uri = args[:artifact_uri] if args.key?(:artifact_uri)
13189
+ @base_model_source = args[:base_model_source] if args.key?(:base_model_source)
13092
13190
  @container_spec = args[:container_spec] if args.key?(:container_spec)
13093
13191
  @create_time = args[:create_time] if args.key?(:create_time)
13094
13192
  @data_stats = args[:data_stats] if args.key?(:data_stats)
@@ -13121,6 +13219,34 @@ module Google
13121
13219
  end
13122
13220
  end
13123
13221
 
13222
+ # User input field to specify the base model source. Currently it only supports
13223
+ # specifing the Model Garden models and Genie models.
13224
+ class GoogleCloudAiplatformV1ModelBaseModelSource
13225
+ include Google::Apis::Core::Hashable
13226
+
13227
+ # Contains information about the source of the models generated from Generative
13228
+ # AI Studio.
13229
+ # Corresponds to the JSON property `genieSource`
13230
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenieSource]
13231
+ attr_accessor :genie_source
13232
+
13233
+ # Contains information about the source of the models generated from Model
13234
+ # Garden.
13235
+ # Corresponds to the JSON property `modelGardenSource`
13236
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelGardenSource]
13237
+ attr_accessor :model_garden_source
13238
+
13239
+ def initialize(**args)
13240
+ update!(**args)
13241
+ end
13242
+
13243
+ # Update properties of this object
13244
+ def update!(**args)
13245
+ @genie_source = args[:genie_source] if args.key?(:genie_source)
13246
+ @model_garden_source = args[:model_garden_source] if args.key?(:model_garden_source)
13247
+ end
13248
+ end
13249
+
13124
13250
  # Specification of a container for serving predictions. Some fields in this
13125
13251
  # message correspond to fields in the [Kubernetes Container v1 core
13126
13252
  # specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/
@@ -14111,6 +14237,26 @@ module Google
14111
14237
  end
14112
14238
  end
14113
14239
 
14240
+ # Contains information about the source of the models generated from Model
14241
+ # Garden.
14242
+ class GoogleCloudAiplatformV1ModelGardenSource
14243
+ include Google::Apis::Core::Hashable
14244
+
14245
+ # Required. The model garden source model resource name.
14246
+ # Corresponds to the JSON property `publicModelName`
14247
+ # @return [String]
14248
+ attr_accessor :public_model_name
14249
+
14250
+ def initialize(**args)
14251
+ update!(**args)
14252
+ end
14253
+
14254
+ # Update properties of this object
14255
+ def update!(**args)
14256
+ @public_model_name = args[:public_model_name] if args.key?(:public_model_name)
14257
+ end
14258
+ end
14259
+
14114
14260
  # The alert config for model monitoring.
14115
14261
  class GoogleCloudAiplatformV1ModelMonitoringAlertConfig
14116
14262
  include Google::Apis::Core::Hashable
@@ -18145,35 +18291,6 @@ module Google
18145
18291
  end
18146
18292
  end
18147
18293
 
18148
- # Defines a retrieval tool that model can call to access external knowledge.
18149
- class GoogleCloudAiplatformV1Retrieval
18150
- include Google::Apis::Core::Hashable
18151
-
18152
- # Optional. Disable using the result from this tool in detecting grounding
18153
- # attribution. This does not affect how the result is given to the model for
18154
- # generation.
18155
- # Corresponds to the JSON property `disableAttribution`
18156
- # @return [Boolean]
18157
- attr_accessor :disable_attribution
18158
- alias_method :disable_attribution?, :disable_attribution
18159
-
18160
- # Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
18161
- # google.com/vertex-ai-search-and-conversation
18162
- # Corresponds to the JSON property `vertexAiSearch`
18163
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearch]
18164
- attr_accessor :vertex_ai_search
18165
-
18166
- def initialize(**args)
18167
- update!(**args)
18168
- end
18169
-
18170
- # Update properties of this object
18171
- def update!(**args)
18172
- @disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
18173
- @vertex_ai_search = args[:vertex_ai_search] if args.key?(:vertex_ai_search)
18174
- end
18175
- end
18176
-
18177
18294
  # Safety rating corresponding to the generated content.
18178
18295
  class GoogleCloudAiplatformV1SafetyRating
18179
18296
  include Google::Apis::Core::Hashable
@@ -18195,6 +18312,21 @@ module Google
18195
18312
  # @return [String]
18196
18313
  attr_accessor :probability
18197
18314
 
18315
+ # Output only. Harm probability score.
18316
+ # Corresponds to the JSON property `probabilityScore`
18317
+ # @return [Float]
18318
+ attr_accessor :probability_score
18319
+
18320
+ # Output only. Harm severity levels in the content.
18321
+ # Corresponds to the JSON property `severity`
18322
+ # @return [String]
18323
+ attr_accessor :severity
18324
+
18325
+ # Output only. Harm severity score.
18326
+ # Corresponds to the JSON property `severityScore`
18327
+ # @return [Float]
18328
+ attr_accessor :severity_score
18329
+
18198
18330
  def initialize(**args)
18199
18331
  update!(**args)
18200
18332
  end
@@ -18204,6 +18336,9 @@ module Google
18204
18336
  @blocked = args[:blocked] if args.key?(:blocked)
18205
18337
  @category = args[:category] if args.key?(:category)
18206
18338
  @probability = args[:probability] if args.key?(:probability)
18339
+ @probability_score = args[:probability_score] if args.key?(:probability_score)
18340
+ @severity = args[:severity] if args.key?(:severity)
18341
+ @severity_score = args[:severity_score] if args.key?(:severity_score)
18207
18342
  end
18208
18343
  end
18209
18344
 
@@ -26995,30 +27130,21 @@ module Google
26995
27130
  # Tool details that the model may use to generate response. A `Tool` is a piece
26996
27131
  # of code that enables the system to interact with external systems to perform
26997
27132
  # an action, or set of actions, outside of knowledge and scope of the model. A
26998
- # Tool object should contain exactly one type of Tool.
27133
+ # Tool object should contain exactly one type of Tool (e.g FunctionDeclaration,
27134
+ # Retrieval or GoogleSearchRetrieval).
26999
27135
  class GoogleCloudAiplatformV1Tool
27000
27136
  include Google::Apis::Core::Hashable
27001
27137
 
27002
- # Optional. One or more function declarations to be passed to the model along
27003
- # with the current user query. Model may decide to call a subset of these
27004
- # functions by populating FunctionCall in the response. User should provide a
27005
- # FunctionResponse for each function call in the next turn. Based on the
27006
- # function responses, Model will generate the final response back to the user.
27007
- # Maximum 64 function declarations can be provided.
27138
+ # Optional. Function tool type. One or more function declarations to be passed
27139
+ # to the model along with the current user query. Model may decide to call a
27140
+ # subset of these functions by populating FunctionCall in the response. User
27141
+ # should provide a FunctionResponse for each function call in the next turn.
27142
+ # Based on the function responses, Model will generate the final response back
27143
+ # to the user. Maximum 64 function declarations can be provided.
27008
27144
  # Corresponds to the JSON property `functionDeclarations`
27009
27145
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration>]
27010
27146
  attr_accessor :function_declarations
27011
27147
 
27012
- # Tool to retrieve public web data for grounding, powered by Google.
27013
- # Corresponds to the JSON property `googleSearchRetrieval`
27014
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval]
27015
- attr_accessor :google_search_retrieval
27016
-
27017
- # Defines a retrieval tool that model can call to access external knowledge.
27018
- # Corresponds to the JSON property `retrieval`
27019
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval]
27020
- attr_accessor :retrieval
27021
-
27022
27148
  def initialize(**args)
27023
27149
  update!(**args)
27024
27150
  end
@@ -27026,8 +27152,6 @@ module Google
27026
27152
  # Update properties of this object
27027
27153
  def update!(**args)
27028
27154
  @function_declarations = args[:function_declarations] if args.key?(:function_declarations)
27029
- @google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
27030
- @retrieval = args[:retrieval] if args.key?(:retrieval)
27031
27155
  end
27032
27156
  end
27033
27157
 
@@ -28014,27 +28138,6 @@ module Google
28014
28138
  end
28015
28139
  end
28016
28140
 
28017
- # Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
28018
- # google.com/vertex-ai-search-and-conversation
28019
- class GoogleCloudAiplatformV1VertexAiSearch
28020
- include Google::Apis::Core::Hashable
28021
-
28022
- # Required. Fully-qualified Vertex AI Search's datastore resource ID. projects/<>
28023
- # /locations/<>/collections/<>/dataStores/<>
28024
- # Corresponds to the JSON property `datastore`
28025
- # @return [String]
28026
- attr_accessor :datastore
28027
-
28028
- def initialize(**args)
28029
- update!(**args)
28030
- end
28031
-
28032
- # Update properties of this object
28033
- def update!(**args)
28034
- @datastore = args[:datastore] if args.key?(:datastore)
28035
- end
28036
- end
28037
-
28038
28141
  # Metadata describes the input video content.
28039
28142
  class GoogleCloudAiplatformV1VideoMetadata
28040
28143
  include Google::Apis::Core::Hashable
@@ -29897,6 +30000,125 @@ module Google
29897
30000
  end
29898
30001
  end
29899
30002
 
30003
+ # Stores all metadata relating to AIDA DoConversation.
30004
+ class LearningGenaiRootCodeyChatMetadata
30005
+ include Google::Apis::Core::Hashable
30006
+
30007
+ # Indicates the programming language of the code if the message is a code chunk.
30008
+ # Corresponds to the JSON property `codeLanguage`
30009
+ # @return [String]
30010
+ attr_accessor :code_language
30011
+
30012
+ def initialize(**args)
30013
+ update!(**args)
30014
+ end
30015
+
30016
+ # Update properties of this object
30017
+ def update!(**args)
30018
+ @code_language = args[:code_language] if args.key?(:code_language)
30019
+ end
30020
+ end
30021
+
30022
+ # Describes a sample at a checkpoint for post-processing.
30023
+ class LearningGenaiRootCodeyCheckpoint
30024
+ include Google::Apis::Core::Hashable
30025
+
30026
+ # Metadata describing what was truncated at each checkpoint.
30027
+ # Corresponds to the JSON property `codeyTruncatorMetadata`
30028
+ # @return [Google::Apis::AiplatformV1::LearningGenaiRootCodeyTruncatorMetadata]
30029
+ attr_accessor :codey_truncator_metadata
30030
+
30031
+ # Current state of the sample after truncator.
30032
+ # Corresponds to the JSON property `currentSample`
30033
+ # @return [String]
30034
+ attr_accessor :current_sample
30035
+
30036
+ # Postprocessor run that yielded this checkpoint.
30037
+ # Corresponds to the JSON property `postInferenceStep`
30038
+ # @return [String]
30039
+ attr_accessor :post_inference_step
30040
+
30041
+ def initialize(**args)
30042
+ update!(**args)
30043
+ end
30044
+
30045
+ # Update properties of this object
30046
+ def update!(**args)
30047
+ @codey_truncator_metadata = args[:codey_truncator_metadata] if args.key?(:codey_truncator_metadata)
30048
+ @current_sample = args[:current_sample] if args.key?(:current_sample)
30049
+ @post_inference_step = args[:post_inference_step] if args.key?(:post_inference_step)
30050
+ end
30051
+ end
30052
+
30053
+ # Stores all metadata relating to Completion.
30054
+ class LearningGenaiRootCodeyCompletionMetadata
30055
+ include Google::Apis::Core::Hashable
30056
+
30057
+ #
30058
+ # Corresponds to the JSON property `checkpoints`
30059
+ # @return [Array<Google::Apis::AiplatformV1::LearningGenaiRootCodeyCheckpoint>]
30060
+ attr_accessor :checkpoints
30061
+
30062
+ def initialize(**args)
30063
+ update!(**args)
30064
+ end
30065
+
30066
+ # Update properties of this object
30067
+ def update!(**args)
30068
+ @checkpoints = args[:checkpoints] if args.key?(:checkpoints)
30069
+ end
30070
+ end
30071
+
30072
+ # Top-level wrapper used to store all things codey-related.
30073
+ class LearningGenaiRootCodeyOutput
30074
+ include Google::Apis::Core::Hashable
30075
+
30076
+ # Stores all metadata relating to AIDA DoConversation.
30077
+ # Corresponds to the JSON property `codeyChatMetadata`
30078
+ # @return [Google::Apis::AiplatformV1::LearningGenaiRootCodeyChatMetadata]
30079
+ attr_accessor :codey_chat_metadata
30080
+
30081
+ # Stores all metadata relating to Completion.
30082
+ # Corresponds to the JSON property `codeyCompletionMetadata`
30083
+ # @return [Google::Apis::AiplatformV1::LearningGenaiRootCodeyCompletionMetadata]
30084
+ attr_accessor :codey_completion_metadata
30085
+
30086
+ def initialize(**args)
30087
+ update!(**args)
30088
+ end
30089
+
30090
+ # Update properties of this object
30091
+ def update!(**args)
30092
+ @codey_chat_metadata = args[:codey_chat_metadata] if args.key?(:codey_chat_metadata)
30093
+ @codey_completion_metadata = args[:codey_completion_metadata] if args.key?(:codey_completion_metadata)
30094
+ end
30095
+ end
30096
+
30097
+ # Metadata describing what was truncated at each checkpoint.
30098
+ class LearningGenaiRootCodeyTruncatorMetadata
30099
+ include Google::Apis::Core::Hashable
30100
+
30101
+ # Index of the current sample that trims off truncated text.
30102
+ # Corresponds to the JSON property `cutoffIndex`
30103
+ # @return [Fixnum]
30104
+ attr_accessor :cutoff_index
30105
+
30106
+ # Text that was truncated at a specific checkpoint.
30107
+ # Corresponds to the JSON property `truncatedText`
30108
+ # @return [String]
30109
+ attr_accessor :truncated_text
30110
+
30111
+ def initialize(**args)
30112
+ update!(**args)
30113
+ end
30114
+
30115
+ # Update properties of this object
30116
+ def update!(**args)
30117
+ @cutoff_index = args[:cutoff_index] if args.key?(:cutoff_index)
30118
+ @truncated_text = args[:truncated_text] if args.key?(:truncated_text)
30119
+ end
30120
+ end
30121
+
29900
30122
  #
29901
30123
  class LearningGenaiRootDataProviderOutput
29902
30124
  include Google::Apis::Core::Hashable
@@ -31115,6 +31337,11 @@ module Google
31115
31337
  # @return [Google::Apis::AiplatformV1::LearningGenaiRootClassifierOutputSummary]
31116
31338
  attr_accessor :classifier_summary
31117
31339
 
31340
+ # Top-level wrapper used to store all things codey-related.
31341
+ # Corresponds to the JSON property `codeyOutput`
31342
+ # @return [Google::Apis::AiplatformV1::LearningGenaiRootCodeyOutput]
31343
+ attr_accessor :codey_output
31344
+
31118
31345
  #
31119
31346
  # Corresponds to the JSON property `currentStreamTextLength`
31120
31347
  # @return [Fixnum]
@@ -31245,6 +31472,7 @@ module Google
31245
31472
  # Update properties of this object
31246
31473
  def update!(**args)
31247
31474
  @classifier_summary = args[:classifier_summary] if args.key?(:classifier_summary)
31475
+ @codey_output = args[:codey_output] if args.key?(:codey_output)
31248
31476
  @current_stream_text_length = args[:current_stream_text_length] if args.key?(:current_stream_text_length)
31249
31477
  @deleted = args[:deleted] if args.key?(:deleted)
31250
31478
  @filter_meta = args[:filter_meta] if args.key?(:filter_meta)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1
18
18
  # Version of the google-apis-aiplatform_v1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240213"
25
+ REVISION = "20240229"
26
26
  end
27
27
  end
28
28
  end
@@ -328,6 +328,12 @@ module Google
328
328
  include Google::Apis::Core::JsonObjectSupport
329
329
  end
330
330
 
331
+ class GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
331
337
  class GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata
332
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
339
 
@@ -376,6 +382,12 @@ module Google
376
382
  include Google::Apis::Core::JsonObjectSupport
377
383
  end
378
384
 
385
+ class GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
379
391
  class GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest
380
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
393
 
@@ -1426,6 +1438,12 @@ module Google
1426
1438
  include Google::Apis::Core::JsonObjectSupport
1427
1439
  end
1428
1440
 
1441
+ class GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey
1442
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1443
+
1444
+ include Google::Apis::Core::JsonObjectSupport
1445
+ end
1446
+
1429
1447
  class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource
1430
1448
  class Representation < Google::Apis::Core::JsonRepresentation; end
1431
1449
 
@@ -1636,7 +1654,7 @@ module Google
1636
1654
  include Google::Apis::Core::JsonObjectSupport
1637
1655
  end
1638
1656
 
1639
- class GoogleCloudAiplatformV1GoogleSearchRetrieval
1657
+ class GoogleCloudAiplatformV1GenieSource
1640
1658
  class Representation < Google::Apis::Core::JsonRepresentation; end
1641
1659
 
1642
1660
  include Google::Apis::Core::JsonObjectSupport
@@ -2218,6 +2236,12 @@ module Google
2218
2236
  include Google::Apis::Core::JsonObjectSupport
2219
2237
  end
2220
2238
 
2239
+ class GoogleCloudAiplatformV1ModelBaseModelSource
2240
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2241
+
2242
+ include Google::Apis::Core::JsonObjectSupport
2243
+ end
2244
+
2221
2245
  class GoogleCloudAiplatformV1ModelContainerSpec
2222
2246
  class Representation < Google::Apis::Core::JsonRepresentation; end
2223
2247
 
@@ -2320,6 +2344,12 @@ module Google
2320
2344
  include Google::Apis::Core::JsonObjectSupport
2321
2345
  end
2322
2346
 
2347
+ class GoogleCloudAiplatformV1ModelGardenSource
2348
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2349
+
2350
+ include Google::Apis::Core::JsonObjectSupport
2351
+ end
2352
+
2323
2353
  class GoogleCloudAiplatformV1ModelMonitoringAlertConfig
2324
2354
  class Representation < Google::Apis::Core::JsonRepresentation; end
2325
2355
 
@@ -3016,12 +3046,6 @@ module Google
3016
3046
  include Google::Apis::Core::JsonObjectSupport
3017
3047
  end
3018
3048
 
3019
- class GoogleCloudAiplatformV1Retrieval
3020
- class Representation < Google::Apis::Core::JsonRepresentation; end
3021
-
3022
- include Google::Apis::Core::JsonObjectSupport
3023
- end
3024
-
3025
3049
  class GoogleCloudAiplatformV1SafetyRating
3026
3050
  class Representation < Google::Apis::Core::JsonRepresentation; end
3027
3051
 
@@ -4636,12 +4660,6 @@ module Google
4636
4660
  include Google::Apis::Core::JsonObjectSupport
4637
4661
  end
4638
4662
 
4639
- class GoogleCloudAiplatformV1VertexAiSearch
4640
- class Representation < Google::Apis::Core::JsonRepresentation; end
4641
-
4642
- include Google::Apis::Core::JsonObjectSupport
4643
- end
4644
-
4645
4663
  class GoogleCloudAiplatformV1VideoMetadata
4646
4664
  class Representation < Google::Apis::Core::JsonRepresentation; end
4647
4665
 
@@ -4876,6 +4894,36 @@ module Google
4876
4894
  include Google::Apis::Core::JsonObjectSupport
4877
4895
  end
4878
4896
 
4897
+ class LearningGenaiRootCodeyChatMetadata
4898
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4899
+
4900
+ include Google::Apis::Core::JsonObjectSupport
4901
+ end
4902
+
4903
+ class LearningGenaiRootCodeyCheckpoint
4904
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4905
+
4906
+ include Google::Apis::Core::JsonObjectSupport
4907
+ end
4908
+
4909
+ class LearningGenaiRootCodeyCompletionMetadata
4910
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4911
+
4912
+ include Google::Apis::Core::JsonObjectSupport
4913
+ end
4914
+
4915
+ class LearningGenaiRootCodeyOutput
4916
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4917
+
4918
+ include Google::Apis::Core::JsonObjectSupport
4919
+ end
4920
+
4921
+ class LearningGenaiRootCodeyTruncatorMetadata
4922
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4923
+
4924
+ include Google::Apis::Core::JsonObjectSupport
4925
+ end
4926
+
4879
4927
  class LearningGenaiRootDataProviderOutput
4880
4928
  class Representation < Google::Apis::Core::JsonRepresentation; end
4881
4929
 
@@ -5180,6 +5228,7 @@ module Google
5180
5228
 
5181
5229
  property :semantic_filter_response, as: 'semanticFilterResponse', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionSemanticFilterResponse, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionSemanticFilterResponse::Representation
5182
5230
 
5231
+ property :text, as: 'text'
5183
5232
  property :uri, as: 'uri'
5184
5233
  end
5185
5234
  end
@@ -5659,6 +5708,13 @@ module Google
5659
5708
  end
5660
5709
  end
5661
5710
 
5711
+ class GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest
5712
+ # @private
5713
+ class Representation < Google::Apis::Core::JsonRepresentation
5714
+ collection :names, as: 'names'
5715
+ end
5716
+ end
5717
+
5662
5718
  class GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata
5663
5719
  # @private
5664
5720
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5725,6 +5781,13 @@ module Google
5725
5781
  end
5726
5782
  end
5727
5783
 
5784
+ class GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest
5785
+ # @private
5786
+ class Representation < Google::Apis::Core::JsonRepresentation
5787
+ collection :names, as: 'names'
5788
+ end
5789
+ end
5790
+
5728
5791
  class GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest
5729
5792
  # @private
5730
5793
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6523,7 +6586,9 @@ module Google
6523
6586
  class Representation < Google::Apis::Core::JsonRepresentation
6524
6587
  property :big_query_dataset_name, as: 'bigQueryDatasetName'
6525
6588
  property :create_time, as: 'createTime'
6589
+ property :display_name, as: 'displayName'
6526
6590
  property :etag, as: 'etag'
6591
+ property :metadata, as: 'metadata'
6527
6592
  property :name, as: 'name'
6528
6593
  property :update_time, as: 'updateTime'
6529
6594
  end
@@ -7320,6 +7385,7 @@ module Google
7320
7385
  collection :monitoring_stats_anomalies, as: 'monitoringStatsAnomalies', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly::Representation
7321
7386
 
7322
7387
  property :name, as: 'name'
7388
+ property :point_of_contact, as: 'pointOfContact'
7323
7389
  property :update_time, as: 'updateTime'
7324
7390
  property :value_type, as: 'valueType'
7325
7391
  property :version_column_name, as: 'versionColumnName'
@@ -7502,10 +7568,19 @@ module Google
7502
7568
  class GoogleCloudAiplatformV1FeatureViewDataKey
7503
7569
  # @private
7504
7570
  class Representation < Google::Apis::Core::JsonRepresentation
7571
+ property :composite_key, as: 'compositeKey', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey::Representation
7572
+
7505
7573
  property :key, as: 'key'
7506
7574
  end
7507
7575
  end
7508
7576
 
7577
+ class GoogleCloudAiplatformV1FeatureViewDataKeyCompositeKey
7578
+ # @private
7579
+ class Representation < Google::Apis::Core::JsonRepresentation
7580
+ collection :parts, as: 'parts'
7581
+ end
7582
+ end
7583
+
7509
7584
  class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource
7510
7585
  # @private
7511
7586
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7841,10 +7916,10 @@ module Google
7841
7916
  end
7842
7917
  end
7843
7918
 
7844
- class GoogleCloudAiplatformV1GoogleSearchRetrieval
7919
+ class GoogleCloudAiplatformV1GenieSource
7845
7920
  # @private
7846
7921
  class Representation < Google::Apis::Core::JsonRepresentation
7847
- property :disable_attribution, as: 'disableAttribution'
7922
+ property :base_model_uri, as: 'baseModelUri'
7848
7923
  end
7849
7924
  end
7850
7925
 
@@ -8789,6 +8864,8 @@ module Google
8789
8864
  # @private
8790
8865
  class Representation < Google::Apis::Core::JsonRepresentation
8791
8866
  property :artifact_uri, as: 'artifactUri'
8867
+ property :base_model_source, as: 'baseModelSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelBaseModelSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelBaseModelSource::Representation
8868
+
8792
8869
  property :container_spec, as: 'containerSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelContainerSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelContainerSpec::Representation
8793
8870
 
8794
8871
  property :create_time, as: 'createTime'
@@ -8830,6 +8907,16 @@ module Google
8830
8907
  end
8831
8908
  end
8832
8909
 
8910
+ class GoogleCloudAiplatformV1ModelBaseModelSource
8911
+ # @private
8912
+ class Representation < Google::Apis::Core::JsonRepresentation
8913
+ property :genie_source, as: 'genieSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenieSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenieSource::Representation
8914
+
8915
+ property :model_garden_source, as: 'modelGardenSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelGardenSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelGardenSource::Representation
8916
+
8917
+ end
8918
+ end
8919
+
8833
8920
  class GoogleCloudAiplatformV1ModelContainerSpec
8834
8921
  # @private
8835
8922
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9042,6 +9129,13 @@ module Google
9042
9129
  end
9043
9130
  end
9044
9131
 
9132
+ class GoogleCloudAiplatformV1ModelGardenSource
9133
+ # @private
9134
+ class Representation < Google::Apis::Core::JsonRepresentation
9135
+ property :public_model_name, as: 'publicModelName'
9136
+ end
9137
+ end
9138
+
9045
9139
  class GoogleCloudAiplatformV1ModelMonitoringAlertConfig
9046
9140
  # @private
9047
9141
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10221,21 +10315,15 @@ module Google
10221
10315
  end
10222
10316
  end
10223
10317
 
10224
- class GoogleCloudAiplatformV1Retrieval
10225
- # @private
10226
- class Representation < Google::Apis::Core::JsonRepresentation
10227
- property :disable_attribution, as: 'disableAttribution'
10228
- property :vertex_ai_search, as: 'vertexAiSearch', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearch, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearch::Representation
10229
-
10230
- end
10231
- end
10232
-
10233
10318
  class GoogleCloudAiplatformV1SafetyRating
10234
10319
  # @private
10235
10320
  class Representation < Google::Apis::Core::JsonRepresentation
10236
10321
  property :blocked, as: 'blocked'
10237
10322
  property :category, as: 'category'
10238
10323
  property :probability, as: 'probability'
10324
+ property :probability_score, as: 'probabilityScore'
10325
+ property :severity, as: 'severity'
10326
+ property :severity_score, as: 'severityScore'
10239
10327
  end
10240
10328
  end
10241
10329
 
@@ -12565,10 +12653,6 @@ module Google
12565
12653
  class Representation < Google::Apis::Core::JsonRepresentation
12566
12654
  collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration::Representation
12567
12655
 
12568
- property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleSearchRetrieval::Representation
12569
-
12570
- property :retrieval, as: 'retrieval', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Retrieval::Representation
12571
-
12572
12656
  end
12573
12657
  end
12574
12658
 
@@ -12878,13 +12962,6 @@ module Google
12878
12962
  end
12879
12963
  end
12880
12964
 
12881
- class GoogleCloudAiplatformV1VertexAiSearch
12882
- # @private
12883
- class Representation < Google::Apis::Core::JsonRepresentation
12884
- property :datastore, as: 'datastore'
12885
- end
12886
- end
12887
-
12888
12965
  class GoogleCloudAiplatformV1VideoMetadata
12889
12966
  # @private
12890
12967
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13316,6 +13393,49 @@ module Google
13316
13393
  end
13317
13394
  end
13318
13395
 
13396
+ class LearningGenaiRootCodeyChatMetadata
13397
+ # @private
13398
+ class Representation < Google::Apis::Core::JsonRepresentation
13399
+ property :code_language, as: 'codeLanguage'
13400
+ end
13401
+ end
13402
+
13403
+ class LearningGenaiRootCodeyCheckpoint
13404
+ # @private
13405
+ class Representation < Google::Apis::Core::JsonRepresentation
13406
+ property :codey_truncator_metadata, as: 'codeyTruncatorMetadata', class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyTruncatorMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootCodeyTruncatorMetadata::Representation
13407
+
13408
+ property :current_sample, as: 'currentSample'
13409
+ property :post_inference_step, as: 'postInferenceStep'
13410
+ end
13411
+ end
13412
+
13413
+ class LearningGenaiRootCodeyCompletionMetadata
13414
+ # @private
13415
+ class Representation < Google::Apis::Core::JsonRepresentation
13416
+ collection :checkpoints, as: 'checkpoints', class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyCheckpoint, decorator: Google::Apis::AiplatformV1::LearningGenaiRootCodeyCheckpoint::Representation
13417
+
13418
+ end
13419
+ end
13420
+
13421
+ class LearningGenaiRootCodeyOutput
13422
+ # @private
13423
+ class Representation < Google::Apis::Core::JsonRepresentation
13424
+ property :codey_chat_metadata, as: 'codeyChatMetadata', class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyChatMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootCodeyChatMetadata::Representation
13425
+
13426
+ property :codey_completion_metadata, as: 'codeyCompletionMetadata', class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyCompletionMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootCodeyCompletionMetadata::Representation
13427
+
13428
+ end
13429
+ end
13430
+
13431
+ class LearningGenaiRootCodeyTruncatorMetadata
13432
+ # @private
13433
+ class Representation < Google::Apis::Core::JsonRepresentation
13434
+ property :cutoff_index, as: 'cutoffIndex'
13435
+ property :truncated_text, as: 'truncatedText'
13436
+ end
13437
+ end
13438
+
13319
13439
  class LearningGenaiRootDataProviderOutput
13320
13440
  # @private
13321
13441
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13690,6 +13810,8 @@ module Google
13690
13810
  class Representation < Google::Apis::Core::JsonRepresentation
13691
13811
  property :classifier_summary, as: 'classifierSummary', class: Google::Apis::AiplatformV1::LearningGenaiRootClassifierOutputSummary, decorator: Google::Apis::AiplatformV1::LearningGenaiRootClassifierOutputSummary::Representation
13692
13812
 
13813
+ property :codey_output, as: 'codeyOutput', class: Google::Apis::AiplatformV1::LearningGenaiRootCodeyOutput, decorator: Google::Apis::AiplatformV1::LearningGenaiRootCodeyOutput::Representation
13814
+
13693
13815
  property :current_stream_text_length, as: 'currentStreamTextLength'
13694
13816
  property :deleted, as: 'deleted'
13695
13817
  collection :filter_meta, as: 'filterMeta', class: Google::Apis::AiplatformV1::LearningGenaiRootFilterMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootFilterMetadata::Representation
@@ -13674,6 +13674,79 @@ module Google
13674
13674
  execute_or_queue_command(command, &block)
13675
13675
  end
13676
13676
 
13677
+ # Batch cancel PipelineJobs. Firstly the server will check if all the jobs are
13678
+ # in non-terminal states, and skip the jobs that are already terminated. If the
13679
+ # operation failed, none of the pipeline jobs are cancelled. The server will
13680
+ # poll the states of all the pipeline jobs periodically to check the
13681
+ # cancellation status. This operation will return an LRO.
13682
+ # @param [String] parent
13683
+ # Required. The name of the PipelineJobs' parent resource. Format: `projects/`
13684
+ # project`/locations/`location``
13685
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest] google_cloud_aiplatform_v1_batch_cancel_pipeline_jobs_request_object
13686
+ # @param [String] fields
13687
+ # Selector specifying which fields to include in a partial response.
13688
+ # @param [String] quota_user
13689
+ # Available to use for quota purposes for server-side applications. Can be any
13690
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
13691
+ # @param [Google::Apis::RequestOptions] options
13692
+ # Request-specific options
13693
+ #
13694
+ # @yield [result, err] Result & error if block supplied
13695
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
13696
+ # @yieldparam err [StandardError] error object if request failed
13697
+ #
13698
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
13699
+ #
13700
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13701
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13702
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
13703
+ def batch_project_location_pipeline_job_cancel(parent, google_cloud_aiplatform_v1_batch_cancel_pipeline_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
13704
+ command = make_simple_command(:post, 'v1/{+parent}/pipelineJobs:batchCancel', options)
13705
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest::Representation
13706
+ command.request_object = google_cloud_aiplatform_v1_batch_cancel_pipeline_jobs_request_object
13707
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
13708
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
13709
+ command.params['parent'] = parent unless parent.nil?
13710
+ command.query['fields'] = fields unless fields.nil?
13711
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
13712
+ execute_or_queue_command(command, &block)
13713
+ end
13714
+
13715
+ # Batch deletes PipelineJobs The Operation is atomic. If it fails, none of the
13716
+ # PipelineJobs are deleted. If it succeeds, all of the PipelineJobs are deleted.
13717
+ # @param [String] parent
13718
+ # Required. The name of the PipelineJobs' parent resource. Format: `projects/`
13719
+ # project`/locations/`location``
13720
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest] google_cloud_aiplatform_v1_batch_delete_pipeline_jobs_request_object
13721
+ # @param [String] fields
13722
+ # Selector specifying which fields to include in a partial response.
13723
+ # @param [String] quota_user
13724
+ # Available to use for quota purposes for server-side applications. Can be any
13725
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
13726
+ # @param [Google::Apis::RequestOptions] options
13727
+ # Request-specific options
13728
+ #
13729
+ # @yield [result, err] Result & error if block supplied
13730
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
13731
+ # @yieldparam err [StandardError] error object if request failed
13732
+ #
13733
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
13734
+ #
13735
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13736
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13737
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
13738
+ def batch_project_location_pipeline_job_delete(parent, google_cloud_aiplatform_v1_batch_delete_pipeline_jobs_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
13739
+ command = make_simple_command(:post, 'v1/{+parent}/pipelineJobs:batchDelete', options)
13740
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest::Representation
13741
+ command.request_object = google_cloud_aiplatform_v1_batch_delete_pipeline_jobs_request_object
13742
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
13743
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
13744
+ command.params['parent'] = parent unless parent.nil?
13745
+ command.query['fields'] = fields unless fields.nil?
13746
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
13747
+ execute_or_queue_command(command, &block)
13748
+ end
13749
+
13677
13750
  # Cancels a PipelineJob. Starts asynchronous cancellation on the PipelineJob.
13678
13751
  # The server makes a best effort to cancel the pipeline, but success is not
13679
13752
  # guaranteed. Clients can use PipelineService.GetPipelineJob or other methods to
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-18 00:00:00.000000000 Z
11
+ date: 2024-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.0
29
+ version: 0.14.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Vertex AI API V1