Skip to main content

accelerator_types

Creates, updates, deletes, gets or lists an accelerator_types resource.

Overview

Nameaccelerator_types
TypeResource
Idgoogle.compute.accelerator_types

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
idstring (uint64)[Output Only] The unique identifier for the resource. This identifier is defined by the server.
namestring[Output Only] Name of the resource. (pattern: a-z?)
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
deprecatedobject[Output Only] The deprecation status associated with this accelerator type. (id: DeprecationStatus)
descriptionstring[Output Only] An optional textual description of the resource.
kindstring[Output Only] The type of the resource. Always compute#acceleratorType for accelerator types. (default: compute#acceleratorType)
maximumCardsPerInstanceinteger (int32)[Output Only] Maximum number of accelerator cards allowed per instance.
selfLinkstring[Output Only] Server-defined, fully qualified URL for this resource.
zonestring[Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectproject, zone, acceleratorTypeReturns the specified accelerator type.
listselectproject, zonefilter, maxResults, orderBy, pageToken, returnPartialSuccessRetrieves a list of accelerator types that are available to the specified project.
aggregated_listselectprojectfilter, includeAllScopes, maxResults, orderBy, pageToken, returnPartialSuccess, serviceProjectNumberRetrieves an aggregated list of accelerator types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
acceleratorTypestring
projectstring
zonestring
filterstring
includeAllScopesboolean
maxResultsinteger (uint32)
orderBystring
pageTokenstring
returnPartialSuccessboolean
serviceProjectNumberstring (int64)

SELECT examples

Returns the specified accelerator type.

SELECT
id,
name,
creationTimestamp,
deprecated,
description,
kind,
maximumCardsPerInstance,
selfLink,
zone
FROM google.compute.accelerator_types
WHERE project = '{{ project }}' -- required
AND zone = '{{ zone }}' -- required
AND acceleratorType = '{{ acceleratorType }}' -- required;