| 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.SetDefaultServiceAccount  | 
class  | 
Compute.Projects.SetUsageExportBucket  | 
| Constructor and Description | 
|---|
Projects()  | 
| Modifier and Type | Method and Description | 
|---|---|
Compute.Projects.DisableXpnHost | 
disableXpnHost(String project)
Disable this project as a shared VPC host project. 
 | 
Compute.Projects.DisableXpnResource | 
disableXpnResource(String project,
                  ProjectsDisableXpnResourceRequest content)
Disable a service resource (also known as service project) associated with this host project. 
 | 
Compute.Projects.EnableXpnHost | 
enableXpnHost(String project)
Enable this project as a shared VPC host project. 
 | 
Compute.Projects.EnableXpnResource | 
enableXpnResource(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(String project)
Returns the specified Project resource. 
 | 
Compute.Projects.GetXpnHost | 
getXpnHost(String project)
Gets the shared VPC host project that this project links to. 
 | 
Compute.Projects.GetXpnResources | 
getXpnResources(String project)
Gets service resources (a.k.a service project) associated with this host project. 
 | 
Compute.Projects.ListXpnHosts | 
listXpnHosts(String project,
            ProjectsListXpnHostsRequest content)
Lists all shared VPC host projects visible to the user in an organization. 
 | 
Compute.Projects.MoveDisk | 
moveDisk(String project,
        DiskMoveRequest content)
Moves a persistent disk from one zone to another. 
 | 
Compute.Projects.MoveInstance | 
moveInstance(String project,
            InstanceMoveRequest content)
Moves an instance and its attached persistent disks from one zone to another. 
 | 
Compute.Projects.SetCommonInstanceMetadata | 
setCommonInstanceMetadata(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(String project,
                     ProjectsSetDefaultNetworkTierRequest content)
Sets the default network tier of the project. 
 | 
Compute.Projects.SetDefaultServiceAccount | 
setDefaultServiceAccount(String project,
                        ProjectsSetDefaultServiceAccountRequest content)
Sets the default service account of the project. 
 | 
Compute.Projects.SetUsageExportBucket | 
setUsageExportBucket(String project,
                    UsageExportLocation content)
Enables the usage export feature and sets the usage export bucket where reports are stored. 
 | 
public Compute.Projects.DisableXpnHost disableXpnHost(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.Projects.DisableXpnResource disableXpnResource(String project, ProjectsDisableXpnResourceRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the ProjectsDisableXpnResourceRequestIOExceptionpublic Compute.Projects.EnableXpnHost enableXpnHost(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.Projects.EnableXpnResource enableXpnResource(String project, ProjectsEnableXpnResourceRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the ProjectsEnableXpnResourceRequestIOExceptionpublic Compute.Projects.Get get(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.Projects.GetXpnHost getXpnHost(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.Projects.GetXpnResources getXpnResources(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.Projects.ListXpnHosts listXpnHosts(String project, ProjectsListXpnHostsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the ProjectsListXpnHostsRequestIOExceptionpublic Compute.Projects.MoveDisk moveDisk(String project, DiskMoveRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the DiskMoveRequestIOExceptionpublic Compute.Projects.MoveInstance moveInstance(String project, InstanceMoveRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the InstanceMoveRequestIOExceptionpublic Compute.Projects.SetCommonInstanceMetadata setCommonInstanceMetadata(String project, Metadata content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
 operation.project - Project ID for this request.content - the MetadataIOExceptionpublic Compute.Projects.SetDefaultNetworkTier setDefaultNetworkTier(String project, ProjectsSetDefaultNetworkTierRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
 operation.project - Project ID for this request.content - the ProjectsSetDefaultNetworkTierRequestIOExceptionpublic Compute.Projects.SetDefaultServiceAccount setDefaultServiceAccount(String project, ProjectsSetDefaultServiceAccountRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
 operation.project - Project ID for this request.content - the ProjectsSetDefaultServiceAccountRequestIOExceptionpublic Compute.Projects.SetUsageExportBucket setUsageExportBucket(String project, UsageExportLocation content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
 operation.project - Project ID for this request.content - the UsageExportLocationIOExceptionCopyright © 2011–2020 Google. All rights reserved.