Google Cloud Security Command Center V1p1beta1 Client - Class ListSourcesRequest (1.13.1)

Reference documentation and code samples for the Google Cloud Security Command Center V1p1beta1 Client class ListSourcesRequest.

Request message for listing sources.

Generated from protobuf message google.cloud.securitycenter.v1p1beta1.ListSourcesRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name of the parent of sources to list. Its format should be "organizations/[organization_id], folders/[folder_id], or projects/[project_id]".

↳ page_token string

The value returned by the last ListSourcesResponse; indicates that this is a continuation of a prior ListSources call, and that the system should return the next page of data.

↳ page_size int

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

getParent

Required. Resource name of the parent of sources to list. Its format should be "organizations/[organization_id], folders/[folder_id], or projects/[project_id]".

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setParent

Required. Resource name of the parent of sources to list. Its format should be "organizations/[organization_id], folders/[folder_id], or projects/[project_id]".

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageToken

The value returned by the last ListSourcesResponse; indicates that this is a continuation of a prior ListSources call, and that the system should return the next page of data.

Generated from protobuf field string page_token = 2;

Returns
TypeDescription
string

setPageToken

The value returned by the last ListSourcesResponse; indicates that this is a continuation of a prior ListSources call, and that the system should return the next page of data.

Generated from protobuf field string page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

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

Generated from protobuf field int32 page_size = 7;

Returns
TypeDescription
int

setPageSize

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

Generated from protobuf field int32 page_size = 7;

Parameter
NameDescription
var int
Returns
TypeDescription
$this