google-apis-aiplatform_v1 0.42.0 → 0.43.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a21ad8ef23881c30092e1163c2c6468dd5e663c103f474a8923f0848a100c78
|
4
|
+
data.tar.gz: e601431dd509e905e8125d23b9aae1e90e8238d798ced4fea1553f9f779599e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9989deaccc393ec078a58d5973cb41aa617aa153eaa50adeb4618c65bff19c10d10b03f9fd77b0f49c61a90f37cad8327e896dc1890010110db762cc92559258
|
7
|
+
data.tar.gz: 69a8f107b5b2a2f879ea6372f9ccb17c1376646ec23d7f8b23bef91f84b001b8f93f4854d48ef2de0d2997d623045e21f33dbdaeb9c6754a2acba5279142742a
|
data/CHANGELOG.md
CHANGED
@@ -2437,7 +2437,7 @@ module Google
|
|
2437
2437
|
end
|
2438
2438
|
end
|
2439
2439
|
|
2440
|
-
# Content blob.
|
2440
|
+
# Content blob.
|
2441
2441
|
class GoogleCloudAiplatformV1Blob
|
2442
2442
|
include Google::Apis::Core::Hashable
|
2443
2443
|
|
@@ -5077,7 +5077,8 @@ module Google
|
|
5077
5077
|
# @return [String]
|
5078
5078
|
attr_accessor :model_reference
|
5079
5079
|
|
5080
|
-
# Output only. Identifier. The resource name of the Dataset.
|
5080
|
+
# Output only. Identifier. The resource name of the Dataset. Format: `projects/`
|
5081
|
+
# project`/locations/`location`/datasets/`dataset``
|
5081
5082
|
# Corresponds to the JSON property `name`
|
5082
5083
|
# @return [String]
|
5083
5084
|
attr_accessor :name
|
@@ -11572,6 +11573,11 @@ module Google
|
|
11572
11573
|
# @return [Fixnum]
|
11573
11574
|
attr_accessor :max_output_tokens
|
11574
11575
|
|
11576
|
+
# Optional. If specified, the media resolution specified will be used.
|
11577
|
+
# Corresponds to the JSON property `mediaResolution`
|
11578
|
+
# @return [String]
|
11579
|
+
attr_accessor :media_resolution
|
11580
|
+
|
11575
11581
|
# Optional. Positive penalties.
|
11576
11582
|
# Corresponds to the JSON property `presencePenalty`
|
11577
11583
|
# @return [Float]
|
@@ -11629,11 +11635,6 @@ module Google
|
|
11629
11635
|
# @return [Float]
|
11630
11636
|
attr_accessor :temperature
|
11631
11637
|
|
11632
|
-
# Optional. If specified, the token resolution specified will be used.
|
11633
|
-
# Corresponds to the JSON property `tokenResolution`
|
11634
|
-
# @return [String]
|
11635
|
-
attr_accessor :token_resolution
|
11636
|
-
|
11637
11638
|
# Optional. If specified, top-k sampling will be used.
|
11638
11639
|
# Corresponds to the JSON property `topK`
|
11639
11640
|
# @return [Float]
|
@@ -11655,6 +11656,7 @@ module Google
|
|
11655
11656
|
@frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
|
11656
11657
|
@logprobs = args[:logprobs] if args.key?(:logprobs)
|
11657
11658
|
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
|
11659
|
+
@media_resolution = args[:media_resolution] if args.key?(:media_resolution)
|
11658
11660
|
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
|
11659
11661
|
@response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
|
11660
11662
|
@response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
|
@@ -11665,7 +11667,6 @@ module Google
|
|
11665
11667
|
@speech_config = args[:speech_config] if args.key?(:speech_config)
|
11666
11668
|
@stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
|
11667
11669
|
@temperature = args[:temperature] if args.key?(:temperature)
|
11668
|
-
@token_resolution = args[:token_resolution] if args.key?(:token_resolution)
|
11669
11670
|
@top_k = args[:top_k] if args.key?(:top_k)
|
11670
11671
|
@top_p = args[:top_p] if args.key?(:top_p)
|
11671
11672
|
end
|
@@ -16286,6 +16287,12 @@ module Google
|
|
16286
16287
|
# @return [String]
|
16287
16288
|
attr_accessor :image_uri
|
16288
16289
|
|
16290
|
+
# Probe describes a health check to be performed against a container to
|
16291
|
+
# determine whether it is alive or ready to receive traffic.
|
16292
|
+
# Corresponds to the JSON property `livenessProbe`
|
16293
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Probe]
|
16294
|
+
attr_accessor :liveness_probe
|
16295
|
+
|
16289
16296
|
# Immutable. List of ports to expose from the container. Vertex AI sends any
|
16290
16297
|
# prediction requests that it receives to the first port on this list. Vertex AI
|
16291
16298
|
# also sends [liveness and health checks](https://cloud.google.com/vertex-ai/
|
@@ -16348,6 +16355,7 @@ module Google
|
|
16348
16355
|
@health_probe = args[:health_probe] if args.key?(:health_probe)
|
16349
16356
|
@health_route = args[:health_route] if args.key?(:health_route)
|
16350
16357
|
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
16358
|
+
@liveness_probe = args[:liveness_probe] if args.key?(:liveness_probe)
|
16351
16359
|
@ports = args[:ports] if args.key?(:ports)
|
16352
16360
|
@predict_route = args[:predict_route] if args.key?(:predict_route)
|
16353
16361
|
@shared_memory_size_mb = args[:shared_memory_size_mb] if args.key?(:shared_memory_size_mb)
|
@@ -19660,7 +19668,7 @@ module Google
|
|
19660
19668
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionResponse]
|
19661
19669
|
attr_accessor :function_response
|
19662
19670
|
|
19663
|
-
# Content blob.
|
19671
|
+
# Content blob.
|
19664
19672
|
# Corresponds to the JSON property `inlineData`
|
19665
19673
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Blob]
|
19666
19674
|
attr_accessor :inline_data
|
@@ -20915,6 +20923,16 @@ module Google
|
|
20915
20923
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeExecAction]
|
20916
20924
|
attr_accessor :exec
|
20917
20925
|
|
20926
|
+
# GrpcAction checks the health of a container using a gRPC service.
|
20927
|
+
# Corresponds to the JSON property `grpc`
|
20928
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeGrpcAction]
|
20929
|
+
attr_accessor :grpc
|
20930
|
+
|
20931
|
+
# HttpGetAction describes an action based on HTTP Get requests.
|
20932
|
+
# Corresponds to the JSON property `httpGet`
|
20933
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeHttpGetAction]
|
20934
|
+
attr_accessor :http_get
|
20935
|
+
|
20918
20936
|
# How often (in seconds) to perform the probe. Default to 10 seconds. Minimum
|
20919
20937
|
# value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe
|
20920
20938
|
# argument 'periodSeconds'.
|
@@ -20922,6 +20940,12 @@ module Google
|
|
20922
20940
|
# @return [Fixnum]
|
20923
20941
|
attr_accessor :period_seconds
|
20924
20942
|
|
20943
|
+
# TcpSocketAction probes the health of a container by opening a TCP socket
|
20944
|
+
# connection.
|
20945
|
+
# Corresponds to the JSON property `tcpSocket`
|
20946
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeTcpSocketAction]
|
20947
|
+
attr_accessor :tcp_socket
|
20948
|
+
|
20925
20949
|
# Number of seconds after which the probe times out. Defaults to 1 second.
|
20926
20950
|
# Minimum value is 1. Must be greater or equal to period_seconds. Maps to
|
20927
20951
|
# Kubernetes probe argument 'timeoutSeconds'.
|
@@ -20936,7 +20960,10 @@ module Google
|
|
20936
20960
|
# Update properties of this object
|
20937
20961
|
def update!(**args)
|
20938
20962
|
@exec = args[:exec] if args.key?(:exec)
|
20963
|
+
@grpc = args[:grpc] if args.key?(:grpc)
|
20964
|
+
@http_get = args[:http_get] if args.key?(:http_get)
|
20939
20965
|
@period_seconds = args[:period_seconds] if args.key?(:period_seconds)
|
20966
|
+
@tcp_socket = args[:tcp_socket] if args.key?(:tcp_socket)
|
20940
20967
|
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
20941
20968
|
end
|
20942
20969
|
end
|
@@ -20965,6 +20992,133 @@ module Google
|
|
20965
20992
|
end
|
20966
20993
|
end
|
20967
20994
|
|
20995
|
+
# GrpcAction checks the health of a container using a gRPC service.
|
20996
|
+
class GoogleCloudAiplatformV1ProbeGrpcAction
|
20997
|
+
include Google::Apis::Core::Hashable
|
20998
|
+
|
20999
|
+
# Port number of the gRPC service. Number must be in the range 1 to 65535.
|
21000
|
+
# Corresponds to the JSON property `port`
|
21001
|
+
# @return [Fixnum]
|
21002
|
+
attr_accessor :port
|
21003
|
+
|
21004
|
+
# Service is the name of the service to place in the gRPC HealthCheckRequest (
|
21005
|
+
# see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this
|
21006
|
+
# is not specified, the default behavior is defined by gRPC.
|
21007
|
+
# Corresponds to the JSON property `service`
|
21008
|
+
# @return [String]
|
21009
|
+
attr_accessor :service
|
21010
|
+
|
21011
|
+
def initialize(**args)
|
21012
|
+
update!(**args)
|
21013
|
+
end
|
21014
|
+
|
21015
|
+
# Update properties of this object
|
21016
|
+
def update!(**args)
|
21017
|
+
@port = args[:port] if args.key?(:port)
|
21018
|
+
@service = args[:service] if args.key?(:service)
|
21019
|
+
end
|
21020
|
+
end
|
21021
|
+
|
21022
|
+
# HttpGetAction describes an action based on HTTP Get requests.
|
21023
|
+
class GoogleCloudAiplatformV1ProbeHttpGetAction
|
21024
|
+
include Google::Apis::Core::Hashable
|
21025
|
+
|
21026
|
+
# Host name to connect to, defaults to the model serving container's IP. You
|
21027
|
+
# probably want to set "Host" in httpHeaders instead.
|
21028
|
+
# Corresponds to the JSON property `host`
|
21029
|
+
# @return [String]
|
21030
|
+
attr_accessor :host
|
21031
|
+
|
21032
|
+
# Custom headers to set in the request. HTTP allows repeated headers.
|
21033
|
+
# Corresponds to the JSON property `httpHeaders`
|
21034
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeHttpHeader>]
|
21035
|
+
attr_accessor :http_headers
|
21036
|
+
|
21037
|
+
# Path to access on the HTTP server.
|
21038
|
+
# Corresponds to the JSON property `path`
|
21039
|
+
# @return [String]
|
21040
|
+
attr_accessor :path
|
21041
|
+
|
21042
|
+
# Number of the port to access on the container. Number must be in the range 1
|
21043
|
+
# to 65535.
|
21044
|
+
# Corresponds to the JSON property `port`
|
21045
|
+
# @return [Fixnum]
|
21046
|
+
attr_accessor :port
|
21047
|
+
|
21048
|
+
# Scheme to use for connecting to the host. Defaults to HTTP. Acceptable values
|
21049
|
+
# are "HTTP" or "HTTPS".
|
21050
|
+
# Corresponds to the JSON property `scheme`
|
21051
|
+
# @return [String]
|
21052
|
+
attr_accessor :scheme
|
21053
|
+
|
21054
|
+
def initialize(**args)
|
21055
|
+
update!(**args)
|
21056
|
+
end
|
21057
|
+
|
21058
|
+
# Update properties of this object
|
21059
|
+
def update!(**args)
|
21060
|
+
@host = args[:host] if args.key?(:host)
|
21061
|
+
@http_headers = args[:http_headers] if args.key?(:http_headers)
|
21062
|
+
@path = args[:path] if args.key?(:path)
|
21063
|
+
@port = args[:port] if args.key?(:port)
|
21064
|
+
@scheme = args[:scheme] if args.key?(:scheme)
|
21065
|
+
end
|
21066
|
+
end
|
21067
|
+
|
21068
|
+
# HttpHeader describes a custom header to be used in HTTP probes
|
21069
|
+
class GoogleCloudAiplatformV1ProbeHttpHeader
|
21070
|
+
include Google::Apis::Core::Hashable
|
21071
|
+
|
21072
|
+
# The header field name. This will be canonicalized upon output, so case-variant
|
21073
|
+
# names will be understood as the same header.
|
21074
|
+
# Corresponds to the JSON property `name`
|
21075
|
+
# @return [String]
|
21076
|
+
attr_accessor :name
|
21077
|
+
|
21078
|
+
# The header field value
|
21079
|
+
# Corresponds to the JSON property `value`
|
21080
|
+
# @return [String]
|
21081
|
+
attr_accessor :value
|
21082
|
+
|
21083
|
+
def initialize(**args)
|
21084
|
+
update!(**args)
|
21085
|
+
end
|
21086
|
+
|
21087
|
+
# Update properties of this object
|
21088
|
+
def update!(**args)
|
21089
|
+
@name = args[:name] if args.key?(:name)
|
21090
|
+
@value = args[:value] if args.key?(:value)
|
21091
|
+
end
|
21092
|
+
end
|
21093
|
+
|
21094
|
+
# TcpSocketAction probes the health of a container by opening a TCP socket
|
21095
|
+
# connection.
|
21096
|
+
class GoogleCloudAiplatformV1ProbeTcpSocketAction
|
21097
|
+
include Google::Apis::Core::Hashable
|
21098
|
+
|
21099
|
+
# Optional: Host name to connect to, defaults to the model serving container's
|
21100
|
+
# IP.
|
21101
|
+
# Corresponds to the JSON property `host`
|
21102
|
+
# @return [String]
|
21103
|
+
attr_accessor :host
|
21104
|
+
|
21105
|
+
# Number of the port to access on the container. Number must be in the range 1
|
21106
|
+
# to 65535.
|
21107
|
+
# Corresponds to the JSON property `port`
|
21108
|
+
# @return [Fixnum]
|
21109
|
+
attr_accessor :port
|
21110
|
+
|
21111
|
+
def initialize(**args)
|
21112
|
+
update!(**args)
|
21113
|
+
end
|
21114
|
+
|
21115
|
+
# Update properties of this object
|
21116
|
+
def update!(**args)
|
21117
|
+
@host = args[:host] if args.key?(:host)
|
21118
|
+
@port = args[:port] if args.key?(:port)
|
21119
|
+
end
|
21120
|
+
end
|
21121
|
+
|
20968
21122
|
# PscAutomatedEndpoints defines the output of the forwarding rule automatically
|
20969
21123
|
# created by each PscAutomationConfig.
|
20970
21124
|
class GoogleCloudAiplatformV1PscAutomatedEndpoints
|
@@ -32292,6 +32446,33 @@ module Google
|
|
32292
32446
|
end
|
32293
32447
|
end
|
32294
32448
|
|
32449
|
+
# Request message for ReasoningEngineExecutionService.StreamQuery.
|
32450
|
+
class GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest
|
32451
|
+
include Google::Apis::Core::Hashable
|
32452
|
+
|
32453
|
+
# Optional. Class method to be used for the stream query. It is optional and
|
32454
|
+
# defaults to "stream_query" if unspecified.
|
32455
|
+
# Corresponds to the JSON property `classMethod`
|
32456
|
+
# @return [String]
|
32457
|
+
attr_accessor :class_method
|
32458
|
+
|
32459
|
+
# Optional. Input content provided by users in JSON object format. Examples
|
32460
|
+
# include text query, function calling parameters, media bytes, etc.
|
32461
|
+
# Corresponds to the JSON property `input`
|
32462
|
+
# @return [Hash<String,Object>]
|
32463
|
+
attr_accessor :input
|
32464
|
+
|
32465
|
+
def initialize(**args)
|
32466
|
+
update!(**args)
|
32467
|
+
end
|
32468
|
+
|
32469
|
+
# Update properties of this object
|
32470
|
+
def update!(**args)
|
32471
|
+
@class_method = args[:class_method] if args.key?(:class_method)
|
32472
|
+
@input = args[:input] if args.key?(:input)
|
32473
|
+
end
|
32474
|
+
end
|
32475
|
+
|
32295
32476
|
# Request message for PredictionService.StreamRawPredict.
|
32296
32477
|
class GoogleCloudAiplatformV1StreamRawPredictRequest
|
32297
32478
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.43.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 = "
|
25
|
+
REVISION = "20241214"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -3382,6 +3382,30 @@ module Google
|
|
3382
3382
|
include Google::Apis::Core::JsonObjectSupport
|
3383
3383
|
end
|
3384
3384
|
|
3385
|
+
class GoogleCloudAiplatformV1ProbeGrpcAction
|
3386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3387
|
+
|
3388
|
+
include Google::Apis::Core::JsonObjectSupport
|
3389
|
+
end
|
3390
|
+
|
3391
|
+
class GoogleCloudAiplatformV1ProbeHttpGetAction
|
3392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3393
|
+
|
3394
|
+
include Google::Apis::Core::JsonObjectSupport
|
3395
|
+
end
|
3396
|
+
|
3397
|
+
class GoogleCloudAiplatformV1ProbeHttpHeader
|
3398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3399
|
+
|
3400
|
+
include Google::Apis::Core::JsonObjectSupport
|
3401
|
+
end
|
3402
|
+
|
3403
|
+
class GoogleCloudAiplatformV1ProbeTcpSocketAction
|
3404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3405
|
+
|
3406
|
+
include Google::Apis::Core::JsonObjectSupport
|
3407
|
+
end
|
3408
|
+
|
3385
3409
|
class GoogleCloudAiplatformV1PscAutomatedEndpoints
|
3386
3410
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3387
3411
|
|
@@ -5338,6 +5362,12 @@ module Google
|
|
5338
5362
|
include Google::Apis::Core::JsonObjectSupport
|
5339
5363
|
end
|
5340
5364
|
|
5365
|
+
class GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest
|
5366
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5367
|
+
|
5368
|
+
include Google::Apis::Core::JsonObjectSupport
|
5369
|
+
end
|
5370
|
+
|
5341
5371
|
class GoogleCloudAiplatformV1StreamRawPredictRequest
|
5342
5372
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5343
5373
|
|
@@ -9729,6 +9759,7 @@ module Google
|
|
9729
9759
|
property :frequency_penalty, as: 'frequencyPenalty'
|
9730
9760
|
property :logprobs, as: 'logprobs'
|
9731
9761
|
property :max_output_tokens, as: 'maxOutputTokens'
|
9762
|
+
property :media_resolution, as: 'mediaResolution'
|
9732
9763
|
property :presence_penalty, as: 'presencePenalty'
|
9733
9764
|
property :response_logprobs, as: 'responseLogprobs'
|
9734
9765
|
property :response_mime_type, as: 'responseMimeType'
|
@@ -9742,7 +9773,6 @@ module Google
|
|
9742
9773
|
|
9743
9774
|
collection :stop_sequences, as: 'stopSequences'
|
9744
9775
|
property :temperature, as: 'temperature'
|
9745
|
-
property :token_resolution, as: 'tokenResolution'
|
9746
9776
|
property :top_k, as: 'topK'
|
9747
9777
|
property :top_p, as: 'topP'
|
9748
9778
|
end
|
@@ -11085,6 +11115,8 @@ module Google
|
|
11085
11115
|
|
11086
11116
|
property :health_route, as: 'healthRoute'
|
11087
11117
|
property :image_uri, as: 'imageUri'
|
11118
|
+
property :liveness_probe, as: 'livenessProbe', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Probe, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Probe::Representation
|
11119
|
+
|
11088
11120
|
collection :ports, as: 'ports', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Port, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Port::Representation
|
11089
11121
|
|
11090
11122
|
property :predict_route, as: 'predictRoute'
|
@@ -12332,7 +12364,13 @@ module Google
|
|
12332
12364
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12333
12365
|
property :exec, as: 'exec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeExecAction, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeExecAction::Representation
|
12334
12366
|
|
12367
|
+
property :grpc, as: 'grpc', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeGrpcAction, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeGrpcAction::Representation
|
12368
|
+
|
12369
|
+
property :http_get, as: 'httpGet', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeHttpGetAction, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeHttpGetAction::Representation
|
12370
|
+
|
12335
12371
|
property :period_seconds, as: 'periodSeconds'
|
12372
|
+
property :tcp_socket, as: 'tcpSocket', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeTcpSocketAction, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeTcpSocketAction::Representation
|
12373
|
+
|
12336
12374
|
property :timeout_seconds, as: 'timeoutSeconds'
|
12337
12375
|
end
|
12338
12376
|
end
|
@@ -12344,6 +12382,42 @@ module Google
|
|
12344
12382
|
end
|
12345
12383
|
end
|
12346
12384
|
|
12385
|
+
class GoogleCloudAiplatformV1ProbeGrpcAction
|
12386
|
+
# @private
|
12387
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12388
|
+
property :port, as: 'port'
|
12389
|
+
property :service, as: 'service'
|
12390
|
+
end
|
12391
|
+
end
|
12392
|
+
|
12393
|
+
class GoogleCloudAiplatformV1ProbeHttpGetAction
|
12394
|
+
# @private
|
12395
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12396
|
+
property :host, as: 'host'
|
12397
|
+
collection :http_headers, as: 'httpHeaders', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeHttpHeader, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeHttpHeader::Representation
|
12398
|
+
|
12399
|
+
property :path, as: 'path'
|
12400
|
+
property :port, as: 'port'
|
12401
|
+
property :scheme, as: 'scheme'
|
12402
|
+
end
|
12403
|
+
end
|
12404
|
+
|
12405
|
+
class GoogleCloudAiplatformV1ProbeHttpHeader
|
12406
|
+
# @private
|
12407
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12408
|
+
property :name, as: 'name'
|
12409
|
+
property :value, as: 'value'
|
12410
|
+
end
|
12411
|
+
end
|
12412
|
+
|
12413
|
+
class GoogleCloudAiplatformV1ProbeTcpSocketAction
|
12414
|
+
# @private
|
12415
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12416
|
+
property :host, as: 'host'
|
12417
|
+
property :port, as: 'port'
|
12418
|
+
end
|
12419
|
+
end
|
12420
|
+
|
12347
12421
|
class GoogleCloudAiplatformV1PscAutomatedEndpoints
|
12348
12422
|
# @private
|
12349
12423
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -15540,6 +15614,14 @@ module Google
|
|
15540
15614
|
end
|
15541
15615
|
end
|
15542
15616
|
|
15617
|
+
class GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest
|
15618
|
+
# @private
|
15619
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15620
|
+
property :class_method, as: 'classMethod'
|
15621
|
+
hash :input, as: 'input'
|
15622
|
+
end
|
15623
|
+
end
|
15624
|
+
|
15543
15625
|
class GoogleCloudAiplatformV1StreamRawPredictRequest
|
15544
15626
|
# @private
|
15545
15627
|
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::AiplatformV1::GoogleCloudAiplatformV1Dataset] google_cloud_aiplatform_v1_dataset_object
|
211
212
|
# @param [String] update_mask
|
212
213
|
# Required. The update mask applies to the resource. For the `FieldMask`
|
@@ -2252,7 +2253,8 @@ module Google
|
|
2252
2253
|
|
2253
2254
|
# Updates a Dataset.
|
2254
2255
|
# @param [String] name
|
2255
|
-
# Output only. Identifier. The resource name of the Dataset.
|
2256
|
+
# Output only. Identifier. The resource name of the Dataset. Format: `projects/`
|
2257
|
+
# project`/locations/`location`/datasets/`dataset``
|
2256
2258
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Dataset] google_cloud_aiplatform_v1_dataset_object
|
2257
2259
|
# @param [String] update_mask
|
2258
2260
|
# Required. The update mask applies to the resource. For the `FieldMask`
|
@@ -18037,6 +18039,40 @@ module Google
|
|
18037
18039
|
execute_or_queue_command(command, &block)
|
18038
18040
|
end
|
18039
18041
|
|
18042
|
+
# Streams queries using a reasoning engine.
|
18043
|
+
# @param [String] name
|
18044
|
+
# Required. The name of the ReasoningEngine resource to use. Format: `projects/`
|
18045
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
18046
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest] google_cloud_aiplatform_v1_stream_query_reasoning_engine_request_object
|
18047
|
+
# @param [String] fields
|
18048
|
+
# Selector specifying which fields to include in a partial response.
|
18049
|
+
# @param [String] quota_user
|
18050
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18051
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18052
|
+
# @param [Google::Apis::RequestOptions] options
|
18053
|
+
# Request-specific options
|
18054
|
+
#
|
18055
|
+
# @yield [result, err] Result & error if block supplied
|
18056
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleApiHttpBody] parsed result object
|
18057
|
+
# @yieldparam err [StandardError] error object if request failed
|
18058
|
+
#
|
18059
|
+
# @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
|
18060
|
+
#
|
18061
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18062
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18063
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18064
|
+
def stream_project_location_reasoning_engine_query(name, google_cloud_aiplatform_v1_stream_query_reasoning_engine_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
18065
|
+
command = make_simple_command(:post, 'v1/{+name}:streamQuery', options)
|
18066
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest::Representation
|
18067
|
+
command.request_object = google_cloud_aiplatform_v1_stream_query_reasoning_engine_request_object
|
18068
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
|
18069
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleApiHttpBody
|
18070
|
+
command.params['name'] = name unless name.nil?
|
18071
|
+
command.query['fields'] = fields unless fields.nil?
|
18072
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18073
|
+
execute_or_queue_command(command, &block)
|
18074
|
+
end
|
18075
|
+
|
18040
18076
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
18041
18077
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
18042
18078
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.43.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:
|
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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.43.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|