google-apis-aiplatform_v1beta1 0.48.0 → 0.49.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: d9a47818def38e20595eadd75640f9fb5bef75813b580461c99d878508788ad8
4
- data.tar.gz: 437d1e7f5c18b14f8f4c4a68a7f0b129dec759e19b746f22dcaa9f899fa1b82b
3
+ metadata.gz: 83d19de38cd2f7bb88e964bd98e8c0d8af2f16825727c3db5efb7b2e7c1faff3
4
+ data.tar.gz: 671a7322a5cad1af42fab37e031018fc760b2e756423687ff14a1c2e2db022fb
5
5
  SHA512:
6
- metadata.gz: 39071e7a23b9fdcf661ea4dc02e12d72765d727aa2085c0a46857efec15a0be63e4e3413abce0ba1d7390d98d536e92ee38b0ea4aae10647873d04adb5b09879
7
- data.tar.gz: 6fc54559bcf827839d6bd26c32eb84153f59dccce559fa545b4f25e5e1a1889d346b6a6db78330bd84f2896b61a217044e9e76c8cc4ca61555eed796e51c5279
6
+ metadata.gz: f02c2f663f472144a629507844721fd1aa5a98e2ff5cb5e0d0d74a04612cc78cc39e3dda0ddb9641ba0b57b7a656110e50b53e07b47ea3c3512c77d761996ac5
7
+ data.tar.gz: 1de8eb3980c4c1a49fe41654669fbdc57fae4d7747044f96664ecfbaafa699f2e10486d8b666610478f845330fd702ddf23bedbcd86f6a97c3eff62404d0d2f5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1beta1
2
2
 
3
+ ### v0.49.0 (2025-06-08)
4
+
5
+ * Regenerated from discovery document revision 20250529
6
+
3
7
  ### v0.48.0 (2025-06-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20250527
@@ -14290,6 +14290,16 @@ module Google
14290
14290
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema]
14291
14291
  attr_accessor :parameters
14292
14292
 
14293
+ # Optional. Describes the parameters to the function in JSON Schema format. The
14294
+ # schema must describe an object where the properties are the parameters to the
14295
+ # function. For example: ``` ` "type": "object", "properties": ` "name": ` "type"
14296
+ # : "string" `, "age": ` "type": "integer" ` `, "additionalProperties": false, "
14297
+ # required": ["name", "age"], "propertyOrdering": ["name", "age"] ` ``` This
14298
+ # field is mutually exclusive with `parameters`.
14299
+ # Corresponds to the JSON property `parametersJsonSchema`
14300
+ # @return [Object]
14301
+ attr_accessor :parameters_json_schema
14302
+
14293
14303
  # Schema is used to define the format of input/output data. Represents a select
14294
14304
  # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
14295
14305
  # schema-object). More fields may be added in the future as needed.
@@ -14297,6 +14307,13 @@ module Google
14297
14307
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema]
14298
14308
  attr_accessor :response
14299
14309
 
14310
+ # Optional. Describes the output from this function in JSON Schema format. The
14311
+ # value specified by the schema is the response value of the function. This
14312
+ # field is mutually exclusive with `response`.
14313
+ # Corresponds to the JSON property `responseJsonSchema`
14314
+ # @return [Object]
14315
+ attr_accessor :response_json_schema
14316
+
14300
14317
  def initialize(**args)
14301
14318
  update!(**args)
14302
14319
  end
@@ -14306,7 +14323,9 @@ module Google
14306
14323
  @description = args[:description] if args.key?(:description)
14307
14324
  @name = args[:name] if args.key?(:name)
14308
14325
  @parameters = args[:parameters] if args.key?(:parameters)
14326
+ @parameters_json_schema = args[:parameters_json_schema] if args.key?(:parameters_json_schema)
14309
14327
  @response = args[:response] if args.key?(:response)
14328
+ @response_json_schema = args[:response_json_schema] if args.key?(:response_json_schema)
14310
14329
  end
14311
14330
  end
14312
14331
 
@@ -14995,6 +15014,23 @@ module Google
14995
15014
  # @return [Float]
14996
15015
  attr_accessor :presence_penalty
14997
15016
 
15017
+ # Optional. Output schema of the generated response. This is an alternative to `
15018
+ # response_schema` that accepts [JSON Schema](https://json-schema.org/). If set,
15019
+ # `response_schema` must be omitted, but `response_mime_type` is required. While
15020
+ # the full JSON Schema may be sent, not all features are supported. Specifically,
15021
+ # only the following properties are supported: - `$id` - `$defs` - `$ref` - `$
15022
+ # anchor` - `type` - `format` - `title` - `description` - `enum` (for strings
15023
+ # and numbers) - `items` - `prefixItems` - `minItems` - `maxItems` - `minimum` -
15024
+ # `maximum` - `anyOf` - `oneOf` (interpreted the same as `anyOf`) - `properties`
15025
+ # - `additionalProperties` - `required` The non-standard `propertyOrdering`
15026
+ # property may also be set. Cyclic references are unrolled to a limited degree
15027
+ # and, as such, may only be used within non-required properties. (Nullable
15028
+ # properties are not sufficient.) If `$ref` is set on a sub-schema, no other
15029
+ # properties, except for than those starting as a `$`, may be set.
15030
+ # Corresponds to the JSON property `responseJsonSchema`
15031
+ # @return [Object]
15032
+ attr_accessor :response_json_schema
15033
+
14998
15034
  # Optional. If true, export the logprobs results in response.
14999
15035
  # Corresponds to the JSON property `responseLogprobs`
15000
15036
  # @return [Boolean]
@@ -15077,6 +15113,7 @@ module Google
15077
15113
  @media_resolution = args[:media_resolution] if args.key?(:media_resolution)
15078
15114
  @model_config = args[:model_config] if args.key?(:model_config)
15079
15115
  @presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
15116
+ @response_json_schema = args[:response_json_schema] if args.key?(:response_json_schema)
15080
15117
  @response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
15081
15118
  @response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
15082
15119
  @response_modalities = args[:response_modalities] if args.key?(:response_modalities)
@@ -28699,6 +28736,11 @@ module Google
28699
28736
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CorpusStatus]
28700
28737
  attr_accessor :corpus_status
28701
28738
 
28739
+ # The config for the corpus type of the RagCorpus.
28740
+ # Corresponds to the JSON property `corpusTypeConfig`
28741
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfig]
28742
+ attr_accessor :corpus_type_config
28743
+
28702
28744
  # Output only. Timestamp when this RagCorpus was created.
28703
28745
  # Corresponds to the JSON property `createTime`
28704
28746
  # @return [String]
@@ -28763,6 +28805,7 @@ module Google
28763
28805
  # Update properties of this object
28764
28806
  def update!(**args)
28765
28807
  @corpus_status = args[:corpus_status] if args.key?(:corpus_status)
28808
+ @corpus_type_config = args[:corpus_type_config] if args.key?(:corpus_type_config)
28766
28809
  @create_time = args[:create_time] if args.key?(:create_time)
28767
28810
  @description = args[:description] if args.key?(:description)
28768
28811
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -28777,6 +28820,63 @@ module Google
28777
28820
  end
28778
28821
  end
28779
28822
 
28823
+ # The config for the corpus type of the RagCorpus.
28824
+ class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfig
28825
+ include Google::Apis::Core::Hashable
28826
+
28827
+ # Config for the document corpus.
28828
+ # Corresponds to the JSON property `documentCorpus`
28829
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigDocumentCorpus]
28830
+ attr_accessor :document_corpus
28831
+
28832
+ # Config for the memory corpus.
28833
+ # Corresponds to the JSON property `memoryCorpus`
28834
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigMemoryCorpus]
28835
+ attr_accessor :memory_corpus
28836
+
28837
+ def initialize(**args)
28838
+ update!(**args)
28839
+ end
28840
+
28841
+ # Update properties of this object
28842
+ def update!(**args)
28843
+ @document_corpus = args[:document_corpus] if args.key?(:document_corpus)
28844
+ @memory_corpus = args[:memory_corpus] if args.key?(:memory_corpus)
28845
+ end
28846
+ end
28847
+
28848
+ # Config for the document corpus.
28849
+ class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigDocumentCorpus
28850
+ include Google::Apis::Core::Hashable
28851
+
28852
+ def initialize(**args)
28853
+ update!(**args)
28854
+ end
28855
+
28856
+ # Update properties of this object
28857
+ def update!(**args)
28858
+ end
28859
+ end
28860
+
28861
+ # Config for the memory corpus.
28862
+ class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigMemoryCorpus
28863
+ include Google::Apis::Core::Hashable
28864
+
28865
+ # Specifies the LLM parsing for RagFiles.
28866
+ # Corresponds to the JSON property `llmParser`
28867
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser]
28868
+ attr_accessor :llm_parser
28869
+
28870
+ def initialize(**args)
28871
+ update!(**args)
28872
+ end
28873
+
28874
+ # Update properties of this object
28875
+ def update!(**args)
28876
+ @llm_parser = args[:llm_parser] if args.key?(:llm_parser)
28877
+ end
28878
+ end
28879
+
28780
28880
  # Config for the embedding model to use for RAG.
28781
28881
  class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig
28782
28882
  include Google::Apis::Core::Hashable
@@ -46088,6 +46188,16 @@ module Google
46088
46188
  # @return [Fixnum]
46089
46189
  attr_accessor :similarity_top_k
46090
46190
 
46191
+ # Optional. Currently only supported for Gemini Multimodal Live API. In Gemini
46192
+ # Multimodal Live API, if `store_context` bool is specified, Gemini will
46193
+ # leverage it to automatically memorize the interactions between the client and
46194
+ # Gemini, and retrieve context when needed to augment the response generation
46195
+ # for users' ongoing and future interactions.
46196
+ # Corresponds to the JSON property `storeContext`
46197
+ # @return [Boolean]
46198
+ attr_accessor :store_context
46199
+ alias_method :store_context?, :store_context
46200
+
46091
46201
  # Optional. Only return results with vector distance smaller than the threshold.
46092
46202
  # Corresponds to the JSON property `vectorDistanceThreshold`
46093
46203
  # @return [Float]
@@ -46103,6 +46213,7 @@ module Google
46103
46213
  @rag_resources = args[:rag_resources] if args.key?(:rag_resources)
46104
46214
  @rag_retrieval_config = args[:rag_retrieval_config] if args.key?(:rag_retrieval_config)
46105
46215
  @similarity_top_k = args[:similarity_top_k] if args.key?(:similarity_top_k)
46216
+ @store_context = args[:store_context] if args.key?(:store_context)
46106
46217
  @vector_distance_threshold = args[:vector_distance_threshold] if args.key?(:vector_distance_threshold)
46107
46218
  end
46108
46219
  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.48.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250527"
25
+ REVISION = "20250529"
26
26
  end
27
27
  end
28
28
  end
@@ -4708,6 +4708,24 @@ module Google
4708
4708
  include Google::Apis::Core::JsonObjectSupport
4709
4709
  end
4710
4710
 
4711
+ class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfig
4712
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4713
+
4714
+ include Google::Apis::Core::JsonObjectSupport
4715
+ end
4716
+
4717
+ class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigDocumentCorpus
4718
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4719
+
4720
+ include Google::Apis::Core::JsonObjectSupport
4721
+ end
4722
+
4723
+ class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigMemoryCorpus
4724
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4725
+
4726
+ include Google::Apis::Core::JsonObjectSupport
4727
+ end
4728
+
4711
4729
  class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig
4712
4730
  class Representation < Google::Apis::Core::JsonRepresentation; end
4713
4731
 
@@ -12090,8 +12108,10 @@ module Google
12090
12108
  property :name, as: 'name'
12091
12109
  property :parameters, as: 'parameters', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema::Representation
12092
12110
 
12111
+ property :parameters_json_schema, as: 'parametersJsonSchema'
12093
12112
  property :response, as: 'response', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema::Representation
12094
12113
 
12114
+ property :response_json_schema, as: 'responseJsonSchema'
12095
12115
  end
12096
12116
  end
12097
12117
 
@@ -12288,6 +12308,7 @@ module Google
12288
12308
  property :model_config, as: 'modelConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerationConfigModelConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerationConfigModelConfig::Representation
12289
12309
 
12290
12310
  property :presence_penalty, as: 'presencePenalty'
12311
+ property :response_json_schema, as: 'responseJsonSchema'
12291
12312
  property :response_logprobs, as: 'responseLogprobs'
12292
12313
  property :response_mime_type, as: 'responseMimeType'
12293
12314
  collection :response_modalities, as: 'responseModalities'
@@ -16218,6 +16239,8 @@ module Google
16218
16239
  class Representation < Google::Apis::Core::JsonRepresentation
16219
16240
  property :corpus_status, as: 'corpusStatus', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CorpusStatus, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CorpusStatus::Representation
16220
16241
 
16242
+ property :corpus_type_config, as: 'corpusTypeConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfig::Representation
16243
+
16221
16244
  property :create_time, as: 'createTime'
16222
16245
  property :description, as: 'description'
16223
16246
  property :display_name, as: 'displayName'
@@ -16237,6 +16260,30 @@ module Google
16237
16260
  end
16238
16261
  end
16239
16262
 
16263
+ class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfig
16264
+ # @private
16265
+ class Representation < Google::Apis::Core::JsonRepresentation
16266
+ property :document_corpus, as: 'documentCorpus', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigDocumentCorpus, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigDocumentCorpus::Representation
16267
+
16268
+ property :memory_corpus, as: 'memoryCorpus', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigMemoryCorpus, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigMemoryCorpus::Representation
16269
+
16270
+ end
16271
+ end
16272
+
16273
+ class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigDocumentCorpus
16274
+ # @private
16275
+ class Representation < Google::Apis::Core::JsonRepresentation
16276
+ end
16277
+ end
16278
+
16279
+ class GoogleCloudAiplatformV1beta1RagCorpusCorpusTypeConfigMemoryCorpus
16280
+ # @private
16281
+ class Representation < Google::Apis::Core::JsonRepresentation
16282
+ property :llm_parser, as: 'llmParser', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser::Representation
16283
+
16284
+ end
16285
+ end
16286
+
16240
16287
  class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig
16241
16288
  # @private
16242
16289
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -21267,6 +21314,7 @@ module Google
21267
21314
  property :rag_retrieval_config, as: 'ragRetrievalConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagRetrievalConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagRetrievalConfig::Representation
21268
21315
 
21269
21316
  property :similarity_top_k, as: 'similarityTopK'
21317
+ property :store_context, as: 'storeContext'
21270
21318
  property :vector_distance_threshold, as: 'vectorDistanceThreshold'
21271
21319
  end
21272
21320
  end
@@ -22339,6 +22339,189 @@ module Google
22339
22339
  execute_or_queue_command(command, &block)
22340
22340
  end
22341
22341
 
22342
+ # Starts asynchronous cancellation on a long-running operation. The server makes
22343
+ # a best effort to cancel the operation, but success is not guaranteed. If the
22344
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
22345
+ # Clients can use Operations.GetOperation or other methods to check whether the
22346
+ # cancellation succeeded or whether the operation completed despite cancellation.
22347
+ # On successful cancellation, the operation is not deleted; instead, it becomes
22348
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
22349
+ # , corresponding to `Code.CANCELLED`.
22350
+ # @param [String] name
22351
+ # The name of the operation resource to be cancelled.
22352
+ # @param [String] fields
22353
+ # Selector specifying which fields to include in a partial response.
22354
+ # @param [String] quota_user
22355
+ # Available to use for quota purposes for server-side applications. Can be any
22356
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22357
+ # @param [Google::Apis::RequestOptions] options
22358
+ # Request-specific options
22359
+ #
22360
+ # @yield [result, err] Result & error if block supplied
22361
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
22362
+ # @yieldparam err [StandardError] error object if request failed
22363
+ #
22364
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
22365
+ #
22366
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22367
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22368
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22369
+ def cancel_project_location_reasoning_engine_memory_operation(name, fields: nil, quota_user: nil, options: nil, &block)
22370
+ command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
22371
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
22372
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
22373
+ command.params['name'] = name unless name.nil?
22374
+ command.query['fields'] = fields unless fields.nil?
22375
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22376
+ execute_or_queue_command(command, &block)
22377
+ end
22378
+
22379
+ # Deletes a long-running operation. This method indicates that the client is no
22380
+ # longer interested in the operation result. It does not cancel the operation.
22381
+ # If the server doesn't support this method, it returns `google.rpc.Code.
22382
+ # UNIMPLEMENTED`.
22383
+ # @param [String] name
22384
+ # The name of the operation resource to be deleted.
22385
+ # @param [String] fields
22386
+ # Selector specifying which fields to include in a partial response.
22387
+ # @param [String] quota_user
22388
+ # Available to use for quota purposes for server-side applications. Can be any
22389
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22390
+ # @param [Google::Apis::RequestOptions] options
22391
+ # Request-specific options
22392
+ #
22393
+ # @yield [result, err] Result & error if block supplied
22394
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
22395
+ # @yieldparam err [StandardError] error object if request failed
22396
+ #
22397
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
22398
+ #
22399
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22400
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22401
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22402
+ def delete_project_location_reasoning_engine_memory_operation(name, fields: nil, quota_user: nil, options: nil, &block)
22403
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
22404
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
22405
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
22406
+ command.params['name'] = name unless name.nil?
22407
+ command.query['fields'] = fields unless fields.nil?
22408
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22409
+ execute_or_queue_command(command, &block)
22410
+ end
22411
+
22412
+ # Gets the latest state of a long-running operation. Clients can use this method
22413
+ # to poll the operation result at intervals as recommended by the API service.
22414
+ # @param [String] name
22415
+ # The name of the operation resource.
22416
+ # @param [String] fields
22417
+ # Selector specifying which fields to include in a partial response.
22418
+ # @param [String] quota_user
22419
+ # Available to use for quota purposes for server-side applications. Can be any
22420
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22421
+ # @param [Google::Apis::RequestOptions] options
22422
+ # Request-specific options
22423
+ #
22424
+ # @yield [result, err] Result & error if block supplied
22425
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
22426
+ # @yieldparam err [StandardError] error object if request failed
22427
+ #
22428
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
22429
+ #
22430
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22431
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22432
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22433
+ def get_project_location_reasoning_engine_memory_operation(name, fields: nil, quota_user: nil, options: nil, &block)
22434
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
22435
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
22436
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
22437
+ command.params['name'] = name unless name.nil?
22438
+ command.query['fields'] = fields unless fields.nil?
22439
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22440
+ execute_or_queue_command(command, &block)
22441
+ end
22442
+
22443
+ # Lists operations that match the specified filter in the request. If the server
22444
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
22445
+ # @param [String] name
22446
+ # The name of the operation's parent resource.
22447
+ # @param [String] filter
22448
+ # The standard list filter.
22449
+ # @param [Fixnum] page_size
22450
+ # The standard list page size.
22451
+ # @param [String] page_token
22452
+ # The standard list page token.
22453
+ # @param [String] fields
22454
+ # Selector specifying which fields to include in a partial response.
22455
+ # @param [String] quota_user
22456
+ # Available to use for quota purposes for server-side applications. Can be any
22457
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22458
+ # @param [Google::Apis::RequestOptions] options
22459
+ # Request-specific options
22460
+ #
22461
+ # @yield [result, err] Result & error if block supplied
22462
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
22463
+ # @yieldparam err [StandardError] error object if request failed
22464
+ #
22465
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
22466
+ #
22467
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22468
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22469
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22470
+ def list_project_location_reasoning_engine_memory_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
22471
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
22472
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
22473
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
22474
+ command.params['name'] = name unless name.nil?
22475
+ command.query['filter'] = filter unless filter.nil?
22476
+ command.query['pageSize'] = page_size unless page_size.nil?
22477
+ command.query['pageToken'] = page_token unless page_token.nil?
22478
+ command.query['fields'] = fields unless fields.nil?
22479
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22480
+ execute_or_queue_command(command, &block)
22481
+ end
22482
+
22483
+ # Waits until the specified long-running operation is done or reaches at most a
22484
+ # specified timeout, returning the latest state. If the operation is already
22485
+ # done, the latest state is immediately returned. If the timeout specified is
22486
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
22487
+ # the server does not support this method, it returns `google.rpc.Code.
22488
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
22489
+ # the latest state before the specified timeout (including immediately), meaning
22490
+ # even an immediate response is no guarantee that the operation is done.
22491
+ # @param [String] name
22492
+ # The name of the operation resource to wait on.
22493
+ # @param [String] timeout
22494
+ # The maximum duration to wait before timing out. If left blank, the wait will
22495
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
22496
+ # context deadline is also specified, the shorter one will be used.
22497
+ # @param [String] fields
22498
+ # Selector specifying which fields to include in a partial response.
22499
+ # @param [String] quota_user
22500
+ # Available to use for quota purposes for server-side applications. Can be any
22501
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
22502
+ # @param [Google::Apis::RequestOptions] options
22503
+ # Request-specific options
22504
+ #
22505
+ # @yield [result, err] Result & error if block supplied
22506
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
22507
+ # @yieldparam err [StandardError] error object if request failed
22508
+ #
22509
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
22510
+ #
22511
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22512
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22513
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
22514
+ def wait_project_location_reasoning_engine_memory_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
22515
+ command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
22516
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
22517
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
22518
+ command.params['name'] = name unless name.nil?
22519
+ command.query['timeout'] = timeout unless timeout.nil?
22520
+ command.query['fields'] = fields unless fields.nil?
22521
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
22522
+ execute_or_queue_command(command, &block)
22523
+ end
22524
+
22342
22525
  # Starts asynchronous cancellation on a long-running operation. The server makes
22343
22526
  # a best effort to cancel the operation, but success is not guaranteed. If the
22344
22527
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -22963,6 +23146,189 @@ module Google
22963
23146
  execute_or_queue_command(command, &block)
22964
23147
  end
22965
23148
 
23149
+ # Starts asynchronous cancellation on a long-running operation. The server makes
23150
+ # a best effort to cancel the operation, but success is not guaranteed. If the
23151
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
23152
+ # Clients can use Operations.GetOperation or other methods to check whether the
23153
+ # cancellation succeeded or whether the operation completed despite cancellation.
23154
+ # On successful cancellation, the operation is not deleted; instead, it becomes
23155
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
23156
+ # , corresponding to `Code.CANCELLED`.
23157
+ # @param [String] name
23158
+ # The name of the operation resource to be cancelled.
23159
+ # @param [String] fields
23160
+ # Selector specifying which fields to include in a partial response.
23161
+ # @param [String] quota_user
23162
+ # Available to use for quota purposes for server-side applications. Can be any
23163
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
23164
+ # @param [Google::Apis::RequestOptions] options
23165
+ # Request-specific options
23166
+ #
23167
+ # @yield [result, err] Result & error if block supplied
23168
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
23169
+ # @yieldparam err [StandardError] error object if request failed
23170
+ #
23171
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
23172
+ #
23173
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23174
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23175
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23176
+ def cancel_project_location_reasoning_engine_session_operation(name, fields: nil, quota_user: nil, options: nil, &block)
23177
+ command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
23178
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
23179
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
23180
+ command.params['name'] = name unless name.nil?
23181
+ command.query['fields'] = fields unless fields.nil?
23182
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23183
+ execute_or_queue_command(command, &block)
23184
+ end
23185
+
23186
+ # Deletes a long-running operation. This method indicates that the client is no
23187
+ # longer interested in the operation result. It does not cancel the operation.
23188
+ # If the server doesn't support this method, it returns `google.rpc.Code.
23189
+ # UNIMPLEMENTED`.
23190
+ # @param [String] name
23191
+ # The name of the operation resource to be deleted.
23192
+ # @param [String] fields
23193
+ # Selector specifying which fields to include in a partial response.
23194
+ # @param [String] quota_user
23195
+ # Available to use for quota purposes for server-side applications. Can be any
23196
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
23197
+ # @param [Google::Apis::RequestOptions] options
23198
+ # Request-specific options
23199
+ #
23200
+ # @yield [result, err] Result & error if block supplied
23201
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
23202
+ # @yieldparam err [StandardError] error object if request failed
23203
+ #
23204
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
23205
+ #
23206
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23207
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23208
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23209
+ def delete_project_location_reasoning_engine_session_operation(name, fields: nil, quota_user: nil, options: nil, &block)
23210
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
23211
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
23212
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
23213
+ command.params['name'] = name unless name.nil?
23214
+ command.query['fields'] = fields unless fields.nil?
23215
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23216
+ execute_or_queue_command(command, &block)
23217
+ end
23218
+
23219
+ # Gets the latest state of a long-running operation. Clients can use this method
23220
+ # to poll the operation result at intervals as recommended by the API service.
23221
+ # @param [String] name
23222
+ # The name of the operation resource.
23223
+ # @param [String] fields
23224
+ # Selector specifying which fields to include in a partial response.
23225
+ # @param [String] quota_user
23226
+ # Available to use for quota purposes for server-side applications. Can be any
23227
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
23228
+ # @param [Google::Apis::RequestOptions] options
23229
+ # Request-specific options
23230
+ #
23231
+ # @yield [result, err] Result & error if block supplied
23232
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
23233
+ # @yieldparam err [StandardError] error object if request failed
23234
+ #
23235
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
23236
+ #
23237
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23238
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23239
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23240
+ def get_project_location_reasoning_engine_session_operation(name, fields: nil, quota_user: nil, options: nil, &block)
23241
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
23242
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
23243
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
23244
+ command.params['name'] = name unless name.nil?
23245
+ command.query['fields'] = fields unless fields.nil?
23246
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23247
+ execute_or_queue_command(command, &block)
23248
+ end
23249
+
23250
+ # Lists operations that match the specified filter in the request. If the server
23251
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
23252
+ # @param [String] name
23253
+ # The name of the operation's parent resource.
23254
+ # @param [String] filter
23255
+ # The standard list filter.
23256
+ # @param [Fixnum] page_size
23257
+ # The standard list page size.
23258
+ # @param [String] page_token
23259
+ # The standard list page token.
23260
+ # @param [String] fields
23261
+ # Selector specifying which fields to include in a partial response.
23262
+ # @param [String] quota_user
23263
+ # Available to use for quota purposes for server-side applications. Can be any
23264
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
23265
+ # @param [Google::Apis::RequestOptions] options
23266
+ # Request-specific options
23267
+ #
23268
+ # @yield [result, err] Result & error if block supplied
23269
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
23270
+ # @yieldparam err [StandardError] error object if request failed
23271
+ #
23272
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
23273
+ #
23274
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23275
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23276
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23277
+ def list_project_location_reasoning_engine_session_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
23278
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
23279
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
23280
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
23281
+ command.params['name'] = name unless name.nil?
23282
+ command.query['filter'] = filter unless filter.nil?
23283
+ command.query['pageSize'] = page_size unless page_size.nil?
23284
+ command.query['pageToken'] = page_token unless page_token.nil?
23285
+ command.query['fields'] = fields unless fields.nil?
23286
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23287
+ execute_or_queue_command(command, &block)
23288
+ end
23289
+
23290
+ # Waits until the specified long-running operation is done or reaches at most a
23291
+ # specified timeout, returning the latest state. If the operation is already
23292
+ # done, the latest state is immediately returned. If the timeout specified is
23293
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
23294
+ # the server does not support this method, it returns `google.rpc.Code.
23295
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
23296
+ # the latest state before the specified timeout (including immediately), meaning
23297
+ # even an immediate response is no guarantee that the operation is done.
23298
+ # @param [String] name
23299
+ # The name of the operation resource to wait on.
23300
+ # @param [String] timeout
23301
+ # The maximum duration to wait before timing out. If left blank, the wait will
23302
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
23303
+ # context deadline is also specified, the shorter one will be used.
23304
+ # @param [String] fields
23305
+ # Selector specifying which fields to include in a partial response.
23306
+ # @param [String] quota_user
23307
+ # Available to use for quota purposes for server-side applications. Can be any
23308
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
23309
+ # @param [Google::Apis::RequestOptions] options
23310
+ # Request-specific options
23311
+ #
23312
+ # @yield [result, err] Result & error if block supplied
23313
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
23314
+ # @yieldparam err [StandardError] error object if request failed
23315
+ #
23316
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
23317
+ #
23318
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23319
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23320
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23321
+ def wait_project_location_reasoning_engine_session_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
23322
+ command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
23323
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
23324
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
23325
+ command.params['name'] = name unless name.nil?
23326
+ command.query['timeout'] = timeout unless timeout.nil?
23327
+ command.query['fields'] = fields unless fields.nil?
23328
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23329
+ execute_or_queue_command(command, &block)
23330
+ end
23331
+
22966
23332
  # Creates a Schedule.
22967
23333
  # @param [String] parent
22968
23334
  # Required. The resource name of the Location to create the Schedule in. Format:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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.48.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.49.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: