Google Cloud Workload Manager V1 Client - Class ListRulesRequest (0.1.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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.

Returns
Type Description
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.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Requested page size. Server may return fewer items than requested.

If unspecified, server will pick an appropriate default.

Returns
Type Description
int

setPageSize

Requested page size. Server may return fewer items than requested.

If unspecified, server will pick an appropriate default.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

A token identifying a page of results the server should return.

Returns
Type Description
string

setPageToken

A token identifying a page of results the server should return.

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

Filter based on primary_category, secondary_category.

Returns
Type Description
string

setFilter

Filter based on primary_category, secondary_category.

Parameter
Name Description
var string
Returns
Type Description
$this

getCustomRulesBucket

The Cloud Storage bucket name for custom rules.

Returns
Type Description
string

setCustomRulesBucket

The Cloud Storage bucket name for custom rules.

Parameter
Name Description
var string
Returns
Type Description
$this

getEvaluationType

Optional. The evaluation type of the rules will be applied to.

The Cloud Storage bucket name for custom rules.

Returns
Type Description
int Enum of type EvaluationType.

setEvaluationType

Optional. The evaluation type of the rules will be applied to.

The Cloud Storage bucket name for custom rules.

Parameter
Name Description
var int

Enum of type EvaluationType.

Returns
Type Description
$this

static::build

Parameter
Name Description
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.

Returns
Type Description
ListRulesRequest