google-apis-aiplatform_v1beta1 0.43.0 → 0.44.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: 98fa39c0f2a0af4c5aba98f7cfcc357e5959bf3deaba68052deb6f7fc700e314
4
- data.tar.gz: 140f4f9f0a2dbc8eb8d72bd445c2629f36c11a09d5f5a72475d60a7ed01d20da
3
+ metadata.gz: ebddeed01d23d2a20c243bd5f6e30c6b6b97dfa1d3b01191ddee275727bdcf3c
4
+ data.tar.gz: 5bea23a5512672a54f46b9dbaac9bfb1713336a83fc3efdb532d59406ab61554
5
5
  SHA512:
6
- metadata.gz: '0985b79693d21ae527a96f6c05c0be204651a470d8ff3c6bf964dac3ef2fc1e3f7ced5537978d8faf1c3a171eb679927e92a983f9a21f7e4aefb08a26e84856d'
7
- data.tar.gz: a270f10c812e1dd41b800f6e83ef5f72e7d8c1e7e8dc19865d66741af08d2c5ee6e2c599fa5f609e528e95017e5df80dcc5bec5d9051eee5fe24f89e7b6c3c15
6
+ metadata.gz: 722c6a5443db9a4f16c955a4325e2ff7fcc582f22f05b6932fc38535c87b0309a06575fcf1fe248ec653f0fa4feb8ff98ff70192116cffcc7d9ebda8fea9f7e4
7
+ data.tar.gz: 51583ce861691e240fcc9300897cc966f500a4d21653519a50bf29cd16062f48408971a770b9316b962941f53c1148db880bb7c9326833a52f04d257bae259d6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-aiplatform_v1beta1
2
2
 
3
+ ### v0.44.0 (2025-05-04)
4
+
5
+ * Regenerated from discovery document revision 20250422
6
+ * Regenerated using generator version 0.17.0
7
+
3
8
  ### v0.43.0 (2025-04-27)
4
9
 
5
10
  * Regenerated from discovery document revision 20250415
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/vertex-ai/) may provide gui
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -1107,6 +1107,11 @@ module Google
1107
1107
  class GoogleCloudAiplatformV1beta1AssembleDataRequest
1108
1108
  include Google::Apis::Core::Hashable
1109
1109
 
1110
+ # Configuration for how to read Gemini requests from a multimodal dataset.
1111
+ # Corresponds to the JSON property `geminiRequestReadConfig`
1112
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiRequestReadConfig]
1113
+ attr_accessor :gemini_request_read_config
1114
+
1110
1115
  # Template configuration to create Gemini examples from a multimodal dataset.
1111
1116
  # Corresponds to the JSON property `geminiTemplateConfig`
1112
1117
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig]
@@ -1125,6 +1130,7 @@ module Google
1125
1130
 
1126
1131
  # Update properties of this object
1127
1132
  def update!(**args)
1133
+ @gemini_request_read_config = args[:gemini_request_read_config] if args.key?(:gemini_request_read_config)
1128
1134
  @gemini_template_config = args[:gemini_template_config] if args.key?(:gemini_template_config)
1129
1135
  @request_column_name = args[:request_column_name] if args.key?(:request_column_name)
1130
1136
  end
@@ -1145,6 +1151,11 @@ module Google
1145
1151
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionValidationAssessmentConfig]
1146
1152
  attr_accessor :batch_prediction_validation_assessment_config
1147
1153
 
1154
+ # Configuration for how to read Gemini requests from a multimodal dataset.
1155
+ # Corresponds to the JSON property `geminiRequestReadConfig`
1156
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiRequestReadConfig]
1157
+ attr_accessor :gemini_request_read_config
1158
+
1148
1159
  # Template configuration to create Gemini examples from a multimodal dataset.
1149
1160
  # Corresponds to the JSON property `geminiTemplateConfig`
1150
1161
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig]
@@ -1174,6 +1185,7 @@ module Google
1174
1185
  def update!(**args)
1175
1186
  @batch_prediction_resource_usage_assessment_config = args[:batch_prediction_resource_usage_assessment_config] if args.key?(:batch_prediction_resource_usage_assessment_config)
1176
1187
  @batch_prediction_validation_assessment_config = args[:batch_prediction_validation_assessment_config] if args.key?(:batch_prediction_validation_assessment_config)
1188
+ @gemini_request_read_config = args[:gemini_request_read_config] if args.key?(:gemini_request_read_config)
1177
1189
  @gemini_template_config = args[:gemini_template_config] if args.key?(:gemini_template_config)
1178
1190
  @request_column_name = args[:request_column_name] if args.key?(:request_column_name)
1179
1191
  @tuning_resource_usage_assessment_config = args[:tuning_resource_usage_assessment_config] if args.key?(:tuning_resource_usage_assessment_config)
@@ -6822,6 +6834,12 @@ module Google
6822
6834
  attr_accessor :fast_tryout_enabled
6823
6835
  alias_method :fast_tryout_enabled?, :fast_tryout_enabled
6824
6836
 
6837
+ # Optional. System labels for Model Garden deployments. These labels are managed
6838
+ # by Google and for tracking purposes only.
6839
+ # Corresponds to the JSON property `systemLabels`
6840
+ # @return [Hash<String,String>]
6841
+ attr_accessor :system_labels
6842
+
6825
6843
  def initialize(**args)
6826
6844
  update!(**args)
6827
6845
  end
@@ -6830,6 +6848,7 @@ module Google
6830
6848
  def update!(**args)
6831
6849
  @dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
6832
6850
  @fast_tryout_enabled = args[:fast_tryout_enabled] if args.key?(:fast_tryout_enabled)
6851
+ @system_labels = args[:system_labels] if args.key?(:system_labels)
6833
6852
  end
6834
6853
  end
6835
6854
 
@@ -14273,11 +14292,37 @@ module Google
14273
14292
  end
14274
14293
  end
14275
14294
 
14295
+ # Configuration for how to read Gemini requests from a multimodal dataset.
14296
+ class GoogleCloudAiplatformV1beta1GeminiRequestReadConfig
14297
+ include Google::Apis::Core::Hashable
14298
+
14299
+ # Optional. Column name in the dataset table that contains already fully
14300
+ # assembled Gemini requests.
14301
+ # Corresponds to the JSON property `assembledRequestColumnName`
14302
+ # @return [String]
14303
+ attr_accessor :assembled_request_column_name
14304
+
14305
+ # Template configuration to create Gemini examples from a multimodal dataset.
14306
+ # Corresponds to the JSON property `templateConfig`
14307
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig]
14308
+ attr_accessor :template_config
14309
+
14310
+ def initialize(**args)
14311
+ update!(**args)
14312
+ end
14313
+
14314
+ # Update properties of this object
14315
+ def update!(**args)
14316
+ @assembled_request_column_name = args[:assembled_request_column_name] if args.key?(:assembled_request_column_name)
14317
+ @template_config = args[:template_config] if args.key?(:template_config)
14318
+ end
14319
+ end
14320
+
14276
14321
  # Template configuration to create Gemini examples from a multimodal dataset.
14277
14322
  class GoogleCloudAiplatformV1beta1GeminiTemplateConfig
14278
14323
  include Google::Apis::Core::Hashable
14279
14324
 
14280
- # Required. Map of template params to the columns in the dataset table.
14325
+ # Required. Map of template parameters to the columns in the dataset table.
14281
14326
  # Corresponds to the JSON property `fieldMapping`
14282
14327
  # @return [Hash<String,String>]
14283
14328
  attr_accessor :field_mapping
@@ -17199,7 +17244,7 @@ module Google
17199
17244
  # @return [String]
17200
17245
  attr_accessor :next_page_token
17201
17246
 
17202
- # A list of events matching the request.
17247
+ # A list of events matching the request. Ordered by timestamp in ascending order.
17203
17248
  # Corresponds to the JSON property `sessionEvents`
17204
17249
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SessionEvent>]
17205
17250
  attr_accessor :session_events
@@ -22461,13 +22506,6 @@ module Google
22461
22506
  # @return [Fixnum]
22462
22507
  attr_accessor :epoch
22463
22508
 
22464
- # Identifier. The resource name of the ModelVersionCheckpoint. Format: `projects/
22465
- # `project`/locations/`location`/models/`model`/versions/`version`/checkpoints/`
22466
- # checkpoint``
22467
- # Corresponds to the JSON property `name`
22468
- # @return [String]
22469
- attr_accessor :name
22470
-
22471
22509
  # The step of the checkpoint.
22472
22510
  # Corresponds to the JSON property `step`
22473
22511
  # @return [Fixnum]
@@ -22481,7 +22519,6 @@ module Google
22481
22519
  def update!(**args)
22482
22520
  @checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
22483
22521
  @epoch = args[:epoch] if args.key?(:epoch)
22484
- @name = args[:name] if args.key?(:name)
22485
22522
  @step = args[:step] if args.key?(:step)
22486
22523
  end
22487
22524
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1beta1
18
18
  # Version of the google-apis-aiplatform_v1beta1 gem
19
- GEM_VERSION = "0.43.0"
19
+ GEM_VERSION = "0.44.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250415"
25
+ REVISION = "20250422"
26
26
  end
27
27
  end
28
28
  end
@@ -2368,6 +2368,12 @@ module Google
2368
2368
  include Google::Apis::Core::JsonObjectSupport
2369
2369
  end
2370
2370
 
2371
+ class GoogleCloudAiplatformV1beta1GeminiRequestReadConfig
2372
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2373
+
2374
+ include Google::Apis::Core::JsonObjectSupport
2375
+ end
2376
+
2371
2377
  class GoogleCloudAiplatformV1beta1GeminiTemplateConfig
2372
2378
  class Representation < Google::Apis::Core::JsonRepresentation; end
2373
2379
 
@@ -8235,6 +8241,8 @@ module Google
8235
8241
  class GoogleCloudAiplatformV1beta1AssembleDataRequest
8236
8242
  # @private
8237
8243
  class Representation < Google::Apis::Core::JsonRepresentation
8244
+ property :gemini_request_read_config, as: 'geminiRequestReadConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiRequestReadConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiRequestReadConfig::Representation
8245
+
8238
8246
  property :gemini_template_config, as: 'geminiTemplateConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig::Representation
8239
8247
 
8240
8248
  property :request_column_name, as: 'requestColumnName'
@@ -8248,6 +8256,8 @@ module Google
8248
8256
 
8249
8257
  property :batch_prediction_validation_assessment_config, as: 'batchPredictionValidationAssessmentConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionValidationAssessmentConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionValidationAssessmentConfig::Representation
8250
8258
 
8259
+ property :gemini_request_read_config, as: 'geminiRequestReadConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiRequestReadConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiRequestReadConfig::Representation
8260
+
8251
8261
  property :gemini_template_config, as: 'geminiTemplateConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig::Representation
8252
8262
 
8253
8263
  property :request_column_name, as: 'requestColumnName'
@@ -9931,6 +9941,7 @@ module Google
9931
9941
  property :dedicated_resources, as: 'dedicatedResources', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DedicatedResources, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DedicatedResources::Representation
9932
9942
 
9933
9943
  property :fast_tryout_enabled, as: 'fastTryoutEnabled'
9944
+ hash :system_labels, as: 'systemLabels'
9934
9945
  end
9935
9946
  end
9936
9947
 
@@ -11985,6 +11996,15 @@ module Google
11985
11996
  end
11986
11997
  end
11987
11998
 
11999
+ class GoogleCloudAiplatformV1beta1GeminiRequestReadConfig
12000
+ # @private
12001
+ class Representation < Google::Apis::Core::JsonRepresentation
12002
+ property :assembled_request_column_name, as: 'assembledRequestColumnName'
12003
+ property :template_config, as: 'templateConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiTemplateConfig::Representation
12004
+
12005
+ end
12006
+ end
12007
+
11988
12008
  class GoogleCloudAiplatformV1beta1GeminiTemplateConfig
11989
12009
  # @private
11990
12010
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14351,7 +14371,6 @@ module Google
14351
14371
  class Representation < Google::Apis::Core::JsonRepresentation
14352
14372
  property :checkpoint_id, as: 'checkpointId'
14353
14373
  property :epoch, :numeric_string => true, as: 'epoch'
14354
- property :name, as: 'name'
14355
14374
  property :step, :numeric_string => true, as: 'step'
14356
14375
  end
14357
14376
  end
@@ -22452,11 +22452,10 @@ module Google
22452
22452
  execute_or_queue_command(command, &block)
22453
22453
  end
22454
22454
 
22455
- # Creates a new Session in a given project and location.
22455
+ # Creates a new Session.
22456
22456
  # @param [String] parent
22457
22457
  # Required. The resource name of the location to create the session in. Format: `
22458
- # projects/`project`/locations/`location`` or `projects/`project`/locations/`
22459
- # location`/reasoningEngines/`reasoning_engine``
22458
+ # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
22460
22459
  # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] google_cloud_aiplatform_v1beta1_session_object
22461
22460
  # @param [String] fields
22462
22461
  # Selector specifying which fields to include in a partial response.
@@ -22490,8 +22489,7 @@ module Google
22490
22489
  # Deletes details of the specific Session.
22491
22490
  # @param [String] name
22492
22491
  # Required. The resource name of the session. Format: `projects/`project`/
22493
- # locations/`location`/sessions/`session`` or `projects/`project`/locations/`
22494
- # location`/reasoningEngines/`reasoning_engine`/sessions/`session``
22492
+ # locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`session``
22495
22493
  # @param [String] fields
22496
22494
  # Selector specifying which fields to include in a partial response.
22497
22495
  # @param [String] quota_user
@@ -22550,7 +22548,7 @@ module Google
22550
22548
  execute_or_queue_command(command, &block)
22551
22549
  end
22552
22550
 
22553
- # Lists Sessions in a given project and location.
22551
+ # Lists Sessions in a given reasoning engine.
22554
22552
  # @param [String] parent
22555
22553
  # Required. The resource name of the location to list sessions from. Format: `
22556
22554
  # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
@@ -22644,7 +22642,8 @@ module Google
22644
22642
  # sessions/`session``
22645
22643
  # @param [Fixnum] page_size
22646
22644
  # Optional. The maximum number of events to return. The service may return fewer
22647
- # than this value. If unspecified, at most 100 events will be returned.
22645
+ # than this value. If unspecified, at most 100 events will be returned. These
22646
+ # events are ordered by timestamp in ascending order.
22648
22647
  # @param [String] page_token
22649
22648
  # Optional. The next_page_token value returned from a previous list
22650
22649
  # SessionService.ListEvents call.
@@ -23138,191 +23137,6 @@ module Google
23138
23137
  execute_or_queue_command(command, &block)
23139
23138
  end
23140
23139
 
23141
- # Creates a new Session in a given project and location.
23142
- # @param [String] parent
23143
- # Required. The resource name of the location to create the session in. Format: `
23144
- # projects/`project`/locations/`location`` or `projects/`project`/locations/`
23145
- # location`/reasoningEngines/`reasoning_engine``
23146
- # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] google_cloud_aiplatform_v1beta1_session_object
23147
- # @param [String] fields
23148
- # Selector specifying which fields to include in a partial response.
23149
- # @param [String] quota_user
23150
- # Available to use for quota purposes for server-side applications. Can be any
23151
- # arbitrary string assigned to a user, but should not exceed 40 characters.
23152
- # @param [Google::Apis::RequestOptions] options
23153
- # Request-specific options
23154
- #
23155
- # @yield [result, err] Result & error if block supplied
23156
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
23157
- # @yieldparam err [StandardError] error object if request failed
23158
- #
23159
- # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
23160
- #
23161
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23162
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23163
- # @raise [Google::Apis::AuthorizationError] Authorization is required
23164
- def create_project_location_session(parent, google_cloud_aiplatform_v1beta1_session_object = nil, fields: nil, quota_user: nil, options: nil, &block)
23165
- command = make_simple_command(:post, 'v1beta1/{+parent}/sessions', options)
23166
- command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
23167
- command.request_object = google_cloud_aiplatform_v1beta1_session_object
23168
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
23169
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
23170
- command.params['parent'] = parent unless parent.nil?
23171
- command.query['fields'] = fields unless fields.nil?
23172
- command.query['quotaUser'] = quota_user unless quota_user.nil?
23173
- execute_or_queue_command(command, &block)
23174
- end
23175
-
23176
- # Deletes details of the specific Session.
23177
- # @param [String] name
23178
- # Required. The resource name of the session. Format: `projects/`project`/
23179
- # locations/`location`/sessions/`session`` or `projects/`project`/locations/`
23180
- # location`/reasoningEngines/`reasoning_engine`/sessions/`session``
23181
- # @param [String] fields
23182
- # Selector specifying which fields to include in a partial response.
23183
- # @param [String] quota_user
23184
- # Available to use for quota purposes for server-side applications. Can be any
23185
- # arbitrary string assigned to a user, but should not exceed 40 characters.
23186
- # @param [Google::Apis::RequestOptions] options
23187
- # Request-specific options
23188
- #
23189
- # @yield [result, err] Result & error if block supplied
23190
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
23191
- # @yieldparam err [StandardError] error object if request failed
23192
- #
23193
- # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
23194
- #
23195
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23196
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23197
- # @raise [Google::Apis::AuthorizationError] Authorization is required
23198
- def delete_project_location_session(name, fields: nil, quota_user: nil, options: nil, &block)
23199
- command = make_simple_command(:delete, 'v1beta1/{+name}', options)
23200
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
23201
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
23202
- command.params['name'] = name unless name.nil?
23203
- command.query['fields'] = fields unless fields.nil?
23204
- command.query['quotaUser'] = quota_user unless quota_user.nil?
23205
- execute_or_queue_command(command, &block)
23206
- end
23207
-
23208
- # Gets details of the specific Session.
23209
- # @param [String] name
23210
- # Required. The resource name of the session. Format: `projects/`project`/
23211
- # locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`session``
23212
- # @param [String] fields
23213
- # Selector specifying which fields to include in a partial response.
23214
- # @param [String] quota_user
23215
- # Available to use for quota purposes for server-side applications. Can be any
23216
- # arbitrary string assigned to a user, but should not exceed 40 characters.
23217
- # @param [Google::Apis::RequestOptions] options
23218
- # Request-specific options
23219
- #
23220
- # @yield [result, err] Result & error if block supplied
23221
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] parsed result object
23222
- # @yieldparam err [StandardError] error object if request failed
23223
- #
23224
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session]
23225
- #
23226
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23227
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23228
- # @raise [Google::Apis::AuthorizationError] Authorization is required
23229
- def get_project_location_session(name, fields: nil, quota_user: nil, options: nil, &block)
23230
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
23231
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
23232
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session
23233
- command.params['name'] = name unless name.nil?
23234
- command.query['fields'] = fields unless fields.nil?
23235
- command.query['quotaUser'] = quota_user unless quota_user.nil?
23236
- execute_or_queue_command(command, &block)
23237
- end
23238
-
23239
- # Lists Sessions in a given project and location.
23240
- # @param [String] parent
23241
- # Required. The resource name of the location to list sessions from. Format: `
23242
- # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
23243
- # @param [String] filter
23244
- # Optional. The standard list filter. Supported fields: * `display_name` Example:
23245
- # `display_name=abc`.
23246
- # @param [String] order_by
23247
- # Optional. A comma-separated list of fields to order by, sorted in ascending
23248
- # order. Use "desc" after a field name for descending. Supported fields: * `
23249
- # create_time` * `update_time` Example: `create_time desc`.
23250
- # @param [Fixnum] page_size
23251
- # Optional. The maximum number of sessions to return. The service may return
23252
- # fewer than this value. If unspecified, at most 100 sessions will be returned.
23253
- # @param [String] page_token
23254
- # Optional. The next_page_token value returned from a previous list
23255
- # SessionService.ListSessions call.
23256
- # @param [String] fields
23257
- # Selector specifying which fields to include in a partial response.
23258
- # @param [String] quota_user
23259
- # Available to use for quota purposes for server-side applications. Can be any
23260
- # arbitrary string assigned to a user, but should not exceed 40 characters.
23261
- # @param [Google::Apis::RequestOptions] options
23262
- # Request-specific options
23263
- #
23264
- # @yield [result, err] Result & error if block supplied
23265
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse] parsed result object
23266
- # @yieldparam err [StandardError] error object if request failed
23267
- #
23268
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse]
23269
- #
23270
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23271
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23272
- # @raise [Google::Apis::AuthorizationError] Authorization is required
23273
- def list_project_location_sessions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
23274
- command = make_simple_command(:get, 'v1beta1/{+parent}/sessions', options)
23275
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse::Representation
23276
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse
23277
- command.params['parent'] = parent unless parent.nil?
23278
- command.query['filter'] = filter unless filter.nil?
23279
- command.query['orderBy'] = order_by unless order_by.nil?
23280
- command.query['pageSize'] = page_size unless page_size.nil?
23281
- command.query['pageToken'] = page_token unless page_token.nil?
23282
- command.query['fields'] = fields unless fields.nil?
23283
- command.query['quotaUser'] = quota_user unless quota_user.nil?
23284
- execute_or_queue_command(command, &block)
23285
- end
23286
-
23287
- # Updates the specific Session.
23288
- # @param [String] name
23289
- # Required. Identifier. The resource name of the session. Format: 'projects/`
23290
- # project`/locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`
23291
- # session`'.
23292
- # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] google_cloud_aiplatform_v1beta1_session_object
23293
- # @param [String] update_mask
23294
- # Optional. Field mask is used to control which fields get updated. If the mask
23295
- # is not present, all fields will be updated.
23296
- # @param [String] fields
23297
- # Selector specifying which fields to include in a partial response.
23298
- # @param [String] quota_user
23299
- # Available to use for quota purposes for server-side applications. Can be any
23300
- # arbitrary string assigned to a user, but should not exceed 40 characters.
23301
- # @param [Google::Apis::RequestOptions] options
23302
- # Request-specific options
23303
- #
23304
- # @yield [result, err] Result & error if block supplied
23305
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] parsed result object
23306
- # @yieldparam err [StandardError] error object if request failed
23307
- #
23308
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session]
23309
- #
23310
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23311
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23312
- # @raise [Google::Apis::AuthorizationError] Authorization is required
23313
- def patch_project_location_session(name, google_cloud_aiplatform_v1beta1_session_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
23314
- command = make_simple_command(:patch, 'v1beta1/{+name}', options)
23315
- command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
23316
- command.request_object = google_cloud_aiplatform_v1beta1_session_object
23317
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
23318
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session
23319
- command.params['name'] = name unless name.nil?
23320
- command.query['updateMask'] = update_mask unless update_mask.nil?
23321
- command.query['fields'] = fields unless fields.nil?
23322
- command.query['quotaUser'] = quota_user unless quota_user.nil?
23323
- execute_or_queue_command(command, &block)
23324
- end
23325
-
23326
23140
  # Deletes a long-running operation. This method indicates that the client is no
23327
23141
  # longer interested in the operation result. It does not cancel the operation.
23328
23142
  # If the server doesn't support this method, it returns `google.rpc.Code.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.0
4
+ version: 0.44.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-27 00:00:00.000000000 Z
10
+ date: 1980-01-02 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_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.43.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.44.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Vertex AI API V1beta1
79
79
  test_files: []