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.SetUsageExportBucket |
Constructor and Description |
---|
Compute.Projects() |
Modifier and Type | Method and Description |
---|---|
Compute.Projects.DisableXpnHost |
disableXpnHost(java.lang.String project)
Disable this project as an XPN host project.
|
Compute.Projects.DisableXpnResource |
disableXpnResource(java.lang.String project,
ProjectsDisableXpnResourceRequest content)
Disable an XPN resource associated with this host project.
|
Compute.Projects.EnableXpnHost |
enableXpnHost(java.lang.String project)
Enable this project as an XPN host project.
|
Compute.Projects.EnableXpnResource |
enableXpnResource(java.lang.String project,
ProjectsEnableXpnResourceRequest content)
Enable XPN resource (a.k.a service project or service folder in the future) for a host project,
so that subnetworks in the host project can be used by instances in the service project or
folder.
|
Compute.Projects.Get |
get(java.lang.String project)
Returns the specified Project resource.
|
Compute.Projects.GetXpnHost |
getXpnHost(java.lang.String project)
Get the XPN host project that this project links to.
|
Compute.Projects.GetXpnResources |
getXpnResources(java.lang.String project)
Get XPN resources associated with this host project.
|
Compute.Projects.ListXpnHosts |
listXpnHosts(java.lang.String project,
ProjectsListXpnHostsRequest content)
List all XPN 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.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.IOException
public 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 ProjectsDisableXpnResourceRequest
java.io.IOException
public 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.IOException
public 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 ProjectsEnableXpnResourceRequest
java.io.IOException
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.IOException
public 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.IOException
public 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.IOException
public 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 ProjectsListXpnHostsRequest
java.io.IOException
public 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 DiskMoveRequest
java.io.IOException
public 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 InstanceMoveRequest
java.io.IOException
public 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 Metadata
java.io.IOException
public 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 UsageExportLocation
java.io.IOException