| Constructor and Description |
|---|
Instances() |
| Modifier and Type | Method and Description |
|---|---|
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.AddNetworkInterface |
addNetworkInterface(String project,
String zone,
String instance,
NetworkInterface content)
Adds a network interface to an instance.
|
Compute.Instances.AddResourcePolicies |
addResourcePolicies(String project,
String zone,
String instance,
InstancesAddResourcePoliciesRequest content)
Adds existing resource policies to an instance.
|
Compute.Instances.AggregatedList |
aggregatedList(String project)
Retrieves an aggregated list of all of the instances in your project across all regions and
zones.
|
Compute.Instances.AttachDisk |
attachDisk(String project,
String zone,
String instance,
AttachedDisk content)
Attaches an existing Disk resource to an instance.
|
Compute.Instances.BulkInsert |
bulkInsert(String project,
String zone,
BulkInsertInstanceResource content)
Creates multiple instances.
|
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.DeleteNetworkInterface |
deleteNetworkInterface(String project,
String zone,
String instance,
String networkInterfaceName)
Deletes one network interface from an active instance.
|
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.GetEffectiveFirewalls |
getEffectiveFirewalls(String project,
String zone,
String instance,
String networkInterface)
Returns effective firewalls applied to an interface of the instance.
|
Compute.Instances.GetGuestAttributes |
getGuestAttributes(String project,
String zone,
String instance)
Returns the specified guest attributes entry.
|
Compute.Instances.GetIamPolicy |
getIamPolicy(String project,
String zone,
String resource)
Gets the access control policy for a resource.
|
Compute.Instances.GetPartnerMetadata |
getPartnerMetadata(String project,
String zone,
String instance)
Gets partner metadata of the specified instance and namespaces.
|
Compute.Instances.GetScreenshot |
getScreenshot(String project,
String zone,
String instance)
Returns the screenshot from the specified instance.
|
Compute.Instances.GetSerialPortOutput |
getSerialPortOutput(String project,
String zone,
String instance)
Returns the last 1 MB of serial port output from the specified instance.
|
Compute.Instances.GetShieldedInstanceIdentity |
getShieldedInstanceIdentity(String project,
String zone,
String instance)
Returns the Shielded Instance Identity of an instance
Create a request for the method "instances.getShieldedInstanceIdentity".
|
Compute.Instances.GetShieldedVmIdentity |
getShieldedVmIdentity(String project,
String zone,
String instance)
Returns the Shielded VM Identity of an instance
Create a request for the method "instances.getShieldedVmIdentity".
|
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 instances contained within the specified zone.
|
Compute.Instances.ListReferrers |
listReferrers(String project,
String zone,
String instance)
Retrieves a list of resources that refer to the VM instance specified in the request.
|
Compute.Instances.PatchPartnerMetadata |
patchPartnerMetadata(String project,
String zone,
String instance,
PartnerMetadata content)
Patches partner metadata of the specified instance.
|
Compute.Instances.PerformMaintenance |
performMaintenance(String project,
String zone,
String instance)
Perform a manual maintenance on the instance.
|
Compute.Instances.RemoveResourcePolicies |
removeResourcePolicies(String project,
String zone,
String instance,
InstancesRemoveResourcePoliciesRequest content)
Removes resource policies from an instance.
|
Compute.Instances.Reset |
reset(String project,
String zone,
String instance)
Performs a reset on the instance.
|
Compute.Instances.Resume |
resume(String project,
String zone,
String instance,
InstancesResumeRequest content)
Resumes an instance that was suspended using the instances().suspend method.
|
Compute.Instances.SendDiagnosticInterrupt |
sendDiagnosticInterrupt(String project,
String zone,
String instance)
Sends diagnostic interrupt to the instance.
|
Compute.Instances.SetDeletionProtection |
setDeletionProtection(String project,
String zone,
String resource)
Sets deletion protection on the instance.
|
Compute.Instances.SetDiskAutoDelete |
setDiskAutoDelete(String project,
String zone,
String instance,
Boolean autoDelete,
String deviceName)
Sets the auto-delete flag for a disk attached to an instance.
|
Compute.Instances.SetIamPolicy |
setIamPolicy(String project,
String zone,
String resource,
ZoneSetPolicyRequest content)
Sets the access control policy on the specified resource.
|
Compute.Instances.SetLabels |
setLabels(String project,
String zone,
String instance,
InstancesSetLabelsRequest content)
Sets labels on an instance.
|
Compute.Instances.SetMachineResources |
setMachineResources(String project,
String zone,
String instance,
InstancesSetMachineResourcesRequest content)
Changes the number and/or type of accelerator for a stopped instance to the values specified in
the request.
|
Compute.Instances.SetMachineType |
setMachineType(String project,
String zone,
String instance,
InstancesSetMachineTypeRequest content)
Changes the machine type for a stopped instance to the machine type specified in the request.
|
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.SetMinCpuPlatform |
setMinCpuPlatform(String project,
String zone,
String instance,
InstancesSetMinCpuPlatformRequest content)
Changes the minimum CPU platform that this instance should use.
|
Compute.Instances.SetName |
setName(String project,
String zone,
String instance,
InstancesSetNameRequest content)
Sets name of an instance.
|
Compute.Instances.SetScheduling |
setScheduling(String project,
String zone,
String instance,
Scheduling content)
Sets an instance's scheduling options.
|
Compute.Instances.SetSecurityPolicy |
setSecurityPolicy(String project,
String zone,
String instance,
InstancesSetSecurityPolicyRequest content)
Sets the Google Cloud Armor security policy for the specified instance.
|
Compute.Instances.SetServiceAccount |
setServiceAccount(String project,
String zone,
String instance,
InstancesSetServiceAccountRequest content)
Sets the service account on the instance.
|
Compute.Instances.SetShieldedInstanceIntegrityPolicy |
setShieldedInstanceIntegrityPolicy(String project,
String zone,
String instance,
ShieldedInstanceIntegrityPolicy content)
Sets the Shielded Instance integrity policy for an instance.
|
Compute.Instances.SetShieldedVmIntegrityPolicy |
setShieldedVmIntegrityPolicy(String project,
String zone,
String instance,
ShieldedVmIntegrityPolicy content)
Sets the Shielded VM integrity policy for a VM instance.
|
Compute.Instances.SetTags |
setTags(String project,
String zone,
String instance,
Tags content)
Sets network tags for the specified instance to the data included in the request.
|
Compute.Instances.SimulateMaintenanceEvent |
simulateMaintenanceEvent(String project,
String zone,
String instance)
Simulates a host maintenance event on a VM.
|
Compute.Instances.Start |
start(String project,
String zone,
String instance)
Starts an instance that was stopped using the instances().stop method.
|
Compute.Instances.StartWithEncryptionKey |
startWithEncryptionKey(String project,
String zone,
String instance,
InstancesStartWithEncryptionKeyRequest content)
Starts an instance that was stopped using the instances().stop method.
|
Compute.Instances.Stop |
stop(String project,
String zone,
String instance)
Stops a running instance, shutting it down cleanly, and allows you to restart the instance at a
later time.
|
Compute.Instances.Suspend |
suspend(String project,
String zone,
String instance)
This method suspends a running instance, saving its state to persistent storage, and allows you
to resume the instance at a later time.
|
Compute.Instances.TestIamPermissions |
testIamPermissions(String project,
String zone,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
Compute.Instances.Update |
update(String project,
String zone,
String instance,
Instance content)
Updates an instance only if the necessary resources are available.
|
Compute.Instances.UpdateAccessConfig |
updateAccessConfig(String project,
String zone,
String instance,
String networkInterface,
AccessConfig content)
Updates the specified access config from an instance's network interface with the data included
in the request.
|
Compute.Instances.UpdateDisplayDevice |
updateDisplayDevice(String project,
String zone,
String instance,
DisplayDevice content)
Updates the Display config for a VM instance.
|
Compute.Instances.UpdateNetworkInterface |
updateNetworkInterface(String project,
String zone,
String instance,
String networkInterface,
NetworkInterface content)
Updates an instance's network interface.
|
Compute.Instances.UpdateShieldedInstanceConfig |
updateShieldedInstanceConfig(String project,
String zone,
String instance,
ShieldedInstanceConfig content)
Updates the Shielded Instance config for an instance.
|
Compute.Instances.UpdateShieldedVmConfig |
updateShieldedVmConfig(String project,
String zone,
String instance,
ShieldedVmConfig content)
Updates the Shielded VM config for a VM instance.
|
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 ID for this request.zone - The name of the zone for this request.instance - The instance name for this request.networkInterface - The name of the network interface to add to this instance.content - the AccessConfigIOExceptionpublic Compute.Instances.AddNetworkInterface addNetworkInterface(String project, String zone, String instance, NetworkInterface content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - The instance name for this request stored as resource_id. Name should conform to RFC1035 or be an
unsigned long integer.content - the NetworkInterfaceIOExceptionpublic Compute.Instances.AddResourcePolicies addResourcePolicies(String project, String zone, String instance, InstancesAddResourcePoliciesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - The instance name for this request.content - the InstancesAddResourcePoliciesRequestIOExceptionpublic Compute.Instances.AggregatedList aggregatedList(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.Instances.AttachDisk attachDisk(String project, String zone, String instance, AttachedDisk content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - The instance name for this request.content - the AttachedDiskIOExceptionpublic Compute.Instances.BulkInsert bulkInsert(String project, String zone, BulkInsertInstanceResource content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.content - the BulkInsertInstanceResourceIOExceptionpublic Compute.Instances.Delete delete(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance resource to delete.IOExceptionpublic 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 ID for this request.zone - The name of the zone for this request.instance - The instance name for this request.accessConfig - The name of the access config to delete.networkInterface - The name of the network interface.IOExceptionpublic Compute.Instances.DeleteNetworkInterface deleteNetworkInterface(String project, String zone, String instance, String networkInterfaceName) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.zone - The name of the zone for this request.instance - The instance name for this request stored as resource_id. Name should conform to RFC1035 or be an
unsigned long integer.networkInterfaceName - The name of the network interface to be deleted from the instance. Only VLAN network interface
deletion is supported.IOExceptionpublic Compute.Instances.DetachDisk detachDisk(String project, String zone, String instance, String deviceName) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Instance name for this request.deviceName - The device name of the disk to detach. Make a get() request on the instance to view currently
attached disks and device names.IOExceptionpublic Compute.Instances.Get get(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance resource to return.IOExceptionpublic Compute.Instances.GetEffectiveFirewalls getEffectiveFirewalls(String project, String zone, String instance, String networkInterface) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.networkInterface - The name of the network interface to get the effective firewalls.IOExceptionpublic Compute.Instances.GetGuestAttributes getGuestAttributes(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.IOExceptionpublic Compute.Instances.GetIamPolicy getIamPolicy(String project, String zone, String resource) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.resource - Name or id of the resource for this request.IOExceptionpublic Compute.Instances.GetPartnerMetadata getPartnerMetadata(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.IOExceptionpublic Compute.Instances.GetScreenshot getScreenshot(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.IOExceptionpublic Compute.Instances.GetSerialPortOutput getSerialPortOutput(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance for this request.IOExceptionpublic Compute.Instances.GetShieldedInstanceIdentity getShieldedInstanceIdentity(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name or id of the instance scoping this request.IOExceptionpublic Compute.Instances.GetShieldedVmIdentity getShieldedVmIdentity(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.IOExceptionpublic Compute.Instances.Insert insert(String project, String zone, Instance content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.content - the InstanceIOExceptionpublic Compute.Instances.List list(String project, String zone) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.IOExceptionpublic Compute.Instances.ListReferrers listReferrers(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the target instance scoping this request, or '-' if the request should span over all
instances in the container.IOExceptionpublic Compute.Instances.PatchPartnerMetadata patchPartnerMetadata(String project, String zone, String instance, PartnerMetadata content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.content - the PartnerMetadataIOExceptionpublic Compute.Instances.PerformMaintenance performMaintenance(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.IOExceptionpublic Compute.Instances.RemoveResourcePolicies removeResourcePolicies(String project, String zone, String instance, InstancesRemoveResourcePoliciesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.zone - The name of the zone for this request.instance - The instance name for this request.content - the InstancesRemoveResourcePoliciesRequestIOExceptionpublic Compute.Instances.Reset reset(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.IOExceptionpublic Compute.Instances.Resume resume(String project, String zone, String instance, InstancesResumeRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance resource to resume.content - the InstancesResumeRequestIOExceptionpublic Compute.Instances.SendDiagnosticInterrupt sendDiagnosticInterrupt(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.IOExceptionpublic Compute.Instances.SetDeletionProtection setDeletionProtection(String project, String zone, String resource) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.zone - The name of the zone for this request.resource - Name or id of the resource for this request.IOExceptionpublic Compute.Instances.SetDiskAutoDelete setDiskAutoDelete(String project, String zone, String instance, Boolean autoDelete, String deviceName) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - The instance name for this request.autoDelete - Whether to auto-delete the disk when the instance is deleted.deviceName - The device name of the disk to modify. Make a get() request on the instance to view currently
attached disks and device names.IOExceptionpublic Compute.Instances.SetIamPolicy setIamPolicy(String project, String zone, String resource, ZoneSetPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.resource - Name or id of the resource for this request.content - the ZoneSetPolicyRequestIOExceptionpublic Compute.Instances.SetLabels setLabels(String project, String zone, String instance, InstancesSetLabelsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.content - the InstancesSetLabelsRequestIOExceptionpublic Compute.Instances.SetMachineResources setMachineResources(String project, String zone, String instance, InstancesSetMachineResourcesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.content - the InstancesSetMachineResourcesRequestIOExceptionpublic Compute.Instances.SetMachineType setMachineType(String project, String zone, String instance, InstancesSetMachineTypeRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.content - the InstancesSetMachineTypeRequestIOExceptionpublic Compute.Instances.SetMetadata setMetadata(String project, String zone, String instance, Metadata content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.content - the MetadataIOExceptionpublic Compute.Instances.SetMinCpuPlatform setMinCpuPlatform(String project, String zone, String instance, InstancesSetMinCpuPlatformRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.content - the InstancesSetMinCpuPlatformRequestIOExceptionpublic Compute.Instances.SetName setName(String project, String zone, String instance, InstancesSetNameRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - The instance name for this request.content - the InstancesSetNameRequestIOExceptionpublic Compute.Instances.SetScheduling setScheduling(String project, String zone, String instance, Scheduling content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Instance name for this request.content - the SchedulingIOExceptionpublic Compute.Instances.SetSecurityPolicy setSecurityPolicy(String project, String zone, String instance, InstancesSetSecurityPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - Name of the zone scoping this request.instance - Name of the Instance resource to which the security policy should be set. The name should conform to
RFC1035.content - the InstancesSetSecurityPolicyRequestIOExceptionpublic Compute.Instances.SetServiceAccount setServiceAccount(String project, String zone, String instance, InstancesSetServiceAccountRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance resource to start.content - the InstancesSetServiceAccountRequestIOExceptionpublic Compute.Instances.SetShieldedInstanceIntegrityPolicy setShieldedInstanceIntegrityPolicy(String project, String zone, String instance, ShieldedInstanceIntegrityPolicy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the
remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name or id of the instance scoping this request.content - the ShieldedInstanceIntegrityPolicyIOExceptionpublic Compute.Instances.SetShieldedVmIntegrityPolicy setShieldedVmIntegrityPolicy(String project, String zone, String instance, ShieldedVmIntegrityPolicy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.content - the ShieldedVmIntegrityPolicyIOExceptionpublic Compute.Instances.SetTags setTags(String project, String zone, String instance, Tags content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.content - the TagsIOExceptionpublic Compute.Instances.SimulateMaintenanceEvent simulateMaintenanceEvent(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.IOExceptionpublic Compute.Instances.Start start(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance resource to start.IOExceptionpublic Compute.Instances.StartWithEncryptionKey startWithEncryptionKey(String project, String zone, String instance, InstancesStartWithEncryptionKeyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance resource to start.content - the InstancesStartWithEncryptionKeyRequestIOExceptionpublic Compute.Instances.Stop stop(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance resource to stop.IOExceptionpublic Compute.Instances.Suspend suspend(String project, String zone, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance resource to suspend.IOExceptionpublic Compute.Instances.TestIamPermissions testIamPermissions(String project, String zone, String resource, TestPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.resource - Name or id of the resource for this request.content - the TestPermissionsRequestIOExceptionpublic Compute.Instances.Update update(String project, String zone, String instance, Instance content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance resource to update.content - the InstanceIOExceptionpublic Compute.Instances.UpdateAccessConfig updateAccessConfig(String project, String zone, String instance, String networkInterface, AccessConfig content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - The instance name for this request.networkInterface - The name of the network interface where the access config is attached.content - the AccessConfigIOExceptionpublic Compute.Instances.UpdateDisplayDevice updateDisplayDevice(String project, String zone, String instance, DisplayDevice content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.content - the DisplayDeviceIOExceptionpublic Compute.Instances.UpdateNetworkInterface updateNetworkInterface(String project, String zone, String instance, String networkInterface, NetworkInterface content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.zone - The name of the zone for this request.instance - The instance name for this request.networkInterface - The name of the network interface to update.content - the NetworkInterfaceIOExceptionpublic Compute.Instances.UpdateShieldedInstanceConfig updateShieldedInstanceConfig(String project, String zone, String instance, ShieldedInstanceConfig content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name or id of the instance scoping this request.content - the ShieldedInstanceConfigIOExceptionpublic Compute.Instances.UpdateShieldedVmConfig updateShieldedVmConfig(String project, String zone, String instance, ShieldedVmConfig content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.content - the ShieldedVmConfigIOExceptionCopyright © 2011–2024 Google. All rights reserved.