google-apis-aiplatform_v1 0.15.0 → 0.17.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: 3654b6b1de0755bc87106847afa071bbc49c4c5194a8a26c7544275bdd416443
4
- data.tar.gz: 3970daf356ded8964e9e95683eb9bb6989ea00ccc50afe71de1e728a44d2b147
3
+ metadata.gz: 136c87b753807d5351ecb29e2cb0d5c0c07895ba0e1c47c0e789812119687aed
4
+ data.tar.gz: 216a2baf98588cfbf4f5b650080ed740ce85f6be8b50d30592bd56948e47bfa4
5
5
  SHA512:
6
- metadata.gz: 05565b2bf3b36c343012d1318ba03f8cafb93ac9be810ce3364686fcfbb9ed6e57093fb2da3b1487d0c2b5724ebdc64ee7105f26b2f2a8cf85ecd9397c24709f
7
- data.tar.gz: 89aadb5c151481553a592d1e67b4ce9c01f211fc5dfb1de395fadde937be194ddb405ab9dd6014d32cf0de6166e37cbc16f9e3c89da91080c35bb42d76bfb646
6
+ metadata.gz: 7258407cd22f27261d1ef4630e2bbaab13e401a2ffa652ecdfc86d7f847bf8e4f888eb72e08b2f9f1f499b3abaa1817c1d0cf6eea21ff000016c38fa182bc383
7
+ data.tar.gz: a0e85c980696c1e07ac8592e10fe3dcc0fe2365a9bc2d2ca785226fc536f7931fb8d26df7986d82261fed76a610fd00a926061d9cccf05057abfb108c1b47317
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.17.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240301
6
+
7
+ ### v0.16.0 (2024-03-10)
8
+
9
+ * Regenerated from discovery document revision 20240229
10
+
3
11
  ### v0.15.0 (2024-02-25)
4
12
 
5
13
  * Regenerated from discovery document revision 20240219
@@ -777,6 +777,11 @@ module Google
777
777
  class CloudAiNlLlmProtoServicePart
778
778
  include Google::Apis::Core::Hashable
779
779
 
780
+ # Metadata describes the original input document content.
781
+ # Corresponds to the JSON property `documentMetadata`
782
+ # @return [Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartDocumentMetadata]
783
+ attr_accessor :document_metadata
784
+
780
785
  # Represents file data.
781
786
  # Corresponds to the JSON property `fileData`
782
787
  # @return [Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartFileData]
@@ -813,6 +818,7 @@ module Google
813
818
 
814
819
  # Update properties of this object
815
820
  def update!(**args)
821
+ @document_metadata = args[:document_metadata] if args.key?(:document_metadata)
816
822
  @file_data = args[:file_data] if args.key?(:file_data)
817
823
  @function_call = args[:function_call] if args.key?(:function_call)
818
824
  @function_response = args[:function_response] if args.key?(:function_response)
@@ -854,6 +860,32 @@ module Google
854
860
  end
855
861
  end
856
862
 
863
+ # Metadata describes the original input document content.
864
+ class CloudAiNlLlmProtoServicePartDocumentMetadata
865
+ include Google::Apis::Core::Hashable
866
+
867
+ # Represents arbitrary blob data input.
868
+ # Corresponds to the JSON property `originalDocumentBlob`
869
+ # @return [Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob]
870
+ attr_accessor :original_document_blob
871
+
872
+ # The (1-indexed) page number of the image in the original document. The first
873
+ # page carries the original document content and mime type.
874
+ # Corresponds to the JSON property `pageNumber`
875
+ # @return [Fixnum]
876
+ attr_accessor :page_number
877
+
878
+ def initialize(**args)
879
+ update!(**args)
880
+ end
881
+
882
+ # Update properties of this object
883
+ def update!(**args)
884
+ @original_document_blob = args[:original_document_blob] if args.key?(:original_document_blob)
885
+ @page_number = args[:page_number] if args.key?(:page_number)
886
+ end
887
+ end
888
+
857
889
  # Represents file data.
858
890
  class CloudAiNlLlmProtoServicePartFileData
859
891
  include Google::Apis::Core::Hashable
@@ -1028,6 +1060,11 @@ module Google
1028
1060
  attr_accessor :flagged
1029
1061
  alias_method :flagged?, :flagged
1030
1062
 
