ProjectsLocationsRepositoriesCommentThreads
class ProjectsLocationsRepositoriesCommentThreads extends Resource (View source)
The "commentThreads" collection of methods.
Typical usage is:
$dataformService = new Google\Service\Dataform(...);
$commentThreads = $dataformService->projects_locations_repositories_commentThreads;
Methods
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (commentThreads.getIamPolicy)
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (commentThreads.setIamPolicy)
Details
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. (commentThreads.getIamPolicy)
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. (commentThreads.setIamPolicy)