OrganizationsSources
class OrganizationsSources extends Resource (View source)
The "sources" collection of methods.
Typical usage is:
$securitycenterService = new Google\Service\SecurityCommandCenter(...);
$sources = $securitycenterService->organizations_sources;
Methods
Gets the access control policy on the specified Source.
Lists all sources belonging to an organization.
Sets the access control policy on the specified Source.
Returns the permissions that a caller has on the specified source.
Details
Source
create(string $parent, Source $postBody, array $optParams = [])
Creates a source. (sources.create)
Source
get(string $name, array $optParams = [])
Gets a source. (sources.get)
Policy
getIamPolicy(string $resource, GetIamPolicyRequest $postBody, array $optParams = [])
Gets the access control policy on the specified Source.
(sources.getIamPolicy)
ListSourcesResponse
listOrganizationsSources(string $parent, array $optParams = [])
Lists all sources belonging to an organization.
(sources.listOrganizationsSources)
Source
patch(string $name, Source $postBody, array $optParams = [])
Updates a source. (sources.patch)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified Source.
(sources.setIamPolicy)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
Returns the permissions that a caller has on the specified source.
(sources.testIamPermissions)