public class Compute.Projects
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Compute.Projects.DisableXpnHost |
class |
Compute.Projects.DisableXpnResource |
class |
Compute.Projects.EnableXpnHost |
class |
Compute.Projects.EnableXpnResource |
class |
Compute.Projects.Get |
class |
Compute.Projects.GetXpnHost |
class |
Compute.Projects.GetXpnResources |
class |
Compute.Projects.ListXpnHosts |
class |
Compute.Projects.MoveDisk |
class |
Compute.Projects.MoveInstance |
class |
Compute.Projects.SetCommonInstanceMetadata |
class |
Compute.Projects.SetDefaultNetworkTier |
class |
Compute.Projects.SetUsageExportBucket |
| Constructor and Description |
|---|
Projects() |
| Modifier and Type | Method and Description |
|---|---|
Compute.Projects.DisableXpnHost |
disableXpnHost(java.lang.String project)
Disable this project as a shared VPC host project.
|
Compute.Projects.DisableXpnResource |
disableXpnResource(java.lang.String project,
ProjectsDisableXpnResourceRequest content)
Disable a service resource (also known as service project) associated with this host project.
|
Compute.Projects.EnableXpnHost |
enableXpnHost(java.lang.String project)
Enable this project as a shared VPC host project.
|
Compute.Projects.EnableXpnResource |
enableXpnResource(java.lang.String project,
ProjectsEnableXpnResourceRequest content)
Enable service resource (a.k.a service project) for a host project, so that subnets in the host
project can be used by instances in the service project.
|
Compute.Projects.Get |
get(java.lang.String project)
Returns the specified Project resource.
|
Compute.Projects.GetXpnHost |
getXpnHost(java.lang.String project)
Gets the shared VPC host project that this project links to.
|
Compute.Projects.GetXpnResources |
getXpnResources(java.lang.String project)
Gets service resources (a.k.a service project) associated with this host project.
|
Compute.Projects.ListXpnHosts |
listXpnHosts(java.lang.String project,
ProjectsListXpnHostsRequest content)
Lists all shared VPC host projects visible to the user in an organization.
|
Compute.Projects.MoveDisk |
moveDisk(java.lang.String project,
DiskMoveRequest content)
Moves a persistent disk from one zone to another.
|
Compute.Projects.MoveInstance |
moveInstance(java.lang.String project,
InstanceMoveRequest content)
Moves an instance and its attached persistent disks from one zone to another.
|
Compute.Projects.SetCommonInstanceMetadata |
setCommonInstanceMetadata(java.lang.String project,
Metadata content)
Sets metadata common to all instances within the specified project using the data included in the
request.
|
Compute.Projects.SetDefaultNetworkTier |
setDefaultNetworkTier(java.lang.String project,
ProjectsSetDefaultNetworkTierRequest content)
Sets the default network tier of the project.
|
Compute.Projects.SetUsageExportBucket |
setUsageExportBucket(java.lang.String project,
UsageExportLocation content)
Enables the usage export feature and sets the usage export bucket where reports are stored.
|
public Compute.Projects.DisableXpnHost disableXpnHost(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.Projects.DisableXpnResource disableXpnResource(java.lang.String project, ProjectsDisableXpnResourceRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the ProjectsDisableXpnResourceRequestjava.io.IOExceptionpublic Compute.Projects.EnableXpnHost enableXpnHost(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.Projects.EnableXpnResource enableXpnResource(java.lang.String project, ProjectsEnableXpnResourceRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the ProjectsEnableXpnResourceRequestjava.io.IOExceptionpublic Compute.Projects.Get get(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.Projects.GetXpnHost getXpnHost(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.Projects.GetXpnResources getXpnResources(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.Projects.ListXpnHosts listXpnHosts(java.lang.String project, ProjectsListXpnHostsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the ProjectsListXpnHostsRequestjava.io.IOExceptionpublic Compute.Projects.MoveDisk moveDisk(java.lang.String project, DiskMoveRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the DiskMoveRequestjava.io.IOExceptionpublic Compute.Projects.MoveInstance moveInstance(java.lang.String project, InstanceMoveRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the InstanceMoveRequestjava.io.IOExceptionpublic Compute.Projects.SetCommonInstanceMetadata setCommonInstanceMetadata(java.lang.String project, Metadata content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.content - the Metadatajava.io.IOExceptionpublic Compute.Projects.SetDefaultNetworkTier setDefaultNetworkTier(java.lang.String project, ProjectsSetDefaultNetworkTierRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.content - the ProjectsSetDefaultNetworkTierRequestjava.io.IOExceptionpublic Compute.Projects.SetUsageExportBucket setUsageExportBucket(java.lang.String project, UsageExportLocation content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.content - the UsageExportLocationjava.io.IOException