|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.api.services.compute.Compute.Instances
public class Compute.Instances
The "instances" collection of methods.
Nested Class Summary | |
---|---|
class |
Compute.Instances.AddAccessConfig
|
class |
Compute.Instances.AttachDisk
|
class |
Compute.Instances.Delete
|
class |
Compute.Instances.DeleteAccessConfig
|
class |
Compute.Instances.DetachDisk
|
class |
Compute.Instances.Get
|
class |
Compute.Instances.GetSerialPortOutput
|
class |
Compute.Instances.Insert
|
class |
Compute.Instances.List
|
class |
Compute.Instances.SetMetadata
|
class |
Compute.Instances.SetTags
|
Constructor Summary | |
---|---|
Compute.Instances()
|
Method Summary | |
---|---|
Compute.Instances.AddAccessConfig |
addAccessConfig(String project,
String zone,
String instance,
String networkInterface,
AccessConfig content)
Adds an access config to an instance's network interface. |
Compute.Instances.AttachDisk |
attachDisk(String project,
String zone,
String instance,
AttachedDisk content)
Attaches a disk resource to an instance. |
Compute.Instances.Delete |
delete(String project,
String zone,
String instance)
Deletes the specified instance resource. |
Compute.Instances.DeleteAccessConfig |
deleteAccessConfig(String project,
String zone,
String instance,
String accessConfig,
String networkInterface)
Deletes an access config from an instance's network interface. |
Compute.Instances.DetachDisk |
detachDisk(String project,
String zone,
String instance,
String deviceName)
Detaches a disk from an instance. |
Compute.Instances.Get |
get(String project,
String zone,
String instance)
Returns the specified instance resource. |
Compute.Instances.GetSerialPortOutput |
getSerialPortOutput(String project,
String zone,
String instance)
Returns the specified instance's serial port output. |
Compute.Instances.Insert |
insert(String project,
String zone,
Instance content)
Creates an instance resource in the specified project using the data included in the request. |
Compute.Instances.List |
list(String project,
String zone)
Retrieves the list of instance resources contained within the specified zone. |
Compute.Instances.SetMetadata |
setMetadata(String project,
String zone,
String instance,
Metadata content)
Sets metadata for the specified instance to the data included in the request. |
Compute.Instances.SetTags |
setTags(String project,
String zone,
String instance,
Tags content)
Sets tags for the specified instance to the data included in the request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Compute.Instances()
Method Detail |
---|
public Compute.Instances.AddAccessConfig addAccessConfig(String project, String zone, String instance, String networkInterface, AccessConfig content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
project
- Project name.zone
- Name of the zone scoping this request.instance
- Instance name.networkInterface
- Network interface name.content
- the AccessConfig
IOException
public Compute.Instances.AttachDisk attachDisk(String project, String zone, String instance, AttachedDisk content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
project
- Project name.zone
- Name of the zone scoping this request.instance
- Instance name.content
- the AttachedDisk
IOException
public Compute.Instances.Delete delete(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
project
- Name of the project scoping this request.zone
- Name of the zone scoping this request.instance
- Name of the instance resource to delete.
IOException
public Compute.Instances.DeleteAccessConfig deleteAccessConfig(String project, String zone, String instance, String accessConfig, String networkInterface) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
project
- Project name.zone
- Name of the zone scoping this request.instance
- Instance name.accessConfig
- Access config name.networkInterface
- Network interface name.
IOException
public Compute.Instances.DetachDisk detachDisk(String project, String zone, String instance, String deviceName) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
project
- Project name.zone
- Name of the zone scoping this request.instance
- Instance name.deviceName
- Disk device name to detach.
IOException
public Compute.Instances.Get get(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
project
- Name of the project scoping this request.zone
- Name of the zone scoping this request.instance
- Name of the instance resource to return.
IOException
public Compute.Instances.GetSerialPortOutput getSerialPortOutput(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
project
- Name of the project scoping this request.zone
- Name of the zone scoping this request.instance
- Name of the instance scoping this request.
IOException
public Compute.Instances.Insert insert(String project, String zone, Instance content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
project
- Name of the project scoping this request.zone
- Name of the zone scoping this request.content
- the Instance
IOException
public Compute.Instances.List list(String project, String zone) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
project
- Name of the project scoping this request.zone
- Name of the zone scoping this request.
IOException
public Compute.Instances.SetMetadata setMetadata(String project, String zone, String instance, Metadata content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
project
- Name of the project scoping this request.zone
- Name of the zone scoping this request.instance
- Name of the instance scoping this request.content
- the Metadata
IOException
public Compute.Instances.SetTags setTags(String project, String zone, String instance, Tags content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
project
- Name of the project scoping this request.zone
- Name of the zone scoping this request.instance
- Name of the instance scoping this request.content
- the Tags
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |