Cloud Run Admin v2 API - Class HTTPGetAction (2.12.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
Name Description
other HTTPGetAction

Properties

HttpHeaders

public RepeatedField<HTTPHeader> HttpHeaders { get; }

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

Property Value
Type Description
RepeatedFieldHTTPHeader

Path

public string Path { get; set; }

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

Property Value
Type Description
string

Port

public int Port { get; set; }

Optional. Port number to access on the container. Must be in the range 1 to

  1. 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