1063
+ # The influential terms that could potentially block the response.
1064
+ # Corresponds to the JSON property `influentialTerms`
1065
+ # @return [Array<Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm>]
1066
+ attr_accessor :influential_terms
1067
+
1031
1068
  # The RAI category.
1032
1069
  # Corresponds to the JSON property `raiCategory`
1033
1070
  # @return [String]
@@ -1046,11 +1083,49 @@ module Google
1046
1083
  def update!(**args)
1047
1084
  @confidence = args[:confidence] if args.key?(:confidence)
1048
1085
  @flagged = args[:flagged] if args.key?(:flagged)
1086
+ @influential_terms = args[:influential_terms] if args.key?(:influential_terms)
1049
1087
  @rai_category = args[:rai_category] if args.key?(:rai_category)
1050
1088
  @score = args[:score] if args.key?(:score)
1051
1089
  end
1052
1090
  end
1053
1091
 
1092
+ # The influential term that could potentially block the response.
1093
+ class CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm
1094
+ include Google::Apis::Core::Hashable
1095
+
1096
+ # The beginning offset of the influential term.
1097
+ # Corresponds to the JSON property `beginOffset`
1098
+ # @return [Fixnum]
1099
+ attr_accessor :begin_offset
1100
+
1101
+ # The confidence score of the influential term.
1102
+ # Corresponds to the JSON property `confidence`
1103
+ # @return [Float]
1104
+ attr_accessor :confidence
1105
+
1106
+ # The source of the influential term, prompt or response.
1107
+ # Corresponds to the JSON property `source`
1108
+ # @return [String]
1109
+ attr_accessor :source
1110
+
1111
+ # The influential term.
1112
+ # Corresponds to the JSON property `term`
1113
+ # @return [String]
1114
+ attr_accessor :term
1115
+
1116
+ def initialize(**args)
1117
+ update!(**args)
1118
+ end
1119
+
1120
+ # Update properties of this object
1121
+ def update!(**args)
1122
+ @begin_offset = args[:begin_offset] if args.key?(:begin_offset)
1123
+ @confidence = args[:confidence] if args.key?(:confidence)
1124
+ @source = args[:source] if args.key?(:source)
1125
+ @term = args[:term] if args.key?(:term)
1126
+ end
1127
+ end
1128
+
1054
1129
  # Safety rating corresponding to the generated content.
1055
1130
  class CloudAiNlLlmProtoServiceSafetyRating
1056
1131
  include Google::Apis::Core::Hashable
@@ -1858,6 +1933,27 @@ module Google
1858
1933
  end
1859
1934
  end
1860
1935
 
1936
+ # Request message for PipelineService.BatchCancelPipelineJobs.
1937
+ class GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest
1938
+ include Google::Apis::Core::Hashable
1939
+
1940
+ # Required. The names of the PipelineJobs to cancel. A maximum of 32
1941
+ # PipelineJobs can be cancelled in a batch. Format: `projects/`project`/
1942
+ # locations/`location`/pipelineJobs/`pipelineJob``
1943
+ # Corresponds to the JSON property `names`
1944
+ # @return [Array<String>]
1945
+ attr_accessor :names
1946
+
1947
+ def initialize(**args)
1948
+ update!(**args)
1949
+ end
1950
+
1951
+ # Update properties of this object
1952
+ def update!(**args)
1953
+ @names = args[:names] if args.key?(:names)
1954
+ end
1955
+ end
1956
+
1861
1957
  # Details of operations that perform batch create Features.
1862
1958
  class GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata
1863
1959
  include Google::Apis::Core::Hashable
@@ -2031,6 +2127,27 @@ module Google
2031
2127
  end
2032
2128
  end
2033
2129
 
2130
+ # Request message for PipelineService.BatchDeletePipelineJobs.
2131
+ class GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest
2132
+ include Google::Apis::Core::Hashable
2133
+
2134
+ # Required. The names of the PipelineJobs to delete. A maximum of 32
2135
+ # PipelineJobs can be deleted in a batch. Format: `projects/`project`/locations/`
2136
+ # location`/pipelineJobs/`pipelineJob``
2137
+ # Corresponds to the JSON property `names`
2138
+ # @return [Array<String>]
2139
+ attr_accessor :names
2140
+
2141
+ def initialize(**args)
2142
+ update!(**args)
2143
+ end
2144
+
2145
+ # Update properties of this object
2146
+ def update!(**args)
2147
+ @names = args[:names] if args.key?(:names)
2148
+ end
2149
+ end
2150
+
2034
2151
  # Request message for ModelService.BatchImportEvaluatedAnnotations
2035
2152
  class GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest
2036
2153
  include Google::Apis::Core::Hashable
@@ -4811,7 +4928,7 @@ module Google
4811
4928
  # @return [String]
4812
4929
  attr_accessor :etag
4813
4930
 
4814
- # Required. Additional information about the DatasetVersion.
4931
+ # Required. Output only. Additional information about the DatasetVersion.
4815
4932
  # Corresponds to the JSON property `metadata`
4816
4933
  # @return [Object]
4817
4934
  attr_accessor :metadata
@@ -9168,7 +9285,7 @@ module Google
9168
9285
  end
9169
9286
  end
9170
9287
 
9171
- # The request message for MatchService.FindNeighbors.
9288
+ # LINT.IfChange The request message for MatchService.FindNeighbors.
9172
9289
  class GoogleCloudAiplatformV1FindNeighborsRequest
9173
9290
  include Google::Apis::Core::Hashable
9174
9291
 
@@ -9727,6 +9844,26 @@ module Google
9727
9844
  end
9728
9845
  end
9729
9846
 
9847
+ # Contains information about the source of the models generated from Generative
9848
+ # AI Studio.
9849
+ class GoogleCloudAiplatformV1GenieSource
9850
+ include Google::Apis::Core::Hashable
9851
+
9852
+ # Required. The public base model URI.
9853
+ # Corresponds to the JSON property `baseModelUri`
9854
+ # @return [String]
9855
+ attr_accessor :base_model_uri
9856
+
9857
+ def initialize(**args)
9858
+ update!(**args)
9859
+ end
9860
+
9861
+ # Update properties of this object
9862
+ def update!(**args)
9863
+ @base_model_uri = args[:base_model_uri] if args.key?(:base_model_uri)
9864
+ end
9865
+ end
9866
+
9730
9867
  # Grounding attribution.
9731
9868
  class GoogleCloudAiplatformV1GroundingAttribution
9732
9869
  include Google::Apis::Core::Hashable
@@ -12896,6 +13033,12 @@ module Google
12896
13033
  # @return [String]
12897
13034
  attr_accessor :artifact_uri
12898
13035
 
13036
+ # User input field to specify the base model source. Currently it only supports
13037
+ # specifing the Model Garden models and Genie models.
13038
+ # Corresponds to the JSON property `baseModelSource`
13039
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelBaseModelSource]
13040
+ attr_accessor :base_model_source
13041
+
12899
13042
  # Specification of a container for serving predictions. Some fields in this
12900
13043
  # message correspond to fields in the [Kubernetes Container v1 core
12901
13044
  # specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/
@@ -13118,6 +13261,7 @@ module Google
13118
13261
  # Update properties of this object
13119
13262
  def update!(**args)
13120
13263
  @artifact_uri = args[:artifact_uri] if args.key?(:artifact_uri)
13264
+ @base_model_source = args[:base_model_source] if args.key?(:base_model_source)
13121
13265
  @container_spec = args[:container_spec] if args.key?(:container_spec)
13122
13266
  @create_time = args[:create_time] if args.key?(:create_time)
13123
13267
  @data_stats = args[:data_stats] if args.key?(:data_stats)
@@ -13150,6 +13294,34 @@ module Google
13150
13294
  end
13151
13295
  end
13152
13296
 
13297
+ # User input field to specify the base model source. Currently it only supports
13298
+ # specifing the Model Garden models and Genie models.
13299
+ class GoogleCloudAiplatformV1ModelBaseModelSource
13300
+ include Google::Apis::Core::Hashable
13301
+
13302
+ # Contains information about the source of the models generated from Generative
13303
+ # AI Studio.
13304
+ # Corresponds to the JSON property `genieSource`
13305
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenieSource]
13306
+ attr_accessor :genie_source
13307
+
13308
+ # Contains information about the source of the models generated from Model
13309
+ # Garden.
13310
+ # Corresponds to the JSON property `modelGardenSource`
13311
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelGardenSource]
13312
+ attr_accessor :model_garden_source
13313
+
13314
+ def initialize(**args)
13315
+ update!(**args)
13316
+ end
13317
+
13318
+ # Update properties of this object
13319
+ def update!(**args)
13320
+ @genie_source = args[:genie_source] if args.key?(:genie_source)
13321
+ @model_garden_source = args[:model_garden_source] if args.key?(:model_garden_source)
13322
+ end
13323
+ end
13324
+
13153
13325
  # Specification of a container for serving predictions. Some fields in this
13154
13326
  # message correspond to fields in the [Kubernetes Container v1 core
13155
13327
  # specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/
@@ -14140,6 +14312,26 @@ module Google
14140
14312
  end
14141
14313
  end
14142
14314
 
14315
+ # Contains information about the source of the models generated from Model
14316
+ # Garden.
14317
+ class GoogleCloudAiplatformV1ModelGardenSource
14318
+ include Google::Apis::Core::Hashable
14319
+
14320
+ # Required. The model garden source model resource name.
14321
+ # Corresponds to the JSON property `publicModelName`
14322
+ # @return [String]
14323
+ attr_accessor :public_model_name
14324
+
14325
+ def initialize(**args)
14326
+ update!(**args)
14327
+ end
14328
+
14329
+ # Update properties of this object
14330
+ def update!(**args)
14331
+ @public_model_name = args[:public_model_name] if args.key?(:public_model_name)
14332
+ end
14333
+ end
14334
+
14143
14335
  # The alert config for model monitoring.
14144
14336
  class GoogleCloudAiplatformV1ModelMonitoringAlertConfig
14145
14337
  include Google::Apis::Core::Hashable
@@ -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.15.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240219"
25
+ REVISION = "20240301"
26
26
  end
27
27
  end
28
28
  end
@@ -172,6 +172,12 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class CloudAiNlLlmProtoServicePartDocumentMetadata
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
175
181
  class CloudAiNlLlmProtoServicePartFileData
176
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
183
 
@@ -202,6 +208,12 @@ module Google
202
208
  include Google::Apis::Core::JsonObjectSupport
203
209
  end
204
210
 
211
+ class CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
205
217
  class CloudAiNlLlmProtoServiceSafetyRating
206
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
219
 
@@ -328,6 +340,12 @@ module Google
328
340
  include Google::Apis::Core::JsonObjectSupport
329
341
  end
330
342
 
343
+ class GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
331
349
  class GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata
332
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
351
 
@@ -376,6 +394,12 @@ module Google
376
394
  include Google::Apis::Core::JsonObjectSupport
377
395
  end
378
396
 
397
+ class GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
379
403
  class GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest
380
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
405
 
@@ -1642,6 +1666,12 @@ module Google
1642
1666
  include Google::Apis::Core::JsonObjectSupport
1643
1667
  end
1644
1668
 
1669
+ class GoogleCloudAiplatformV1GenieSource
1670
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1671
+
1672
+ include Google::Apis::Core::JsonObjectSupport
1673
+ end
1674
+
1645
1675
  class GoogleCloudAiplatformV1GroundingAttribution
1646
1676
  class Representation < Google::Apis::Core::JsonRepresentation; end
1647
1677
 
@@ -2218,6 +2248,12 @@ module Google
2218
2248
  include Google::Apis::Core::JsonObjectSupport
2219
2249
  end
2220
2250
 
2251
+ class GoogleCloudAiplatformV1ModelBaseModelSource
2252
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2253
+
2254
+ include Google::Apis::Core::JsonObjectSupport
2255
+ end
2256
+
2221
2257
  class GoogleCloudAiplatformV1ModelContainerSpec
2222
2258
  class Representation < Google::Apis::Core::JsonRepresentation; end
2223
2259
 
@@ -2320,6 +2356,12 @@ module Google
2320
2356
  include Google::Apis::Core::JsonObjectSupport
2321
2357
  end
2322
2358
 
2359
+ class GoogleCloudAiplatformV1ModelGardenSource
2360
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2361
+
2362
+ include Google::Apis::Core::JsonObjectSupport
2363
+ end
2364
+
2323
2365
  class GoogleCloudAiplatformV1ModelMonitoringAlertConfig
2324
2366
  class Representation < Google::Apis::Core::JsonRepresentation; end
2325
2367
 
@@ -5397,6 +5439,8 @@ module Google
5397
5439
  class CloudAiNlLlmProtoServicePart
5398
5440
  # @private
5399
5441
  class Representation < Google::Apis::Core::JsonRepresentation
5442
+ property :document_metadata, as: 'documentMetadata', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartDocumentMetadata, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartDocumentMetadata::Representation
5443
+
5400
5444
  property :file_data, as: 'fileData', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartFileData, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartFileData::Representation
5401
5445
 
5402
5446
  property :function_call, as: 'functionCall', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFunctionCall, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFunctionCall::Representation
@@ -5421,6 +5465,15 @@ module Google
5421
5465
  end
5422
5466
  end
5423
5467
 
5468
+ class CloudAiNlLlmProtoServicePartDocumentMetadata
5469
+ # @private
5470
+ class Representation < Google::Apis::Core::JsonRepresentation
5471
+ property :original_document_blob, as: 'originalDocumentBlob', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob::Representation
5472
+
5473
+ property :page_number, as: 'pageNumber'
5474
+ end
5475
+ end
5476
+
5424
5477
  class CloudAiNlLlmProtoServicePartFileData
5425
5478
  # @private
5426
5479
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5470,11 +5523,23 @@ module Google
5470
5523
  class Representation < Google::Apis::Core::JsonRepresentation
5471
5524
  property :confidence, as: 'confidence'
5472
5525
  property :flagged, as: 'flagged'
5526
+ collection :influential_terms, as: 'influentialTerms', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm::Representation
5527
+
5473
5528
  property :rai_category, as: 'raiCategory'
5474
5529
  property :score, as: 'score'
5475
5530
  end
5476
5531
  end
5477
5532
 
5533
+ class CloudAiNlLlmProtoServiceRaiSignalInfluentialTerm
5534
+ # @private
5535
+ class Representation < Google::Apis::Core::JsonRepresentation
5536
+ property :begin_offset, as: 'beginOffset'
5537
+ property :confidence, as: 'confidence'
5538
+ property :source, as: 'source'
5539
+ property :term, as: 'term'
5540
+ end
5541
+ end
5542
+
5478
5543
  class CloudAiNlLlmProtoServiceSafetyRating
5479
5544
  # @private
5480
5545
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5678,6 +5743,13 @@ module Google
5678
5743
  end
5679
5744
  end
5680
5745
 
5746
+ class GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest
5747
+ # @private
5748
+ class Representation < Google::Apis::Core::JsonRepresentation
5749
+ collection :names, as: 'names'
5750
+ end
5751
+ end
5752
+
5681
5753
  class GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata
5682
5754
  # @private
5683
5755
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5744,6 +5816,13 @@ module Google
5744
5816
  end
5745
5817
  end
5746
5818
 
5819
+ class GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest
5820
+ # @private
5821
+ class Representation < Google::Apis::Core::JsonRepresentation
5822
+ collection :names, as: 'names'
5823
+ end
5824
+ end
5825
+
5747
5826
  class GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest
5748
5827
  # @private
5749
5828
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7872,6 +7951,13 @@ module Google
7872
7951
  end
7873
7952
  end
7874
7953
 
7954
+ class GoogleCloudAiplatformV1GenieSource
7955
+ # @private
7956
+ class Representation < Google::Apis::Core::JsonRepresentation
7957
+ property :base_model_uri, as: 'baseModelUri'
7958
+ end
7959
+ end
7960
+
7875
7961
  class GoogleCloudAiplatformV1GroundingAttribution
7876
7962
  # @private
7877
7963
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8813,6 +8899,8 @@ module Google
8813
8899
  # @private
8814
8900
  class Representation < Google::Apis::Core::JsonRepresentation
8815
8901
  property :artifact_uri, as: 'artifactUri'
8902
+ property :base_model_source, as: 'baseModelSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelBaseModelSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelBaseModelSource::Representation
8903
+
8816
8904
  property :container_spec, as: 'containerSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelContainerSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelContainerSpec::Representation
8817
8905
 
8818
8906
  property :create_time, as: 'createTime'
@@ -8854,6 +8942,16 @@ module Google
8854
8942
  end
8855
8943
  end
8856
8944
 
8945
+ class GoogleCloudAiplatformV1ModelBaseModelSource
8946
+ # @private
8947
+ class Representation < Google::Apis::Core::JsonRepresentation
8948
+ property :genie_source, as: 'genieSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenieSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenieSource::Representation
8949
+
8950
+ property :model_garden_source, as: 'modelGardenSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelGardenSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelGardenSource::Representation
8951
+
8952
+ end
8953
+ end
8954
+
8857
8955
  class GoogleCloudAiplatformV1ModelContainerSpec
8858
8956
  # @private
8859
8957
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9066,6 +9164,13 @@ module Google
9066
9164
  end
9067
9165
  end
