ProjectsLocationsCustomTargetTypes
class ProjectsLocationsCustomTargetTypes extends Resource (View source)
The "customTargetTypes" collection of methods.
Typical usage is:
$clouddeployService = new Google\Service\CloudDeploy(...);
$customTargetTypes = $clouddeployService->projects_locations_customTargetTypes;
Methods
Creates a new CustomTargetType in a given project and location.
Deletes a single CustomTargetType. (customTargetTypes.delete)
Gets details of a single CustomTargetType. (customTargetTypes.get)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Lists CustomTargetTypes in a given project and location.
Updates a single CustomTargetType. (customTargetTypes.patch)
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (customTargetTypes.setIamPolicy)
Details
Operation
create(string $parent, CustomTargetType $postBody, array $optParams = [])
Creates a new CustomTargetType in a given project and location.
(customTargetTypes.create)
Operation
delete(string $name, array $optParams = [])
Deletes a single CustomTargetType. (customTargetTypes.delete)
CustomTargetType
get(string $name, array $optParams = [])
Gets details of a single CustomTargetType. (customTargetTypes.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.
(customTargetTypes.getIamPolicy)
ListCustomTargetTypesResponse
listProjectsLocationsCustomTargetTypes(string $parent, array $optParams = [])
Lists CustomTargetTypes in a given project and location.
(customTargetTypes.listProjectsLocationsCustomTargetTypes)
Operation
patch(string $name, CustomTargetType $postBody, array $optParams = [])
Updates a single CustomTargetType. (customTargetTypes.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. (customTargetTypes.setIamPolicy)