ServiceAttachments
class ServiceAttachments extends Resource (View source)
The "serviceAttachments" collection of methods.
Typical usage is:
$computeService = new Google\Service\Compute(...);
$serviceAttachments = $computeService->serviceAttachments;
Methods
Retrieves the list of all ServiceAttachment resources, regional and global,
available to the specified project. To prevent failure, Google recommends
that you set the returnPartialSuccess
parameter to true
.
Deletes the specified ServiceAttachment in the given scope (serviceAttachments.delete)
Returns the specified ServiceAttachment resource in the given scope.
Gets the access control policy for a resource. May be empty if no such policy or resource exists. (serviceAttachments.getIamPolicy)
Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request. (serviceAttachments.insert)
Lists the ServiceAttachments for a project in the given scope.
Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. (serviceAttachments.patch)
Sets the access control policy on the specified resource. Replaces any existing policy. (serviceAttachments.setIamPolicy)
Returns permissions that a caller has on the specified resource.
Details
ServiceAttachmentAggregatedList
aggregatedList(string $project, array $optParams = [])
Retrieves the list of all ServiceAttachment resources, regional and global,
available to the specified project. To prevent failure, Google recommends
that you set the returnPartialSuccess
parameter to true
.
(serviceAttachments.aggregatedList)
Operation
delete(string $project, string $region, string $serviceAttachment, array $optParams = [])
Deletes the specified ServiceAttachment in the given scope (serviceAttachments.delete)
ServiceAttachment
get(string $project, string $region, string $serviceAttachment, array $optParams = [])
Returns the specified ServiceAttachment resource in the given scope.
(serviceAttachments.get)
Policy
getIamPolicy(string $project, string $region, string $resource, array $optParams = [])
Gets the access control policy for a resource. May be empty if no such policy or resource exists. (serviceAttachments.getIamPolicy)
Operation
insert(string $project, string $region, ServiceAttachment $postBody, array $optParams = [])
Creates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request. (serviceAttachments.insert)
ServiceAttachmentList
listServiceAttachments(string $project, string $region, array $optParams = [])
Lists the ServiceAttachments for a project in the given scope.
(serviceAttachments.listServiceAttachments)
Operation
patch(string $project, string $region, string $serviceAttachment, ServiceAttachment $postBody, array $optParams = [])
Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. (serviceAttachments.patch)
Policy
setIamPolicy(string $project, string $region, string $resource, RegionSetPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any existing policy. (serviceAttachments.setIamPolicy)
TestPermissionsResponse
testIamPermissions(string $project, string $region, string $resource, TestPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified resource.
(serviceAttachments.testIamPermissions)