Class RegionHealthSourcesResource
The "regionHealthSources" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.alpha
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class RegionHealthSourcesResource
Constructors
RegionHealthSourcesResource(IClientService)
Constructs a new resource.
Declaration
public RegionHealthSourcesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AggregatedList(string)
Retrieves the list of all HealthSource resources (all regional) available to the specified project. To
prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Declaration
public virtual RegionHealthSourcesResource.AggregatedListRequest AggregatedList(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | Name of the project scoping this request. |
Returns
Type | Description |
---|---|
RegionHealthSourcesResource.AggregatedListRequest |
Delete(string, string, string)
Deletes the specified HealthSource in the given region
Declaration
public virtual RegionHealthSourcesResource.DeleteRequest Delete(string project, string region, string healthSource)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | healthSource | Name of the HealthSource resource to delete. |
Returns
Type | Description |
---|---|
RegionHealthSourcesResource.DeleteRequest |
Get(string, string, string)
Returns the specified HealthSource resource in the given region.
Declaration
public virtual RegionHealthSourcesResource.GetRequest Get(string project, string region, string healthSource)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | healthSource | Name of the HealthSource resource to return. |
Returns
Type | Description |
---|---|
RegionHealthSourcesResource.GetRequest |
Insert(HealthSource, string, string)
Create a HealthSource in the specified project in the given region using the parameters that are included in the request.
Declaration
public virtual RegionHealthSourcesResource.InsertRequest Insert(HealthSource body, string project, string region)
Parameters
Type | Name | Description |
---|---|---|
HealthSource | 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 |
---|---|
RegionHealthSourcesResource.InsertRequest |
List(string, string)
Lists the HealthSources for a project in the given region.
Declaration
public virtual RegionHealthSourcesResource.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 |
---|---|
RegionHealthSourcesResource.ListRequest |
Patch(HealthSource, string, string, string)
Updates the specified regional HealthSource 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 RegionHealthSourcesResource.PatchRequest Patch(HealthSource body, string project, string region, string healthSource)
Parameters
Type | Name | Description |
---|---|---|
HealthSource | body | The body of the request. |
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | healthSource | Name of the HealthSource to update. The name must be 1-63 characters long, and comply with RFC1035. |
Returns
Type | Description |
---|---|
RegionHealthSourcesResource.PatchRequest |
TestIamPermissions(TestPermissionsRequest, string, string, string)
Returns permissions that a caller has on the specified resource.
Declaration
public virtual RegionHealthSourcesResource.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 |
---|---|
RegionHealthSourcesResource.TestIamPermissionsRequest |