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