ProjectsLocationsFederations
class ProjectsLocationsFederations extends Resource (View source)
The "federations" collection of methods.
Typical usage is:
$metastoreService = new Google\Service\DataprocMetastore(...);
$federations = $metastoreService->projects_locations_federations;
Methods
Creates a metastore federation in a project and location.
Deletes a single federation. (federations.delete)
Gets the details of a single federation. (federations.get)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (federations.getIamPolicy)
Lists federations in a project and location.
Updates the fields of a federation. (federations.patch)
Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. (federations.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, Federation $postBody, array $optParams = [])
Creates a metastore federation in a project and location.
(federations.create)
Operation
delete(string $name, array $optParams = [])
Deletes a single federation. (federations.delete)
Federation
get(string $name, array $optParams = [])
Gets the details of a single federation. (federations.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. (federations.getIamPolicy)
ListFederationsResponse
listProjectsLocationsFederations(string $parent, array $optParams = [])
Lists federations in a project and location.
(federations.listProjectsLocationsFederations)
Operation
patch(string $name, Federation $postBody, array $optParams = [])
Updates the fields of a federation. (federations.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. (federations.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. (federations.testIamPermissions)