google-apis-aiplatform_v1 0.33.0 → 0.34.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: 6c0c04608d5b66f9f1763ebb5f539b6de4ce6477a5585c4d18f2792a029e736b
4
- data.tar.gz: 936101605822a4c059f8956f8754331ab9eb960f772ed6e4dc9956c1b5f04ed1
3
+ metadata.gz: 6f8aa0a519404afb31414d3589f798e21cad050aedcfa91d4a8d309d34e60bb1
4
+ data.tar.gz: 453d0ab8513206b394296bbdd3f7a6e5a431b7862d4c3ce91306502f7fcfcb47
5
5
  SHA512:
6
- metadata.gz: c5af961bc7e96a9704de6d124b23a1474ec0ad052549c7923890c46f305bf54aeba127f01ffc7fd3eafe8c894b57cbd48dc28234088399110915af822e36f894
7
- data.tar.gz: 8bb15cd482926f04b7038bd5b43656de62efe283f5d7b1390037967167ecb3753a9e6f1ee882cf1c7b25e370055c2add18f0121583cd37871a3befc3fddda618
6
+ metadata.gz: 7db3369094726429a58ae5c5a016121a17f4b17f0998cae875ccd8c6b4610679657d8a6e47b074fc2da4be6426b21a68361822e344b8b731368345371911ef24
7
+ data.tar.gz: 777a12d1c4b61420dbcef73cf8172fa3ee531f90bb346309b94953e2b575a609e61399d3e7a26ae492c288ca9ccccec16cfa0049b58d4bac0c077ca6a609dcf9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.34.0 (2024-09-15)
4
+
5
+ * Regenerated from discovery document revision 20240830
6
+
3
7
  ### v0.33.0 (2024-09-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20240816
@@ -3566,6 +3566,38 @@ module Google
3566
3566
  end
3567
3567
  end
3568
3568
 
3569
+ # Request message for [NotebookService.CreateNotebookExecutionJob]
3570
+ class GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest
3571
+ include Google::Apis::Core::Hashable
3572
+
3573
+ # NotebookExecutionJob represents an instance of a notebook execution.
3574
+ # Corresponds to the JSON property `notebookExecutionJob`
3575
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJob]
3576
+ attr_accessor :notebook_execution_job
3577
+
3578
+ # Optional. User specified ID for the NotebookExecutionJob.
3579
+ # Corresponds to the JSON property `notebookExecutionJobId`
3580
+ # @return [String]
3581
+ attr_accessor :notebook_execution_job_id
3582
+
3583
+ # Required. The resource name of the Location to create the NotebookExecutionJob.
3584
+ # Format: `projects/`project`/locations/`location``
3585
+ # Corresponds to the JSON property `parent`
3586
+ # @return [String]
3587
+ attr_accessor :parent
3588
+
3589
+ def initialize(**args)
3590
+ update!(**args)
3591
+ end
3592
+
3593
+ # Update properties of this object
3594
+ def update!(**args)
3595
+ @notebook_execution_job = args[:notebook_execution_job] if args.key?(:notebook_execution_job)
3596
+ @notebook_execution_job_id = args[:notebook_execution_job_id] if args.key?(:notebook_execution_job_id)
3597
+ @parent = args[:parent] if args.key?(:parent)
3598
+ end
3599
+ end
3600
+
3569
3601
  # Metadata information for NotebookService.CreateNotebookRuntimeTemplate.
3570
3602
  class GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata
3571
3603
  include Google::Apis::Core::Hashable
@@ -8154,12 +8186,31 @@ module Google
8154
8186
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQuerySource]
8155
8187
  attr_accessor :big_query_source
8156
8188
 
8189
+ # Optional. If set, all feature values will be fetched from a single row per
8190
+ # unique entityId including nulls. If not set, will collapse all rows for each
8191
+ # unique entityId into a singe row with any non-null values if present, if no
8192
+ # non-null values are present will sync null. ex: If source has schema (
8193
+ # entity_id, feature_timestamp, f0, f1) and values (e1, 2020-01-01T10:00:00.123Z,
8194
+ # 10, 15) (e1, 2020-02-01T10:00:00.123Z, 20, null) If dense is set, (e1, 20,
8195
+ # null) is synced to online stores. If dense is not set, (e1, 20, 15) is synced
8196
+ # to online stores.
8197
+ # Corresponds to the JSON property `dense`
8198
+ # @return [Boolean]
8199
+ attr_accessor :dense
8200
+ alias_method :dense?, :dense
8201
+
8157
8202
  # Optional. Columns to construct entity_id / row keys. If not provided defaults
