Google Cloud Asset V1 Client - Class ListAssetsResponse (1.9.2)

Reference documentation and code samples for the Google Cloud Asset V1 Client class ListAssetsResponse.

ListAssets response.

Generated from protobuf message google.cloud.asset.v1.ListAssetsResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ read_time Google\Protobuf\Timestamp

Time the snapshot was taken.

↳ assets array<Google\Cloud\Asset\V1\Asset>

Assets.

↳ next_page_token string

Token to retrieve the next page of results. It expires 72 hours after the page token for the first page is generated. Set to empty if there are no remaining results.

getReadTime

Time the snapshot was taken.

Generated from protobuf field .google.protobuf.Timestamp read_time = 1;

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasReadTime

clearReadTime

setReadTime

Time the snapshot was taken.

Generated from protobuf field .google.protobuf.Timestamp read_time = 1;

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getAssets

Assets.

Generated from protobuf field repeated .google.cloud.asset.v1.Asset assets = 2;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAssets

Assets.

Generated from protobuf field repeated .google.cloud.asset.v1.Asset assets = 2;

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

getNextPageToken

Token to retrieve the next page of results. It expires 72 hours after the page token for the first page is generated. Set to empty if there are no remaining results.

Generated from protobuf field string next_page_token = 3;

Returns
TypeDescription
string

setNextPageToken

Token to retrieve the next page of results. It expires 72 hours after the page token for the first page is generated. Set to empty if there are no remaining results.

Generated from protobuf field string next_page_token = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this