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

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

The newest version!






Image.RawDisk (Compute Engine API v1-rev20250320-2.0.0)












com.google.api.services.compute.model

Class Image.RawDisk

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>
    Enclosing class:
    Image


    public static final class Image.RawDisk
    extends com.google.api.client.json.GenericJson
    The parameters of the raw disk image.
    • Constructor Detail

      • RawDisk

        public RawDisk()
    • Method Detail

      • getContainerType

        public String getContainerType()
        The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.
        Returns:
        value or null for none
      • setContainerType

        public Image.RawDisk setContainerType(String containerType)
        The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.
        Parameters:
        containerType - containerType or null for none
      • getSha1Checksum

        public String getSha1Checksum()
        [Deprecated] This field is deprecated. An optional SHA1 checksum of the disk image before unpackaging provided by the client when the disk image is created.
        Returns:
        value or null for none
      • setSha1Checksum

        public Image.RawDisk setSha1Checksum(String sha1Checksum)
        [Deprecated] This field is deprecated. An optional SHA1 checksum of the disk image before unpackaging provided by the client when the disk image is created.
        Parameters:
        sha1Checksum - sha1Checksum or null for none
      • getSource

        public String getSource()
        The full Google Cloud Storage URL where the raw disk image archive is stored. The following are valid formats for the URL: - https://storage.googleapis.com/bucket_name/image_archive_name - https://storage.googleapis.com/bucket_name/folder_name/ image_archive_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
        Returns:
        value or null for none
      • setSource

        public Image.RawDisk setSource(String source)
        The full Google Cloud Storage URL where the raw disk image archive is stored. The following are valid formats for the URL: - https://storage.googleapis.com/bucket_name/image_archive_name - https://storage.googleapis.com/bucket_name/folder_name/ image_archive_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
        Parameters:
        source - source or null for none
      • set

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

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

Copyright © 2011–2025 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy