Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_Cloudresourcemanager_Organizations_Resource Class Reference

The "organizations" collection of methods. More...

Inheritance diagram for Google_Service_Cloudresourcemanager_Organizations_Resource:
Google_Service_Resource

Public Member Functions

 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.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "organizations" collection of methods.

Typical usage is: $cloudresourcemanagerService = new Google_Service_Cloudresourcemanager(...); $organizations = $cloudresourcemanagerService->organizations;

Member Function Documentation

◆ 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
Google_Exception

◆ get()

Google_Service_Cloudresourcemanager_Organizations_Resource::get ( $organizationId,
$optParams = array() )

Fetches an Organization resource by id.

(organizations.get)

Parameters
string$organizationIdThe id of the Organization resource to fetch.
array$optParamsOptional parameters.
Return values
Google_Service_Cloudresourcemanager_Organization

◆ getIamPolicy()

Google_Service_Cloudresourcemanager_Organizations_Resource::getIamPolicy ( $resource,
Google_Service_Cloudresourcemanager_GetIamPolicyRequest $postBody,
$optParams = array() )

Gets the access control policy for a Organization resource.

May be empty if no such policy or resource exists. (organizations.getIamPolicy)

Parameters
string$resourceREQUIRED: The resource for which policy is being requested. Resource is usually specified as a path, such as, projects/{project}.
Google_GetIamPolicyRequest$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Cloudresourcemanager_Policy

◆ listOrganizations()

Google_Service_Cloudresourcemanager_Organizations_Resource::listOrganizations ( $optParams = array())

Query Organization resources.

(organizations.listOrganizations)

Parameters
array$optParamsOptional 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
Google_Service_Cloudresourcemanager_ListOrganizationsResponse

◆ setIamPolicy()

Google_Service_Cloudresourcemanager_Organizations_Resource::setIamPolicy ( $resource,
Google_Service_Cloudresourcemanager_SetIamPolicyRequest $postBody,
$optParams = array() )

Sets the access control policy on a Organization resource.

Replaces any existing policy. (organizations.setIamPolicy)

Parameters
string$resourceREQUIRED: 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$optParamsOptional parameters.
Return values
Google_Service_Cloudresourcemanager_Policy

◆ testIamPermissions()

Google_Service_Cloudresourcemanager_Organizations_Resource::testIamPermissions ( $resource,
Google_Service_Cloudresourcemanager_TestIamPermissionsRequest $postBody,
$optParams = array() )

Returns permissions that a caller has on the specified Organization.

(organizations.testIamPermissions)

Parameters
string$resourceREQUIRED: The resource for which policy detail is being requested. resource is usually specified as a path, such as, projects/{project}.
Google_TestIamPermissionsRequest$postBody
array$optParamsOptional parameters.
Return values
Google_Service_Cloudresourcemanager_TestIamPermissionsResponse

◆ update()

Google_Service_Cloudresourcemanager_Organizations_Resource::update ( $organizationId,
Google_Service_Cloudresourcemanager_Organization $postBody,
$optParams = array() )

Updates an Organization resource.

(organizations.update)

Parameters
string$organizationIdAn 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$optParamsOptional parameters.
Return values
Google_Service_Cloudresourcemanager_Organization

The documentation for this class was generated from the following file: