google-apis-aiplatform_v1beta1 0.35.0 → 0.36.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: 882a98e26c717417f71977bfd52b0f9f6c6799c1d5a0be00d6bf184183afab73
4
- data.tar.gz: 6a1375df24e55b418bd86ecd5e518fdeef5342789e868aea755008a492eeb521
3
+ metadata.gz: 3a1b248d80808077f8cc4b788efa2f1fc5e516fcb3b05405e83ca02f662e78d7
4
+ data.tar.gz: a0f77966169ab86d2b86a448997406c3b8fdc418502185cb3377993071e45fa8
5
5
  SHA512:
6
- metadata.gz: bc70328513b5ae193eab3df7c234e370ee0cbaa15dafdb7a9600bb69b41aa361d100625b4534c78a35d061f9554d9e7b90a246695ab5f1d9a6d81c2e01854b9d
7
- data.tar.gz: 47aa0e8343f45e72eb8fd607ad7f58e5d7797b3f3e2e17c95676bf1dbce02f39edd3c7721da570d5ff77c84386947f98d176ad3f472c06f336fe1b42692877a5
6
+ metadata.gz: 72b64a9c4a59e3225fb2956ab843a3ee5089e2eefd09627acdf9c1332f8b7a3cb6249c6240d2cd48bb952070eae03e02b5163f6fb8bbd21c8030c3a17a961139
7
+ data.tar.gz: 1d2cb5e989ed8498e934c168f3d56fb07e4f25dec1bfa28c2a1537431fd42218c9f8aae5a0104963a35f025af09791d9577194122a93ff525ba34dfde127ea8a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1beta1
2
2
 
3
+ ### v0.36.0 (2024-12-22)
4
+
5
+ * Regenerated from discovery document revision 20241214
6
+
3
7
  ### v0.35.0 (2024-12-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20241203
@@ -1310,15 +1310,22 @@ module Google
1310
1310
  class GoogleCloudAiplatformV1beta1AuthConfigApiKeyConfig
1311
1311
  include Google::Apis::Core::Hashable
1312
1312
 
1313
- # Required. The name of the SecretManager secret version resource storing the
1313
+ # Optional. The name of the SecretManager secret version resource storing the
1314
1314
  # API key. Format: `projects/`project`/secrets/`secrete`/versions/`version`` -
1315
- # If specified, the `secretmanager.versions.access` permission should be granted
1316
- # to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/
1317
- # general/access-control#service-agents) on the specified resource.
1315
+ # If both `api_key_secret` and `api_key_string` are specified, this field takes
1316
+ # precedence over `api_key_string`. - If specified, the `secretmanager.versions.
1317
+ # access` permission should be granted to Vertex AI Extension Service Agent (
1318
+ # https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents)
1319
+ # on the specified resource.
1318
1320
  # Corresponds to the JSON property `apiKeySecret`
1319
1321
  # @return [String]
1320
1322
  attr_accessor :api_key_secret
1321
1323
 
1324
+ # Optional. The API key to be used in the request directly.
1325
+ # Corresponds to the JSON property `apiKeyString`
1326
+ # @return [String]
1327
+ attr_accessor :api_key_string
1328
+
1322
1329
  # Required. The location of the API key.
1323
1330
  # Corresponds to the JSON property `httpElementLocation`
1324
1331
  # @return [String]
@@ -1337,6 +1344,7 @@ module Google
1337
1344
  # Update properties of this object
1338
1345
  def update!(**args)
1339
1346
  @api_key_secret = args[:api_key_secret] if args.key?(:api_key_secret)
1347
+ @api_key_string = args[:api_key_string] if args.key?(:api_key_string)
1340
1348
  @http_element_location = args[:http_element_location] if args.key?(:http_element_location)
1341
1349
  @name = args[:name] if args.key?(:name)
1342
1350
  end
@@ -2738,7 +2746,7 @@ module Google
2738
2746
  end
2739
2747
  end
2740
2748
 
2741
- # Content blob. It's preferred to send as text directly rather than raw bytes.
2749
+ # Content blob.
2742
2750
  class GoogleCloudAiplatformV1beta1Blob
2743
2751
  include Google::Apis::Core::Hashable
2744
2752
 
@@ -5504,7 +5512,8 @@ module Google
5504
5512
  # @return [String]
5505
5513
  attr_accessor :model_reference
5506
5514
 
5507
- # Output only. Identifier. The resource name of the Dataset.
5515
+ # Output only. Identifier. The resource name of the Dataset. Format: `projects/`
5516
+ # project`/locations/`location`/datasets/`dataset``
5508
5517
  # Corresponds to the JSON property `name`
5509
5518
  # @return [String]
5510
5519
  attr_accessor :name
@@ -7047,9 +7056,9 @@ module Google
7047
7056
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationHyperParameters]
7048
7057
  attr_accessor :hyper_parameters
7049
7058
 
7050
- # Required. Deprecated. A path in a Cloud Storage bucket, which will be treated
7051
- # as the root output directory of the distillation pipeline. It is used by the
7052
- # system to generate the paths of output artifacts.
7059
+ # Deprecated. A path in a Cloud Storage bucket, which will be treated as the
7060
+ # root output directory of the distillation pipeline. It is used by the system
7061
+ # to generate the paths of output artifacts.
7053
7062
  # Corresponds to the JSON property `pipelineRootDirectory`
7054
7063
  # @return [String]
7055
7064
  attr_accessor :pipeline_root_directory
@@ -7060,7 +7069,7 @@ module Google
7060
7069
  # @return [String]
7061
7070
  attr_accessor :student_model
7062
7071
 
7063
- # Required. Cloud Storage path to file containing training dataset for tuning.
7072
+ # Deprecated. Cloud Storage path to file containing training dataset for tuning.
7064
7073
  # The dataset must be formatted as a JSONL file.
7065
7074
  # Corresponds to the JSON property `trainingDatasetUri`
7066
7075
  # @return [String]
@@ -13189,6 +13198,11 @@ module Google
13189
13198
  # @return [Fixnum]
13190
13199
  attr_accessor :max_output_tokens
13191
13200
 
13201
+ # Optional. If specified, the media resolution specified will be used.
13202
+ # Corresponds to the JSON property `mediaResolution`
13203
+ # @return [String]
13204
+ attr_accessor :media_resolution
13205
+
13192
13206
  # Optional. Positive penalties.
13193
13207
  # Corresponds to the JSON property `presencePenalty`
13194
13208
  # @return [Float]
@@ -13246,11 +13260,6 @@ module Google
13246
13260
  # @return [Float]
13247
13261
  attr_accessor :temperature
13248
13262
 
13249
- # Optional. If specified, the token resolution specified will be used.
13250
- # Corresponds to the JSON property `tokenResolution`
13251
- # @return [String]
13252
- attr_accessor :token_resolution
13253
-
13254
13263
  # Optional. If specified, top-k sampling will be used.
13255
13264
  # Corresponds to the JSON property `topK`
13256
13265
  # @return [Float]
@@ -13272,6 +13281,7 @@ module Google
13272
13281
  @frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
13273
13282
  @logprobs = args[:logprobs] if args.key?(:logprobs)
13274
13283
  @max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
13284
+ @media_resolution = args[:media_resolution] if args.key?(:media_resolution)
13275
13285
  @presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
13276
13286
  @response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
13277
13287
  @response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
@@ -13282,7 +13292,6 @@ module Google
13282
13292
  @speech_config = args[:speech_config] if args.key?(:speech_config)
13283
13293
  @stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
13284
13294
  @temperature = args[:temperature] if args.key?(:temperature)
13285
- @token_resolution = args[:token_resolution] if args.key?(:token_resolution)
13286
13295
  @top_k = args[:top_k] if args.key?(:top_k)
13287
13296
  @top_p = args[:top_p] if args.key?(:top_p)
13288
13297
  end
@@ -18110,6 +18119,12 @@ module Google
18110
18119
  # @return [String]
18111
18120
  attr_accessor :image_uri
18112
18121
 
18122
+ # Probe describes a health check to be performed against a container to
18123
+ # determine whether it is alive or ready to receive traffic.
18124
+ # Corresponds to the JSON property `livenessProbe`
18125
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Probe]
18126
+ attr_accessor :liveness_probe
18127
+
18113
18128
  # Immutable. List of ports to expose from the container. Vertex AI sends any
18114
18129
  # prediction requests that it receives to the first port on this list. Vertex AI
18115
18130
  # also sends [liveness and health checks](https://cloud.google.com/vertex-ai/
@@ -18172,6 +18187,7 @@ module Google
18172
18187
  @health_probe = args[:health_probe] if args.key?(:health_probe)
18173
18188
  @health_route = args[:health_route] if args.key?(:health_route)
18174
18189
  @image_uri = args[:image_uri] if args.key?(:image_uri)
18190
+ @liveness_probe = args[:liveness_probe] if args.key?(:liveness_probe)
18175
18191
  @ports = args[:ports] if args.key?(:ports)
18176
18192
  @predict_route = args[:predict_route] if args.key?(:predict_route)
18177
18193
  @shared_memory_size_mb = args[:shared_memory_size_mb] if args.key?(:shared_memory_size_mb)
@@ -22691,7 +22707,7 @@ module Google
22691
22707
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponse]
22692
22708
  attr_accessor :function_response
22693
22709
 
22694
- # Content blob. It's preferred to send as text directly rather than raw bytes.
22710
+ # Content blob.
22695
22711
  # Corresponds to the JSON property `inlineData`
22696
22712
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Blob]
22697
22713
  attr_accessor :inline_data
@@ -22701,6 +22717,12 @@ module Google
22701
22717
  # @return [String]
22702
22718
  attr_accessor :text
22703
22719
 
22720
+ # Optional. Indicates if the part is thought from the model.
22721
+ # Corresponds to the JSON property `thought`
22722
+ # @return [Boolean]
22723
+ attr_accessor :thought
22724
+ alias_method :thought?, :thought
22725
+
22704
22726
  # Metadata describes the input video content.
22705
22727
  # Corresponds to the JSON property `videoMetadata`
22706
22728
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VideoMetadata]
@@ -22719,6 +22741,7 @@ module Google
22719
22741
  @function_response = args[:function_response] if args.key?(:function_response)
22720
22742
  @inline_data = args[:inline_data] if args.key?(:inline_data)
22721
22743
  @text = args[:text] if args.key?(:text)
22744
+ @thought = args[:thought] if args.key?(:thought)
22722
22745
  @video_metadata = args[:video_metadata] if args.key?(:video_metadata)
22723
22746
  end
22724
22747
  end
@@ -24221,6 +24244,16 @@ module Google
24221
24244
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeExecAction]
24222
24245
  attr_accessor :exec
24223
24246
 
24247
+ # GrpcAction checks the health of a container using a gRPC service.
24248
+ # Corresponds to the JSON property `grpc`
24249
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeGrpcAction]
24250
+ attr_accessor :grpc
24251
+
24252
+ # HttpGetAction describes an action based on HTTP Get requests.
24253
+ # Corresponds to the JSON property `httpGet`
24254
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeHttpGetAction]
24255
+ attr_accessor :http_get
24256
+
24224
24257
  # How often (in seconds) to perform the probe. Default to 10 seconds. Minimum
24225
24258
  # value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe
24226
24259
  # argument 'periodSeconds'.
@@ -24228,6 +24261,12 @@ module Google
24228
24261
  # @return [Fixnum]
24229
24262
  attr_accessor :period_seconds
24230
24263
 
24264
+ # TcpSocketAction probes the health of a container by opening a TCP socket
24265
+ # connection.
24266
+ # Corresponds to the JSON property `tcpSocket`
24267
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeTcpSocketAction]
24268
+ attr_accessor :tcp_socket
24269
+
24231
24270
  # Number of seconds after which the probe times out. Defaults to 1 second.
24232
24271
  # Minimum value is 1. Must be greater or equal to period_seconds. Maps to
24233
24272
  # Kubernetes probe argument 'timeoutSeconds'.
@@ -24242,7 +24281,10 @@ module Google
24242
24281
  # Update properties of this object
24243
24282
  def update!(**args)
24244
24283
  @exec = args[:exec] if args.key?(:exec)
24284
+ @grpc = args[:grpc] if args.key?(:grpc)
24285
+ @http_get = args[:http_get] if args.key?(:http_get)
24245
24286
  @period_seconds = args[:period_seconds] if args.key?(:period_seconds)
24287
+ @tcp_socket = args[:tcp_socket] if args.key?(:tcp_socket)
24246
24288
  @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
24247
24289
  end
24248
24290
  end
@@ -24271,6 +24313,133 @@ module Google
24271
24313
  end
24272
24314
  end
24273
24315
 
24316
+ # GrpcAction checks the health of a container using a gRPC service.
24317
+ class GoogleCloudAiplatformV1beta1ProbeGrpcAction
24318
+ include Google::Apis::Core::Hashable
24319
+
24320
+ # Port number of the gRPC service. Number must be in the range 1 to 65535.
24321
+ # Corresponds to the JSON property `port`
24322
+ # @return [Fixnum]
24323
+ attr_accessor :port
24324
+
24325
+ # Service is the name of the service to place in the gRPC HealthCheckRequest (
24326
+ # see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this
24327
+ # is not specified, the default behavior is defined by gRPC.
24328
+ # Corresponds to the JSON property `service`
24329
+ # @return [String]
24330
+ attr_accessor :service
24331
+
24332
+ def initialize(**args)
24333
+ update!(**args)
24334
+ end
24335
+
24336
+ # Update properties of this object
24337
+ def update!(**args)
24338
+ @port = args[:port] if args.key?(:port)
24339
+ @service = args[:service] if args.key?(:service)
24340
+ end
24341
+ end
24342
+
24343
+ # HttpGetAction describes an action based on HTTP Get requests.
24344
+ class GoogleCloudAiplatformV1beta1ProbeHttpGetAction
24345
+ include Google::Apis::Core::Hashable
24346
+
24347
+ # Host name to connect to, defaults to the model serving container's IP. You
24348
+ # probably want to set "Host" in httpHeaders instead.
24349
+ # Corresponds to the JSON property `host`
24350
+ # @return [String]
24351
+ attr_accessor :host
24352
+
24353
+ # Custom headers to set in the request. HTTP allows repeated headers.
24354
+ # Corresponds to the JSON property `httpHeaders`
24355
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeHttpHeader>]
24356
+ attr_accessor :http_headers
24357
+
24358
+ # Path to access on the HTTP server.
24359
+ # Corresponds to the JSON property `path`
24360
+ # @return [String]
24361
+ attr_accessor :path
24362
+
24363
+ # Number of the port to access on the container. Number must be in the range 1
24364
+ # to 65535.
24365
+ # Corresponds to the JSON property `port`
24366
+ # @return [Fixnum]
24367
+ attr_accessor :port
24368
+
24369
+ # Scheme to use for connecting to the host. Defaults to HTTP. Acceptable values
24370
+ # are "HTTP" or "HTTPS".
24371
+ # Corresponds to the JSON property `scheme`
24372
+ # @return [String]
24373
+ attr_accessor :scheme
24374
+
24375
+ def initialize(**args)
24376
+ update!(**args)
24377
+ end
24378
+
24379
+ # Update properties of this object
24380
+ def update!(**args)
24381
+ @host = args[:host] if args.key?(:host)
24382
+ @http_headers = args[:http_headers] if args.key?(:http_headers)
24383
+ @path = args[:path] if args.key?(:path)
24384
+ @port = args[:port] if args.key?(:port)
24385
+ @scheme = args[:scheme] if args.key?(:scheme)
24386
+ end
24387
+ end
24388
+
24389
+ # HttpHeader describes a custom header to be used in HTTP probes
24390
+ class GoogleCloudAiplatformV1beta1ProbeHttpHeader
24391
+ include Google::Apis::Core::Hashable
24392
+
24393
+ # The header field name. This will be canonicalized upon output, so case-variant
24394
+ # names will be understood as the same header.
24395
+ # Corresponds to the JSON property `name`
24396
+ # @return [String]
24397
+ attr_accessor :name
24398
+
24399
+ # The header field value
24400
+ # Corresponds to the JSON property `value`
24401
+ # @return [String]
24402
+ attr_accessor :value
24403
+
24404
+ def initialize(**args)
24405
+ update!(**args)
24406
+ end
24407
+
24408
+ # Update properties of this object
24409
+ def update!(**args)
24410
+ @name = args[:name] if args.key?(:name)
24411
+ @value = args[:value] if args.key?(:value)
24412
+ end
24413
+ end
24414
+
24415
+ # TcpSocketAction probes the health of a container by opening a TCP socket
24416
+ # connection.
24417
+ class GoogleCloudAiplatformV1beta1ProbeTcpSocketAction
24418
+ include Google::Apis::Core::Hashable
24419
+
24420
+ # Optional: Host name to connect to, defaults to the model serving container's
24421
+ # IP.
24422
+ # Corresponds to the JSON property `host`
24423
+ # @return [String]
24424
+ attr_accessor :host
24425
+
24426
+ # Number of the port to access on the container. Number must be in the range 1
24427
+ # to 65535.
24428
+ # Corresponds to the JSON property `port`
24429
+ # @return [Fixnum]
24430
+ attr_accessor :port
24431
+
24432
+ def initialize(**args)
24433
+ update!(**args)
24434
+ end
24435
+
24436
+ # Update properties of this object
24437
+ def update!(**args)
24438
+ @host = args[:host] if args.key?(:host)
24439
+ @port = args[:port] if args.key?(:port)
24440
+ end
24441
+ end
24442
+
24274
24443
  # PscAutomatedEndpoints defines the output of the forwarding rule automatically
24275
24444
  # created by each PscAutomationConfig.
24276
24445
  class GoogleCloudAiplatformV1beta1PscAutomatedEndpoints
@@ -26215,6 +26384,11 @@ module Google
26215
26384
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser]
26216
26385
  attr_accessor :layout_parser
26217
26386
 
26387
+ # Specifies the advanced parsing for RagFiles.
26388
+ # Corresponds to the JSON property `llmParser`
26389
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser]
26390
+ attr_accessor :llm_parser
26391
+
26218
26392
  # Whether to use advanced PDF parsing.
26219
26393
  # Corresponds to the JSON property `useAdvancedPdfParsing`
26220
26394
  # @return [Boolean]
@@ -26229,6 +26403,7 @@ module Google
26229
26403
  def update!(**args)
26230
26404
  @advanced_parser = args[:advanced_parser] if args.key?(:advanced_parser)
26231
26405
  @layout_parser = args[:layout_parser] if args.key?(:layout_parser)
26406
+ @llm_parser = args[:llm_parser] if args.key?(:llm_parser)
26232
26407
  @use_advanced_pdf_parsing = args[:use_advanced_pdf_parsing] if args.key?(:use_advanced_pdf_parsing)
26233
26408
  end
26234
26409
  end
@@ -26286,6 +26461,40 @@ module Google
26286
26461
  end
26287
26462
  end
26288
26463
 
26464
+ # Specifies the advanced parsing for RagFiles.
26465
+ class GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser
26466
+ include Google::Apis::Core::Hashable
26467
+
26468
+ # The prompt to use for parsing. If not specified, a default prompt will be used.
26469
+ # Corresponds to the JSON property `customParsingPrompt`
26470
+ # @return [String]
26471
+ attr_accessor :custom_parsing_prompt
26472
+
26473
+ # The maximum number of requests the job is allowed to make to the LLM model per
26474
+ # minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas
26475
+ # and your document size to set an appropriate value here. If unspecified, a
26476
+ # default value of 5000 QPM would be used.
26477
+ # Corresponds to the JSON property `maxParsingRequestsPerMin`
26478
+ # @return [Fixnum]
26479
+ attr_accessor :max_parsing_requests_per_min
26480
+
26481
+ # The name of a LLM model used for parsing. Format: `gemini-1.5-pro-002`
26482
+ # Corresponds to the JSON property `modelName`
26483
+ # @return [String]
26484
+ attr_accessor :model_name
26485
+
26486
+ def initialize(**args)
26487
+ update!(**args)
26488
+ end
26489
+
26490
+ # Update properties of this object
26491
+ def update!(**args)
26492
+ @custom_parsing_prompt = args[:custom_parsing_prompt] if args.key?(:custom_parsing_prompt)
26493
+ @max_parsing_requests_per_min = args[:max_parsing_requests_per_min] if args.key?(:max_parsing_requests_per_min)
26494
+ @model_name = args[:model_name] if args.key?(:model_name)
26495
+ end
26496
+ end
26497
+
26289
26498
  # Specifies the transformation config for RagFiles.
26290
26499
  class GoogleCloudAiplatformV1beta1RagFileTransformationConfig
26291
26500
  include Google::Apis::Core::Hashable
@@ -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.35.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241203"
25
+ REVISION = "20241214"
26
26
  end
27
27
  end
28
28
  end
@@ -3940,6 +3940,30 @@ module Google
3940
3940
  include Google::Apis::Core::JsonObjectSupport
3941
3941
  end
3942
3942
 
3943
+ class GoogleCloudAiplatformV1beta1ProbeGrpcAction
3944
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3945
+
3946
+ include Google::Apis::Core::JsonObjectSupport
3947
+ end
3948
+
3949
+ class GoogleCloudAiplatformV1beta1ProbeHttpGetAction
3950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3951
+
3952
+ include Google::Apis::Core::JsonObjectSupport
3953
+ end
3954
+
3955
+ class GoogleCloudAiplatformV1beta1ProbeHttpHeader
3956
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3957
+
3958
+ include Google::Apis::Core::JsonObjectSupport
3959
+ end
3960
+
3961
+ class GoogleCloudAiplatformV1beta1ProbeTcpSocketAction
3962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3963
+
3964
+ include Google::Apis::Core::JsonObjectSupport
3965
+ end
3966
+
3943
3967
  class GoogleCloudAiplatformV1beta1PscAutomatedEndpoints
3944
3968
  class Representation < Google::Apis::Core::JsonRepresentation; end
3945
3969
 
@@ -4300,6 +4324,12 @@ module Google
4300
4324
  include Google::Apis::Core::JsonObjectSupport
4301
4325
  end
4302
4326
 
4327
+ class GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser
4328
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4329
+
4330
+ include Google::Apis::Core::JsonObjectSupport
4331
+ end
4332
+
4303
4333
  class GoogleCloudAiplatformV1beta1RagFileTransformationConfig
4304
4334
  class Representation < Google::Apis::Core::JsonRepresentation; end
4305
4335
 
@@ -7666,6 +7696,7 @@ module Google
7666
7696
  # @private
7667
7697
  class Representation < Google::Apis::Core::JsonRepresentation
7668
7698
  property :api_key_secret, as: 'apiKeySecret'
7699
+ property :api_key_string, as: 'apiKeyString'
7669
7700
  property :http_element_location, as: 'httpElementLocation'
7670
7701
  property :name, as: 'name'
7671
7702
  end
@@ -11024,6 +11055,7 @@ module Google
11024
11055
  property :frequency_penalty, as: 'frequencyPenalty'
11025
11056
  property :logprobs, as: 'logprobs'
11026
11057
  property :max_output_tokens, as: 'maxOutputTokens'
11058
+ property :media_resolution, as: 'mediaResolution'
11027
11059
  property :presence_penalty, as: 'presencePenalty'
11028
11060
  property :response_logprobs, as: 'responseLogprobs'
11029
11061
  property :response_mime_type, as: 'responseMimeType'
@@ -11037,7 +11069,6 @@ module Google
11037
11069
 
11038
11070
  collection :stop_sequences, as: 'stopSequences'
11039
11071
  property :temperature, as: 'temperature'
11040
- property :token_resolution, as: 'tokenResolution'
11041
11072
  property :top_k, as: 'topK'
11042
11073
  property :top_p, as: 'topP'
11043
11074
  end
@@ -12452,6 +12483,8 @@ module Google
12452
12483
 
12453
12484
  property :health_route, as: 'healthRoute'
12454
12485
  property :image_uri, as: 'imageUri'
12486
+ property :liveness_probe, as: 'livenessProbe', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Probe, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Probe::Representation
12487
+
12455
12488
  collection :ports, as: 'ports', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Port, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Port::Representation
12456
12489
 
12457
12490
  property :predict_route, as: 'predictRoute'
@@ -13747,6 +13780,7 @@ module Google
13747
13780
  property :inline_data, as: 'inlineData', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Blob, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Blob::Representation
13748
13781
 
13749
13782
  property :text, as: 'text'
13783
+ property :thought, as: 'thought'
13750
13784
  property :video_metadata, as: 'videoMetadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VideoMetadata, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VideoMetadata::Representation
13751
13785
 
13752
13786
  end
@@ -14153,7 +14187,13 @@ module Google
14153
14187
  class Representation < Google::Apis::Core::JsonRepresentation
14154
14188
  property :exec, as: 'exec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeExecAction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeExecAction::Representation
14155
14189
 
14190
+ property :grpc, as: 'grpc', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeGrpcAction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeGrpcAction::Representation
14191
+
14192
+ property :http_get, as: 'httpGet', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeHttpGetAction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeHttpGetAction::Representation
14193
+
14156
14194
  property :period_seconds, as: 'periodSeconds'
14195
+ property :tcp_socket, as: 'tcpSocket', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeTcpSocketAction, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeTcpSocketAction::Representation
14196
+
14157
14197
  property :timeout_seconds, as: 'timeoutSeconds'
14158
14198
  end
14159
14199
  end
@@ -14165,6 +14205,42 @@ module Google
14165
14205
  end
14166
14206
  end
14167
14207
 
14208
+ class GoogleCloudAiplatformV1beta1ProbeGrpcAction
14209
+ # @private
14210
+ class Representation < Google::Apis::Core::JsonRepresentation
14211
+ property :port, as: 'port'
14212
+ property :service, as: 'service'
14213
+ end
14214
+ end
14215
+
14216
+ class GoogleCloudAiplatformV1beta1ProbeHttpGetAction
14217
+ # @private
14218
+ class Representation < Google::Apis::Core::JsonRepresentation
14219
+ property :host, as: 'host'
14220
+ collection :http_headers, as: 'httpHeaders', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeHttpHeader, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ProbeHttpHeader::Representation
14221
+
14222
+ property :path, as: 'path'
14223
+ property :port, as: 'port'
14224
+ property :scheme, as: 'scheme'
14225
+ end
14226
+ end
14227
+
14228
+ class GoogleCloudAiplatformV1beta1ProbeHttpHeader
14229
+ # @private
14230
+ class Representation < Google::Apis::Core::JsonRepresentation
14231
+ property :name, as: 'name'
14232
+ property :value, as: 'value'
14233
+ end
14234
+ end
14235
+
14236
+ class GoogleCloudAiplatformV1beta1ProbeTcpSocketAction
14237
+ # @private
14238
+ class Representation < Google::Apis::Core::JsonRepresentation
14239
+ property :host, as: 'host'
14240
+ property :port, as: 'port'
14241
+ end
14242
+ end
14243
+
14168
14244
  class GoogleCloudAiplatformV1beta1PscAutomatedEndpoints
14169
14245
  # @private
14170
14246
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14759,6 +14835,8 @@ module Google
14759
14835
 
14760
14836
  property :layout_parser, as: 'layoutParser', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser::Representation
14761
14837
 
14838
+ property :llm_parser, as: 'llmParser', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser::Representation
14839
+
14762
14840
  property :use_advanced_pdf_parsing, as: 'useAdvancedPdfParsing'
14763
14841
  end
14764
14842
  end
@@ -14778,6 +14856,15 @@ module Google
14778
14856
  end
14779
14857
  end
14780
14858
 
14859
+ class GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser
14860
+ # @private
14861
+ class Representation < Google::Apis::Core::JsonRepresentation
14862
+ property :custom_parsing_prompt, as: 'customParsingPrompt'
14863
+ property :max_parsing_requests_per_min, as: 'maxParsingRequestsPerMin'
14864
+ property :model_name, as: 'modelName'
14865
+ end
14866
+ end
14867
+
14781
14868
  class GoogleCloudAiplatformV1beta1RagFileTransformationConfig
14782
14869
  # @private
14783
14870
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -206,7 +206,8 @@ module Google
206
206
 
207
207
  # Updates a Dataset.
208
208
  # @param [String] name
209
- # Output only. Identifier. The resource name of the Dataset.
209
+ # Output only. Identifier. The resource name of the Dataset. Format: `projects/`
210
+ # project`/locations/`location`/datasets/`dataset``
210
211
  # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Dataset] google_cloud_aiplatform_v1beta1_dataset_object
211
212
  # @param [String] update_mask
212
213
  # Required. The update mask applies to the resource. For the `FieldMask`
@@ -2652,7 +2653,8 @@ module Google
2652
2653
 
2653
2654
  # Updates a Dataset.
2654
2655
  # @param [String] name
2655
- # Output only. Identifier. The resource name of the Dataset.
2656
+ # Output only. Identifier. The resource name of the Dataset. Format: `projects/`
2657
+ # project`/locations/`location`/datasets/`dataset``
2656
2658
  # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Dataset] google_cloud_aiplatform_v1beta1_dataset_object
2657
2659
  # @param [String] update_mask
2658
2660
  # Required. The update mask applies to the resource. For the `FieldMask`
@@ -6889,6 +6891,51 @@ module Google
6889
6891
  execute_or_queue_command(command, &block)
6890
6892
  end
6891
6893
 
6894
+ # Gets the access control policy for a resource. Returns an empty policy if the
6895
+ # resource exists and does not have a policy set.
6896
+ # @param [String] resource
6897
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
6898
+ # names](https://cloud.google.com/apis/design/resource_names) for the
6899
+ # appropriate value for this field.
6900
+ # @param [Fixnum] options_requested_policy_version
6901
+ # Optional. The maximum policy version that will be used to format the policy.
6902
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
6903
+ # rejected. Requests for policies with any conditional role bindings must
6904
+ # specify version 3. Policies with no conditional role bindings may specify any
6905
+ # valid value or leave the field unset. The policy in the response might use the
6906
+ # policy version that you specified, or it might use a lower policy version. For
6907
+ # example, if you specify version 3, but the policy has no conditional role
6908
+ # bindings, the response uses version 1. To learn which resources support
6909
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
6910
+ # google.com/iam/help/conditions/resource-policies).
6911
+ # @param [String] fields
6912
+ # Selector specifying which fields to include in a partial response.
6913
+ # @param [String] quota_user
6914
+ # Available to use for quota purposes for server-side applications. Can be any
6915
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6916
+ # @param [Google::Apis::RequestOptions] options
6917
+ # Request-specific options
6918
+ #
6919
+ # @yield [result, err] Result & error if block supplied
6920
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
6921
+ # @yieldparam err [StandardError] error object if request failed
6922
+ #
6923
+ # @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
6924
+ #
6925
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6926
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6927
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6928
+ def get_project_location_feature_group_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
6929
+ command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
6930
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
6931
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
6932
+ command.params['resource'] = resource unless resource.nil?
6933
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
6934
+ command.query['fields'] = fields unless fields.nil?
6935
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6936
+ execute_or_queue_command(command, &block)
6937
+ end
6938
+
6892
6939
  # Lists FeatureGroups in a given project and location.
