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

target.apidocs.com.google.api.services.compute.model.LocalDisk.html Maven / Gradle / Ivy

There is a newer version: v1-rev20240903-2.0.0
Show newest version






LocalDisk (Compute Engine API v1-rev20240919-2.0.0)












com.google.api.services.compute.model

Class LocalDisk

    • Constructor Detail

      • LocalDisk

        public LocalDisk()
    • Method Detail

      • getDiskCount

        public Integer getDiskCount()
        Specifies the number of such disks.
        Returns:
        value or null for none
      • setDiskCount

        public LocalDisk setDiskCount(Integer diskCount)
        Specifies the number of such disks.
        Parameters:
        diskCount - diskCount or null for none
      • getDiskSizeGb

        public Integer getDiskSizeGb()
        Specifies the size of the disk in base-2 GB.
        Returns:
        value or null for none
      • setDiskSizeGb

        public LocalDisk setDiskSizeGb(Integer diskSizeGb)
        Specifies the size of the disk in base-2 GB.
        Parameters:
        diskSizeGb - diskSizeGb or null for none
      • getDiskType

        public String getDiskType()
        Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL.
        Returns:
        value or null for none
      • setDiskType

        public LocalDisk setDiskType(String diskType)
        Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL.
        Parameters:
        diskType - diskType or null for none
      • set

        public LocalDisk set(String fieldName,
                             Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public LocalDisk clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy