Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Probe::HttpGetAction.
HttpGetAction describes an action based on HTTP Get requests.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#host
def host() -> ::String
Returns
- (::String) — Host name to connect to, defaults to the model serving container's IP. You probably want to set "Host" in httpHeaders instead.
#host=
def host=(value) -> ::String
Parameter
- value (::String) — Host name to connect to, defaults to the model serving container's IP. You probably want to set "Host" in httpHeaders instead.
Returns
- (::String) — Host name to connect to, defaults to the model serving container's IP. You probably want to set "Host" in httpHeaders instead.
#http_headers
def http_headers() -> ::Array<::Google::Cloud::AIPlatform::V1::Probe::HttpHeader>
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::Probe::HttpHeader>) — Custom headers to set in the request. HTTP allows repeated headers.
#http_headers=
def http_headers=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::Probe::HttpHeader>
Parameter
- value (::Array<::Google::Cloud::AIPlatform::V1::Probe::HttpHeader>) — Custom headers to set in the request. HTTP allows repeated headers.
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::Probe::HttpHeader>) — Custom headers to set in the request. HTTP allows repeated headers.
#path
def path() -> ::String
Returns
- (::String) — Path to access on the HTTP server.
#path=
def path=(value) -> ::String
Parameter
- value (::String) — Path to access on the HTTP server.
Returns
- (::String) — Path to access on the HTTP server.
#port
def port() -> ::Integer
Returns
- (::Integer) — Number of the port to access on the container. Number must be in the range 1 to 65535.
#port=
def port=(value) -> ::Integer
Parameter
- value (::Integer) — Number of the port to access on the container. Number must be in the range 1 to 65535.
Returns
- (::Integer) — Number of the port to access on the container. Number must be in the range 1 to 65535.
#scheme
def scheme() -> ::String
Returns
- (::String) — Scheme to use for connecting to the host. Defaults to HTTP. Acceptable values are "HTTP" or "HTTPS".
#scheme=
def scheme=(value) -> ::String
Parameter
- value (::String) — Scheme to use for connecting to the host. Defaults to HTTP. Acceptable values are "HTTP" or "HTTPS".
Returns
- (::String) — Scheme to use for connecting to the host. Defaults to HTTP. Acceptable values are "HTTP" or "HTTPS".