Show / Hide Table of Contents

Class RegionAutoscalersResource

The "regionAutoscalers" collection of methods.

Inheritance
object
RegionAutoscalersResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.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

TestIamPermissions(TestPermissionsRequest, string, string, string)

Returns permissions that a caller has on the specified resource.

Declaration
public virtual RegionAutoscalersResource.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
RegionAutoscalersResource.TestIamPermissionsRequest

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
In This Article
Back to top Generated by DocFX