ProjectsLocationsApplications
class ProjectsLocationsApplications extends Resource (View source)
The "applications" collection of methods.
Typical usage is:
$apphubService = new Google\Service\AppHub(...);
$applications = $apphubService->projects_locations_applications;
Methods
Creates an Application in a host project and location. (applications.create)
Deletes an Application in a host project and location. (applications.delete)
Gets an Application in a host project and location. (applications.get)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (applications.getIamPolicy)
Lists Applications in a host project and location.
Updates an Application in a host project and location. (applications.patch)
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (applications.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, Application $postBody, array $optParams = [])
Creates an Application in a host project and location. (applications.create)
Operation
delete(string $name, array $optParams = [])
Deletes an Application in a host project and location. (applications.delete)
Application
get(string $name, array $optParams = [])
Gets an Application in a host project and location. (applications.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. (applications.getIamPolicy)
ListApplicationsResponse
listProjectsLocationsApplications(string $parent, array $optParams = [])
Lists Applications in a host project and location.
(applications.listProjectsLocationsApplications)
Operation
patch(string $name, Application $postBody, array $optParams = [])
Updates an Application in a host project and location. (applications.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. (applications.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. (applications.testIamPermissions)