google-apis-aiplatform_v1 0.51.0 → 0.52.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: 94d94be44fa6695584c4db9242196196aae2ad8130045359bccb694f85975d69
4
- data.tar.gz: b3ba3bf24c4e140d0b152edb3ce59f2705aed0f52990afceda9d13f5e81c645b
3
+ metadata.gz: 9141964c8b63ee520b864bcedb45d82b461e535e37039bbf818e2aaf8e1612b9
4
+ data.tar.gz: fcec71c6c746a077cd48f537f6d5f9d04d7e06cbf3dddbe398f759abcf268371
5
5
  SHA512:
6
- metadata.gz: 5e70848fa4f0f52b6aa24bea04e102607c3fe6a3109cf550c12c2c91b59706292998131eb90a68309cde2d8088d294a9a4c88b2b28465bdbc534780952be600a
7
- data.tar.gz: ed9b107e1e5e1013cf78303c3826e358e8c26e4a4e1abb6f8d31e253c27f5445164de628fb35ad62eff363ccd74029a309b9e11255d90dcc76e7ff3068b899f8
6
+ metadata.gz: 02f826f20de9de5968fe3f05b29a13f852b4ddd6b84e3b6a058f955c7b25ae87150a7dadcc26fc2feaba31f453229e6a747be8f9810b936ed71ff7f2d283a66e
7
+ data.tar.gz: 6a02f4534928c3cb8ad87975690f5c2120879c97e29a67bd33c1578bebde0d4034f395e6b256561a1acedf025ab3f25d87b947c1e427f5fbb9e3c7fc80876094
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.52.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250502
6
+
3
7
  ### v0.51.0 (2025-05-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20250501
@@ -2650,6 +2650,12 @@ module Google
2650
2650
  # @return [String]
2651
2651
  attr_accessor :display_name
2652
2652
 
2653
+ # Represents a customer-managed encryption key spec that can be applied to a top-
2654
+ # level resource.
2655
+ # Corresponds to the JSON property `encryptionSpec`
2656
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
2657
+ attr_accessor :encryption_spec
2658
+
2653
2659
  # Timestamp of when this resource is considered expired. This is *always*
2654
2660
  # provided on output, regardless of what was sent on input.
2655
2661
  # Corresponds to the JSON property `expireTime`
@@ -2714,6 +2720,7 @@ module Google
2714
2720
  @contents = args[:contents] if args.key?(:contents)
2715
2721
  @create_time = args[:create_time] if args.key?(:create_time)
2716
2722
  @display_name = args[:display_name] if args.key?(:display_name)
2723
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
2717
2724
  @expire_time = args[:expire_time] if args.key?(:expire_time)
2718
2725
  @model = args[:model] if args.key?(:model)
2719
2726
  @name = args[:name] if args.key?(:name)
@@ -6282,6 +6289,11 @@ module Google
6282
6289
  class GoogleCloudAiplatformV1DeployedModelRef
6283
6290
  include Google::Apis::Core::Hashable
6284
6291
 
6292
+ # Immutable. The ID of the Checkpoint deployed in the DeployedModel.
6293
+ # Corresponds to the JSON property `checkpointId`
6294
+ # @return [String]
6295
+ attr_accessor :checkpoint_id
6296
+
6285
6297
  # Immutable. An ID of a DeployedModel in the above Endpoint.
6286
6298
  # Corresponds to the JSON property `deployedModelId`
6287
6299
  # @return [String]
@@ -6298,6 +6310,7 @@ module Google
6298
6310
 
6299
6311
  # Update properties of this object
6300
6312
  def update!(**args)
6313
+ @checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id)
6301
6314
  @deployed_model_id = args[:deployed_model_id] if args.key?(:deployed_model_id)
6302
6315
  @endpoint = args[:endpoint] if args.key?(:endpoint)
6303
6316
  end
@@ -12349,6 +12362,13 @@ module Google
12349
12362
  class GoogleCloudAiplatformV1GenerationConfigThinkingConfig
12350
12363
  include Google::Apis::Core::Hashable
12351
12364
 
12365
+ # Optional. Indicates whether to include thoughts in the response. If true,
12366
+ # thoughts are returned only when available.
12367
+ # Corresponds to the JSON property `includeThoughts`
12368
+ # @return [Boolean]
12369
+ attr_accessor :include_thoughts
12370
+ alias_method :include_thoughts?, :include_thoughts
12371
+
12352
12372
  # Optional. Indicates the thinking budget in tokens. This is only applied when
12353
12373
  # enable_thinking is true.
12354
12374
  # Corresponds to the JSON property `thinkingBudget`
@@ -12361,6 +12381,7 @@ module Google
12361
12381
 
12362
12382
  # Update properties of this object
12363
12383
  def update!(**args)
12384
+ @include_thoughts = args[:include_thoughts] if args.key?(:include_thoughts)
12364
12385
  @thinking_budget = args[:thinking_budget] if args.key?(:thinking_budget)
12365
12386
  end
12366
12387
  end
@@ -23932,6 +23953,11 @@ module Google
23932
23953
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser]
23933
23954
  attr_accessor :layout_parser
23934
23955
 
23956
+ # Specifies the advanced parsing for RagFiles.
23957
+ # Corresponds to the JSON property `llmParser`
23958
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLlmParser]
23959
+ attr_accessor :llm_parser
23960
+
23935
23961
  def initialize(**args)
23936
23962
  update!(**args)
23937
23963
  end
@@ -23939,6 +23965,7 @@ module Google
23939
23965
  # Update properties of this object
23940
23966
  def update!(**args)
23941
23967
  @layout_parser = args[:layout_parser] if args.key?(:layout_parser)
23968
+ @llm_parser = args[:llm_parser] if args.key?(:llm_parser)
23942
23969
  end
23943
23970
  end
23944
23971
 
@@ -23975,6 +24002,41 @@ module Google
23975
24002
  end
23976
24003
  end
23977
24004
 
24005
+ # Specifies the advanced parsing for RagFiles.
24006
+ class GoogleCloudAiplatformV1RagFileParsingConfigLlmParser
24007
+ include Google::Apis::Core::Hashable
24008
+
24009
+ # The prompt to use for parsing. If not specified, a default prompt will be used.
24010
+ # Corresponds to the JSON property `customParsingPrompt`
24011
+ # @return [String]
24012
+ attr_accessor :custom_parsing_prompt
24013
+
24014
+ # The maximum number of requests the job is allowed to make to the LLM model per
24015
+ # minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas
24016
+ # and your document size to set an appropriate value here. If unspecified, a
24017
+ # default value of 5000 QPM would be used.
24018
+ # Corresponds to the JSON property `maxParsingRequestsPerMin`
24019
+ # @return [Fixnum]
24020
+ attr_accessor :max_parsing_requests_per_min
24021
+
24022
+ # The name of a LLM model used for parsing. Format: * `projects/`project_id`/
24023
+ # locations/`location`/publishers/`publisher`/models/`model``
24024
+ # Corresponds to the JSON property `modelName`
24025
+ # @return [String]
24026
+ attr_accessor :model_name
24027
+
24028
+ def initialize(**args)
24029
+ update!(**args)
24030
+ end
24031
+
24032
+ # Update properties of this object
24033
+ def update!(**args)
24034
+ @custom_parsing_prompt = args[:custom_parsing_prompt] if args.key?(:custom_parsing_prompt)
24035
+ @max_parsing_requests_per_min = args[:max_parsing_requests_per_min] if args.key?(:max_parsing_requests_per_min)
24036
+ @model_name = args[:model_name] if args.key?(:model_name)
24037
+ end
24038
+ end
24039
+
23978
24040
  # Specifies the transformation config for RagFiles.
23979
24041
  class GoogleCloudAiplatformV1RagFileTransformationConfig
23980
24042
  include Google::Apis::Core::Hashable
@@ -24745,7 +24807,8 @@ module Google
24745
24807
  # @return [String]
24746
24808
  attr_accessor :etag
24747
24809
 
24748
- # Identifier. The resource name of the ReasoningEngine.
24810
+ # Identifier. The resource name of the ReasoningEngine. Format: `projects/`
24811
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine``
24749
24812
  # Corresponds to the JSON property `name`
24750
24813
  # @return [String]
24751
24814
  attr_accessor :name
@@ -39056,6 +39119,17 @@ module Google
39056
39119
  # @return [String]
39057
39120
  attr_accessor :engine
39058
39121
 
39122
+ # Optional. Filter strings to be passed to the search API.
39123
+ # Corresponds to the JSON property `filter`
39124
+ # @return [String]
39125
+ attr_accessor :filter
39126
+
39127
+ # Optional. Number of search results to return per query. The default value is
39128
+ # 10. The maximumm allowed value is 10.
39129
+ # Corresponds to the JSON property `maxResults`
39130
+ # @return [Fixnum]
39131
+ attr_accessor :max_results
39132
+
39059
39133
  def initialize(**args)
39060
39134
  update!(**args)
39061
39135
  end
@@ -39064,6 +39138,8 @@ module Google
39064
39138
  def update!(**args)
39065
39139
  @datastore = args[:datastore] if args.key?(:datastore)
39066
39140
  @engine = args[:engine] if args.key?(:engine)
39141
+ @filter = args[:filter] if args.key?(:filter)
39142
+ @max_results = args[:max_results] if args.key?(:max_results)
39067
39143
  end
39068
39144
  end
39069
39145
 
@@ -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.51.0"
19
+ GEM_VERSION = "0.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250501"
25
+ REVISION = "20250502"
26
26
  end
27
27
  end
28
28
  end
@@ -3880,6 +3880,12 @@ module Google
3880
3880
  include Google::Apis::Core::JsonObjectSupport
3881
3881
  end
3882
3882
 
3883
+ class GoogleCloudAiplatformV1RagFileParsingConfigLlmParser
3884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3885
+
3886
+ include Google::Apis::Core::JsonObjectSupport
3887
+ end
3888
+
3883
3889
  class GoogleCloudAiplatformV1RagFileTransformationConfig
3884
3890
  class Representation < Google::Apis::Core::JsonRepresentation; end
3885
3891
 
@@ -7556,6 +7562,8 @@ module Google
7556
7562
 
7557
7563
  property :create_time, as: 'createTime'
7558
7564
  property :display_name, as: 'displayName'
7565
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
7566
+
7559
7567
  property :expire_time, as: 'expireTime'
7560
7568
  property :model, as: 'model'
7561
7569
  property :name, as: 'name'
@@ -8597,6 +8605,7 @@ module Google
8597
8605
  class GoogleCloudAiplatformV1DeployedModelRef
8598
8606
  # @private
8599
8607
  class Representation < Google::Apis::Core::JsonRepresentation
8608
+ property :checkpoint_id, as: 'checkpointId'
8600
8609
  property :deployed_model_id, as: 'deployedModelId'
8601
8610
  property :endpoint, as: 'endpoint'
8602
8611
  end
@@ -10277,6 +10286,7 @@ module Google
10277
10286
  class GoogleCloudAiplatformV1GenerationConfigThinkingConfig
10278
10287
  # @private
10279
10288
  class Representation < Google::Apis::Core::JsonRepresentation
10289
+ property :include_thoughts, as: 'includeThoughts'
10280
10290
  property :thinking_budget, as: 'thinkingBudget'
10281
10291
  end
10282
10292
  end
@@ -13558,6 +13568,8 @@ module Google
13558
13568
  class Representation < Google::Apis::Core::JsonRepresentation
13559
13569
  property :layout_parser, as: 'layoutParser', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLayoutParser::Representation
13560
13570
 
13571
+ property :llm_parser, as: 'llmParser', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLlmParser, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagFileParsingConfigLlmParser::Representation
13572
+
13561
13573
  end
13562
13574
  end
13563
13575
 
@@ -13569,6 +13581,15 @@ module Google
13569
13581
  end
13570
13582
  end
13571
13583
 
13584
+ class GoogleCloudAiplatformV1RagFileParsingConfigLlmParser
13585
+ # @private
13586
+ class Representation < Google::Apis::Core::JsonRepresentation
13587
+ property :custom_parsing_prompt, as: 'customParsingPrompt'
13588
+ property :max_parsing_requests_per_min, as: 'maxParsingRequestsPerMin'
13589
+ property :model_name, as: 'modelName'
13590
+ end
13591
+ end
13592
+
13572
13593
  class GoogleCloudAiplatformV1RagFileTransformationConfig
13573
13594
  # @private
13574
13595
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17930,6 +17951,8 @@ module Google
17930
17951
  class Representation < Google::Apis::Core::JsonRepresentation
17931
17952
  property :datastore, as: 'datastore'
17932
17953
  property :engine, as: 'engine'
17954
+ property :filter, as: 'filter'
17955
+ property :max_results, as: 'maxResults'
17933
17956
  end
17934
17957
  end
17935
17958
 
@@ -18550,7 +18550,8 @@ module Google
18550
18550
 
18551
18551
  # Updates a reasoning engine.
18552
18552
  # @param [String] name
18553
- # Identifier. The resource name of the ReasoningEngine.
18553
+ # Identifier. The resource name of the ReasoningEngine. Format: `projects/`
18554
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine``
18554
18555
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngine] google_cloud_aiplatform_v1_reasoning_engine_object
18555
18556
  # @param [String] update_mask
18556
18557
  # Optional. Mask specifying which fields to update.
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.51.0
4
+ version: 0.52.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.51.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.52.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: