Package | Description |
---|---|
com.google.cloud.compute.v1 |
A client to Compute Engine API.
|
Modifier and Type | Method and Description |
---|---|
ProjectZoneInstanceName |
ProjectZoneInstanceName.Builder.build() |
static ProjectZoneInstanceName |
ProjectZoneInstanceName.of(String instance,
String project,
String zone) |
static ProjectZoneInstanceName |
ProjectZoneInstanceName.parse(String formattedString) |
Modifier and Type | Method and Description |
---|---|
static com.google.api.resourcenames.ResourceNameFactory<ProjectZoneInstanceName> |
ProjectZoneInstanceName.newFactory() |
Modifier and Type | Method and Description |
---|---|
Operation |
InstanceClient.addAccessConfigInstance(ProjectZoneInstanceName instance,
String networkInterface,
AccessConfig accessConfigResource)
Adds an access config to an instance's network interface.
|
Operation |
InstanceClient.attachDiskInstance(ProjectZoneInstanceName instance,
Boolean forceAttach,
AttachedDisk attachedDiskResource)
Attaches an existing Disk resource to an instance.
|
Operation |
InstanceClient.deleteAccessConfigInstance(ProjectZoneInstanceName instance,
String networkInterface,
String accessConfig)
Deletes an access config from an instance's network interface.
|
Operation |
InstanceClient.deleteInstance(ProjectZoneInstanceName instance)
Deletes the specified Instance resource.
|
Operation |
InstanceClient.detachDiskInstance(ProjectZoneInstanceName instance,
String deviceName)
Detaches a disk from an instance.
|
Instance |
InstanceClient.getInstance(ProjectZoneInstanceName instance)
Returns the specified Instance resource.
|
SerialPortOutput |
InstanceClient.getSerialPortOutputInstance(ProjectZoneInstanceName instance,
Integer port,
String start)
Returns the last 1 MB of serial port output from the specified instance.
|
ShieldedInstanceIdentity |
InstanceClient.getShieldedInstanceIdentityInstance(ProjectZoneInstanceName instance)
Returns the Shielded Instance Identity of an instance
|
InstanceClient.ListReferrersInstancesPagedResponse |
InstanceClient.listReferrersInstances(ProjectZoneInstanceName instance)
Retrieves the list of referrers to instances contained within the specified zone.
|
Operation |
InstanceClient.resetInstance(ProjectZoneInstanceName instance)
Performs a reset on the instance.
|
Operation |
InstanceClient.setDiskAutoDeleteInstance(ProjectZoneInstanceName instance,
Boolean autoDelete,
String deviceName)
Sets the auto-delete flag for a disk attached to an instance.
|
Operation |
InstanceClient.setLabelsInstance(ProjectZoneInstanceName instance,
InstancesSetLabelsRequest instancesSetLabelsRequestResource)
Sets labels on an instance.
|
Operation |
InstanceClient.setMachineResourcesInstance(ProjectZoneInstanceName instance,
InstancesSetMachineResourcesRequest instancesSetMachineResourcesRequestResource)
Changes the number and/or type of accelerator for a stopped instance to the values specified in
the request.
|
Operation |
InstanceClient.setMachineTypeInstance(ProjectZoneInstanceName instance,
InstancesSetMachineTypeRequest instancesSetMachineTypeRequestResource)
Changes the machine type for a stopped instance to the machine type specified in the request.
|
Operation |
InstanceClient.setMetadataInstance(ProjectZoneInstanceName instance,
Metadata metadataResource)
Sets metadata for the specified instance to the data included in the request.
|
Operation |
InstanceClient.setMinCpuPlatformInstance(ProjectZoneInstanceName instance,
InstancesSetMinCpuPlatformRequest instancesSetMinCpuPlatformRequestResource)
Changes the minimum CPU platform that this instance should use.
|
Operation |
InstanceClient.setSchedulingInstance(ProjectZoneInstanceName instance,
Scheduling schedulingResource)
Sets an instance's scheduling options.
|
Operation |
InstanceClient.setServiceAccountInstance(ProjectZoneInstanceName instance,
InstancesSetServiceAccountRequest instancesSetServiceAccountRequestResource)
Sets the service account on the instance.
|
Operation |
InstanceClient.setShieldedInstanceIntegrityPolicyInstance(ProjectZoneInstanceName instance,
ShieldedInstanceIntegrityPolicy shieldedInstanceIntegrityPolicyResource,
List<String> fieldMask)
Sets the Shielded Instance integrity policy for an instance.
|
Operation |
InstanceClient.setTagsInstance(ProjectZoneInstanceName instance,
Tags tagsResource)
Sets network tags for the specified instance to the data included in the request.
|
Operation |
InstanceClient.simulateMaintenanceEventInstance(ProjectZoneInstanceName instance)
Simulates a maintenance event on the instance.
|
Operation |
InstanceClient.startInstance(ProjectZoneInstanceName instance)
Starts an instance that was stopped using the instances().stop method.
|
Operation |
InstanceClient.startWithEncryptionKeyInstance(ProjectZoneInstanceName instance,
InstancesStartWithEncryptionKeyRequest instancesStartWithEncryptionKeyRequestResource)
Starts an instance that was stopped using the instances().stop method.
|
Operation |
InstanceClient.stopInstance(ProjectZoneInstanceName instance)
Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a
later time.
|
Operation |
InstanceClient.updateAccessConfigInstance(ProjectZoneInstanceName instance,
String networkInterface,
AccessConfig accessConfigResource)
Updates the specified access config from an instance's network interface with the data included
in the request.
|
Operation |
InstanceClient.updateNetworkInterfaceInstance(ProjectZoneInstanceName instance,
String networkInterface,
NetworkInterface networkInterfaceResource,
List<String> fieldMask)
Updates an instance's network interface.
|
Operation |
InstanceClient.updateShieldedInstanceConfigInstance(ProjectZoneInstanceName instance,
ShieldedInstanceConfig shieldedInstanceConfigResource,
List<String> fieldMask)
Updates the Shielded Instance config for an instance.
|
Constructor and Description |
---|
Builder(ProjectZoneInstanceName projectZoneInstanceName) |
Copyright © 2019 Google LLC. All rights reserved.