Class BackendServicesResource.GetHealthRequest
Gets the most recent health check results for this BackendService. Example request body: { "group": "/zones/us-east1-b/instanceGroups/lb-backend-example" }
Inheritance
BackendServicesResource.GetHealthRequest
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class BackendServicesResource.GetHealthRequest : ComputeBaseServiceRequest<BackendServiceGroupHealth>, IClientServiceRequest<BackendServiceGroupHealth>, IClientServiceRequest
Constructors
GetHealthRequest(IClientService, ResourceGroupReference, string, string)
Constructs a new GetHealth request.
Declaration
public GetHealthRequest(IClientService service, ResourceGroupReference body, string project, string backendService)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ResourceGroupReference | body | |
string | project | |
string | backendService |
Properties
BackendService
Name of the BackendService resource to which the queried instance belongs.
Declaration
[RequestParameter("backendService", RequestParameterType.Path)]
public virtual string BackendService { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Project
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes GetHealth parameter list.
Declaration
protected override void InitParameters()