google-apis-aiplatform_v1beta1 0.29.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: adf6cdff70974349f7ef6c60fa403aacc8210b949834974922a92b4da319ee98
4
- data.tar.gz: 984701b1acfc4cb134934dc3a36dca6b3f4f687a6dbcc0de1275437cff15797d
3
+ metadata.gz: 630ec781e18b9a86e5d62f93c7c22a28149dde99b324594aa6a5f7eb1b64c321
4
+ data.tar.gz: c3e32889ebc487c3b698d5844c0a6b4808a75fd807a32d3c765bcd773c2bd770
5
5
  SHA512:
6
- metadata.gz: d12a3742429b95802118b07f1529b5a3f91306e8f03f0c0a5df8e8a9b26face237def7146d5d3229b0f8f487397f315377839e8d3ee657030a7a0f21ed9636c5
7
- data.tar.gz: ec48d6eec978b81ae89e4daffc8f3bd32d1d4f3951d946c43613087608f7181ca1c4dc0631352bc6809658b6b429992fbaf56cae414a6c84320c91191e64590e
6
+ metadata.gz: c69f0c560392e4e37520979873fa4cf20650940dd46a8adfb6431ee5dea4d7af53b47751a739820592c2e73f5f2fa320a4595b1afbc31b48388d82aa5b8efd30
7
+ data.tar.gz: 3728b9b1c6b965815a7160d8c208dbc45e1387935d5035b07da12e240d7796747e99712ac47892902c4554c77c15c2dba2ca28a79fc6900f1f76c0011cd4e936
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1beta1
2
2
 
3
+ ### v0.30.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240531
6
+
3
7
  ### v0.29.0 (2024-06-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20240529
@@ -12212,6 +12212,15 @@ module Google
12212
12212
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleDriveSource]
12213
12213
  attr_accessor :google_drive_source
12214
12214
 
12215
+ # Optional. The max number of queries per minute that this job is allowed to
12216
+ # make to the embedding model specified on the corpus. This value is specific to
12217
+ # this job and not shared across other import jobs. Consult the Quotas page on
12218
+ # the project to set an appropriate value here. If unspecified, a default value
12219
+ # of 1,000 QPM would be used.
12220
+ # Corresponds to the JSON property `maxEmbeddingRequestsPerMin`
12221
+ # @return [Fixnum]
12222
+ attr_accessor :max_embedding_requests_per_min
12223
+
12215
12224
  # Specifies the size and overlap of chunks for RagFiles.
12216
12225
  # Corresponds to the JSON property `ragFileChunkingConfig`
12217
12226
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileChunkingConfig]
@@ -12225,6 +12234,7 @@ module Google
12225
12234
  def update!(**args)
12226
12235
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
12227
12236
  @google_drive_source = args[:google_drive_source] if args.key?(:google_drive_source)
12237
+ @max_embedding_requests_per_min = args[:max_embedding_requests_per_min] if args.key?(:max_embedding_requests_per_min)
12228
12238
  @rag_file_chunking_config = args[:rag_file_chunking_config] if args.key?(:rag_file_chunking_config)
12229
12239
  end
12230
12240
  end
@@ -16831,40 +16841,6 @@ module Google
16831
16841
  end
16832
16842
  end
16833
16843
 
16834
- # A collection of data points that describes the time-varying values of a gen ai
16835
- # metric.
16836
- class GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats
16837
- include Google::Apis::Core::Hashable
16838
-
16839
- # The data points of this time series. When listing time series, points are
16840
- # returned in reverse time order.
16841
- # Corresponds to the JSON property `dataPoints`
16842
- # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint>]
16843
- attr_accessor :data_points
16844
-
16845
- # One of the supported monitoring objectives: `gen-ai-general` `gen-ai-
16846
- # evaluation` `gen-ai-safety`
16847
- # Corresponds to the JSON property `objectiveType`
16848
- # @return [String]
16849
- attr_accessor :objective_type
16850
-
16851
- # The stats name.
16852
- # Corresponds to the JSON property `statsName`
16853
- # @return [String]
16854
- attr_accessor :stats_name
16855
-
16856
- def initialize(**args)
16857
- update!(**args)
16858
- end
16859
-
16860
- # Update properties of this object
16861
- def update!(**args)
16862
- @data_points = args[:data_points] if args.key?(:data_points)
16863
- @objective_type = args[:objective_type] if args.key?(:objective_type)
16864
- @stats_name = args[:stats_name] if args.key?(:stats_name)
16865
- end
16866
- end
16867
-
16868
16844
  # Model monitoring data input spec.
16869
16845
  class GoogleCloudAiplatformV1beta1ModelMonitoringInput
16870
16846
  include Google::Apis::Core::Hashable
@@ -17838,12 +17814,6 @@ module Google
17838
17814
  class GoogleCloudAiplatformV1beta1ModelMonitoringStats
17839
17815
  include Google::Apis::Core::Hashable
17840
17816
 
17841
- # A collection of data points that describes the time-varying values of a gen ai
17842
- # metric.
17843
- # Corresponds to the JSON property `genAiStats`
17844
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats]
17845
- attr_accessor :gen_ai_stats
17846
-
17847
17817
  # A collection of data points that describes the time-varying values of a
17848
17818
  # tabular metric.
17849
17819
  # Corresponds to the JSON property `tabularStats`
@@ -17856,7 +17826,6 @@ module Google
17856
17826
 
17857
17827
  # Update properties of this object
17858
17828
  def update!(**args)
17859
- @gen_ai_stats = args[:gen_ai_stats] if args.key?(:gen_ai_stats)
17860
17829
  @tabular_stats = args[:tabular_stats] if args.key?(:tabular_stats)
17861
17830
  end
17862
17831
  end
@@ -21195,12 +21164,6 @@ module Google
21195
21164
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke]
21196
21165
  attr_accessor :deploy_gke
21197
21166
 
21198
- # The regional resource name or the URI. Key is region, e.g., us-central1,
21199
- # europe-west2, global, etc..
21200
- # Corresponds to the JSON property `fineTune`
21201
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences]
21202
- attr_accessor :fine_tune
21203
-
21204
21167
  # The regional resource name or the URI. Key is region, e.g., us-central1,
21205
21168
  # europe-west2, global, etc..
21206
21169
  # Corresponds to the JSON property `openEvaluationPipeline`
@@ -21267,7 +21230,6 @@ module Google
21267
21230
  @create_application = args[:create_application] if args.key?(:create_application)
21268
21231
  @deploy = args[:deploy] if args.key?(:deploy)
21269
21232
  @deploy_gke = args[:deploy_gke] if args.key?(:deploy_gke)
21270
- @fine_tune = args[:fine_tune] if args.key?(:fine_tune)
21271
21233
  @open_evaluation_pipeline = args[:open_evaluation_pipeline] if args.key?(:open_evaluation_pipeline)
21272
21234
  @open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
21273
21235
  @open_fine_tuning_pipelines = args[:open_fine_tuning_pipelines] if args.key?(:open_fine_tuning_pipelines)
@@ -22544,6 +22506,11 @@ module Google
22544
22506
  # @return [String]
22545
22507
  attr_accessor :name
22546
22508
 
22509
+ # Config for the embedding model to use for RAG.
22510
+ # Corresponds to the JSON property `ragEmbeddingModelConfig`
22511
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig]
22512
+ attr_accessor :rag_embedding_model_config
22513
+
22547
22514
  # Output only. Timestamp when this RagCorpus was last updated.
22548
22515
  # Corresponds to the JSON property `updateTime`
22549
22516
  # @return [String]
@@ -22559,10 +22526,66 @@ module Google
22559
22526
  @description = args[:description] if args.key?(:description)
22560
22527
  @display_name = args[:display_name] if args.key?(:display_name)
22561
22528
  @name = args[:name] if args.key?(:name)
22529
+ @rag_embedding_model_config = args[:rag_embedding_model_config] if args.key?(:rag_embedding_model_config)
22562
22530
  @update_time = args[:update_time] if args.key?(:update_time)
22563
22531
  end
22564
22532
  end
22565
22533
 
22534
+ # Config for the embedding model to use for RAG.
22535
+ class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig
22536
+ include Google::Apis::Core::Hashable
22537
+
22538
+ # Config representing a model hosted on Vertex Prediction Endpoint.
22539
+ # Corresponds to the JSON property `vertexPredictionEndpoint`
22540
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint]
22541
+ attr_accessor :vertex_prediction_endpoint
22542
+
22543
+ def initialize(**args)
22544
+ update!(**args)
22545
+ end
22546
+
22547
+ # Update properties of this object
22548
+ def update!(**args)
22549
+ @vertex_prediction_endpoint = args[:vertex_prediction_endpoint] if args.key?(:vertex_prediction_endpoint)
22550
+ end
22551
+ end
22552
+
22553
+ # Config representing a model hosted on Vertex Prediction Endpoint.
22554
+ class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint
22555
+ include Google::Apis::Core::Hashable
22556
+
22557
+ # Required. The endpoint resource name. Format: `projects/`project`/locations/`
22558
+ # location`/publishers/`publisher`/models/`model`` or `projects/`project`/
22559
+ # locations/`location`/endpoints/`endpoint``
22560
+ # Corresponds to the JSON property `endpoint`
22561
+ # @return [String]
22562
+ attr_accessor :endpoint
22563
+
22564
+ # Output only. The resource name of the model that is deployed on the endpoint.
22565
+ # Present only when the endpoint is not a publisher model. Pattern: `projects/`
22566
+ # project`/locations/`location`/models/`model``
22567
+ # Corresponds to the JSON property `model`
22568
+ # @return [String]
22569
+ attr_accessor :model
22570
+
22571
+ # Output only. Version ID of the model that is deployed on the endpoint. Present
22572
+ # only when the endpoint is not a publisher model.
22573
+ # Corresponds to the JSON property `modelVersionId`
22574
+ # @return [String]
22575
+ attr_accessor :model_version_id
22576
+
22577
+ def initialize(**args)
22578
+ update!(**args)
22579
+ end
22580
+
22581
+ # Update properties of this object
22582
+ def update!(**args)
22583
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
22584
+ @model = args[:model] if args.key?(:model)
22585
+ @model_version_id = args[:model_version_id] if args.key?(:model_version_id)
22586
+ end
22587
+ end
22588
+
22566
22589
  # A RagFile contains user data for chunking, embedding and indexing.
22567
22590
  class GoogleCloudAiplatformV1beta1RagFile
22568
22591
  include Google::Apis::Core::Hashable
@@ -31216,11 +31239,6 @@ module Google
31216
31239
  class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilter
31217
31240
  include Google::Apis::Core::Hashable
31218
31241
 
31219
- # GenAi statistics filter.
31220
- # Corresponds to the JSON property `genAiStatsFilter`
31221
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterGenAiStatsFilter]
31222
- attr_accessor :gen_ai_stats_filter
31223
-
31224
31242
  # Tabular statistics filter.
31225
31243
  # Corresponds to the JSON property `tabularStatsFilter`
31226
31244
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter]
@@ -31232,55 +31250,10 @@ module Google
31232
31250
 
31233
31251
  # Update properties of this object
31234
31252
  def update!(**args)
31235
- @gen_ai_stats_filter = args[:gen_ai_stats_filter] if args.key?(:gen_ai_stats_filter)
31236
31253
  @tabular_stats_filter = args[:tabular_stats_filter] if args.key?(:tabular_stats_filter)
31237
31254
  end
31238
31255
  end
31239
31256
 
31240
- # GenAi statistics filter.
31241
- class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterGenAiStatsFilter
31242
- include Google::Apis::Core::Hashable
31243
-
31244
- # From a particular cluster of monitoring results.
31245
- # Corresponds to the JSON property `clusterId`
31246
- # @return [String]
31247
- attr_accessor :cluster_id
31248
-
31249
- # From a particular monitoring job.
31250
- # Corresponds to the JSON property `modelMonitoringJob`
31251
- # @return [String]
31252
- attr_accessor :model_monitoring_job
31253
-
31254
- # From a particular monitoring schedule.
31255
- # Corresponds to the JSON property `modelMonitoringSchedule`
31256
- # @return [String]
31257
- attr_accessor :model_monitoring_schedule
31258
-
31259
- # One of the supported monitoring objectives: `gen-ai-general` `gen-ai-
31260
- # evaluation` `gen-ai-safety`
31261
- # Corresponds to the JSON property `objectiveType`
31262
- # @return [String]
31263
- attr_accessor :objective_type
31264
-
31265
- # If not specified, will return all the stats_names.
31266
- # Corresponds to the JSON property `statsName`
31267
- # @return [String]
31268
- attr_accessor :stats_name
31269
-
31270
- def initialize(**args)
31271
- update!(**args)
31272
- end
31273
-
31274
- # Update properties of this object
31275
- def update!(**args)
31276
- @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
31277
- @model_monitoring_job = args[:model_monitoring_job] if args.key?(:model_monitoring_job)
31278
- @model_monitoring_schedule = args[:model_monitoring_schedule] if args.key?(:model_monitoring_schedule)
31279
- @objective_type = args[:objective_type] if args.key?(:objective_type)
31280
- @stats_name = args[:stats_name] if args.key?(:stats_name)
31281
- end
31282
- end
31283
-
31284
31257
  # Tabular statistics filter.
31285
31258
  class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter
31286
31259
  include Google::Apis::Core::Hashable
@@ -31706,6 +31679,40 @@ module Google
31706
31679
  end
31707
31680
  end
31708
31681
 
31682
+ # Request message for PredictionService.StreamRawPredict.
31683
+ class GoogleCloudAiplatformV1beta1StreamRawPredictRequest
31684
+ include Google::Apis::Core::Hashable
31685
+
31686
+ # Message that represents an arbitrary HTTP body. It should only be used for
31687
+ # payload formats that can't be represented as JSON, such as raw binary or an
31688
+ # HTML page. This message can be used both in streaming and non-streaming API
31689
+ # methods in the request as well as the response. It can be used as a top-level
31690
+ # request field, which is convenient if one wants to extract parameters from
31691
+ # either the URL or HTTP template into the request fields and also want access
31692
+ # to the raw HTTP body. Example: message GetResourceRequest ` // A unique
31693
+ # request id. string request_id = 1; // The raw HTTP body is bound to this field.
31694
+ # google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
31695
+ # GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
31696
+ # UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
31697
+ # with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
31698
+ # api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
31699
+ # google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
31700
+ # only changes how the request and response bodies are handled, all other
31701
+ # features will continue to work unchanged.
31702
+ # Corresponds to the JSON property `httpBody`
31703
+ # @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
31704
+ attr_accessor :http_body
31705
+
31706
+ def initialize(**args)
31707
+ update!(**args)
31708
+ end
31709
+
31710
+ # Update properties of this object
31711
+ def update!(**args)
31712
+ @http_body = args[:http_body] if args.key?(:http_body)
31713
+ end
31714
+ end
31715
+
31709
31716
  # Request message for FeatureOnlineStoreService.StreamingFetchFeatureValues. For
31710
31717
  # the entities requested, all features under the requested feature view will be
31711
31718
  # returned.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1beta1
18
18
  # Version of the google-apis-aiplatform_v1beta1 gem
19
- GEM_VERSION = "0.29.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240529"
25
+ REVISION = "20240531"
26
26
  end
27
27
  end
28
28
  end
@@ -2842,12 +2842,6 @@ module Google
2842
2842
  include Google::Apis::Core::JsonObjectSupport
2843
2843
  end
2844
2844
 
2845
- class GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats
2846
- class Representation < Google::Apis::Core::JsonRepresentation; end
2847
-
2848
- include Google::Apis::Core::JsonObjectSupport
2849
- end
2850
-
2851
2845
  class GoogleCloudAiplatformV1beta1ModelMonitoringInput
2852
2846
  class Representation < Google::Apis::Core::JsonRepresentation; end
2853
2847
 
@@ -3766,6 +3760,18 @@ module Google
3766
3760
  include Google::Apis::Core::JsonObjectSupport
3767
3761
  end
3768
3762
 
3763
+ class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig
3764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3765
+
3766
+ include Google::Apis::Core::JsonObjectSupport
3767
+ end
3768
+
3769
+ class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint
3770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3771
+
3772
+ include Google::Apis::Core::JsonObjectSupport
3773
+ end
3774
+
3769
3775
  class GoogleCloudAiplatformV1beta1RagFile
3770
3776
  class Representation < Google::Apis::Core::JsonRepresentation; end
3771
3777
 
@@ -5236,12 +5242,6 @@ module Google
5236
5242
  include Google::Apis::Core::JsonObjectSupport
5237
5243
  end
5238
5244
 
5239
- class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterGenAiStatsFilter
5240
- class Representation < Google::Apis::Core::JsonRepresentation; end
5241
-
5242
- include Google::Apis::Core::JsonObjectSupport
5243
- end
5244
-
5245
5245
  class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter
5246
5246
  class Representation < Google::Apis::Core::JsonRepresentation; end
5247
5247
 
@@ -5320,6 +5320,12 @@ module Google
5320
5320
  include Google::Apis::Core::JsonObjectSupport
5321
5321
  end
5322
5322
 
5323
+ class GoogleCloudAiplatformV1beta1StreamRawPredictRequest
5324
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5325
+
5326
+ include Google::Apis::Core::JsonObjectSupport
5327
+ end
5328
+
5323
5329
  class GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesRequest
5324
5330
  class Representation < Google::Apis::Core::JsonRepresentation; end
5325
5331
 
@@ -9787,6 +9793,7 @@ module Google
9787
9793
 
9788
9794
  property :google_drive_source, as: 'googleDriveSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleDriveSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleDriveSource::Representation
9789
9795
 
9796
+ property :max_embedding_requests_per_min, as: 'maxEmbeddingRequestsPerMin'
9790
9797
  property :rag_file_chunking_config, as: 'ragFileChunkingConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileChunkingConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileChunkingConfig::Representation
9791
9798
 
9792
9799
  end
@@ -11089,16 +11096,6 @@ module Google
11089
11096
  end
11090
11097
  end
11091
11098
 
11092
- class GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats
11093
- # @private
11094
- class Representation < Google::Apis::Core::JsonRepresentation
11095
- collection :data_points, as: 'dataPoints', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint::Representation
11096
-
11097
- property :objective_type, as: 'objectiveType'
11098
- property :stats_name, as: 'statsName'
11099
- end
11100
- end
11101
-
11102
11099
  class GoogleCloudAiplatformV1beta1ModelMonitoringInput
11103
11100
  # @private
11104
11101
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -11401,8 +11398,6 @@ module Google
11401
11398
  class GoogleCloudAiplatformV1beta1ModelMonitoringStats
11402
11399
  # @private
11403
11400
  class Representation < Google::Apis::Core::JsonRepresentation
11404
- property :gen_ai_stats, as: 'genAiStats', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats::Representation
11405
-
11406
11401
  property :tabular_stats, as: 'tabularStats', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringTabularStats, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringTabularStats::Representation
11407
11402
 
11408
11403
  end
@@ -12310,8 +12305,6 @@ module Google
12310
12305
 
12311
12306
  property :deploy_gke, as: 'deployGke', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke::Representation
12312
12307
 
12313
- property :fine_tune, as: 'fineTune', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences::Representation
12314
-
12315
12308
  property :open_evaluation_pipeline, as: 'openEvaluationPipeline', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences::Representation
12316
12309
 
12317
12310
  property :open_fine_tuning_pipeline, as: 'openFineTuningPipeline', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences::Representation
@@ -12726,10 +12719,29 @@ module Google
12726
12719
  property :description, as: 'description'
12727
12720
  property :display_name, as: 'displayName'
12728
12721
  property :name, as: 'name'
12722
+ property :rag_embedding_model_config, as: 'ragEmbeddingModelConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig::Representation
12723
+
12729
12724
  property :update_time, as: 'updateTime'
12730
12725
  end
12731
12726
  end
12732
12727
 
12728
+ class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig
12729
+ # @private
12730
+ class Representation < Google::Apis::Core::JsonRepresentation
12731
+ property :vertex_prediction_endpoint, as: 'vertexPredictionEndpoint', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint::Representation
12732
+
12733
+ end
12734
+ end
12735
+
12736
+ class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint
12737
+ # @private
12738
+ class Representation < Google::Apis::Core::JsonRepresentation
12739
+ property :endpoint, as: 'endpoint'
12740
+ property :model, as: 'model'
12741
+ property :model_version_id, as: 'modelVersionId'
12742
+ end
12743
+ end
12744
+
12733
12745
  class GoogleCloudAiplatformV1beta1RagFile
12734
12746
  # @private
12735
12747
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15107,24 +15119,11 @@ module Google
15107
15119
  class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilter
15108
15120
  # @private
15109
15121
  class Representation < Google::Apis::Core::JsonRepresentation
15110
- property :gen_ai_stats_filter, as: 'genAiStatsFilter', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterGenAiStatsFilter, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterGenAiStatsFilter::Representation
15111
-
15112
15122
  property :tabular_stats_filter, as: 'tabularStatsFilter', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter::Representation
15113
15123
 
15114
15124
  end
15115
15125
  end
15116
15126
 
15117
- class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterGenAiStatsFilter
15118
- # @private
15119
- class Representation < Google::Apis::Core::JsonRepresentation
15120
- property :cluster_id, as: 'clusterId'
15121
- property :model_monitoring_job, as: 'modelMonitoringJob'
15122
- property :model_monitoring_schedule, as: 'modelMonitoringSchedule'
15123
- property :objective_type, as: 'objectiveType'
15124
- property :stats_name, as: 'statsName'
15125
- end
15126
- end
15127
-
15128
15127
  class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter
15129
15128
  # @private
15130
15129
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15242,6 +15241,14 @@ module Google
15242
15241
  end
15243
15242
  end
15244
15243
 
15244
+ class GoogleCloudAiplatformV1beta1StreamRawPredictRequest
15245
+ # @private
15246
+ class Representation < Google::Apis::Core::JsonRepresentation
15247
+ property :http_body, as: 'httpBody', class: Google::Apis::AiplatformV1beta1::GoogleApiHttpBody, decorator: Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
15248
+
15249
+ end
15250
+ end
15251
+
15245
15252
  class GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesRequest
15246
15253
  # @private
15247
15254
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -906,18 +906,18 @@ module Google
906
906
  # Request-specific options
907
907
  #
908
908
  # @yield [result, err] Result & error if block supplied
909
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
909
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
910
910
  # @yieldparam err [StandardError] error object if request failed
911
911
  #
912
- # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
912
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
913
913
  #
914
914
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
915
915
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
916
916
  # @raise [Google::Apis::AuthorizationError] Authorization is required
917
917
  def delete_project_location_cached_content(name, fields: nil, quota_user: nil, options: nil, &block)
918
918
  command = make_simple_command(:delete, 'v1beta1/{+name}', options)
919
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
920
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
919
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
920
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
921
921
  command.params['name'] = name unless name.nil?
922
922
  command.query['fields'] = fields unless fields.nil?
923
923
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -4711,6 +4711,40 @@ module Google
4711
4711
  execute_or_queue_command(command, &block)
4712
4712
  end
4713
4713
 
4714
+ # Perform a streaming online prediction with an arbitrary HTTP payload.
4715
+ # @param [String] endpoint
4716
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
4717
+ # projects/`project`/locations/`location`/endpoints/`endpoint``
4718
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamRawPredictRequest] google_cloud_aiplatform_v1beta1_stream_raw_predict_request_object
4719
+ # @param [String] fields
4720
+ # Selector specifying which fields to include in a partial response.
4721
+ # @param [String] quota_user
4722
+ # Available to use for quota purposes for server-side applications. Can be any
4723
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4724
+ # @param [Google::Apis::RequestOptions] options
4725
+ # Request-specific options
4726
+ #
4727
+ # @yield [result, err] Result & error if block supplied
4728
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
4729
+ # @yieldparam err [StandardError] error object if request failed
4730
+ #
4731
+ # @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
4732
+ #
4733
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4734
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4735
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4736
+ def stream_project_location_endpoint_raw_predict(endpoint, google_cloud_aiplatform_v1beta1_stream_raw_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4737
+ command = make_simple_command(:post, 'v1beta1/{+endpoint}:streamRawPredict', options)
4738
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamRawPredictRequest::Representation
4739
+ command.request_object = google_cloud_aiplatform_v1beta1_stream_raw_predict_request_object
4740
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
4741
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
4742
+ command.params['endpoint'] = endpoint unless endpoint.nil?
4743
+ command.query['fields'] = fields unless fields.nil?
4744
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4745
+ execute_or_queue_command(command, &block)
4746
+ end
4747
+
4714
4748
  # Returns permissions that a caller has on the specified resource. If the
4715
4749
  # resource does not exist, this will return an empty set of permissions, not a `
4716
4750
  # NOT_FOUND` error. Note: This operation is designed to be used for building
@@ -18021,6 +18055,40 @@ module Google
18021
18055
  execute_or_queue_command(command, &block)
18022
18056
  end
18023
18057
 
18058
+ # Perform a streaming online prediction with an arbitrary HTTP payload.
18059
+ # @param [String] endpoint
18060
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
18061
+ # projects/`project`/locations/`location`/endpoints/`endpoint``
18062
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamRawPredictRequest] google_cloud_aiplatform_v1beta1_stream_raw_predict_request_object
18063
+ # @param [String] fields
18064
+ # Selector specifying which fields to include in a partial response.
18065
+ # @param [String] quota_user
18066
+ # Available to use for quota purposes for server-side applications. Can be any
18067
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18068
+ # @param [Google::Apis::RequestOptions] options
18069
+ # Request-specific options
18070
+ #
18071
+ # @yield [result, err] Result & error if block supplied
18072
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
18073
+ # @yieldparam err [StandardError] error object if request failed
18074
+ #
18075
+ # @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
18076
+ #
18077
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18078
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18079
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18080
+ def stream_project_location_publisher_model_raw_predict(endpoint, google_cloud_aiplatform_v1beta1_stream_raw_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
18081
+ command = make_simple_command(:post, 'v1beta1/{+endpoint}:streamRawPredict', options)
18082
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamRawPredictRequest::Representation
18083
+ command.request_object = google_cloud_aiplatform_v1beta1_stream_raw_predict_request_object
18084
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
18085
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
18086
+ command.params['endpoint'] = endpoint unless endpoint.nil?
18087
+ command.query['fields'] = fields unless fields.nil?
18088
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18089
+ execute_or_queue_command(command, &block)
18090
+ end
18091
+
18024
18092
  # Creates a RagCorpus.
18025
18093
  # @param [String] parent
18026
18094
  # Required. The resource name of the Location to create the RagCorpus in. Format:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.30.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-06-02 00:00:00.000000000 Z
11
+ date: 2024-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.30.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []