Reference documentation and code samples for the Google Cloud Assured Workloads V1 Client class ListWorkloadsRequest.
Request for fetching workloads in an organization.
Generated from protobuf message google.cloud.assuredworkloads.v1.ListWorkloadsRequest
Namespace
Google \ Cloud \ AssuredWorkloads \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Parent Resource to list workloads from. Must be of the form organizations/{org_id}/locations/{location}
.
↳ page_size
int
Page size.
↳ page_token
string
Page token returned from previous request. Page token contains context from previous request. Page token needs to be passed in the second and following requests.
↳ filter
string
A custom filter for filtering by properties of a workload. At this time, only filtering by labels is supported.
getParent
Required. Parent Resource to list workloads from.
Must be of the form organizations/{org_id}/locations/{location}
.
string
setParent
Required. Parent Resource to list workloads from.
Must be of the form organizations/{org_id}/locations/{location}
.
var
string
$this
getPageSize
Page size.
int
setPageSize
Page size.
var
int
$this
getPageToken
Page token returned from previous request. Page token contains context from previous request. Page token needs to be passed in the second and following requests.
string
setPageToken
Page token returned from previous request. Page token contains context from previous request. Page token needs to be passed in the second and following requests.
var
string
$this
getFilter
A custom filter for filtering by properties of a workload. At this time, only filtering by labels is supported.
string
setFilter
A custom filter for filtering by properties of a workload. At this time, only filtering by labels is supported.
var
string
$this
static::build
parent
string
Required. Parent Resource to list workloads from.
Must be of the form organizations/{org_id}/locations/{location}
. Please see Google\Cloud\AssuredWorkloads\V1\AssuredWorkloadsServiceClient::locationName()
for help formatting this field.