Google Cloud Security Command Center V1 Client - Class ListMuteConfigsRequest (1.21.0)

Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class ListMuteConfigsRequest.

Request message for listing mute configs at a given scope e.g. organization, folder or project.

Generated from protobuf message google.cloud.securitycenter.v1.ListMuteConfigsRequest

Namespace

Google \ Cloud \ SecurityCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent, which owns the collection of mute configs. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]".

↳ page_size int

The maximum number of configs to return. The service may return fewer than this value. If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

↳ page_token string

A page token, received from a previous ListMuteConfigs call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListMuteConfigs must match the call that provided the page token.

getParent

Required. The parent, which owns the collection of mute configs. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]".

Returns
TypeDescription
string

setParent

Required. The parent, which owns the collection of mute configs. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of configs to return. The service may return fewer than this value.

If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

Returns
TypeDescription
int

setPageSize

The maximum number of configs to return. The service may return fewer than this value.

If unspecified, at most 10 configs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

A page token, received from a previous ListMuteConfigs call.

Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListMuteConfigs must match the call that provided the page token.

Returns
TypeDescription
string

setPageToken

A page token, received from a previous ListMuteConfigs call.

Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListMuteConfigs must match the call that provided the page token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The parent, which owns the collection of mute configs. Its format is "organizations/[organization_id]", "folders/[folder_id]", "projects/[project_id]". Please see Google\Cloud\SecurityCenter\V1\SecurityCenterClient::projectName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\SecurityCenter\V1\ListMuteConfigsRequest