public class Compute.Subnetworks
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Compute.Subnetworks.AggregatedList |
class |
Compute.Subnetworks.Delete |
class |
Compute.Subnetworks.ExpandIpCidrRange |
class |
Compute.Subnetworks.Get |
class |
Compute.Subnetworks.GetIamPolicy |
class |
Compute.Subnetworks.Insert |
class |
Compute.Subnetworks.List |
class |
Compute.Subnetworks.ListUsable |
class |
Compute.Subnetworks.Patch |
class |
Compute.Subnetworks.SetIamPolicy |
class |
Compute.Subnetworks.SetPrivateIpGoogleAccess |
class |
Compute.Subnetworks.TestIamPermissions |
| Constructor and Description |
|---|
Subnetworks() |
| Modifier and Type | Method and Description |
|---|---|
Compute.Subnetworks.AggregatedList |
aggregatedList(java.lang.String project)
Retrieves an aggregated list of subnetworks.
|
Compute.Subnetworks.Delete |
delete(java.lang.String project,
java.lang.String region,
java.lang.String subnetwork)
Deletes the specified subnetwork.
|
Compute.Subnetworks.ExpandIpCidrRange |
expandIpCidrRange(java.lang.String project,
java.lang.String region,
java.lang.String subnetwork,
SubnetworksExpandIpCidrRangeRequest content)
Expands the IP CIDR range of the subnetwork to a specified value.
|
Compute.Subnetworks.Get |
get(java.lang.String project,
java.lang.String region,
java.lang.String subnetwork)
Returns the specified subnetwork.
|
Compute.Subnetworks.GetIamPolicy |
getIamPolicy(java.lang.String project,
java.lang.String region,
java.lang.String resource)
Gets the access control policy for a resource.
|
Compute.Subnetworks.Insert |
insert(java.lang.String project,
java.lang.String region,
Subnetwork content)
Creates a subnetwork in the specified project using the data included in the request.
|
Compute.Subnetworks.List |
list(java.lang.String project,
java.lang.String region)
Retrieves a list of subnetworks available to the specified project.
|
Compute.Subnetworks.ListUsable |
listUsable(java.lang.String project)
Retrieves an aggregated list of all usable subnetworks in the project.
|
Compute.Subnetworks.Patch |
patch(java.lang.String project,
java.lang.String region,
java.lang.String subnetwork,
Subnetwork content)
Patches the specified subnetwork with the data included in the request.
|
Compute.Subnetworks.SetIamPolicy |
setIamPolicy(java.lang.String project,
java.lang.String region,
java.lang.String resource,
RegionSetPolicyRequest content)
Sets the access control policy on the specified resource.
|
Compute.Subnetworks.SetPrivateIpGoogleAccess |
setPrivateIpGoogleAccess(java.lang.String project,
java.lang.String region,
java.lang.String subnetwork,
SubnetworksSetPrivateIpGoogleAccessRequest content)
Set whether VMs in this subnet can access Google services without assigning external IP addresses
through Private Google Access.
|
Compute.Subnetworks.TestIamPermissions |
testIamPermissions(java.lang.String project,
java.lang.String region,
java.lang.String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public Compute.Subnetworks.AggregatedList aggregatedList(java.lang.String project) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.java.io.IOExceptionpublic Compute.Subnetworks.Delete delete(java.lang.String project, java.lang.String region, java.lang.String subnetwork) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.subnetwork - Name of the Subnetwork resource to delete.java.io.IOExceptionpublic Compute.Subnetworks.ExpandIpCidrRange expandIpCidrRange(java.lang.String project, java.lang.String region, java.lang.String subnetwork, SubnetworksExpandIpCidrRangeRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.subnetwork - Name of the Subnetwork resource to update.content - the SubnetworksExpandIpCidrRangeRequestjava.io.IOExceptionpublic Compute.Subnetworks.Get get(java.lang.String project, java.lang.String region, java.lang.String subnetwork) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.subnetwork - Name of the Subnetwork resource to return.java.io.IOExceptionpublic Compute.Subnetworks.GetIamPolicy getIamPolicy(java.lang.String project, java.lang.String region, java.lang.String resource) throws java.io.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.java.io.IOExceptionpublic Compute.Subnetworks.Insert insert(java.lang.String project, java.lang.String region, Subnetwork content) throws java.io.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 Subnetworkjava.io.IOExceptionpublic Compute.Subnetworks.List list(java.lang.String project, java.lang.String region) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.java.io.IOExceptionpublic Compute.Subnetworks.ListUsable listUsable(java.lang.String project) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.java.io.IOExceptionpublic Compute.Subnetworks.Patch patch(java.lang.String project, java.lang.String region, java.lang.String subnetwork, Subnetwork content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region scoping this request.subnetwork - Name of the Subnetwork resource to patch.content - the Subnetworkjava.io.IOExceptionpublic Compute.Subnetworks.SetIamPolicy setIamPolicy(java.lang.String project, java.lang.String region, java.lang.String resource, RegionSetPolicyRequest content) throws java.io.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 RegionSetPolicyRequestjava.io.IOExceptionpublic Compute.Subnetworks.SetPrivateIpGoogleAccess setPrivateIpGoogleAccess(java.lang.String project, java.lang.String region, java.lang.String subnetwork, SubnetworksSetPrivateIpGoogleAccessRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.region - Name of the region scoping this request.subnetwork - Name of the Subnetwork resource.content - the SubnetworksSetPrivateIpGoogleAccessRequestjava.io.IOExceptionpublic Compute.Subnetworks.TestIamPermissions testIamPermissions(java.lang.String project, java.lang.String region, java.lang.String resource, TestPermissionsRequest content) throws java.io.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 TestPermissionsRequestjava.io.IOException