Package | Description |
---|---|
com.google.cloud.compute.v1 |
A client to Compute Engine API.
|
Modifier and Type | Method and Description |
---|---|
Instance.Builder |
Instance.Builder.addAllDisks(List<AttachedDisk> disks)
Array of disks associated with this instance.
|
Instance.Builder |
Instance.Builder.addAllGuestAccelerators(List<AcceleratorConfig> guestAccelerators)
A list of the type and count of accelerator cards attached to the instance.
|
Instance.Builder |
Instance.Builder.addAllNetworkInterfaces(List<NetworkInterface> networkInterfaces)
An array of network configurations for this instance.
|
Instance.Builder |
Instance.Builder.addAllServiceAccounts(List<ServiceAccount> serviceAccounts)
A list of service accounts, with their specified scopes, authorized for this instance.
|
Instance.Builder |
Instance.Builder.addDisks(AttachedDisk disks)
Array of disks associated with this instance.
|
Instance.Builder |
Instance.Builder.addGuestAccelerators(AcceleratorConfig guestAccelerators)
A list of the type and count of accelerator cards attached to the instance.
|
Instance.Builder |
Instance.Builder.addNetworkInterfaces(NetworkInterface networkInterfaces)
An array of network configurations for this instance.
|
Instance.Builder |
Instance.Builder.addServiceAccounts(ServiceAccount serviceAccounts)
A list of service accounts, with their specified scopes, authorized for this instance.
|
Instance.Builder |
Instance.Builder.clone() |
Instance.Builder |
Instance.Builder.mergeFrom(Instance other) |
static Instance.Builder |
Instance.newBuilder() |
static Instance.Builder |
Instance.newBuilder(Instance prototype) |
Instance.Builder |
Instance.Builder.putAllLabels(Map<String,String> labels)
Labels to apply to this instance.
|
Instance.Builder |
Instance.Builder.setCanIpForward(Boolean canIpForward)
Allows this instance to send and receive packets with non-matching destination or source IPs.
|
Instance.Builder |
Instance.Builder.setCpuPlatform(String cpuPlatform)
[Output Only] The CPU platform used by this instance.
|
Instance.Builder |
Instance.Builder.setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Instance.Builder |
Instance.Builder.setDeletionProtection(Boolean deletionProtection)
Whether the resource should be protected against deletion.
|
Instance.Builder |
Instance.Builder.setDescription(String description)
An optional description of this resource.
|
Instance.Builder |
Instance.Builder.setHostname(String hostname) |
Instance.Builder |
Instance.Builder.setId(String id)
[Output Only] The unique identifier for the resource.
|
Instance.Builder |
Instance.Builder.setKind(String kind)
[Output Only] Type of the resource.
|
Instance.Builder |
Instance.Builder.setLabelFingerprint(String labelFingerprint)
A fingerprint for this request, which is essentially a hash of the label's contents and used
for optimistic locking.
|
Instance.Builder |
Instance.Builder.setMachineType(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.Builder |
Instance.Builder.setMetadata(Metadata metadata)
The metadata key/value pairs assigned to this instance.
|
Instance.Builder |
Instance.Builder.setMinCpuPlatform(String minCpuPlatform)
Specifies a minimum CPU platform for the VM instance.
|
Instance.Builder |
Instance.Builder.setName(String name)
The name of the resource, provided by the client when initially creating the resource.
|
Instance.Builder |
Instance.Builder.setScheduling(Scheduling scheduling)
Sets the scheduling options for this instance.
|
Instance.Builder |
Instance.Builder.setSelfLink(String selfLink)
[Output Only] Server-defined URL for this resource.
|
Instance.Builder |
Instance.Builder.setShieldedInstanceConfig(ShieldedInstanceConfig shieldedInstanceConfig) |
Instance.Builder |
Instance.Builder.setShieldedInstanceIntegrityPolicy(ShieldedInstanceIntegrityPolicy shieldedInstanceIntegrityPolicy) |
Instance.Builder |
Instance.Builder.setStartRestricted(Boolean startRestricted)
[Output Only] Whether a VM has been restricted for start because Compute Engine has detected
suspicious activity.
|
Instance.Builder |
Instance.Builder.setStatus(String status)
[Output Only] The status of the instance.
|
Instance.Builder |
Instance.Builder.setStatusMessage(String statusMessage)
[Output Only] An optional, human-readable explanation of the status.
|
Instance.Builder |
Instance.Builder.setTags(Tags tags)
Tags to apply to this instance.
|
Instance.Builder |
Instance.Builder.setZone(String zone)
[Output Only] URL of the zone where the instance resides.
|
Instance.Builder |
Instance.toBuilder() |
Copyright © 2019 Google LLC. All rights reserved.