google-apis-aiplatform_v1 0.86.0 → 0.87.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: 994e3eb4c30e72215a2481204bf9d1a6a55d917ea2fd60fc7118451ed235c0ab
4
- data.tar.gz: 819eb6e232449f85f1b0b99badb70408c281eaddda3a876be0326c9f7c022370
3
+ metadata.gz: 67b9d7cad0960dc7d90b46a0748d232580835b0c1e94990bd624393506185489
4
+ data.tar.gz: c0f6e0834df521514df93d80833445c58ee4917ab01300fdd63b83f9a2a92418
5
5
  SHA512:
6
- metadata.gz: f4e0c804b300d7c24ff8514303de0d2a6d3a2108339c15e8aa53d2b39a4004cb4bfb951eac64a8a1459a202f420e5cf8479ef4d308299ed968aa1a26f6445ee0
7
- data.tar.gz: 9f681b42f72922bbe0791bc179e41c38d2ebc65dff2b1ee7b8c289fdbca133eec75dd33828b780d61be26a3602c16f1cdb7ac51df951857d1ff37d9b2f88df0a
6
+ metadata.gz: 2434a725584cafb8b13b942985b0eff6d34f4ed6045b15b8205f09aac34f1bb8ff4293e0087f088298e9b440bdcb622f4c4fbac429bddb395b5b02cda25d339d
7
+ data.tar.gz: 5c0c3f3885919b0abd271cd957ca31aae29e75c0b7aa56d901a9712c121f713f3bdbfffe43fbefc63e83fc96f8b421c7215eb5f4ca2eb0fe38caa3cfe97b1391
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.87.0 (2026-05-17)
4
+
5
+ * Regenerated from discovery document revision 20260509
6
+
3
7
  ### v0.86.0 (2026-05-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20260427
@@ -26,6 +26,11 @@ module Google
26
26
  class CloudAiLargeModelsVisionGenerateVideoExperiments
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
+ # Optional. Video codec to use for output.
30
+ # Corresponds to the JSON property `codec`
31
+ # @return [String]
32
+ attr_accessor :codec
33
+
29
34
  # Conditioning frames for veo experimental models ONLY, not to be confused with
30
35
  # keyframes (ID:31) in GenerateVideoRequest.
31
36
  # Corresponds to the JSON property `conditioningFrames`
@@ -86,6 +91,7 @@ module Google
86
91
 
87
92
  # Update properties of this object
88
93
  def update!(**args)
94
+ @codec = args[:codec] if args.key?(:codec)
89
95
  @conditioning_frames = args[:conditioning_frames] if args.key?(:conditioning_frames)
90
96
  @human_pose = args[:human_pose] if args.key?(:human_pose)
91
97
  @model_name = args[:model_name] if args.key?(:model_name)
@@ -1460,12 +1466,18 @@ module Google
1460
1466
  class GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest
1461
1467
  include Google::Apis::Core::Hashable
1462
1468
 
1463
- # Optional. Input Cloud Storage URI for the Async query.
1469
+ # Optional. Input Cloud Storage URI for the Async query. If you are not bringing
1470
+ # your own container (BYOC), the content of the file should be a JSON object
1471
+ # with an `input` field matching the `input` field of `
1472
+ # QueryReasoningEngineRequest` (e.g. `` "input": ` "user_id": "hello", "message":
1473
+ # "$QUERY"` ``). For BYOC, the content of the file depends on the the agent
1474
+ # application.
1464
1475
  # Corresponds to the JSON property `inputGcsUri`
1465
1476
  # @return [String]
1466
1477
  attr_accessor :input_gcs_uri
1467
1478
 
1468
- # Optional. Output Cloud Storage URI for the Async query.
1479
+ # Optional. Output Cloud Storage URI for the Async query. This contains the
1480
+ # final response of the query.
1469
1481
  # Corresponds to the JSON property `outputGcsUri`
1470
1482
  # @return [String]
1471
1483
  attr_accessor :output_gcs_uri
@@ -3515,6 +3527,42 @@ module Google
3515
3527
  end
3516
3528
  end
3517
3529
 
3530
+ # Request message for ReasoningEngineExecutionService.
3531
+ # CancelAsyncQueryReasoningEngine.
3532
+ class GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest
3533
+ include Google::Apis::Core::Hashable
3534
+
3535
+ # Required. The name of the longrunning operation returned from
3536
+ # AsyncQueryReasoningEngine. Format: `projects/`project`/locations/`location`/
3537
+ # operations/`operation``
3538
+ # Corresponds to the JSON property `operationName`
3539
+ # @return [String]
3540
+ attr_accessor :operation_name
3541
+
3542
+ def initialize(**args)
3543
+ update!(**args)
3544
+ end
3545
+
3546
+ # Update properties of this object
3547
+ def update!(**args)
3548
+ @operation_name = args[:operation_name] if args.key?(:operation_name)
3549
+ end
3550
+ end
3551
+
3552
+ # Response message for ReasoningEngineExecutionService.
3553
+ # CancelAsyncQueryReasoningEngine.
3554
+ class GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse
3555
+ include Google::Apis::Core::Hashable
3556
+
3557
+ def initialize(**args)
3558
+ update!(**args)
3559
+ end
3560
+
3561
+ # Update properties of this object
3562
+ def update!(**args)
3563
+ end
3564
+ end
3565
+
3518
3566
  # Request message for JobService.CancelBatchPredictionJob.
3519
3567
  class GoogleCloudAiplatformV1CancelBatchPredictionJobRequest
3520
3568
  include Google::Apis::Core::Hashable
@@ -10407,7 +10455,8 @@ module Google
10407
10455
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetCustomMetric>]
10408
10456
  attr_accessor :dataset_custom_metrics
10409
10457
 
10410
- # Required. The metrics to be calculated in the evaluation run.
10458
+ # Optional. The metrics to be calculated in the evaluation run. Required when
10459
+ # analysis_configs is not set.
10411
10460
  # Corresponds to the JSON property `metrics`
10412
10461
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetric>]
10413
10462
  attr_accessor :metrics
@@ -15601,6 +15650,13 @@ module Google
15601
15650
  class GoogleCloudAiplatformV1FunctionDeclaration
15602
15651
  include Google::Apis::Core::Hashable
15603
15652
 
15653
+ # Optional. Specifies the function Behavior. If not specified, the system keeps
15654
+ # the current function call behavior. This field is currently only supported by
15655
+ # the BidiGenerateContent method.
15656
+ # Corresponds to the JSON property `behavior`
15657
+ # @return [String]
15658
+ attr_accessor :behavior
15659
+
15604
15660
  # Optional. Description and purpose of the function. Model uses it to decide how
15605
15661
  # and whether to call the function.
15606
15662
  # Corresponds to the JSON property `description`
@@ -15649,6 +15705,7 @@ module Google
15649
15705
 
15650
15706
  # Update properties of this object
15651
15707
  def update!(**args)
15708
+ @behavior = args[:behavior] if args.key?(:behavior)
15652
15709
  @description = args[:description] if args.key?(:description)
15653
15710
  @name = args[:name] if args.key?(:name)
15654
15711
  @parameters = args[:parameters] if args.key?(:parameters)
@@ -32490,8 +32547,8 @@ module Google
32490
32547
  # @return [String]
32491
32548
  attr_accessor :pickle_object_gcs_uri
32492
32549
 
32493
- # Optional. The Python version. Supported values are 3.9, 3.10, 3.11, 3.12, 3.13,
32494
- # 3.14. If not specified, the default value is 3.10.
32550
+ # Optional. The Python version. Supported values are 3.10, 3.11, 3.12, 3.13, 3.
32551
+ # 14. If not specified, the default value is 3.10.
32495
32552
  # Corresponds to the JSON property `pythonVersion`
32496
32553
  # @return [String]
32497
32554
  attr_accessor :python_version
@@ -32728,8 +32785,8 @@ module Google
32728
32785
  # @return [String]
32729
32786
  attr_accessor :requirements_file
32730
32787
 
32731
- # Optional. The version of Python to use. Support version includes 3.9, 3.10, 3.
32732
- # 11, 3.12, 3.13, 3.14. If not specified, default value is 3.10.
32788
+ # Optional. The version of Python to use. Supported versions include 3.10, 3.11,
32789
+ # 3.12, 3.13, 3.14. If not specified, default value is 3.10.
32733
32790
  # Corresponds to the JSON property `version`
32734
32791
  # @return [String]
32735
32792
  attr_accessor :version
@@ -34316,8 +34373,7 @@ module Google
34316
34373
  attr_accessor :sandbox_environment_snapshot
34317
34374
 
34318
34375
  # Optional. The name of the SandboxEnvironmentTemplate specified in the parent
34319
- # Agent Engine resource that this SandboxEnvironment is created from. Only one
34320
- # of `sandbox_environment_template` and `spec` should be set.
34376
+ # Agent Engine resource that this SandboxEnvironment is created from.
34321
34377
  # Corresponds to the JSON property `sandboxEnvironmentTemplate`
34322
34378
  # @return [String]
34323
34379
  attr_accessor :sandbox_environment_template
@@ -34385,11 +34441,6 @@ module Google
34385
34441
  # @return [String]
34386
34442
  attr_accessor :routing_token
34387
34443
 
34388
- # Output only. The hostname of the SandboxEnvironment.
34389
- # Corresponds to the JSON property `sandboxHostname`
34390
- # @return [String]
34391
- attr_accessor :sandbox_hostname
34392
-
34393
34444
  # Output only. The internal IP address of the SandboxEnvironment.
34394
34445
  # Corresponds to the JSON property `sandboxInternalIp`
34395
34446
  # @return [String]
@@ -34404,7 +34455,6 @@ module Google
34404
34455
  @load_balancer_hostname = args[:load_balancer_hostname] if args.key?(:load_balancer_hostname)
34405
34456
  @load_balancer_ip = args[:load_balancer_ip] if args.key?(:load_balancer_ip)
34406
34457
  @routing_token = args[:routing_token] if args.key?(:routing_token)
34407
- @sandbox_hostname = args[:sandbox_hostname] if args.key?(:sandbox_hostname)
34408
34458
  @sandbox_internal_ip = args[:sandbox_internal_ip] if args.key?(:sandbox_internal_ip)
34409
34459
  end
34410
34460
  end
@@ -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.86.0"
19
+ GEM_VERSION = "0.87.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 = "20260427"
25
+ REVISION = "20260509"
26
26
  end
27
27
  end
28
28
  end
@@ -622,6 +622,18 @@ module Google
622
622
  include Google::Apis::Core::JsonObjectSupport
623
623
  end
624
624
 
625
+ class GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
631
+ class GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
625
637
  class GoogleCloudAiplatformV1CancelBatchPredictionJobRequest
626
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
639
 
@@ -8299,6 +8311,7 @@ module Google
8299
8311
  class CloudAiLargeModelsVisionGenerateVideoExperiments
8300
8312
  # @private
8301
8313
  class Representation < Google::Apis::Core::JsonRepresentation
8314
+ property :codec, as: 'codec'
8302
8315
  collection :conditioning_frames, as: 'conditioningFrames', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame::Representation
8303
8316
 
8304
8317
  property :human_pose, as: 'humanPose', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionHumanPose, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionHumanPose::Representation
@@ -9302,6 +9315,19 @@ module Google
9302
9315
  end
9303
9316
  end
9304
9317
 
9318
+ class GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest
9319
+ # @private
9320
+ class Representation < Google::Apis::Core::JsonRepresentation
9321
+ property :operation_name, as: 'operationName'
9322
+ end
9323
+ end
9324
+
9325
+ class GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse
9326
+ # @private
9327
+ class Representation < Google::Apis::Core::JsonRepresentation
9328
+ end
9329
+ end
9330
+
9305
9331
  class GoogleCloudAiplatformV1CancelBatchPredictionJobRequest
9306
9332
  # @private
9307
9333
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12704,6 +12730,7 @@ module Google
12704
12730
  class GoogleCloudAiplatformV1FunctionDeclaration
12705
12731
  # @private
12706
12732
  class Representation < Google::Apis::Core::JsonRepresentation
12733
+ property :behavior, as: 'behavior'
12707
12734
  property :description, as: 'description'
12708
12735
  property :name, as: 'name'
12709
12736
  property :parameters, as: 'parameters', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
@@ -18076,7 +18103,6 @@ module Google
18076
18103
  property :load_balancer_hostname, as: 'loadBalancerHostname'
