public sealed class HTTPGetAction : IMessage<HTTPGetAction>, IEquatable<HTTPGetAction>, IDeepCloneable<HTTPGetAction>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Run Admin v2 API class HTTPGetAction.
HTTPGetAction describes an action based on HTTP Get requests.
Implements
IMessageHTTPGetAction, IEquatableHTTPGetAction, IDeepCloneableHTTPGetAction, IBufferMessage, IMessageNamespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Constructors
HTTPGetAction()
public HTTPGetAction()
HTTPGetAction(HTTPGetAction)
public HTTPGetAction(HTTPGetAction other)
Parameter | |
---|---|
Name | Description |
other | HTTPGetAction |
Properties
HttpHeaders
public RepeatedField<HTTPHeader> HttpHeaders { get; }
Custom headers to set in the request. HTTP allows repeated headers.
Property Value | |
---|---|
Type | Description |
RepeatedFieldHTTPHeader |
Path
public string Path { get; set; }
Path to access on the HTTP server. Defaults to '/'.
Property Value | |
---|---|
Type | Description |
string |
Port
public int Port { get; set; }
Port number to access on the container. Must be in the range 1 to 65535. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.
Property Value | |
---|---|
Type | Description |
int |