google-apis-aiplatform_v1 0.46.0 → 0.48.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: 4520d2a14c40129ac93db62ff4374a8d1afbd4ba5069db29bc311b04f4545d5f
4
- data.tar.gz: d5f43f8db6eb5d325c99362816212d34082a720289f2dcd2fc0d65cd15d1a609
3
+ metadata.gz: e021126c4c9f259daf6ec1a8b3fef670575df0eece7f2f593091b841b3705106
4
+ data.tar.gz: 944b5dc55bd8b0a6e4cffc9e70ea2c193b28ad8f3d688abe35c94245b3528342
5
5
  SHA512:
6
- metadata.gz: 2dd244d8bc3e6cc2d26306f7be4679752377773b88cf77a9052e503a8d514130bc668d48b1d79fa1c137f7d67c61a82ed1d6ef2e200b5064425230f5a8c360c3
7
- data.tar.gz: a49ff0ee370762ed304d8f5f8cae72913f45ef728c79367cf5a24f3962b713d57d7c6c8640fa05e36cb5519a42b9c0da5d97f083b6cdbcfb1e0a73a38b59b402
6
+ metadata.gz: e172bdb0fbce8d6ca8d3ffce749e9f59e953424fb55a2256cbdb6d3cb2cf8fa8880973e4ab475b3ad80990ca3612b64776d9206b65ce81f2381fe5b829725e32
7
+ data.tar.gz: ba2075f4fb78d0611faeffb1a05156b11576b319d6b0ecaccb7399e3ef8300d50a2d0b80d6ec699438b1c763cee28d980303b98067f9d72061c3ffeff57449db
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.48.0 (2025-03-30)
4
+
5
+ * Regenerated from discovery document revision 20250319
6
+
7
+ ### v0.47.0 (2025-03-23)
8
+
9
+ * Regenerated from discovery document revision 20250307
10
+
3
11
  ### v0.46.0 (2025-03-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20250304
@@ -9324,6 +9324,22 @@ module Google
9324
9324
  # @return [String]
9325
9325
  attr_accessor :name
9326
9326
 
9327
+ # Output only. A Service Account unique to this FeatureGroup. The role bigquery.
9328
+ # dataViewer should be granted to this service account to allow Vertex AI
9329
+ # Feature Store to access source data while running jobs under this FeatureGroup.
9330
+ # Corresponds to the JSON property `serviceAccountEmail`
9331
+ # @return [String]
9332
+ attr_accessor :service_account_email
9333
+
9334
+ # Optional. Service agent type used during jobs under a FeatureGroup. By default,
9335
+ # the Vertex AI Service Agent is used. When using an IAM Policy to isolate this
9336
+ # FeatureGroup within a project, a separate service account should be
9337
+ # provisioned by setting this field to `SERVICE_AGENT_TYPE_FEATURE_GROUP`. This
9338
+ # will generate a separate service account to access the BigQuery source table.
9339
+ # Corresponds to the JSON property `serviceAgentType`
9340
+ # @return [String]
9341
+ attr_accessor :service_agent_type
9342
+
9327
9343
  # Output only. Timestamp when this FeatureGroup was last updated.
9328
9344
  # Corresponds to the JSON property `updateTime`
9329
9345
  # @return [String]
@@ -9341,6 +9357,8 @@ module Google
9341
9357
  @etag = args[:etag] if args.key?(:etag)
9342
9358
  @labels = args[:labels] if args.key?(:labels)
9343
9359
  @name = args[:name] if args.key?(:name)
9360
+ @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
9361
+ @service_agent_type = args[:service_agent_type] if args.key?(:service_agent_type)
9344
9362
  @update_time = args[:update_time] if args.key?(:update_time)
9345
9363
  end
9346
9364
  end
@@ -12454,6 +12472,11 @@ module Google
12454
12472
  class GoogleCloudAiplatformV1GroundingChunkWeb
12455
12473
  include Google::Apis::Core::Hashable
12456
12474
 
12475
+ # Domain of the (original) URI.
12476
+ # Corresponds to the JSON property `domain`
12477
+ # @return [String]
12478
+ attr_accessor :domain
12479
+
12457
12480
  # Title of the chunk.
12458
12481
  # Corresponds to the JSON property `title`
12459
12482
  # @return [String]
@@ -12470,6 +12493,7 @@ module Google
12470
12493
 
12471
12494
  # Update properties of this object
12472
12495
  def update!(**args)
12496
+ @domain = args[:domain] if args.key?(:domain)
12473
12497
  @title = args[:title] if args.key?(:title)
12474
12498
  @uri = args[:uri] if args.key?(:uri)
12475
12499
  end
@@ -13068,6 +13092,16 @@ module Google
13068
13092
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleDriveSource]
13069
13093
  attr_accessor :google_drive_source
13070
13094
 
13095
+ # The BigQuery location for the output content.
13096
+ # Corresponds to the JSON property `importResultBigquerySink`
13097
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQueryDestination]
13098
+ attr_accessor :import_result_bigquery_sink
13099
+
13100
+ # The Google Cloud Storage location where the output is to be written to.
13101
+ # Corresponds to the JSON property `importResultGcsSink`
13102
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination]
13103
+ attr_accessor :import_result_gcs_sink
13104
+
13071
13105
  # The Jira source for the ImportRagFilesRequest.
13072
13106
  # Corresponds to the JSON property `jiraSource`
13073
13107
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1JiraSource]
@@ -13120,6 +13154,8 @@ module Google
13120
13154
  def update!(**args)
13121
13155
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
13122
13156
  @google_drive_source = args[:google_drive_source] if args.key?(:google_drive_source)
13157
+ @import_result_bigquery_sink = args[:import_result_bigquery_sink] if args.key?(:import_result_bigquery_sink)
13158
+ @import_result_gcs_sink = args[:import_result_gcs_sink] if args.key?(:import_result_gcs_sink)
13123
13159
  @jira_source = args[:jira_source] if args.key?(:jira_source)
13124
13160
  @max_embedding_requests_per_min = args[:max_embedding_requests_per_min] if args.key?(:max_embedding_requests_per_min)
13125
13161
  @partial_failure_bigquery_sink = args[:partial_failure_bigquery_sink] if args.key?(:partial_failure_bigquery_sink)
@@ -21275,8 +21311,7 @@ module Google
21275
21311
  # @return [String]
21276
21312
  attr_accessor :post_startup_script_behavior
21277
21313
 
21278
- # Optional. Post startup script url to download. Example: https://bucket/script.
21279
- # sh
21314
+ # Optional. Post startup script url to download. Example: `gs://bucket/script.sh`
21280
21315
  # Corresponds to the JSON property `postStartupScriptUrl`
21281
21316
  # @return [String]
21282
21317
  attr_accessor :post_startup_script_url
@@ -23358,6 +23393,11 @@ module Google
23358
23393
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig]
23359
23394
  attr_accessor :vector_db_config
23360
23395
 
23396
+ # Config for the Vertex AI Search.
23397
+ # Corresponds to the JSON property `vertexAiSearchConfig`
23398
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearchConfig]
23399
+ attr_accessor :vertex_ai_search_config
23400
+
23361
23401
  def initialize(**args)
23362
23402
  update!(**args)
23363
23403
  end
@@ -23371,6 +23411,7 @@ module Google
23371
23411
  @name = args[:name] if args.key?(:name)
23372
23412
  @update_time = args[:update_time] if args.key?(:update_time)
23373
23413
  @vector_db_config = args[:vector_db_config] if args.key?(:vector_db_config)
23414
+ @vertex_ai_search_config = args[:vertex_ai_search_config] if args.key?(:vertex_ai_search_config)
23374
23415
  end
23375
23416
  end
23376
23417
 
@@ -23664,6 +23705,11 @@ module Google
23664
23705
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigFilter]
23665
23706
  attr_accessor :filter
23666
23707
 
23708
+ # Config for ranking and reranking.
23709
+ # Corresponds to the JSON property `ranking`
23710
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRanking]
23711
+ attr_accessor :ranking
23712
+
23667
23713
  # Optional. The number of contexts to retrieve.
23668
23714
  # Corresponds to the JSON property `topK`
23669
23715
  # @return [Fixnum]
@@ -23676,6 +23722,7 @@ module Google
23676
23722
  # Update properties of this object
23677
23723
  def update!(**args)
23678
23724
  @filter = args[:filter] if args.key?(:filter)
23725
+ @ranking = args[:ranking] if args.key?(:ranking)
23679
23726
  @top_k = args[:top_k] if args.key?(:top_k)
23680
23727
  end
23681
23728
  end
@@ -23713,6 +23760,70 @@ module Google
23713
23760
  end
23714
23761
  end
23715
23762
 
23763
+ # Config for ranking and reranking.
23764
+ class GoogleCloudAiplatformV1RagRetrievalConfigRanking
23765
+ include Google::Apis::Core::Hashable
23766
+
23767
+ # Config for LlmRanker.
23768
+ # Corresponds to the JSON property `llmRanker`
23769
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker]
23770
+ attr_accessor :llm_ranker
23771
+
23772
+ # Config for Rank Service.
23773
+ # Corresponds to the JSON property `rankService`
23774
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService]
23775
+ attr_accessor :rank_service
23776
+
23777
+ def initialize(**args)
23778
+ update!(**args)
23779
+ end
23780
+
23781
+ # Update properties of this object
23782
+ def update!(**args)
23783
+ @llm_ranker = args[:llm_ranker] if args.key?(:llm_ranker)
23784
+ @rank_service = args[:rank_service] if args.key?(:rank_service)
23785
+ end
23786
+ end
23787
+
23788
+ # Config for LlmRanker.
23789
+ class GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker
23790
+ include Google::Apis::Core::Hashable
23791
+
23792
+ # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
23793
+ # Corresponds to the JSON property `modelName`
23794
+ # @return [String]
23795
+ attr_accessor :model_name
23796
+
23797
+ def initialize(**args)
23798
+ update!(**args)
23799
+ end
23800
+
23801
+ # Update properties of this object
23802
+ def update!(**args)
23803
+ @model_name = args[:model_name] if args.key?(:model_name)
23804
+ end
23805
+ end
23806
+
23807
+ # Config for Rank Service.
23808
+ class GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService
23809
+ include Google::Apis::Core::Hashable
23810
+
23811
+ # Optional. The model name of the rank service. Format: `semantic-ranker-512@
23812
+ # latest`
23813
+ # Corresponds to the JSON property `modelName`
23814
+ # @return [String]
23815
+ attr_accessor :model_name
23816
+
23817
+ def initialize(**args)
23818
+ update!(**args)
23819
+ end
23820
+
23821
+ # Update properties of this object
23822
+ def update!(**args)
23823
+ @model_name = args[:model_name] if args.key?(:model_name)
23824
+ end
23825
+ end
23826
+
23716
23827
  # Config for the Vector DB to use for RAG.
23717
23828
  class GoogleCloudAiplatformV1RagVectorDbConfig
23718
23829
  include Google::Apis::Core::Hashable
@@ -24325,6 +24436,12 @@ module Google
24325
24436
  class GoogleCloudAiplatformV1ReasoningEngineSpec
24326
24437
  include Google::Apis::Core::Hashable
24327
24438
 
24439
+ # Optional. The OSS agent framework used to develop the agent. Currently
24440
+ # supported values: "langchain", "langgraph", "ag2", "custom".
24441
+ # Corresponds to the JSON property `agentFramework`
24442
+ # @return [String]
24443
+ attr_accessor :agent_framework
24444
+
24328
24445
  # Optional. Declarations for object class methods in OpenAPI specification
24329
24446
  # format.
24330
24447
  # Corresponds to the JSON property `classMethods`
@@ -24347,6 +24464,7 @@ module Google
24347
24464
 
24348
24465
  # Update properties of this object
24349
24466
  def update!(**args)
24467
+ @agent_framework = args[:agent_framework] if args.key?(:agent_framework)
24350
24468
  @class_methods = args[:class_methods] if args.key?(:class_methods)
24351
24469
  @deployment_spec = args[:deployment_spec] if args.key?(:deployment_spec)
24352
24470
  @package_spec = args[:package_spec] if args.key?(:package_spec)
@@ -32853,8 +32971,7 @@ module Google
32853
32971
  include Google::Apis::Core::Hashable
32854
32972
 
32855
32973
  # Required. The name of the secret in Cloud Secret Manager. Format: `secret_name`
32856
- # if the secret is in the same project. projects/`project`/secrets/`secret_name`
32857
- # if the secret is in a different project.
32974
+ # .
32858
32975
  # Corresponds to the JSON property `secret`
32859
32976
  # @return [String]
32860
32977
  attr_accessor :secret
@@ -38384,6 +38501,13 @@ module Google
38384
38501
  # @return [String]
38385
38502
  attr_accessor :datastore
38386
38503
 
38504
+ # Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `
38505
+ # projects/`project`/locations/`location`/collections/`collection`/engines/`
38506
+ # engine``
38507
+ # Corresponds to the JSON property `engine`
38508
+ # @return [String]
38509
+ attr_accessor :engine
38510
+
38387
38511
  def initialize(**args)
38388
38512
  update!(**args)
38389
38513
  end
