class FoldersLocationsActivityTypesActivities extends Resource (View source)

The "activities" collection of methods.

Typical usage is:

 $policyanalyzerService = new Google\Service\PolicyAnalyzer(...);
 $activities = $policyanalyzerService->folders_locations_activityTypes_activities;

Methods

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

Queries policy activities on Google Cloud resources. (activities.query)

Details

GoogleCloudPolicyanalyzerV1QueryActivityResponse query(string $parent, array $optParams = [])

Queries policy activities on Google Cloud resources. (activities.query)

Parameters

string $parent

Required. The container resource on which to execute the request. Acceptable formats: projects/[PROJECT_ID|PROJECT_NUMBER]/locati ons/[LOCATION]/activityTypes/[ACTIVITY_TYPE] LOCATION here refers to Google Cloud Locations: https://cloud.google.com/about/locations/

array $optParams

Optional parameters.

Return Value

GoogleCloudPolicyanalyzerV1QueryActivityResponse

Exceptions

Exception