Google Cloud Security Center Management V1 Client - Class ListSecurityCenterServicesRequest (1.1.1)

Reference documentation and code samples for the Google Cloud Security Center Management V1 Client class ListSecurityCenterServicesRequest.

Request message for SecurityCenterManagement.ListSecurityCenterServices.

Generated from protobuf message google.cloud.securitycentermanagement.v1.ListSecurityCenterServicesRequest

Namespace

Google \ Cloud \ SecurityCenterManagement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The name of the parent to list Security Command Center services, in one of the following formats: * * organizations/{organization}/locations/{location} * * folders/{folder}/locations/{location} * * projects/{project}/locations/{location}

↳ page_size int

Optional. The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.

↳ page_token string

Optional. A pagination token returned from a previous request. Provide this token to retrieve the next page of results. When paginating, the rest of the request must match the request that generated the page token.

↳ show_eligible_modules_only bool

Flag that, when set, is used to filter the module settings that are shown. The default setting is that all modules are shown.

getParent

Required. The name of the parent to list Security Command Center services, in one of the following formats:

  • organizations/{organization}/locations/{location}
  • folders/{folder}/locations/{location}
  • projects/{project}/locations/{location}
Returns
Type Description
string

setParent

Required. The name of the parent to list Security Command Center services, in one of the following formats:

  • organizations/{organization}/locations/{location}
  • folders/{folder}/locations/{location}
  • projects/{project}/locations/{location}
Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The maximum number of results to return in a single response.

Default is 10, minimum is 1, maximum is 1000.

Returns
Type Description
int

setPageSize

Optional. The maximum number of results to return in a single response.

Default is 10, minimum is 1, maximum is 1000.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. A pagination token returned from a previous request. Provide this token to retrieve the next page of results.

When paginating, the rest of the request must match the request that generated the page token.

Returns
Type Description
string

setPageToken

Optional. A pagination token returned from a previous request. Provide this token to retrieve the next page of results.

When paginating, the rest of the request must match the request that generated the page token.

Parameter
Name Description
var string
Returns
Type Description
$this

getShowEligibleModulesOnly

Flag that, when set, is used to filter the module settings that are shown.

The default setting is that all modules are shown.

Returns
Type Description
bool

setShowEligibleModulesOnly

Flag that, when set, is used to filter the module settings that are shown.

The default setting is that all modules are shown.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The name of the parent to list Security Command Center services, in one of the following formats:

    • organizations/{organization}/locations/{location}
    • folders/{folder}/locations/{location}
    • projects/{project}/locations/{location} Please see SecurityCenterManagementClient::organizationLocationName() for help formatting this field.
Returns
Type Description
ListSecurityCenterServicesRequest