Modifier and Type | Class and Description |
---|---|
class |
Compute.RegionNetworks.Delete |
class |
Compute.RegionNetworks.Get |
class |
Compute.RegionNetworks.GetIamPolicy |
class |
Compute.RegionNetworks.Insert |
class |
Compute.RegionNetworks.List |
class |
Compute.RegionNetworks.SetIamPolicy |
class |
Compute.RegionNetworks.TestIamPermissions |
Constructor and Description |
---|
RegionNetworks() |
Modifier and Type | Method and Description |
---|---|
Compute.RegionNetworks.Delete |
delete(String project,
String region,
String network)
Deletes the specified network.
|
Compute.RegionNetworks.Get |
get(String project,
String region,
String network)
Returns the specified network.
|
Compute.RegionNetworks.GetIamPolicy |
getIamPolicy(String project,
String region,
String resource)
Gets the access control policy for a resource.
|
Compute.RegionNetworks.Insert |
insert(String project,
String region,
Network content)
Creates a network in the specified project and region using the data included in the request.
|
Compute.RegionNetworks.List |
list(String project,
String region)
Retrieves the list of networks available to the specified project in the given region.
|
Compute.RegionNetworks.SetIamPolicy |
setIamPolicy(String project,
String region,
String resource,
RegionSetPolicyRequest content)
Sets the access control policy on the specified resource.
|
Compute.RegionNetworks.TestIamPermissions |
testIamPermissions(String project,
String region,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public Compute.RegionNetworks.Delete delete(String project, String region, String network) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.region
- Name of the region scoping this request.network
- Name of the network to delete.IOException
public Compute.RegionNetworks.Get get(String project, String region, String network) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.region
- Name of the region scoping this request.network
- Name of the network to return.IOException
public Compute.RegionNetworks.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.RegionNetworks.Insert insert(String project, String region, Network content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.project
- Project ID for this request.region
- Name of the region scoping this request.content
- the Network
IOException
public Compute.RegionNetworks.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 scoping this request.IOException
public Compute.RegionNetworks.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.RegionNetworks.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–2022 Google. All rights reserved.