Class RegionHealthAggregationPoliciesResource
The "regionHealthAggregationPolicies" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class RegionHealthAggregationPoliciesResource
Constructors
RegionHealthAggregationPoliciesResource(IClientService)
Constructs a new resource.
Declaration
public RegionHealthAggregationPoliciesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string, string)
Deletes the specified HealthAggregationPolicy in the given region.
Declaration
public virtual RegionHealthAggregationPoliciesResource.DeleteRequest Delete(string project, string region, string healthAggregationPolicy)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | healthAggregationPolicy | Name of the HealthAggregationPolicy resource to delete. |
Returns
Type | Description |
---|---|
RegionHealthAggregationPoliciesResource.DeleteRequest |
Get(string, string, string)
Returns the specified HealthAggregationPolicy resource in the given region.
Declaration
public virtual RegionHealthAggregationPoliciesResource.GetRequest Get(string project, string region, string healthAggregationPolicy)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | healthAggregationPolicy | Name of the HealthAggregationPolicy resource to return. |
Returns
Type | Description |
---|---|
RegionHealthAggregationPoliciesResource.GetRequest |
Insert(HealthAggregationPolicy, string, string)
Create a HealthAggregationPolicy in the specified project in the given region using the parameters that are included in the request.
Declaration
public virtual RegionHealthAggregationPoliciesResource.InsertRequest Insert(HealthAggregationPolicy body, string project, string region)
Parameters
Type | Name | Description |
---|---|---|
HealthAggregationPolicy | 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 |
---|---|
RegionHealthAggregationPoliciesResource.InsertRequest |
List(string, string)
Lists the HealthAggregationPolicies for a project in the given region.
Declaration
public virtual RegionHealthAggregationPoliciesResource.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 |
---|---|
RegionHealthAggregationPoliciesResource.ListRequest |
Patch(HealthAggregationPolicy, string, string, string)
Updates the specified regional HealthAggregationPolicy resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
Declaration
public virtual RegionHealthAggregationPoliciesResource.PatchRequest Patch(HealthAggregationPolicy body, string project, string region, string healthAggregationPolicy)
Parameters
Type | Name | Description |
---|---|---|
HealthAggregationPolicy | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | healthAggregationPolicy | Name of the HealthAggregationPolicy to update. The name must be 1-63 characters long, and comply with RFC1035. |
Returns
Type | Description |
---|---|
RegionHealthAggregationPoliciesResource.PatchRequest |
TestIamPermissions(TestPermissionsRequest, string, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual RegionHealthAggregationPoliciesResource.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 |
---|---|
RegionHealthAggregationPoliciesResource.TestIamPermissionsRequest |