9068
9166
 
9167
+ class GoogleCloudAiplatformV1ModelGardenSource
9168
+ # @private
9169
+ class Representation < Google::Apis::Core::JsonRepresentation
9170
+ property :public_model_name, as: 'publicModelName'
9171
+ end
9172
+ end
9173
+
9069
9174
  class GoogleCloudAiplatformV1ModelMonitoringAlertConfig
9070
9175
  # @private
9071
9176
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3436,8 +3436,9 @@ module Google
3436
3436
  # Endpoint's resource name. * `display_name` supports = and, != * `labels`
3437
3437
  # supports general map functions that is: * `labels.key=value` - key:value
3438
3438
  # equality * `labels.key:* or labels:key - key existence * A key including a
3439
- # space must be quoted. `labels."a key"`. Some examples: * `endpoint=1` * `
3440
- # displayName="myDisplayName"` * `labels.myKey="myValue"`
3439
+ # space must be quoted. `labels."a key"`. * `base_model_name` only supports =
3440
+ # Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="
3441
+ # myValue"` * `baseModelName="text-bison"`
3441
3442
  # @param [String] order_by
3442
3443
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
3443
3444
  # desc" after a field name for descending. Supported fields: * `display_name` * `
@@ -11801,8 +11802,9 @@ module Google
11801
11802
  # `display_name` supports = and != * `labels` supports general map functions
11802
11803
  # that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:
11803
11804
  # key - key existence * A key including a space must be quoted. `labels."a key"`.
11804
- # Some examples: * `model=1234` * `displayName="myDisplayName"` * `labels.myKey=
11805
- # "myValue"`
11805
+ # * `base_model_name` only supports = Some examples: * `model=1234` * `
11806
+ # displayName="myDisplayName"` * `labels.myKey="myValue"` * `baseModelName="text-
11807
+ # bison"`
11806
11808
  # @param [String] order_by
11807
11809
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
11808
11810
  # desc" after a field name for descending. Supported fields: * `display_name` * `
@@ -13674,6 +13676,79 @@ module Google
13674
13676
  execute_or_queue_command(command, &block)
13675
13677
  end
13676
13678
 
13679
+ # Batch cancel PipelineJobs. Firstly the server will check if all the jobs are
13680
+ # in non-terminal states, and skip the jobs that are already terminated. If the
13681
+ # operation failed, none of the pipeline jobs are cancelled. The server will
13682
+ # poll the states of all the pipeline jobs periodically to check the
13683
+ # cancellation status. This operation will return an LRO.
13684
+ # @param [String] parent
13685
+ # Required. The name of the PipelineJobs' parent resource. Format: `projects/`
13686
+ # project`/locations/`location``
13687
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest] google_cloud_aiplatform_v1_batch_cancel_pipeline_jobs_request_object
13688
+ # @param [String] fields
13689
+ # Selector specifying which fields to include in a partial response.
13690
+ # @param [String] quota_user
13691
+ # Available to use for quota purposes for server-side applications. Can be any
13692
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
13693
+ # @param [Google::Apis::RequestOptions] options
13694
+ # Request-specific options
13695
+ #
13696
+ # @yield [result, err] Result & error if block supplied
13697
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
13698
+ # @yieldparam err [StandardError] error object if request failed
13699
+ #
13700
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
13701
+ #
13702
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13703
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13704
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
13705
+ 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)
13706
+ command = make_simple_command(:post, 'v1/{+parent}/pipelineJobs:batchCancel', options)
13707
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest::Representation
13708
+ command.request_object = google_cloud_aiplatform_v1_batch_cancel_pipeline_jobs_request_object
13709
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
13710
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
13711
+ command.params['parent'] = parent unless parent.nil?
13712
+ command.query['fields'] = fields unless fields.nil?
13713
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
13714
+ execute_or_queue_command(command, &block)
13715
+ end
13716
+
13717
+ # Batch deletes PipelineJobs The Operation is atomic. If it fails, none of the
13718
+ # PipelineJobs are deleted. If it succeeds, all of the PipelineJobs are deleted.
13719
+ # @param [String] parent
13720
+ # Required. The name of the PipelineJobs' parent resource. Format: `projects/`
13721
+ # project`/locations/`location``
13722
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest] google_cloud_aiplatform_v1_batch_delete_pipeline_jobs_request_object
13723
+ # @param [String] fields
13724
+ # Selector specifying which fields to include in a partial response.
13725
+ # @param [String] quota_user
13726
+ # Available to use for quota purposes for server-side applications. Can be any
13727
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
13728
+ # @param [Google::Apis::RequestOptions] options
13729
+ # Request-specific options
13730
+ #
13731
+ # @yield [result, err] Result & error if block supplied
13732
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
13733
+ # @yieldparam err [StandardError] error object if request failed
13734
+ #
13735
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
13736
+ #
13737
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13738
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13739
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
13740
+ 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)
13741
+ command = make_simple_command(:post, 'v1/{+parent}/pipelineJobs:batchDelete', options)
13742
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest::Representation
13743
+ command.request_object = google_cloud_aiplatform_v1_batch_delete_pipeline_jobs_request_object
13744
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
13745
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
13746
+ command.params['parent'] = parent unless parent.nil?
13747
+ command.query['fields'] = fields unless fields.nil?
13748
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
13749
+ execute_or_queue_command(command, &block)
13750
+ end
13751
+
13677
13752
  # Cancels a PipelineJob. Starts asynchronous cancellation on the PipelineJob.
13678
13753
  # The server makes a best effort to cancel the pipeline, but success is not
13679
13754
  # guaranteed. Clients can use PipelineService.GetPipelineJob or other methods to
@@ -18302,6 +18377,74 @@ module Google
18302
18377
  execute_or_queue_command(command, &block)
18303
18378
  end
18304
18379
 
18380
+ # Starts asynchronous cancellation on a long-running operation. The server makes
18381
+ # a best effort to cancel the operation, but success is not guaranteed. If the
18382
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
18383
+ # Clients can use Operations.GetOperation or other methods to check whether the
18384
+ # cancellation succeeded or whether the operation completed despite cancellation.
18385
+ # On successful cancellation, the operation is not deleted; instead, it becomes
18386
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
18387
+ # corresponding to `Code.CANCELLED`.
18388
+ # @param [String] name
18389
+ # The name of the operation resource to be cancelled.
18390
+ # @param [String] fields
18391
+ # Selector specifying which fields to include in a partial response.
18392
+ # @param [String] quota_user
18393
+ # Available to use for quota purposes for server-side applications. Can be any
18394
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18395
+ # @param [Google::Apis::RequestOptions] options
18396
+ # Request-specific options
18397
+ #
18398
+ # @yield [result, err] Result & error if block supplied
18399
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
18400
+ # @yieldparam err [StandardError] error object if request failed
18401
+ #
18402
+ # @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
18403
+ #
18404
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18405
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18406
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18407
+ def cancel_project_location_tuning_job_operation(name, fields: nil, quota_user: nil, options: nil, &block)
18408
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
18409
+ command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
18410
+ command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
18411
+ command.params['name'] = name unless name.nil?
18412
+ command.query['fields'] = fields unless fields.nil?
18413
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18414
+ execute_or_queue_command(command, &block)
18415
+ end
18416
+
18417
+ # Gets the latest state of a long-running operation. Clients can use this method
18418
+ # to poll the operation result at intervals as recommended by the API service.
18419
+ # @param [String] name
18420
+ # The name of the operation resource.
18421
+ # @param [String] fields
18422
+ # Selector specifying which fields to include in a partial response.
18423
+ # @param [String] quota_user
18424
+ # Available to use for quota purposes for server-side applications. Can be any
18425
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18426
+ # @param [Google::Apis::RequestOptions] options
18427
+ # Request-specific options
18428
+ #
18429
+ # @yield [result, err] Result & error if block supplied
18430
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
18431
+ # @yieldparam err [StandardError] error object if request failed
18432
+ #
18433
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
18434
+ #
18435
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18436
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18437
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18438
+ def get_project_location_tuning_job_operation(name, fields: nil, quota_user: nil, options: nil, &block)
18439
+ command = make_simple_command(:get, 'v1/{+name}', options)
18440
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
18441
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
18442
+ command.params['name'] = name unless name.nil?
18443
+ command.query['fields'] = fields unless fields.nil?
18444
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18445
+ execute_or_queue_command(command, &block)
18446
+ end
18447
+
18305
18448
  # Gets a Model Garden publisher model.
18306
18449
  # @param [String] name
18307
18450
  # Required. The name of the PublisherModel resource. Format: `publishers/`
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.15.0
4
+ version: 0.17.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-25 00:00:00.000000000 Z
11
+ date: 2024-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.17.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: []