Skip to main content

workloads

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

Overview

Nameworkloads
TypeResource
Idgoogle.cloudcontrolspartner.workloads

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}
createTimestring (google-datetime)Output only. Time the resource was created.
folderstringOutput only. The name of container folder of the assured workload
folderIdstring (int64)Output only. Folder id this workload is associated with
isOnboardedbooleanIndicates whether a workload is fully onboarded.
keyManagementProjectIdstringThe project id of the key management project for the workload
locationstringThe Google Cloud location of the workload
partnerstringPartner associated with this workload. (PARTNER_UNSPECIFIED, PARTNER_LOCAL_CONTROLS_BY_S3NS, PARTNER_SOVEREIGN_CONTROLS_BY_T_SYSTEMS, PARTNER_SOVEREIGN_CONTROLS_BY_SIA_MINSAIT, PARTNER_SOVEREIGN_CONTROLS_BY_PSN, PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT, PARTNER_SOVEREIGN_CONTROLS_BY_CNTXT_NO_EKM, PARTNER_SPAIN_DATA_BOUNDARY_BY_TELEFONICA)
workloadOnboardingStateobjectContainer for workload onboarding steps. (id: WorkloadOnboardingState)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectorganizationsId, locationsId, customersId, workloadsIdGets details of a single workload
listselectorganizationsId, locationsId, customersIdfilter, pageToken, orderBy, pageSizeLists customer workloads for a given customer org id

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
customersIdstring
locationsIdstring
organizationsIdstring
workloadsIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Gets details of a single workload

SELECT
name,
createTime,
folder,
folderId,
isOnboarded,
keyManagementProjectId,
location,
partner,
workloadOnboardingState
FROM google.cloudcontrolspartner.workloads
WHERE organizationsId = '{{ organizationsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND customersId = '{{ customersId }}' -- required
AND workloadsId = '{{ workloadsId }}' -- required
;