Skip to main content

global_operations

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

Overview

Nameglobal_operations
TypeResource
Idgoogle.compute.global_operations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
aggregated_listselectprojectmaxResults, pageToken, filter, serviceProjectNumber, includeAllScopes, orderBy, returnPartialSuccessRetrieves an aggregated list of all operations.

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

SELECT examples

Retrieves an aggregated list of all operations.

To prevent failure, Google recommends that you set the
returnPartialSuccess parameter to true.

SELECT
*
FROM google.compute.global_operations
WHERE project = '{{ project }}' -- required
AND maxResults = '{{ maxResults }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND serviceProjectNumber = '{{ serviceProjectNumber }}'
AND includeAllScopes = '{{ includeAllScopes }}'
AND orderBy = '{{ orderBy }}'
AND returnPartialSuccess = '{{ returnPartialSuccess }}'
;