Reference documentation and code samples for the Google Cloud Workload Manager V1 Client class ListRulesRequest.
Request message for the ListRules RPC.
Generated from protobuf message google.cloud.workloadmanager.v1.ListRulesRequest
Namespace
Google \ Cloud \ WorkloadManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all projects and all regions.
↳ page_size
int
Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
↳ page_token
string
A token identifying a page of results the server should return.
↳ filter
string
Filter based on primary_category, secondary_category.
↳ custom_rules_bucket
string
The Cloud Storage bucket name for custom rules.
↳ evaluation_type
int
Optional. The evaluation type of the rules will be applied to. The Cloud Storage bucket name for custom rules.
getParent
Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all projects and all regions.
string
setParent
Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all projects and all regions.
var
string
$this
getPageSize
Requested page size. Server may return fewer items than requested.
If unspecified, server will pick an appropriate default.
int
setPageSize
Requested page size. Server may return fewer items than requested.
If unspecified, server will pick an appropriate default.
var
int
$this
getPageToken
A token identifying a page of results the server should return.
string
setPageToken
A token identifying a page of results the server should return.
var
string
$this
getFilter
Filter based on primary_category, secondary_category.
string
setFilter
Filter based on primary_category, secondary_category.
var
string
$this
getCustomRulesBucket
The Cloud Storage bucket name for custom rules.
string
setCustomRulesBucket
The Cloud Storage bucket name for custom rules.
var
string
$this
getEvaluationType
Optional. The evaluation type of the rules will be applied to.
The Cloud Storage bucket name for custom rules.
setEvaluationType
Optional. The evaluation type of the rules will be applied to.
The Cloud Storage bucket name for custom rules.
$this
static::build
parent
string
Required. The [project] on which to execute the request. The format is: projects/{project_id}/locations/{location} Currently, the pre-defined rules are global available to all projects and all regions. Please see WorkloadManagerClient::locationName() for help formatting this field.

