Class AcceleratorTypesResource
The "acceleratorTypes" collection of methods.
Inherited Members
Namespace: Google.Apis.Compute.v1
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class AcceleratorTypesResource
Constructors
AcceleratorTypesResource(IClientService)
Constructs a new resource.
Declaration
public AcceleratorTypesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AggregatedList(string)
Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that you set the
returnPartialSuccess
parameter to true
.
Declaration
public virtual AcceleratorTypesResource.AggregatedListRequest AggregatedList(string project)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
Returns
Type | Description |
---|---|
AcceleratorTypesResource.AggregatedListRequest |
Get(string, string, string)
Returns the specified accelerator type.
Declaration
public virtual AcceleratorTypesResource.GetRequest Get(string project, string zone, string acceleratorType)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | zone | The name of the zone for this request. |
string | acceleratorType | Name of the accelerator type to return. |
Returns
Type | Description |
---|---|
AcceleratorTypesResource.GetRequest |
List(string, string)
Retrieves a list of accelerator types that are available to the specified project.
Declaration
public virtual AcceleratorTypesResource.ListRequest List(string project, string zone)
Parameters
Type | Name | Description |
---|---|---|
string | project | Project ID for this request. |
string | zone | The name of the zone for this request. |
Returns
Type | Description |
---|---|
AcceleratorTypesResource.ListRequest |