class Assets extends Resource (View source)

The "assets" collection of methods.

Typical usage is:

 $cloudassetService = new Google\Service\CloudAsset(...);
 $assets = $cloudassetService->assets;

Methods

listAssets(string $parent, array $optParams = [])

Lists assets with time and resource types and returns paged results in response. (assets.listAssets)

Details

ListAssetsResponse listAssets(string $parent, array $optParams = [])

Lists assets with time and resource types and returns paged results in response. (assets.listAssets)

Parameters

string $parent

Required. Name of the organization, folder, or project the assets belong to. Format: "organizations/[organization-number]" (such as "organizations/123"), "projects/[project-id]" (such as "projects/my-project- id"), "projects/[project-number]" (such as "projects/12345"), or "folders/[folder-number]" (such as "folders/12345").

array $optParams

Optional parameters.

Return Value

ListAssetsResponse

Exceptions

Exception