class ProjectsLocationsBucketsViewsLogs extends Resource (View source)

The "logs" collection of methods.

Typical usage is:

 $loggingService = new Google\Service\Logging(...);
 $logs = $loggingService->projects_locations_buckets_views_logs;

Methods

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

Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.

Details

ListLogsResponse listProjectsLocationsBucketsViewsLogs(string $parent, array $optParams = [])

Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.

(logs.listProjectsLocationsBucketsViewsLogs)

Parameters

string $parent

Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]

array $optParams

Optional parameters.

Return Value

ListLogsResponse

Exceptions

Exception