class Systempolicy extends Resource (View source)

The "systempolicy" collection of methods.

Typical usage is:

 $binaryauthorizationService = new Google\Service\BinaryAuthorization(...);
 $systempolicy = $binaryauthorizationService->systempolicy;

Methods

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

Gets the current system policy in the specified location.

Details

Policy getPolicy(string $name, array $optParams = [])

Gets the current system policy in the specified location.

(systempolicy.getPolicy)

Parameters

string $name

Required. The resource name, in the format locations/policy. Note that the system policy is not associated with a project.

array $optParams

Optional parameters.

Return Value

Policy

Exceptions

Exception