class ProjectsPrivacyPolicies extends Resource (View source)

The "privacyPolicies" collection of methods.

Typical usage is:

 $checksService = new Google\Service\ChecksService(...);
 $privacyPolicies = $checksService->projects_privacyPolicies;

Methods

delete(string $name, array $optParams = [])

Deletes a privacy policy. (privacyPolicies.delete)

find(string $parent, FindPrivacyPolicyRequest $postBody, array $optParams = [])

Finds the privacy policy of a given website. (privacyPolicies.find)

get(string $name, array $optParams = [])

Gets a privacy policy. (privacyPolicies.get)

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

Lists privacy policies. (privacyPolicies.listProjectsPrivacyPolicies)

Details

ChecksEmpty delete(string $name, array $optParams = [])

Deletes a privacy policy. (privacyPolicies.delete)

Parameters

string $name

Required. Resource name of the privacy policy.

array $optParams

Optional parameters.

Return Value

ChecksEmpty

Operation find(string $parent, FindPrivacyPolicyRequest $postBody, array $optParams = [])

Finds the privacy policy of a given website. (privacyPolicies.find)

Parameters

string $parent

Required. Resource name of the GCP project to which PrivacyPolicy resources will be added, in the format: projects/{projectNumber}.

FindPrivacyPolicyRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

PrivacyPolicy get(string $name, array $optParams = [])

Gets a privacy policy. (privacyPolicies.get)

Parameters

string $name

Required. Resource name of the privacy policy.

array $optParams

Optional parameters.

Return Value

PrivacyPolicy

ListPrivacyPoliciesResponse listProjectsPrivacyPolicies(string $parent, array $optParams = [])

Lists privacy policies. (privacyPolicies.listProjectsPrivacyPolicies)

Parameters

string $parent

Required. Resource name of the parent project, in the format projects/{projectNumber}.

array $optParams

Optional parameters.

Return Value

ListPrivacyPoliciesResponse