Modifier and Type | Class and Description |
---|---|
class |
Compute.NetworkAttachments.AggregatedList |
class |
Compute.NetworkAttachments.Delete |
class |
Compute.NetworkAttachments.Get |
class |
Compute.NetworkAttachments.GetIamPolicy |
class |
Compute.NetworkAttachments.Insert |
class |
Compute.NetworkAttachments.List |
class |
Compute.NetworkAttachments.Patch |
class |
Compute.NetworkAttachments.SetIamPolicy |
class |
Compute.NetworkAttachments.TestIamPermissions |
Constructor and Description |
---|
NetworkAttachments() |
Modifier and Type | Method and Description |
---|---|
Compute.NetworkAttachments.AggregatedList |
aggregatedList(String project)
Retrieves the list of all NetworkAttachment resources, regional and global, available to the
specified project.
|
Compute.NetworkAttachments.Delete |
delete(String project,
String region,
String networkAttachment)
Deletes the specified NetworkAttachment in the given scope
Create a request for the method "networkAttachments.delete".
|
Compute.NetworkAttachments.Get |
get(String project,
String region,
String networkAttachment)
Returns the specified NetworkAttachment resource in the given scope.
|
Compute.NetworkAttachments.GetIamPolicy |
getIamPolicy(String project,
String region,
String resource)
Gets the access control policy for a resource.
|
Compute.NetworkAttachments.Insert |
insert(String project,
String region,
NetworkAttachment content)
Creates a NetworkAttachment in the specified project in the given scope using the parameters that
are included in the request.
|
Compute.NetworkAttachments.List |
list(String project,
String region)
Lists the NetworkAttachments for a project in the given scope.
|
Compute.NetworkAttachments.Patch |
patch(String project,
String region,
String networkAttachment,
NetworkAttachment content)
Patches the specified NetworkAttachment resource with the data included in the request.
|
Compute.NetworkAttachments.SetIamPolicy |
setIamPolicy(String project,
String region,
String resource,
RegionSetPolicyRequest content)
Sets the access control policy on the specified resource.
|
Compute.NetworkAttachments.TestIamPermissions |
testIamPermissions(String project,
String region,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public Compute.NetworkAttachments.AggregatedList aggregatedList(String project) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.IOException
public Compute.NetworkAttachments.Delete delete(String project, String region, String networkAttachment) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.region
- Name of the region of this request.networkAttachment
- Name of the NetworkAttachment resource to delete.IOException
public Compute.NetworkAttachments.Get get(String project, String region, String networkAttachment) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.region
- Name of the region of this request.networkAttachment
- Name of the NetworkAttachment resource to return.IOException
public Compute.NetworkAttachments.GetIamPolicy getIamPolicy(String project, String region, String resource) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.region
- The name of the region for this request.resource
- Name or id of the resource for this request.IOException
public Compute.NetworkAttachments.Insert insert(String project, String region, NetworkAttachment content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.region
- Name of the region of this request.content
- the NetworkAttachment
IOException
public Compute.NetworkAttachments.List list(String project, String region) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.region
- Name of the region of this request.IOException
public Compute.NetworkAttachments.Patch patch(String project, String region, String networkAttachment, NetworkAttachment content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.region
- Name of the region for this request.networkAttachment
- Name of the NetworkAttachment resource to patch.content
- the NetworkAttachment
IOException
public Compute.NetworkAttachments.SetIamPolicy setIamPolicy(String project, String region, String resource, RegionSetPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.region
- The name of the region for this request.resource
- Name or id of the resource for this request.content
- the RegionSetPolicyRequest
IOException
public Compute.NetworkAttachments.TestIamPermissions testIamPermissions(String project, String region, String resource, TestPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.region
- The name of the region for this request.resource
- Name or id of the resource for this request.content
- the TestPermissionsRequest
IOException
Copyright © 2011–2025 Google. All rights reserved.