8158
8203
  # to `entity_id`.
8159
8204
  # Corresponds to the JSON property `entityIdColumns`
8160
8205
  # @return [Array<String>]
8161
8206
  attr_accessor :entity_id_columns
8162
8207
 
8208
+ # Optional. Set if the data source is not a time-series.
8209
+ # Corresponds to the JSON property `staticDataSource`
8210
+ # @return [Boolean]
8211
+ attr_accessor :static_data_source
8212
+ alias_method :static_data_source?, :static_data_source
8213
+
8163
8214
  # Optional. If the source is a time-series source, this can be set to control
8164
8215
  # how downstream sources (ex: FeatureView ) will treat time-series sources. If
8165
8216
  # not set, will treat the source as a time-series source with `feature_timestamp`
@@ -8175,7 +8226,9 @@ module Google
8175
8226
  # Update properties of this object
8176
8227
  def update!(**args)
8177
8228
  @big_query_source = args[:big_query_source] if args.key?(:big_query_source)
8229
+ @dense = args[:dense] if args.key?(:dense)
8178
8230
  @entity_id_columns = args[:entity_id_columns] if args.key?(:entity_id_columns)
8231
+ @static_data_source = args[:static_data_source] if args.key?(:static_data_source)
8179
8232
  @time_series = args[:time_series] if args.key?(:time_series)
8180
8233
  end
8181
8234
  end
@@ -8821,6 +8874,11 @@ module Google
8821
8874
  # @return [String]
8822
8875
  attr_accessor :update_time
8823
8876
 
8877
+ # A Vertex Rag source for features that need to be synced to Online Store.
8878
+ # Corresponds to the JSON property `vertexRagSource`
8879
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewVertexRagSource]
8880
+ attr_accessor :vertex_rag_source
8881
+
8824
8882
  def initialize(**args)
8825
8883
  update!(**args)
8826
8884
  end
@@ -8838,6 +8896,7 @@ module Google
8838
8896
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
8839
8897
  @sync_config = args[:sync_config] if args.key?(:sync_config)
8840
8898
  @update_time = args[:update_time] if args.key?(:update_time)
8899
+ @vertex_rag_source = args[:vertex_rag_source] if args.key?(:vertex_rag_source)
8841
8900
  end
8842
8901
  end
8843
8902
 
@@ -9184,6 +9243,36 @@ module Google
9184
9243
  end
9185
9244
  end
9186
9245
 
9246
+ # A Vertex Rag source for features that need to be synced to Online Store.
9247
+ class GoogleCloudAiplatformV1FeatureViewVertexRagSource
9248
+ include Google::Apis::Core::Hashable
9249
+
9250
+ # Optional. The RAG corpus id corresponding to this FeatureView.
9251
+ # Corresponds to the JSON property `ragCorpusId`
9252
+ # @return [Fixnum]
9253
+ attr_accessor :rag_corpus_id
9254
+
9255
+ # Required. The BigQuery view/table URI that will be materialized on each manual
9256
+ # sync trigger. The table/view is expected to have the following columns at
9257
+ # least: Field name Type Mode corpus_id STRING REQUIRED/NULLABLE file_id STRING
9258
+ # REQUIRED/NULLABLE chunk_id STRING REQUIRED/NULLABLE chunk_data_type STRING
9259
+ # REQUIRED/NULLABLE chunk_data STRING REQUIRED/NULLABLE embeddings FLOAT
9260
+ # REPEATED file_original_uri STRING REQUIRED/NULLABLE
9261
+ # Corresponds to the JSON property `uri`
9262
+ # @return [String]
9263
+ attr_accessor :uri
9264
+
9265
+ def initialize(**args)
9266
+ update!(**args)
9267
+ end
9268
+
9269
+ # Update properties of this object
9270
+ def update!(**args)
9271
+ @rag_corpus_id = args[:rag_corpus_id] if args.key?(:rag_corpus_id)
9272
+ @uri = args[:uri] if args.key?(:uri)
9273
+ end
9274
+ end
9275
+
9187
9276
  # Vertex AI Feature Store provides a centralized repository for organizing,
9188
9277
  # storing, and serving ML features. The Featurestore is a top-level container
9189
9278
  # for your features and their values.
@@ -10172,11 +10261,18 @@ module Google
10172
10261
 
10173
10262
  # Schema is used to define the format of input/output data. Represents a select
10174
10263
  # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
10175
- # schema). More fields may be added in the future as needed.
10264
+ # schema-object). More fields may be added in the future as needed.
10176
10265
  # Corresponds to the JSON property `parameters`
10177
10266
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema]
10178
10267
  attr_accessor :parameters
10179
10268
 
10269
+ # Schema is used to define the format of input/output data. Represents a select
10270
+ # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
10271
+ # schema-object). More fields may be added in the future as needed.
10272
+ # Corresponds to the JSON property `response`
10273
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema]
10274
+ attr_accessor :response
10275
+
10180
10276
  def initialize(**args)
10181
10277
  update!(**args)
10182
10278
  end
@@ -10186,6 +10282,7 @@ module Google
10186
10282
  @description = args[:description] if args.key?(:description)
10187
10283
  @name = args[:name] if args.key?(:name)
10188
10284
  @parameters = args[:parameters] if args.key?(:parameters)
10285
+ @response = args[:response] if args.key?(:response)
10189
10286
  end
10190
10287
  end
10191
10288
 
@@ -10202,7 +10299,10 @@ module Google
10202
10299
  # @return [String]
10203
10300
  attr_accessor :name
10204
10301
 
10205
- # Required. The function response in JSON object format.
10302
+ # Required. The function response in JSON object format. Use "output" key to
10303
+ # specify function output and "error" key to specify error details (if any). If "
10304
+ # output" and "error" keys are not specified, then whole "response" is treated
10305
+ # as function output.
10206
10306
  # Corresponds to the JSON property `response`
10207
10307
  # @return [Hash<String,Object>]
10208
10308
  attr_accessor :response
@@ -10396,7 +10496,7 @@ module Google
10396
10496
  # @return [Fixnum]
10397
10497
  attr_accessor :prompt_token_count
10398
10498
 
10399
- #
10499
+ # Total token count for prompt and response candidates.
10400
10500
  # Corresponds to the JSON property `totalTokenCount`
10401
10501
  # @return [Fixnum]
10402
10502
  attr_accessor :total_token_count
@@ -10448,7 +10548,7 @@ module Google
10448
10548
 
10449
10549
  # Schema is used to define the format of input/output data. Represents a select
10450
10550
  # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
10451
- # schema). More fields may be added in the future as needed.
10551
+ # schema-object). More fields may be added in the future as needed.
10452
10552
  # Corresponds to the JSON property `responseSchema`
10453
10553
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema]
10454
10554
  attr_accessor :response_schema
@@ -21785,6 +21885,11 @@ module Google
21785
21885
  attr_accessor :catch_up
21786
21886
  alias_method :catch_up?, :catch_up
21787
21887
 
21888
+ # Request message for [NotebookService.CreateNotebookExecutionJob]
21889
+ # Corresponds to the JSON property `createNotebookExecutionJobRequest`
21890
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest]
21891
+ attr_accessor :create_notebook_execution_job_request
21892
+
21788
21893
  # Request message for PipelineService.CreatePipelineJob.
21789
21894
  # Corresponds to the JSON property `createPipelineJobRequest`
21790
21895
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreatePipelineJobRequest]
@@ -21892,6 +21997,7 @@ module Google
21892
21997
  def update!(**args)
21893
21998
  @allow_queueing = args[:allow_queueing] if args.key?(:allow_queueing)
21894
21999
  @catch_up = args[:catch_up] if args.key?(:catch_up)
22000
+ @create_notebook_execution_job_request = args[:create_notebook_execution_job_request] if args.key?(:create_notebook_execution_job_request)
21895
22001
  @create_pipeline_job_request = args[:create_pipeline_job_request] if args.key?(:create_pipeline_job_request)
21896
22002
  @create_time = args[:create_time] if args.key?(:create_time)
21897
22003
  @cron = args[:cron] if args.key?(:cron)
@@ -21990,7 +22096,7 @@ module Google
21990
22096
 
21991
22097
  # Schema is used to define the format of input/output data. Represents a select
