All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.Compute.Instances.SetDiskAutoDelete.html Maven / Gradle / Ivy







Compute.Instances.SetDiskAutoDelete (Compute Engine API v1-rev20200104-1.30.8)












com.google.api.services.compute

Class Compute.Instances.SetDiskAutoDelete

    • Constructor Detail

      • SetDiskAutoDelete

        protected SetDiskAutoDelete(String project,
                                    String zone,
                                    String instance,
                                    Boolean autoDelete,
                                    String deviceName)
        Sets the auto-delete flag for a disk attached to an instance. Create a request for the method "instances.setDiskAutoDelete". This request holds the parameters needed by the the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

        SetDiskAutoDelete#initialize(com.google.api.client.googleapis.services.AbstractGoogl eClientRequest) must be called to initialize this instance immediately after invoking the constructor.

        Parameters:
        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.
        Since:
        1.13

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy