@@ -2437,7 +2437,7 @@ def update!(**args)
24372437 end
24382438 end
24392439
2440- # Content blob. It's preferred to send as text directly rather than raw bytes.
2440+ # Content blob.
24412441 class GoogleCloudAiplatformV1Blob
24422442 include Google::Apis::Core::Hashable
24432443
@@ -5077,7 +5077,8 @@ class GoogleCloudAiplatformV1Dataset
50775077 # @return [String]
50785078 attr_accessor :model_reference
50795079
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``
50815082 # Corresponds to the JSON property `name`
50825083 # @return [String]
50835084 attr_accessor :name
@@ -11572,6 +11573,11 @@ class GoogleCloudAiplatformV1GenerationConfig
1157211573 # @return [Fixnum]
1157311574 attr_accessor :max_output_tokens
1157411575
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+
1157511581 # Optional. Positive penalties.
1157611582 # Corresponds to the JSON property `presencePenalty`
1157711583 # @return [Float]
@@ -11629,11 +11635,6 @@ class GoogleCloudAiplatformV1GenerationConfig
1162911635 # @return [Float]
1163011636 attr_accessor :temperature
1163111637
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-
1163711638 # Optional. If specified, top-k sampling will be used.
1163811639 # Corresponds to the JSON property `topK`
1163911640 # @return [Float]
@@ -11655,6 +11656,7 @@ def update!(**args)
1165511656 @frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
1165611657 @logprobs = args[:logprobs] if args.key?(:logprobs)
1165711658 @max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
11659+ @media_resolution = args[:media_resolution] if args.key?(:media_resolution)
1165811660 @presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
1165911661 @response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
1166011662 @response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
@@ -11665,7 +11667,6 @@ def update!(**args)
1166511667 @speech_config = args[:speech_config] if args.key?(:speech_config)
1166611668 @stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
1166711669 @temperature = args[:temperature] if args.key?(:temperature)
11668- @token_resolution = args[:token_resolution] if args.key?(:token_resolution)
1166911670 @top_k = args[:top_k] if args.key?(:top_k)
1167011671 @top_p = args[:top_p] if args.key?(:top_p)
1167111672 end
@@ -16286,6 +16287,12 @@ class GoogleCloudAiplatformV1ModelContainerSpec
1628616287 # @return [String]
1628716288 attr_accessor :image_uri
1628816289
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+
1628916296 # Immutable. List of ports to expose from the container. Vertex AI sends any
1629016297 # prediction requests that it receives to the first port on this list. Vertex AI
1629116298 # also sends [liveness and health checks](https://cloud.google.com/vertex-ai/
@@ -16348,6 +16355,7 @@ def update!(**args)
1634816355 @health_probe = args[:health_probe] if args.key?(:health_probe)
1634916356 @health_route = args[:health_route] if args.key?(:health_route)
1635016357 @image_uri = args[:image_uri] if args.key?(:image_uri)
16358+ @liveness_probe = args[:liveness_probe] if args.key?(:liveness_probe)
1635116359 @ports = args[:ports] if args.key?(:ports)
1635216360 @predict_route = args[:predict_route] if args.key?(:predict_route)
1635316361 @shared_memory_size_mb = args[:shared_memory_size_mb] if args.key?(:shared_memory_size_mb)
@@ -19660,7 +19668,7 @@ class GoogleCloudAiplatformV1Part
1966019668 # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionResponse]
1966119669 attr_accessor :function_response
1966219670
19663- # Content blob. It's preferred to send as text directly rather than raw bytes.
19671+ # Content blob.
1966419672 # Corresponds to the JSON property `inlineData`
1966519673 # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Blob]
1966619674 attr_accessor :inline_data
@@ -20915,13 +20923,29 @@ class GoogleCloudAiplatformV1Probe
2091520923 # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeExecAction]
2091620924 attr_accessor :exec
2091720925
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+
2091820936 # How often (in seconds) to perform the probe. Default to 10 seconds. Minimum
2091920937 # value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe
2092020938 # argument 'periodSeconds'.
2092120939 # Corresponds to the JSON property `periodSeconds`
2092220940 # @return [Fixnum]
2092320941 attr_accessor :period_seconds
2092420942
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+
2092520949 # Number of seconds after which the probe times out. Defaults to 1 second.
2092620950 # Minimum value is 1. Must be greater or equal to period_seconds. Maps to
2092720951 # Kubernetes probe argument 'timeoutSeconds'.
@@ -20936,7 +20960,10 @@ def initialize(**args)
2093620960 # Update properties of this object
2093720961 def update!(**args)
2093820962 @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)
2093920965 @period_seconds = args[:period_seconds] if args.key?(:period_seconds)
20966+ @tcp_socket = args[:tcp_socket] if args.key?(:tcp_socket)
2094020967 @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
2094120968 end
2094220969 end
@@ -20965,6 +20992,133 @@ def update!(**args)
2096520992 end
2096620993 end
2096720994
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+
2096821122 # PscAutomatedEndpoints defines the output of the forwarding rule automatically
2096921123 # created by each PscAutomationConfig.
2097021124 class GoogleCloudAiplatformV1PscAutomatedEndpoints
@@ -32292,6 +32446,33 @@ def update!(**args)
3229232446 end
3229332447 end
3229432448
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+
3229532476 # Request message for PredictionService.StreamRawPredict.
3229632477 class GoogleCloudAiplatformV1StreamRawPredictRequest
3229732478 include Google::Apis::Core::Hashable
0 commit comments