google-apis-aiplatform_v1 0.47.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e021126c4c9f259daf6ec1a8b3fef670575df0eece7f2f593091b841b3705106
|
4
|
+
data.tar.gz: 944b5dc55bd8b0a6e4cffc9e70ea2c193b28ad8f3d688abe35c94245b3528342
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e172bdb0fbce8d6ca8d3ffce749e9f59e953424fb55a2256cbdb6d3cb2cf8fa8880973e4ab475b3ad80990ca3612b64776d9206b65ce81f2381fe5b829725e32
|
7
|
+
data.tar.gz: ba2075f4fb78d0611faeffb1a05156b11576b319d6b0ecaccb7399e3ef8300d50a2d0b80d6ec699438b1c763cee28d980303b98067f9d72061c3ffeff57449db
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -23369,6 +23393,11 @@ module Google
|
|
23369
23393
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig]
|
23370
23394
|
attr_accessor :vector_db_config
|
23371
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
|
+
|
23372
23401
|
def initialize(**args)
|
23373
23402
|
update!(**args)
|
23374
23403
|
end
|
@@ -23382,6 +23411,7 @@ module Google
|
|
23382
23411
|
@name = args[:name] if args.key?(:name)
|
23383
23412
|
@update_time = args[:update_time] if args.key?(:update_time)
|
23384
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)
|
23385
23415
|
end
|
23386
23416
|
end
|
23387
23417
|
|
@@ -23675,6 +23705,11 @@ module Google
|
|
23675
23705
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigFilter]
|
23676
23706
|
attr_accessor :filter
|
23677
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
|
+
|
23678
23713
|
# Optional. The number of contexts to retrieve.
|
23679
23714
|
# Corresponds to the JSON property `topK`
|
23680
23715
|
# @return [Fixnum]
|
@@ -23687,6 +23722,7 @@ module Google
|
|
23687
23722
|
# Update properties of this object
|
23688
23723
|
def update!(**args)
|
23689
23724
|
@filter = args[:filter] if args.key?(:filter)
|
23725
|
+
@ranking = args[:ranking] if args.key?(:ranking)
|
23690
23726
|
@top_k = args[:top_k] if args.key?(:top_k)
|
23691
23727
|
end
|
23692
23728
|
end
|
@@ -23724,6 +23760,70 @@ module Google
|
|
23724
23760
|
end
|
23725
23761
|
end
|
23726
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
|
+
|
23727
23827
|
# Config for the Vector DB to use for RAG.
|
23728
23828
|
class GoogleCloudAiplatformV1RagVectorDbConfig
|
23729
23829
|
include Google::Apis::Core::Hashable
|
@@ -32871,8 +32971,7 @@ module Google
|
|
32871
32971
|
include Google::Apis::Core::Hashable
|
32872
32972
|
|
32873
32973
|
# Required. The name of the secret in Cloud Secret Manager. Format: `secret_name`
|
32874
|
-
#
|
32875
|
-
# if the secret is in a different project.
|
32974
|
+
# .
|
32876
32975
|
# Corresponds to the JSON property `secret`
|
32877
32976
|
# @return [String]
|
32878
32977
|
attr_accessor :secret
|
@@ -38420,6 +38519,29 @@ module Google
|
|
38420
38519
|
end
|
38421
38520
|
end
|
38422
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)
|
38542
|
+
end
|
38543
|
+
end
|
38544
|
+
|
38423
38545
|
# Retrieve from Vertex RAG Store for grounding.
|
38424
38546
|
class GoogleCloudAiplatformV1VertexRagStore
|
38425
38547
|
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.
|
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 = "
|
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
|
@@ -13263,6 +13290,8 @@ module Google
|
|
13263
13290
|
property :update_time, as: 'updateTime'
|
13264
13291
|
property :vector_db_config, as: 'vectorDbConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig::Representation
|
13265
13292
|
|
13293
|
+
property :vertex_ai_search_config, as: 'vertexAiSearchConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearchConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearchConfig::Representation
|
13294
|
+
|
13266
13295
|
end
|
13267
13296
|
end
|
13268
13297
|
|
@@ -13362,6 +13391,8 @@ module Google
|
|
13362
13391
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13363
13392
|
property :filter, as: 'filter', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigFilter, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigFilter::Representation
|
13364
13393
|
|
13394
|
+
property :ranking, as: 'ranking', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRanking, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRanking::Representation
|
13395
|
+
|
13365
13396
|
property :top_k, as: 'topK'
|
13366
13397
|
end
|
13367
13398
|
end
|
@@ -13375,6 +13406,30 @@ module Google
|
|
13375
13406
|
end
|
13376
13407
|
end
|
13377
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
|
+
|
13378
13433
|
class GoogleCloudAiplatformV1RagVectorDbConfig
|
13379
13434
|
# @private
|
13380
13435
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -17613,6 +17668,13 @@ module Google
|
|
17613
17668
|
end
|
17614
17669
|
end
|
17615
17670
|
|
17671
|
+
class GoogleCloudAiplatformV1VertexAiSearchConfig
|
17672
|
+
# @private
|
17673
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
17674
|
+
property :serving_config, as: 'servingConfig'
|
17675
|
+
end
|
17676
|
+
end
|
17677
|
+
|
17616
17678
|
class GoogleCloudAiplatformV1VertexRagStore
|
17617
17679
|
# @private
|
17618
17680
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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
|
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.
|
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-
|
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.
|
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:
|