18077
18104
  property :load_balancer_ip, as: 'loadBalancerIp'
18078
18105
  property :routing_token, as: 'routingToken'
18079
- property :sandbox_hostname, as: 'sandboxHostname'
18080
18106
  property :sandbox_internal_ip, as: 'sandboxInternalIp'
18081
18107
  end
18082
18108
  end
@@ -26292,6 +26292,40 @@ module Google
26292
26292
  execute_or_queue_command(command, &block)
26293
26293
  end
26294
26294
 
26295
+ # Cancels an AsyncQueryReasoningEngine operation.
26296
+ # @param [String] name
26297
+ # Required. The name of the ReasoningEngine resource to use. Format: `projects/`
26298
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine``
26299
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest] google_cloud_aiplatform_v1_cancel_async_query_reasoning_engine_request_object
26300
+ # @param [String] fields
26301
+ # Selector specifying which fields to include in a partial response.
26302
+ # @param [String] quota_user
26303
+ # Available to use for quota purposes for server-side applications. Can be any
26304
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
26305
+ # @param [Google::Apis::RequestOptions] options
26306
+ # Request-specific options
26307
+ #
26308
+ # @yield [result, err] Result & error if block supplied
26309
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse] parsed result object
26310
+ # @yieldparam err [StandardError] error object if request failed
26311
+ #
26312
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse]
26313
+ #
26314
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26315
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26316
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26317
+ def cancel_project_location_reasoning_engine_async_query(name, google_cloud_aiplatform_v1_cancel_async_query_reasoning_engine_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
26318
+ command = make_simple_command(:post, 'v1/{+name}:cancelAsyncQuery', options)
26319
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest::Representation
26320
+ command.request_object = google_cloud_aiplatform_v1_cancel_async_query_reasoning_engine_request_object
26321
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse::Representation
26322
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse
26323
+ command.params['name'] = name unless name.nil?
26324
+ command.query['fields'] = fields unless fields.nil?
26325
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26326
+ execute_or_queue_command(command, &block)
26327
+ end
26328
+
26295
26329
  # Creates a reasoning engine.
26296
26330
  # @param [String] parent
26297
26331
  # Required. The resource name of the Location to create the ReasoningEngine in.
@@ -34384,6 +34418,40 @@ module Google
34384
34418
  execute_or_queue_command(command, &block)
34385
34419
  end
34386
34420
 
34421
+ # Cancels an AsyncQueryReasoningEngine operation.
34422
+ # @param [String] name
34423
+ # Required. The name of the ReasoningEngine resource to use. Format: `projects/`
34424
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine``
34425
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest] google_cloud_aiplatform_v1_cancel_async_query_reasoning_engine_request_object
34426
+ # @param [String] fields
34427
+ # Selector specifying which fields to include in a partial response.
34428
+ # @param [String] quota_user
34429
+ # Available to use for quota purposes for server-side applications. Can be any
34430
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
34431
+ # @param [Google::Apis::RequestOptions] options
34432
+ # Request-specific options
34433
+ #
34434
+ # @yield [result, err] Result & error if block supplied
34435
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse] parsed result object
34436
+ # @yieldparam err [StandardError] error object if request failed
34437
+ #
34438
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse]
34439
+ #
34440
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
34441
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
34442
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
34443
+ def cancel_reasoning_engine_async_query(name, google_cloud_aiplatform_v1_cancel_async_query_reasoning_engine_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
34444
+ command = make_simple_command(:post, 'v1/{+name}:cancelAsyncQuery', options)
34445
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineRequest::Representation
34446
+ command.request_object = google_cloud_aiplatform_v1_cancel_async_query_reasoning_engine_request_object
34447
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse::Representation
34448
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelAsyncQueryReasoningEngineResponse
34449
+ command.params['name'] = name unless name.nil?
34450
+ command.query['fields'] = fields unless fields.nil?
34451
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
34452
+ execute_or_queue_command(command, &block)
34453
+ end
34454
+
34387
34455
  # Creates a reasoning engine.
34388
34456
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngine] google_cloud_aiplatform_v1_reasoning_engine_object
34389
34457
  # @param [String] parent
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.86.0
4
+ version: 0.87.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.86.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.87.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
62
62
  rdoc_options: []
63
63
  require_paths: