Interface DataDiskOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    DataDisk, DataDisk.Builder

    public interface DataDiskOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getDiskSizeGb

        long getDiskSizeGb()
         Optional. The size of the disk in GB attached to this VM instance, up to a
         maximum of 64000 GB (64 TB). If not specified, this defaults to 100.
         
        int64 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The diskSizeGb.
      • getDiskTypeValue

        int getDiskTypeValue()
         Optional. Input only. Indicates the type of the disk.
         
        .google.cloud.notebooks.v2.DiskType disk_type = 2 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
        Returns:
        The enum numeric value on the wire for diskType.
      • getDiskType

        DiskType getDiskType()
         Optional. Input only. Indicates the type of the disk.
         
        .google.cloud.notebooks.v2.DiskType disk_type = 2 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
        Returns:
        The diskType.
      • getDiskEncryptionValue

        int getDiskEncryptionValue()
         Optional. Input only. Disk encryption method used on the boot and data
         disks, defaults to GMEK.
         
        .google.cloud.notebooks.v2.DiskEncryption disk_encryption = 5 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
        Returns:
        The enum numeric value on the wire for diskEncryption.
      • getDiskEncryption

        DiskEncryption getDiskEncryption()
         Optional. Input only. Disk encryption method used on the boot and data
         disks, defaults to GMEK.
         
        .google.cloud.notebooks.v2.DiskEncryption disk_encryption = 5 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
        Returns:
        The diskEncryption.
      • getKmsKey

        String getKmsKey()
         Optional. Input only. The KMS key used to encrypt the disks, only
         applicable if disk_encryption is CMEK. Format:
         `projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}`
        
         Learn more about using your own encryption keys.
         
        string kms_key = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
        Returns:
        The kmsKey.
      • getKmsKeyBytes

        com.google.protobuf.ByteString getKmsKeyBytes()
         Optional. Input only. The KMS key used to encrypt the disks, only
         applicable if disk_encryption is CMEK. Format:
         `projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}`
        
         Learn more about using your own encryption keys.
         
        string kms_key = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for kmsKey.