Class RegionAutoscalersResource
The "regionAutoscalers" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class RegionAutoscalersResource
Constructors
RegionAutoscalersResource(IClientService)
Constructs a new resource.
Declaration
public RegionAutoscalersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string, string)
Deletes the specified autoscaler.
Declaration
public virtual RegionAutoscalersResource.DeleteRequest Delete(string project, string region, string autoscaler)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | autoscaler | Name of the autoscaler to delete. |
Returns
Type | Description |
---|---|
RegionAutoscalersResource.DeleteRequest |
Get(string, string, string)
Returns the specified autoscaler.
Declaration
public virtual RegionAutoscalersResource.GetRequest Get(string project, string region, string autoscaler)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | region | Name of the region scoping this request. |
string | autoscaler | Name of the autoscaler to return. |
Returns
Type | Description |
---|---|
RegionAutoscalersResource.GetRequest |
Insert(Autoscaler, string, string)
Creates an autoscaler in the specified project using the data included in the request.
Declaration
public virtual RegionAutoscalersResource.InsertRequest Insert(Autoscaler body, string project, string region)
Parameters
Type | Name | Description |
---|---|---|
Autoscaler | 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 |
---|---|
RegionAutoscalersResource.InsertRequest |
List(string, string)
Retrieves a list of autoscalers contained within the specified region.
Declaration
public virtual RegionAutoscalersResource.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 |
---|---|
RegionAutoscalersResource.ListRequest |
Patch(Autoscaler, string, string)
Updates an autoscaler 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 RegionAutoscalersResource.PatchRequest Patch(Autoscaler body, string project, string region)
Parameters
Type | Name | Description |
---|---|---|
Autoscaler | 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 |
---|---|
RegionAutoscalersResource.PatchRequest |
Update(Autoscaler, string, string)
Updates an autoscaler in the specified project using the data included in the request.
Declaration
public virtual RegionAutoscalersResource.UpdateRequest Update(Autoscaler body, string project, string region)
Parameters
Type | Name | Description |
---|---|---|
Autoscaler | 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 |
---|---|
RegionAutoscalersResource.UpdateRequest |