class OrgPolicyAPI extends Service (View source)

Service definition for OrgPolicyAPI (v2).

The Organization Policy API allows users to configure governance rules on their Google Cloud resources across the resource hierarchy.

For more information about this service, see the API Documentation

Constants

CLOUD_PLATFORM

See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.

.

Properties

$folders_constraints
$folders_policies
$organizations_constraints
$organizations_customConstraints
$organizations_policies
$projects_constraints
$projects_policies
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the OrgPolicyAPI service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the OrgPolicyAPI service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.