Skip to main content

backend_services_usable

Creates, updates, deletes, gets or lists a backend_services_usable resource.

Overview

Namebackend_services_usable
TypeResource
Idgoogle.compute.backend_services_usable

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring[Output Only] Unique identifier for the resource; defined by the server.
itemsarrayA list of BackendService resources.
kindstringOutput only. [Output Only] Type of resource. Alwayscompute#usableBackendServiceList for lists of usable backend services. (default: compute#usableBackendServiceList)
nextPageTokenstring[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
selfLinkstringOutput only. [Output Only] Server-defined URL for this resource.
warningobject[Output Only] Informational warning message.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_usableselectproject, regionreturnPartialSuccess, filter, maxResults, pageToken, orderByRetrieves a list of all usable backend services for Application Load
Balancers and Proxy Network Load Balancers in the specified project in the
given region. Backend services for external and internal passthrough
Network Load Balancers are not included in the response.

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
projectstring
regionstring
filterstring
maxResultsinteger (uint32)
orderBystring
pageTokenstring
returnPartialSuccessboolean

SELECT examples

Retrieves a list of all usable backend services for Application Load
Balancers and Proxy Network Load Balancers in the specified project in the
given region. Backend services for external and internal passthrough
Network Load Balancers are not included in the response.

SELECT
id,
items,
kind,
nextPageToken,
selfLink,
warning
FROM google.compute.backend_services_usable
WHERE project = '{{ project }}' -- required
AND region = '{{ region }}' -- required
AND returnPartialSuccess = '{{ returnPartialSuccess }}'
AND filter = '{{ filter }}'
AND maxResults = '{{ maxResults }}'
AND pageToken = '{{ pageToken }}'
AND orderBy = '{{ orderBy }}'
;