@@ -38391,6 +38515,30 @@ module Google
38391
38515
  # Update properties of this object
38392
38516
  def update!(**args)
38393
38517
  @datastore = args[:datastore] if args.key?(:datastore)
38518
+ @engine = args[:engine] if args.key?(:engine)
38519
+ end
38520
+ end
38521
+
38522
+ # Config for the Vertex AI Search.
38523
+ class GoogleCloudAiplatformV1VertexAiSearchConfig
38524
+ include Google::Apis::Core::Hashable
38525
+
38526
+ # Vertex AI Search Serving Config resource full name. For example, `projects/`
38527
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
38528
+ # servingConfigs/`serving_config`` or `projects/`project`/locations/`location`/
38529
+ # collections/`collection`/dataStores/`data_store`/servingConfigs/`
38530
+ # serving_config``.
38531
+ # Corresponds to the JSON property `servingConfig`
38532
+ # @return [String]
38533
+ attr_accessor :serving_config
38534
+
38535
+ def initialize(**args)
38536
+ update!(**args)
38537
+ end
38538
+
38539
+ # Update properties of this object
38540
+ def update!(**args)
38541
+ @serving_config = args[:serving_config] if args.key?(:serving_config)
38394
38542
  end
38395
38543
  end
38396
38544
 
@@ -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.46.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250304"
25
+ REVISION = "20250319"
26
26
  end
27
27
  end
28
28
  end
@@ -3850,6 +3850,24 @@ module Google
3850
3850
  include Google::Apis::Core::JsonObjectSupport
3851
3851
  end
3852
3852
 
3853
+ class GoogleCloudAiplatformV1RagRetrievalConfigRanking
3854
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3855
+
3856
+ include Google::Apis::Core::JsonObjectSupport
3857
+ end
3858
+
3859
+ class GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker
3860
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3861
+
3862
+ include Google::Apis::Core::JsonObjectSupport
3863
+ end
3864
+
3865
+ class GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService
3866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3867
+
3868
+ include Google::Apis::Core::JsonObjectSupport
3869
+ end
3870
+
3853
3871
  class GoogleCloudAiplatformV1RagVectorDbConfig
3854
3872
  class Representation < Google::Apis::Core::JsonRepresentation; end
3855
3873
 
@@ -6502,6 +6520,12 @@ module Google
6502
6520
  include Google::Apis::Core::JsonObjectSupport
6503
6521
  end
6504
6522
 
6523
+ class GoogleCloudAiplatformV1VertexAiSearchConfig
6524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6525
+
6526
+ include Google::Apis::Core::JsonObjectSupport
6527
+ end
6528
+
6505
6529
  class GoogleCloudAiplatformV1VertexRagStore
6506
6530
  class Representation < Google::Apis::Core::JsonRepresentation; end
6507
6531
 
@@ -9302,6 +9326,8 @@ module Google
9302
9326
  property :etag, as: 'etag'
9303
9327
  hash :labels, as: 'labels'
9304
9328
  property :name, as: 'name'
9329
+ property :service_account_email, as: 'serviceAccountEmail'
9330
+ property :service_agent_type, as: 'serviceAgentType'
9305
9331
  property :update_time, as: 'updateTime'
9306
9332
  end
9307
9333
  end
@@ -10199,6 +10225,7 @@ module Google
10199
10225
  class GoogleCloudAiplatformV1GroundingChunkWeb
10200
10226
  # @private
10201
10227
  class Representation < Google::Apis::Core::JsonRepresentation
10228
+ property :domain, as: 'domain'
10202
10229
  property :title, as: 'title'
10203
10230
  property :uri, as: 'uri'
10204
10231
  end
@@ -10365,6 +10392,10 @@ module Google
10365
10392
 
10366
10393
  property :google_drive_source, as: 'googleDriveSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleDriveSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GoogleDriveSource::Representation
10367
10394
 
10395
+ property :import_result_bigquery_sink, as: 'importResultBigquerySink', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQueryDestination, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQueryDestination::Representation
10396
+
10397
+ property :import_result_gcs_sink, as: 'importResultGcsSink', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination::Representation
10398
+
10368
10399
  property :jira_source, as: 'jiraSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1JiraSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1JiraSource::Representation
10369
10400
 
10370
10401
  property :max_embedding_requests_per_min, as: 'maxEmbeddingRequestsPerMin'
@@ -13259,6 +13290,8 @@ module Google
13259
13290
  property :update_time, as: 'updateTime'
13260
13291
  property :vector_db_config, as: 'vectorDbConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig::Representation
13261
13292
 
13293
+ property :vertex_ai_search_config, as: 'vertexAiSearchConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearchConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearchConfig::Representation
13294
+
13262
13295
  end
13263
13296
  end
13264
13297
 
@@ -13358,6 +13391,8 @@ module Google
13358
13391
  class Representation < Google::Apis::Core::JsonRepresentation
13359
13392
  property :filter, as: 'filter', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigFilter, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigFilter::Representation
13360
13393
 
13394
+ property :ranking, as: 'ranking', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRanking, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRanking::Representation
13395
+
13361
13396
  property :top_k, as: 'topK'
13362
13397
  end
13363
13398
  end
@@ -13371,6 +13406,30 @@ module Google
13371
13406
  end
13372
13407
  end
13373
13408
 
13409
+ class GoogleCloudAiplatformV1RagRetrievalConfigRanking
13410
+ # @private
13411
+ class Representation < Google::Apis::Core::JsonRepresentation
13412
+ property :llm_ranker, as: 'llmRanker', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker::Representation
13413
+
13414
+ property :rank_service, as: 'rankService', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService::Representation
13415
+
13416
+ end
13417
+ end
13418
+
13419
+ class GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker
13420
+ # @private
13421
+ class Representation < Google::Apis::Core::JsonRepresentation
13422
+ property :model_name, as: 'modelName'
13423
+ end
13424
+ end
13425
+
13426
+ class GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService
13427
+ # @private
13428
+ class Representation < Google::Apis::Core::JsonRepresentation
13429
+ property :model_name, as: 'modelName'
13430
+ end
13431
+ end
13432
+
13374
13433
  class GoogleCloudAiplatformV1RagVectorDbConfig
13375
13434
  # @private
13376
13435
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13577,6 +13636,7 @@ module Google
13577
13636
  class GoogleCloudAiplatformV1ReasoningEngineSpec
13578
13637
  # @private
13579
13638
  class Representation < Google::Apis::Core::JsonRepresentation
13639
+ property :agent_framework, as: 'agentFramework'
13580
13640
  collection :class_methods, as: 'classMethods'
13581
13641
  property :deployment_spec, as: 'deploymentSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec::Representation
13582
13642
 
@@ -17604,6 +17664,14 @@ module Google
17604
17664
  # @private
17605
17665
  class Representation < Google::Apis::Core::JsonRepresentation
17606
17666
  property :datastore, as: 'datastore'
17667
+ property :engine, as: 'engine'
17668
+ end
17669
+ end
17670
+
17671
+ class GoogleCloudAiplatformV1VertexAiSearchConfig
17672
+ # @private
17673
+ class Representation < Google::Apis::Core::JsonRepresentation
17674
+ property :serving_config, as: 'servingConfig'
17607
17675
  end
17608
17676
  end
17609
17677
 
@@ -2716,9 +2716,7 @@ module Google
2716
2716
  execute_or_queue_command(command, &block)
2717
2717
  end
2718
2718
 
2719
- # Lists Annotations belongs to a dataitem This RPC is only available in
2720
- # InternalDatasetService. It is only used for exporting conversation data to
2721
- # CCAI Insights.
2719
+ # Lists Annotations belongs to a dataitem.
2722
2720
  # @param [String] parent
2723
2721
  # Required. The resource name of the DataItem to list Annotations from. Format: `
2724
2722
  # projects/`project`/locations/`location`/datasets/`dataset`/dataItems/`
@@ -5317,6 +5315,51 @@ module Google
5317
5315
  execute_or_queue_command(command, &block)
5318
5316
  end
5319
5317
 
5318
+ # Gets the access control policy for a resource. Returns an empty policy if the
5319
+ # resource exists and does not have a policy set.
5320
+ # @param [String] resource
5321
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
5322
+ # names](https://cloud.google.com/apis/design/resource_names) for the
5323
+ # appropriate value for this field.
5324
+ # @param [Fixnum] options_requested_policy_version
5325
+ # Optional. The maximum policy version that will be used to format the policy.
5326
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
5327
+ # rejected. Requests for policies with any conditional role bindings must
5328
+ # specify version 3. Policies with no conditional role bindings may specify any
5329
+ # valid value or leave the field unset. The policy in the response might use the
5330
+ # policy version that you specified, or it might use a lower policy version. For
5331
+ # example, if you specify version 3, but the policy has no conditional role
5332
+ # bindings, the response uses version 1. To learn which resources support
5333
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
5334
+ # google.com/iam/help/conditions/resource-policies).
5335
+ # @param [String] fields
5336
+ # Selector specifying which fields to include in a partial response.
5337
+ # @param [String] quota_user
5338
+ # Available to use for quota purposes for server-side applications. Can be any
5339
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5340
+ # @param [Google::Apis::RequestOptions] options
5341
+ # Request-specific options
5342
+ #
5343
+ # @yield [result, err] Result & error if block supplied
5344
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
5345
+ # @yieldparam err [StandardError] error object if request failed
5346
+ #
5347
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
5348
+ #
5349
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5350
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5351
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5352
+ def get_project_location_feature_group_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
5353
+ command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
5354
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
5355
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
5356
+ command.params['resource'] = resource unless resource.nil?
5357
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
5358
+ command.query['fields'] = fields unless fields.nil?
5359
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5360
+ execute_or_queue_command(command, &block)
5361
+ end
5362
+
5320
5363
  # Lists FeatureGroups in a given project and location.
5321
5364
  # @param [String] parent
5322
5365
  # Required. The resource name of the Location to list FeatureGroups. Format: `
@@ -5417,6 +5460,84 @@ module Google
5417
5460
  execute_or_queue_command(command, &block)
5418
5461
  end
5419
5462
 
5463
+ # Sets the access control policy on the specified resource. Replaces any
5464
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
5465
+ # PERMISSION_DENIED` errors.
5466
+ # @param [String] resource
5467
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
5468
+ # names](https://cloud.google.com/apis/design/resource_names) for the
5469
+ # appropriate value for this field.
5470
+ # @param [Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
5471
+ # @param [String] fields
5472
+ # Selector specifying which fields to include in a partial response.
5473
+ # @param [String] quota_user
5474
+ # Available to use for quota purposes for server-side applications. Can be any
5475
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5476
+ # @param [Google::Apis::RequestOptions] options
5477
+ # Request-specific options
5478
+ #
5479
+ # @yield [result, err] Result & error if block supplied
5480
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
5481
+ # @yieldparam err [StandardError] error object if request failed
5482
+ #
5483
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
5484
+ #
5485
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5486
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5487
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5488
+ def set_project_location_feature_group_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5489
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
5490
+ command.request_representation = Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest::Representation
5491
+ command.request_object = google_iam_v1_set_iam_policy_request_object
5492
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
5493
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
5494
+ command.params['resource'] = resource unless resource.nil?
5495
+ command.query['fields'] = fields unless fields.nil?
5496
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5497
+ execute_or_queue_command(command, &block)
5498
+ end
5499
+
5500
+ # Returns permissions that a caller has on the specified resource. If the
5501
+ # resource does not exist, this will return an empty set of permissions, not a `
5502
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
5503
+ # permission-aware UIs and command-line tools, not for authorization checking.
5504
+ # This operation may "fail open" without warning.
5505
+ # @param [String] resource
5506
+ # REQUIRED: The resource for which the policy detail is being requested. See [
5507
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
5508
+ # appropriate value for this field.
5509
+ # @param [Array<String>, String] permissions
5510
+ # The set of permissions to check for the `resource`. Permissions with wildcards
5511
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
5512
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
5513
+ # @param [String] fields
5514
+ # Selector specifying which fields to include in a partial response.
5515
+ # @param [String] quota_user
5516
+ # Available to use for quota purposes for server-side applications. Can be any
5517
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5518
+ # @param [Google::Apis::RequestOptions] options
5519
+ # Request-specific options
5520
+ #
5521
+ # @yield [result, err] Result & error if block supplied
5522
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
5523
+ # @yieldparam err [StandardError] error object if request failed
5524
+ #
5525
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse]
5526
+ #
5527
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5528
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5529
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5530
+ def test_project_location_feature_group_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
5531
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
5532
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse::Representation
5533
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse
5534
+ command.params['resource'] = resource unless resource.nil?
5535
+ command.query['permissions'] = permissions unless permissions.nil?
5536
+ command.query['fields'] = fields unless fields.nil?
5537
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5538
+ execute_or_queue_command(command, &block)
5539
+ end
5540
+
5420
5541
  # Creates a batch of Features in a given FeatureGroup.
5421
5542
  # @param [String] parent
5422
5543
  # Required. The resource name of the EntityType/FeatureGroup to create the batch
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.0
4
+ version: 0.48.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-16 00:00:00.000000000 Z
10
+ date: 2025-03-30 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.46.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.48.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
62
62
  rdoc_options: []
63
63
  require_paths: