Class HTTPGetAction
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
HTTPGetAction describes an action based on HTTP Get requests.
Inheritance
System.Object
HTTPGetAction
Implements
Namespace: Google.Apis.CloudRun.v1.Data
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class HTTPGetAction : object, IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Host
(Optional)
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
Declaration
public virtual string Host { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HttpHeaders
(Optional)
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
Custom headers to set in the request. HTTP allows repeated headers.
Declaration
public virtual IList<HTTPHeader> HttpHeaders { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<HTTPHeader> |
Path
(Optional)
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
Path to access on the HTTP server.
Declaration
public virtual string Path { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Scheme
(Optional)
Cloud Run fully managed: not supported
Cloud Run for Anthos: supported
Scheme to use for connecting to the host. Defaults to HTTP.
Declaration
public virtual string Scheme { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |