Class HealthChecksResource
The "healthChecks" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class HealthChecksResource
Constructors
HealthChecksResource(IClientService)
Constructs a new resource.
Declaration
public HealthChecksResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AggregatedList(string)
Retrieves the list of all HealthCheck resources, regional and global, available to the specified project. To
prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Declaration
public virtual HealthChecksResource.AggregatedListRequest AggregatedList(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | Name of the project scoping this request. |
Returns
Type | Description |
---|---|
HealthChecksResource.AggregatedListRequest |
Delete(string, string)
Deletes the specified HealthCheck resource.
Declaration
public virtual HealthChecksResource.DeleteRequest Delete(string project, string healthCheck)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | healthCheck | Name of the HealthCheck resource to delete. |
Returns
Type | Description |
---|---|
HealthChecksResource.DeleteRequest |
Get(string, string)
Returns the specified HealthCheck resource.
Declaration
public virtual HealthChecksResource.GetRequest Get(string project, string healthCheck)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | healthCheck | Name of the HealthCheck resource to return. |
Returns
Type | Description |
---|---|
HealthChecksResource.GetRequest |
Insert(HealthCheck, string)
Creates a HealthCheck resource in the specified project using the data included in the request.
Declaration
public virtual HealthChecksResource.InsertRequest Insert(HealthCheck body, string project)
Parameters
Type | Name | Description |
---|---|---|
HealthCheck | body | The body of the request. |
string | project | Project ID for this request. |
Returns
Type | Description |
---|---|
HealthChecksResource.InsertRequest |
List(string)
Retrieves the list of HealthCheck resources available to the specified project.
Declaration
public virtual HealthChecksResource.ListRequest List(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
Returns
Type | Description |
---|---|
HealthChecksResource.ListRequest |
Patch(HealthCheck, string, string)
Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
Declaration
public virtual HealthChecksResource.PatchRequest Patch(HealthCheck body, string project, string healthCheck)
Parameters
Type | Name | Description |
---|---|---|
HealthCheck | body | The body of the request. |
string | project | Project ID for this request. |
string | healthCheck | Name of the HealthCheck resource to patch. |
Returns
Type | Description |
---|---|
HealthChecksResource.PatchRequest |
TestIamPermissions(TestPermissionsRequest, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual HealthChecksResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestPermissionsRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | resource | Name or id of the resource for this request. |
Returns
Type | Description |
---|---|
HealthChecksResource.TestIamPermissionsRequest |
Update(HealthCheck, string, string)
Updates a HealthCheck resource in the specified project using the data included in the request.
Declaration
public virtual HealthChecksResource.UpdateRequest Update(HealthCheck body, string project, string healthCheck)
Parameters
Type | Name | Description |
---|---|---|
HealthCheck | body | The body of the request. |
string | project | Project ID for this request. |
string | healthCheck | Name of the HealthCheck resource to update. |
Returns
Type | Description |
---|---|
HealthChecksResource.UpdateRequest |