Class RegionHealthChecksResource
The "regionHealthChecks" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class RegionHealthChecksResource
Constructors
RegionHealthChecksResource(IClientService)
Constructs a new resource.
Declaration
public RegionHealthChecksResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string, string)
Deletes the specified HealthCheck resource.
Declaration
public virtual RegionHealthChecksResource.DeleteRequest Delete(string project, string region, string healthCheck)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | healthCheck | Name of the HealthCheck resource to delete. |
Returns
Type | Description |
---|---|
RegionHealthChecksResource.DeleteRequest |
Get(string, string, string)
Returns the specified HealthCheck resource.
Declaration
public virtual RegionHealthChecksResource.GetRequest Get(string project, string region, string healthCheck)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | healthCheck | Name of the HealthCheck resource to return. |
Returns
Type | Description |
---|---|
RegionHealthChecksResource.GetRequest |
Insert(HealthCheck, string, string)
Creates a HealthCheck resource in the specified project using the data included in the request.
Declaration
public virtual RegionHealthChecksResource.InsertRequest Insert(HealthCheck body, string project, string region)
Parameters
Type | Name | Description |
---|---|---|
HealthCheck | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
Returns
Type | Description |
---|---|
RegionHealthChecksResource.InsertRequest |
List(string, string)
Retrieves the list of HealthCheck resources available to the specified project.
Declaration
public virtual RegionHealthChecksResource.ListRequest List(string project, string region)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
Returns
Type | Description |
---|---|
RegionHealthChecksResource.ListRequest |
Patch(HealthCheck, string, 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 RegionHealthChecksResource.PatchRequest Patch(HealthCheck body, string project, string region, string healthCheck)
Parameters
Type | Name | Description |
---|---|---|
HealthCheck | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | healthCheck | Name of the HealthCheck resource to patch. |
Returns
Type | Description |
---|---|
RegionHealthChecksResource.PatchRequest |
TestIamPermissions(TestPermissionsRequest, string, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual RegionHealthChecksResource.TestIamPermissionsRequest TestIamPermissions(TestPermissionsRequest body, string project, string region, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestPermissionsRequest | body | The body of the request. |
string | project | Project ID for this request. |
string | region | The name of the region for this request. |
string | resource | Name or id of the resource for this request. |
Returns
Type | Description |
---|---|
RegionHealthChecksResource.TestIamPermissionsRequest |
Update(HealthCheck, string, string, string)
Updates a HealthCheck resource in the specified project using the data included in the request.
Declaration
public virtual RegionHealthChecksResource.UpdateRequest Update(HealthCheck body, string project, string region, string healthCheck)
Parameters
Type | Name | Description |
---|---|---|
HealthCheck | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | healthCheck | Name of the HealthCheck resource to update. |
Returns
Type | Description |
---|---|
RegionHealthChecksResource.UpdateRequest |