public class Compute.Projects
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Compute.Projects.Get |
class |
Compute.Projects.MoveDisk |
class |
Compute.Projects.MoveInstance |
class |
Compute.Projects.SetCommonInstanceMetadata |
class |
Compute.Projects.SetUsageExportBucket |
| Constructor and Description |
|---|
Compute.Projects() |
| Modifier and Type | Method and Description |
|---|---|
Compute.Projects.Get |
get(java.lang.String project)
Returns the specified Project resource.
|
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.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.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.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.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