6893
6940
  # @param [String] parent
6894
6941
  # Required. The resource name of the Location to list FeatureGroups. Format: `
@@ -6989,6 +7036,84 @@ module Google
6989
7036
  execute_or_queue_command(command, &block)
6990
7037
  end
6991
7038
 
7039
+ # Sets the access control policy on the specified resource. Replaces any
7040
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
7041
+ # PERMISSION_DENIED` errors.
7042
+ # @param [String] resource
7043
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
7044
+ # names](https://cloud.google.com/apis/design/resource_names) for the
7045
+ # appropriate value for this field.
7046
+ # @param [Google::Apis::AiplatformV1beta1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
7047
+ # @param [String] fields
7048
+ # Selector specifying which fields to include in a partial response.
7049
+ # @param [String] quota_user
7050
+ # Available to use for quota purposes for server-side applications. Can be any
7051
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7052
+ # @param [Google::Apis::RequestOptions] options
7053
+ # Request-specific options
7054
+ #
7055
+ # @yield [result, err] Result & error if block supplied
7056
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
7057
+ # @yieldparam err [StandardError] error object if request failed
7058
+ #
7059
+ # @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
7060
+ #
7061
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7062
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7063
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7064
+ def set_project_location_feature_group_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
7065
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
7066
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1SetIamPolicyRequest::Representation
7067
+ command.request_object = google_iam_v1_set_iam_policy_request_object
7068
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
7069
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
7070
+ command.params['resource'] = resource unless resource.nil?
7071
+ command.query['fields'] = fields unless fields.nil?
7072
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7073
+ execute_or_queue_command(command, &block)
7074
+ end
7075
+
7076
+ # Returns permissions that a caller has on the specified resource. If the
7077
+ # resource does not exist, this will return an empty set of permissions, not a `
7078
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
7079
+ # permission-aware UIs and command-line tools, not for authorization checking.
7080
+ # This operation may "fail open" without warning.
7081
+ # @param [String] resource
7082
+ # REQUIRED: The resource for which the policy detail is being requested. See [
7083
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
7084
+ # appropriate value for this field.
7085
+ # @param [Array<String>, String] permissions
7086
+ # The set of permissions to check for the `resource`. Permissions with wildcards
7087
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
7088
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
7089
+ # @param [String] fields
7090
+ # Selector specifying which fields to include in a partial response.
7091
+ # @param [String] quota_user
7092
+ # Available to use for quota purposes for server-side applications. Can be any
7093
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7094
+ # @param [Google::Apis::RequestOptions] options
7095
+ # Request-specific options
7096
+ #
7097
+ # @yield [result, err] Result & error if block supplied
7098
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse] parsed result object
7099
+ # @yieldparam err [StandardError] error object if request failed
7100
+ #
7101
+ # @return [Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse]
7102
+ #
7103
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7104
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7105
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7106
+ def test_project_location_feature_group_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
7107
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
7108
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
7109
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse
7110
+ command.params['resource'] = resource unless resource.nil?
7111
+ command.query['permissions'] = permissions unless permissions.nil?
7112
+ command.query['fields'] = fields unless fields.nil?
7113
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7114
+ execute_or_queue_command(command, &block)
7115
+ end
7116
+
6992
7117
  # Creates a new FeatureMonitor in a given project, location and FeatureGroup.
6993
7118
  # @param [String] parent
6994
7119
  # Required. The resource name of FeatureGroup to create FeatureMonitor. Format: `
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-08 00:00:00.000000000 Z
11
+ date: 2025-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.35.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.36.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []