class Organizations extends Resource (View source)

The "organizations" collection of methods.

Typical usage is:

 $accessapprovalService = new Google\Service\AccessApproval(...);
 $organizations = $accessapprovalService->organizations;

Methods

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

Deletes the settings associated with a project, folder, or organization. This will have the effect of disabling Access Approval for the project, folder, or organization, but only if all ancestors also have Access Approval disabled.

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

Gets the settings associated with a project, folder, or organization.

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

Retrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.

updateAccessApprovalSettings(string $name, AccessApprovalSettings $postBody, array $optParams = [])

Updates the settings associated with a project, folder, or organization.

Details

AccessapprovalEmpty deleteAccessApprovalSettings(string $name, array $optParams = [])

Deletes the settings associated with a project, folder, or organization. This will have the effect of disabling Access Approval for the project, folder, or organization, but only if all ancestors also have Access Approval disabled.

If Access Approval is enabled at a higher level of the hierarchy, then Access Approval will still be enabled at this level as the settings are inherited. (organizations.deleteAccessApprovalSettings)

Parameters

string $name

Name of the AccessApprovalSettings to delete.

array $optParams

Optional parameters.

Return Value

AccessapprovalEmpty

Exceptions

Exception

AccessApprovalSettings getAccessApprovalSettings(string $name, array $optParams = [])

Gets the settings associated with a project, folder, or organization.

(organizations.getAccessApprovalSettings)

Parameters

string $name

The name of the AccessApprovalSettings to retrieve. Format: "{projects|folders|organizations}/{id}/accessApprovalSettings"

array $optParams

Optional parameters.

Return Value

AccessApprovalSettings

Exceptions

Exception

AccessApprovalServiceAccount getServiceAccount(string $name, array $optParams = [])

Retrieves the service account that is used by Access Approval to access KMS keys for signing approved approval requests.

(organizations.getServiceAccount)

Parameters

string $name

Name of the AccessApprovalServiceAccount to retrieve.

array $optParams

Optional parameters.

Return Value

AccessApprovalServiceAccount

Exceptions

Exception

AccessApprovalSettings updateAccessApprovalSettings(string $name, AccessApprovalSettings $postBody, array $optParams = [])

Updates the settings associated with a project, folder, or organization.

Settings to update are determined by the value of field_mask. (organizations.updateAccessApprovalSettings)

Parameters

string $name

The resource name of the settings. Format is one of: "projects/{project}/accessApprovalSettings" "folders/{folder}/accessApprovalSettings" * "organizations/{organization}/accessApprovalSettings"

AccessApprovalSettings $postBody
array $optParams

Optional parameters.

Return Value

AccessApprovalSettings

Exceptions

Exception