The "organizations" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| get ($organizationId, $optParams=array()) |
| Fetches an Organization resource by id.
|
|
| getIamPolicy ($resource, Google_Service_Cloudresourcemanager_GetIamPolicyRequest $postBody, $optParams=array()) |
| Gets the access control policy for a Organization resource.
|
|
| listOrganizations ($optParams=array()) |
| Query Organization resources.
|
|
| setIamPolicy ($resource, Google_Service_Cloudresourcemanager_SetIamPolicyRequest $postBody, $optParams=array()) |
| Sets the access control policy on a Organization resource.
|
|
| testIamPermissions ($resource, Google_Service_Cloudresourcemanager_TestIamPermissionsRequest $postBody, $optParams=array()) |
| Returns permissions that a caller has on the specified Organization.
|
|
| update ($organizationId, Google_Service_Cloudresourcemanager_Organization $postBody, $optParams=array()) |
| Updates an Organization resource.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "organizations" collection of methods.
Typical usage is: $cloudresourcemanagerService = new Google_Service_Cloudresourcemanager(...); $organizations = $cloudresourcemanagerService->organizations;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ get()
Google_Service_Cloudresourcemanager_Organizations_Resource::get |
( |
| $organizationId, |
|
|
| $optParams = array() ) |
Fetches an Organization resource by id.
(organizations.get)
- Parameters
-
string | $organizationId | The id of the Organization resource to fetch. |
array | $optParams | Optional parameters. |
- Return values
-
◆ getIamPolicy()
Gets the access control policy for a Organization resource.
May be empty if no such policy or resource exists. (organizations.getIamPolicy)
- Parameters
-
string | $resource | REQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, projects/{project} . |
Google_GetIamPolicyRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listOrganizations()
Google_Service_Cloudresourcemanager_Organizations_Resource::listOrganizations |
( |
| $optParams = array() | ) |
|
Query Organization resources.
(organizations.listOrganizations)
- Parameters
-
array | $optParams | Optional parameters. |
@opt_param string filter An optional query string used to filter the Organizations to be return in the response. Filter rules are case- insensitive. Organizations may be filtered by owner.directoryCustomerId
or by domain
, where the domain is a Google for Work domain, for example: |Filter|Description| |---—|--------—| |owner.directorycustomerid:123456789|Organizations with owner.directory_customer_id
equal to 123456789
.| |domain:google.com|Organizations corresponding to the domain google.com
.| This field is optional. @opt_param string pageToken A pagination token returned from a previous call to ListOrganizations that indicates from where listing should continue. This field is optional. @opt_param int pageSize The maximum number of Organizations to return in the response. This field is optional.
- Return values
-
◆ setIamPolicy()
Sets the access control policy on a Organization resource.
Replaces any existing policy. (organizations.setIamPolicy)
- Parameters
-
string | $resource | REQUIRED: The resource for which policy is being specified. resource is usually specified as a path, such as, projects/{project}/zones/{zone}/disks/{disk} . |
Google_SetIamPolicyRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ testIamPermissions()
Returns permissions that a caller has on the specified Organization.
(organizations.testIamPermissions)
- Parameters
-
string | $resource | REQUIRED: The resource for which policy detail is being requested. resource is usually specified as a path, such as, projects/{project} . |
Google_TestIamPermissionsRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ update()
Updates an Organization resource.
(organizations.update)
- Parameters
-
string | $organizationId | An immutable id for the Organization that is assigned on creation. This should be omitted when creating a new Organization. This field is read-only. |
Google_Organization | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Cloudresourcemanager.php