Google Cloud Security Command Center V1 Client - Class ListSourcesResponse (1.13.1)

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

Response message for listing sources.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ sources array<Google\Cloud\SecurityCenter\V1\Source>

Sources belonging to the requested parent.

↳ next_page_token string

Token to retrieve the next page of results, or empty if there are no more results.

getSources

Sources belonging to the requested parent.

Generated from protobuf field repeated .google.cloud.securitycenter.v1.Source sources = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSources

Sources belonging to the requested parent.

Generated from protobuf field repeated .google.cloud.securitycenter.v1.Source sources = 1;

Parameter
NameDescription
var array<Google\Cloud\SecurityCenter\V1\Source>
Returns
TypeDescription
$this

getNextPageToken

Token to retrieve the next page of results, or empty if there are no more results.

Generated from protobuf field string next_page_token = 2;

Returns
TypeDescription
string

setNextPageToken

Token to retrieve the next page of results, or empty if there are no more results.

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this