21992
22098
  # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
21993
- # schema). More fields may be added in the future as needed.
22099
+ # schema-object). More fields may be added in the future as needed.
21994
22100
  class GoogleCloudAiplatformV1Schema
21995
22101
  include Google::Apis::Core::Hashable
21996
22102
 
@@ -22026,7 +22132,7 @@ module Google
22026
22132
 
22027
22133
  # Schema is used to define the format of input/output data. Represents a select
22028
22134
  # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
22029
- # schema). More fields may be added in the future as needed.
22135
+ # schema-object). More fields may be added in the future as needed.
22030
22136
  # Corresponds to the JSON property `items`
22031
22137
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema]
22032
22138
  attr_accessor :items
@@ -30511,7 +30617,7 @@ module Google
30511
30617
  end
30512
30618
  end
30513
30619
 
30514
- # Respose message for FeatureOnlineStoreAdminService.SyncFeatureView.
30620
+ # Response message for FeatureOnlineStoreAdminService.SyncFeatureView.
30515
30621
  class GoogleCloudAiplatformV1SyncFeatureViewResponse
30516
30622
  include Google::Apis::Core::Hashable
30517
30623
 
@@ -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.33.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240816"
25
+ REVISION = "20240830"
26
26
  end
27
27
  end
28
28
  end
@@ -718,6 +718,12 @@ module Google
718
718
  include Google::Apis::Core::JsonObjectSupport
719
719
  end
720
720
 
721
+ class GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
721
727
  class GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata
722
728
  class Representation < Google::Apis::Core::JsonRepresentation; end
723
729
 
@@ -1498,6 +1504,12 @@ module Google
1498
1504
  include Google::Apis::Core::JsonObjectSupport
1499
1505
  end
1500
1506
 
1507
+ class GoogleCloudAiplatformV1FeatureViewVertexRagSource
1508
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1509
+
1510
+ include Google::Apis::Core::JsonObjectSupport
1511
+ end
1512
+
1501
1513
  class GoogleCloudAiplatformV1Featurestore
1502
1514
  class Representation < Google::Apis::Core::JsonRepresentation; end
1503
1515
 
@@ -6710,6 +6722,16 @@ module Google
6710
6722
  end
6711
6723
  end
6712
6724
 
6725
+ class GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest
6726
+ # @private
6727
+ class Representation < Google::Apis::Core::JsonRepresentation
6728
+ property :notebook_execution_job, as: 'notebookExecutionJob', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJob, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJob::Representation
6729
+
6730
+ property :notebook_execution_job_id, as: 'notebookExecutionJobId'
6731
+ property :parent, as: 'parent'
6732
+ end
6733
+ end
6734
+
6713
6735
  class GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata
6714
6736
  # @private
6715
6737
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7910,7 +7932,9 @@ module Google
7910
7932
  class Representation < Google::Apis::Core::JsonRepresentation
7911
7933
  property :big_query_source, as: 'bigQuerySource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQuerySource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQuerySource::Representation
7912
7934
 
7935
+ property :dense, as: 'dense'
7913
7936
  collection :entity_id_columns, as: 'entityIdColumns'
7937
+ property :static_data_source, as: 'staticDataSource'
7914
7938
  property :time_series, as: 'timeSeries', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries::Representation
7915
7939
 
7916
7940
  end
@@ -8092,6 +8116,8 @@ module Google
8092
8116
  property :sync_config, as: 'syncConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewSyncConfig::Representation
8093
8117
 
8094
8118
  property :update_time, as: 'updateTime'
8119
+ property :vertex_rag_source, as: 'vertexRagSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewVertexRagSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewVertexRagSource::Representation
8120
+
8095
8121
  end
8096
8122
  end
8097
8123
 
@@ -8196,6 +8222,14 @@ module Google
8196
8222
  end
8197
8223
  end
8198
8224
 
8225
+ class GoogleCloudAiplatformV1FeatureViewVertexRagSource
8226
+ # @private
8227
+ class Representation < Google::Apis::Core::JsonRepresentation
8228
+ property :rag_corpus_id, :numeric_string => true, as: 'ragCorpusId'
8229
+ property :uri, as: 'uri'
8230
+ end
8231
+ end
8232
+
8199
8233
  class GoogleCloudAiplatformV1Featurestore
8200
8234
  # @private
8201
8235
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8482,6 +8516,8 @@ module Google
8482
8516
  property :name, as: 'name'
8483
8517
  property :parameters, as: 'parameters', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
8484
8518
 
8519
+ property :response, as: 'response', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
8520
+
8485
8521
  end
8486
8522
  end
8487
8523
 
@@ -11787,6 +11823,8 @@ module Google
11787
11823
  class Representation < Google::Apis::Core::JsonRepresentation
11788
11824
  property :allow_queueing, as: 'allowQueueing'
11789
11825
  property :catch_up, as: 'catchUp'
11826
+ property :create_notebook_execution_job_request, as: 'createNotebookExecutionJobRequest', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest::Representation
11827
+
11790
11828
  property :create_pipeline_job_request, as: 'createPipelineJobRequest', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreatePipelineJobRequest, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreatePipelineJobRequest::Representation
11791
11829
 
11792
11830
  property :create_time, as: 'createTime'
@@ -2254,7 +2254,9 @@ module Google
2254
2254
  execute_or_queue_command(command, &block)
2255
2255
  end
2256
2256
 
2257
- # Lists Annotations belongs to a dataitem
2257
+ # Lists Annotations belongs to a dataitem This RPC is only available in
2258
+ # InternalDatasetService. It is only used for exporting conversation data to
2259
+ # CCAI Insights.
2258
2260
  # @param [String] parent
2259
2261
  # Required. The resource name of the DataItem to list Annotations from. Format: `
2260
2262
  # projects/`project`/locations/`location`/datasets/`dataset`/dataItems/`
@@ -5444,6 +5446,51 @@ module Google
5444
5446
  execute_or_queue_command(command, &block)
5445
5447
  end
5446
5448
 
5449
+ # Gets the access control policy for a resource. Returns an empty policy if the
5450
+ # resource exists and does not have a policy set.
5451
+ # @param [String] resource
5452
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
5453
+ # names](https://cloud.google.com/apis/design/resource_names) for the
5454
+ # appropriate value for this field.
5455
+ # @param [Fixnum] options_requested_policy_version
5456
+ # Optional. The maximum policy version that will be used to format the policy.
5457
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
5458
+ # rejected. Requests for policies with any conditional role bindings must
5459
+ # specify version 3. Policies with no conditional role bindings may specify any
5460
+ # valid value or leave the field unset. The policy in the response might use the
5461
+ # policy version that you specified, or it might use a lower policy version. For
5462
+ # example, if you specify version 3, but the policy has no conditional role
5463
+ # bindings, the response uses version 1. To learn which resources support
5464
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
5465
+ # google.com/iam/help/conditions/resource-policies).
5466
+ # @param [String] fields
5467
+ # Selector specifying which fields to include in a partial response.
5468
+ # @param [String] quota_user
5469
+ # Available to use for quota purposes for server-side applications. Can be any
5470
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5471
+ # @param [Google::Apis::RequestOptions] options
5472
+ # Request-specific options
5473
+ #
5474
+ # @yield [result, err] Result & error if block supplied
5475
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
5476
+ # @yieldparam err [StandardError] error object if request failed
5477
+ #
5478
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
5479
+ #
5480
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5481
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5482
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5483
+ def get_project_location_feature_online_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
5484
+ command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
5485
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
5486
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
5487
+ command.params['resource'] = resource unless resource.nil?
5488
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
5489
+ command.query['fields'] = fields unless fields.nil?
5490
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5491
+ execute_or_queue_command(command, &block)
5492
+ end
5493
+
5447
5494
  # Lists FeatureOnlineStores in a given project and location.
5448
5495
  # @param [String] parent
5449
5496
  # Required. The resource name of the Location to list FeatureOnlineStores.
@@ -5547,6 +5594,84 @@ module Google
5547
5594
  execute_or_queue_command(command, &block)
5548
5595
  end
5549
5596
 
5597
+ # Sets the access control policy on the specified resource. Replaces any
5598
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
5599
+ # PERMISSION_DENIED` errors.
5600
+ # @param [String] resource
5601
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
5602
+ # names](https://cloud.google.com/apis/design/resource_names) for the
5603
+ # appropriate value for this field.
5604
+ # @param [Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
5605
+ # @param [String] fields
5606
+ # Selector specifying which fields to include in a partial response.
5607
+ # @param [String] quota_user
5608
+ # Available to use for quota purposes for server-side applications. Can be any
5609
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5610
+ # @param [Google::Apis::RequestOptions] options
5611
+ # Request-specific options
5612
+ #
5613
+ # @yield [result, err] Result & error if block supplied
5614
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
5615
+ # @yieldparam err [StandardError] error object if request failed
5616
+ #
5617
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
5618
+ #
5619
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5620
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5621
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5622
+ def set_project_location_feature_online_store_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5623
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
5624
+ command.request_representation = Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest::Representation
5625
+ command.request_object = google_iam_v1_set_iam_policy_request_object
5626
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
5627
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
5628
+ command.params['resource'] = resource unless resource.nil?
5629
+ command.query['fields'] = fields unless fields.nil?
5630
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5631
+ execute_or_queue_command(command, &block)
5632
+ end
5633
+
5634
+ # Returns permissions that a caller has on the specified resource. If the
5635
+ # resource does not exist, this will return an empty set of permissions, not a `
5636
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
5637
+ # permission-aware UIs and command-line tools, not for authorization checking.
5638
+ # This operation may "fail open" without warning.
5639
+ # @param [String] resource
5640
+ # REQUIRED: The resource for which the policy detail is being requested. See [
5641
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
5642
+ # appropriate value for this field.
5643
+ # @param [Array<String>, String] permissions
5644
+ # The set of permissions to check for the `resource`. Permissions with wildcards
5645
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
5646
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
5647
+ # @param [String] fields
5648
+ # Selector specifying which fields to include in a partial response.
5649
+ # @param [String] quota_user
5650
+ # Available to use for quota purposes for server-side applications. Can be any
5651
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5652
+ # @param [Google::Apis::RequestOptions] options
5653
+ # Request-specific options
5654
+ #
5655
+ # @yield [result, err] Result & error if block supplied
5656
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
5657
+ # @yieldparam err [StandardError] error object if request failed
5658
+ #
5659
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse]
5660
+ #
5661
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5662
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5663
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5664
+ def test_project_location_feature_online_store_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
5665
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
5666
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse::Representation
5667
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse
5668
+ command.params['resource'] = resource unless resource.nil?
5669
+ command.query['permissions'] = permissions unless permissions.nil?
5670
+ command.query['fields'] = fields unless fields.nil?
5671
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5672
+ execute_or_queue_command(command, &block)
5673
+ end
5674
+
5550
5675
  # Creates a new FeatureView in a given FeatureOnlineStore.
5551
5676
  # @param [String] parent
5552
5677
  # Required. The resource name of the FeatureOnlineStore to create FeatureViews.
@@ -5690,6 +5815,51 @@ module Google
5690
5815
  execute_or_queue_command(command, &block)
5691
5816
  end
5692
5817
 
5818
+ # Gets the access control policy for a resource. Returns an empty policy if the
5819
+ # resource exists and does not have a policy set.
5820
+ # @param [String] resource
5821
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
5822
+ # names](https://cloud.google.com/apis/design/resource_names) for the
5823
+ # appropriate value for this field.
5824
+ # @param [Fixnum] options_requested_policy_version
5825
+ # Optional. The maximum policy version that will be used to format the policy.
5826
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
5827
+ # rejected. Requests for policies with any conditional role bindings must
5828
+ # specify version 3. Policies with no conditional role bindings may specify any
5829
+ # valid value or leave the field unset. The policy in the response might use the
5830
+ # policy version that you specified, or it might use a lower policy version. For
5831
+ # example, if you specify version 3, but the policy has no conditional role
5832
+ # bindings, the response uses version 1. To learn which resources support
5833
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
5834
+ # google.com/iam/help/conditions/resource-policies).
5835
+ # @param [String] fields
5836
+ # Selector specifying which fields to include in a partial response.
5837
+ # @param [String] quota_user
5838
+ # Available to use for quota purposes for server-side applications. Can be any
5839
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5840
+ # @param [Google::Apis::RequestOptions] options
5841
+ # Request-specific options
5842
+ #
5843
+ # @yield [result, err] Result & error if block supplied
5844
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
5845
+ # @yieldparam err [StandardError] error object if request failed
5846
+ #
5847
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
5848
+ #
5849
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5850
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5851
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5852
+ def get_project_location_feature_online_store_feature_view_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
5853
+ command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
5854
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
5855
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
5856
+ command.params['resource'] = resource unless resource.nil?
5857
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
5858
+ command.query['fields'] = fields unless fields.nil?
5859
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5860
+ execute_or_queue_command(command, &block)
5861
+ end
5862
+
5693
5863
  # Lists FeatureViews in a given FeatureOnlineStore.
5694
5864
  # @param [String] parent
5695
5865
  # Required. The resource name of the FeatureOnlineStore to list FeatureViews.
@@ -5832,6 +6002,43 @@ module Google
5832
6002
  execute_or_queue_command(command, &block)
5833
6003
  end
5834
6004
 
6005
+ # Sets the access control policy on the specified resource. Replaces any
6006
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
6007
+ # PERMISSION_DENIED` errors.
6008
+ # @param [String] resource
6009
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
6010
+ # names](https://cloud.google.com/apis/design/resource_names) for the
6011
+ # appropriate value for this field.
6012
+ # @param [Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
6013
+ # @param [String] fields
6014
+ # Selector specifying which fields to include in a partial response.
6015
+ # @param [String] quota_user
6016
+ # Available to use for quota purposes for server-side applications. Can be any
6017
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6018
+ # @param [Google::Apis::RequestOptions] options
6019
+ # Request-specific options
6020
+ #
6021
+ # @yield [result, err] Result & error if block supplied
6022
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
6023
+ # @yieldparam err [StandardError] error object if request failed
6024
+ #
6025
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
6026
+ #
6027
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6028
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6029
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6030
+ def set_project_location_feature_online_store_feature_view_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6031
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
6032
+ command.request_representation = Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest::Representation
6033
+ command.request_object = google_iam_v1_set_iam_policy_request_object
6034
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
6035
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
6036
+ command.params['resource'] = resource unless resource.nil?
6037
+ command.query['fields'] = fields unless fields.nil?
6038
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6039
+ execute_or_queue_command(command, &block)
6040
+ end
6041
+
5835
6042
  # Triggers on-demand sync for the FeatureView.
5836
6043
  # @param [String] feature_view
5837
6044
  # Required. Format: `projects/`project`/locations/`location`/featureOnlineStores/
@@ -5866,6 +6073,47 @@ module Google
5866
6073
  execute_or_queue_command(command, &block)
5867
6074
  end
5868
6075
 
6076
+ # Returns permissions that a caller has on the specified resource. If the
6077
+ # resource does not exist, this will return an empty set of permissions, not a `
6078
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
6079
+ # permission-aware UIs and command-line tools, not for authorization checking.
6080
+ # This operation may "fail open" without warning.
6081
+ # @param [String] resource
6082
+ # REQUIRED: The resource for which the policy detail is being requested. See [
6083
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
6084
+ # appropriate value for this field.
6085
+ # @param [Array<String>, String] permissions
6086
+ # The set of permissions to check for the `resource`. Permissions with wildcards
6087
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
6088
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
6089
+ # @param [String] fields
6090
+ # Selector specifying which fields to include in a partial response.
6091
+ # @param [String] quota_user
6092
+ # Available to use for quota purposes for server-side applications. Can be any
6093
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6094
+ # @param [Google::Apis::RequestOptions] options
6095
+ # Request-specific options
6096
+ #
6097
+ # @yield [result, err] Result & error if block supplied
6098
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
6099
+ # @yieldparam err [StandardError] error object if request failed
6100
+ #
6101
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse]
6102
+ #
6103
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6104
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6105
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6106
+ def test_project_location_feature_online_store_feature_view_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
6107
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
6108
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse::Representation
6109
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse
6110
+ command.params['resource'] = resource unless resource.nil?
6111
+ command.query['permissions'] = permissions unless permissions.nil?
6112
+ command.query['fields'] = fields unless fields.nil?
6113
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6114
+ execute_or_queue_command(command, &block)
6115
+ end
6116
+
5869
6117
  # Gets details of a single FeatureViewSync.
5870
6118
  # @param [String] name
5871
6119
  # Required. The name of the FeatureViewSync resource. Format: `projects/`project`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.34.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-09-01 00:00:00.000000000 Z
11
+ date: 2024-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.34.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
63
63
  post_install_message:
64
64
  rdoc_options: []