ProjectsLocationsCaPools
class ProjectsLocationsCaPools extends Resource (View source)
The "caPools" collection of methods.
Typical usage is:
$privatecaService = new Google\Service\CertificateAuthorityService(...);
$caPools = $privatecaService->projects_locations_caPools;
Methods
FetchCaCerts returns the current trust anchor for the CaPool. This will include CA certificate chains for all certificate authorities in the ENABLED, DISABLED, or STAGED states. (caPools.fetchCaCerts)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (caPools.getIamPolicy)
Lists CaPools. (caPools.listProjectsLocationsCaPools)
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (caPools.setIamPolicy)
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
Details
Operation
create(string $parent, CaPool $postBody, array $optParams = [])
Create a CaPool. (caPools.create)
Operation
delete(string $name, array $optParams = [])
Delete a CaPool. (caPools.delete)
FetchCaCertsResponse
fetchCaCerts(string $caPool, FetchCaCertsRequest $postBody, array $optParams = [])
FetchCaCerts returns the current trust anchor for the CaPool. This will include CA certificate chains for all certificate authorities in the ENABLED, DISABLED, or STAGED states. (caPools.fetchCaCerts)
CaPool
get(string $name, array $optParams = [])
Returns a CaPool. (caPools.get)
Policy
getIamPolicy(string $resource, array $optParams = [])
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (caPools.getIamPolicy)
ListCaPoolsResponse
listProjectsLocationsCaPools(string $parent, array $optParams = [])
Lists CaPools. (caPools.listProjectsLocationsCaPools)
Operation
patch(string $name, CaPool $postBody, array $optParams = [])
Update a CaPool. (caPools.patch)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (caPools.setIamPolicy)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning. (caPools.testIamPermissions)