Reference documentation and code samples for the Google Cloud Assured Workloads V1 Client class ListViolationsRequest.
Request for fetching violations in an organization.
Generated from protobuf message google.cloud.assuredworkloads.v1.ListViolationsRequest
Namespace
Google \ Cloud \ AssuredWorkloads \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The Workload name. Format organizations/{org_id}/locations/{location}/workloads/{workload}
.
↳ interval
Google\Cloud\AssuredWorkloads\V1\TimeWindow
Optional. Specifies the time window for retrieving active Violations. When specified, retrieves Violations that were active between start_time and end_time.
↳ page_size
int
Optional. Page size.
↳ page_token
string
Optional. Page token returned from previous request.
↳ filter
string
Optional. A custom filter for filtering by the Violations properties.
getParent
Required. The Workload name.
Format organizations/{org_id}/locations/{location}/workloads/{workload}
.
string
setParent
Required. The Workload name.
Format organizations/{org_id}/locations/{location}/workloads/{workload}
.
var
string
$this
getInterval
Optional. Specifies the time window for retrieving active Violations.
When specified, retrieves Violations that were active between start_time and end_time.
hasInterval
clearInterval
setInterval
Optional. Specifies the time window for retrieving active Violations.
When specified, retrieves Violations that were active between start_time and end_time.
$this
getPageSize
Optional. Page size.
int
setPageSize
Optional. Page size.
var
int
$this
getPageToken
Optional. Page token returned from previous request.
string
setPageToken
Optional. Page token returned from previous request.
var
string
$this
getFilter
Optional. A custom filter for filtering by the Violations properties.
string
setFilter
Optional. A custom filter for filtering by the Violations properties.
var
string
$this
static::build
parent
string
Required. The Workload name.
Format organizations/{org_id}/locations/{location}/workloads/{workload}
. Please see Google\Cloud\AssuredWorkloads\V1\AssuredWorkloadsServiceClient::workloadName()
for help formatting this field.