Cloud Run Admin v2 API - Class HTTPGetAction (2.7.0)

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.

Inheritance

object > HTTPGetAction

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

HTTPGetAction()

public HTTPGetAction()

HTTPGetAction(HTTPGetAction)

public HTTPGetAction(HTTPGetAction other)
Parameter
NameDescription
otherHTTPGetAction

Properties

HttpHeaders

public RepeatedField<HTTPHeader> HttpHeaders { get; }

Custom headers to set in the request. HTTP allows repeated headers.

Property Value
TypeDescription
RepeatedFieldHTTPHeader

Path

public string Path { get; set; }

Path to access on the HTTP server. Defaults to '/'.

Property Value
TypeDescription
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
TypeDescription
int