| Package | Description |
|---|---|
| com.google.api.services.compute | |
| com.google.api.services.compute.model |
| Modifier and Type | Method and Description |
|---|---|
Compute.Instances.Insert |
Compute.Instances.insert(java.lang.String project,
java.lang.String zone,
Instance content)
Creates an instance resource in the specified project using the data included in the request.
|
| Constructor and Description |
|---|
Compute.Instances.Insert(java.lang.String project,
java.lang.String zone,
Instance content)
Creates an instance resource in the specified project using the data included in the request.
|
| Modifier and Type | Method and Description |
|---|---|
Instance |
Instance.clone() |
Instance |
Instance.set(java.lang.String fieldName,
java.lang.Object value) |
Instance |
Instance.setCanIpForward(java.lang.Boolean canIpForward)
Allows this instance to send and receive packets with non-matching destination or source IPs.
|
Instance |
Instance.setCpuPlatform(java.lang.String cpuPlatform)
[Output Only] The CPU platform used by this instance.
|
Instance |
Instance.setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Instance |
Instance.setDescription(java.lang.String description)
An optional description of this resource.
|
Instance |
Instance.setDisks(java.util.List<AttachedDisk> disks)
Array of disks associated with this instance.
|
Instance |
Instance.setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
Instance |
Instance.setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
Instance |
Instance.setMachineType(java.lang.String machineType)
Full or partial URL of the machine type resource to use for this instance, in the format:
zones/zone/machineTypes/machine-type.
|
Instance |
Instance.setMetadata(Metadata metadata)
The metadata key/value pairs assigned to this instance.
|
Instance |
Instance.setName(java.lang.String name)
The name of the resource, provided by the client when initially creating the resource.
|
Instance |
Instance.setNetworkInterfaces(java.util.List<NetworkInterface> networkInterfaces)
An array of configurations for this interface.
|
Instance |
Instance.setScheduling(Scheduling scheduling)
Scheduling options for this instance.
|
Instance |
Instance.setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for this resource.
|
Instance |
Instance.setServiceAccounts(java.util.List<ServiceAccount> serviceAccounts)
A list of service accounts, with their specified scopes, authorized for this instance.
|
Instance |
Instance.setStatus(java.lang.String status)
[Output Only] The status of the instance.
|
Instance |
Instance.setStatusMessage(java.lang.String statusMessage)
[Output Only] An optional, human-readable explanation of the status.
|
Instance |
Instance.setTags(Tags tags)
A list of tags to apply to this instance.
|
Instance |
Instance.setZone(java.lang.String zone)
[Output Only] URL of the zone where the instance resides.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Instance> |
InstancesScopedList.getInstances()
[Output Only] List of instances contained in this scope.
|
java.util.List<Instance> |
InstanceList.getItems()
[Output Only] A list of instances.
|
| Modifier and Type | Method and Description |
|---|---|
InstancesScopedList |
InstancesScopedList.setInstances(java.util.List<Instance> instances)
[Output Only] List of instances contained in this scope.
|
InstanceList |
InstanceList.setItems(java.util.List<Instance> items)
[Output Only] A list of instances.
|