Class: Google::Apis::ComputeAlpha::CustomerEncryptionKeyProtectedDisk
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComputeAlpha::CustomerEncryptionKeyProtectedDisk
 
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
 generated/google/apis/compute_alpha/representations.rb,
 generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #disk_encryption_key  ⇒ Google::Apis::ComputeAlpha::CustomerEncryptionKey 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Represents a customer-supplied encryption key Corresponds to the JSON property diskEncryptionKey.
- 
  
    
      #source  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Specifies a valid partial or full URL to an existing Persistent Disk resource. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CustomerEncryptionKeyProtectedDisk 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CustomerEncryptionKeyProtectedDisk. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ CustomerEncryptionKeyProtectedDisk
Returns a new instance of CustomerEncryptionKeyProtectedDisk
| 3941 3942 3943 | # File 'generated/google/apis/compute_alpha/classes.rb', line 3941 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#disk_encryption_key ⇒ Google::Apis::ComputeAlpha::CustomerEncryptionKey
Represents a customer-supplied encryption key
Corresponds to the JSON property diskEncryptionKey
| 3933 3934 3935 | # File 'generated/google/apis/compute_alpha/classes.rb', line 3933 def disk_encryption_key @disk_encryption_key end | 
#source ⇒ String
Specifies a valid partial or full URL to an existing Persistent Disk resource.
This field is only applicable for persistent disks.
Corresponds to the JSON property source
| 3939 3940 3941 | # File 'generated/google/apis/compute_alpha/classes.rb', line 3939 def source @source end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3946 3947 3948 3949 | # File 'generated/google/apis/compute_alpha/classes.rb', line 3946 def update!(**args) @disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key) @source = args[:source] if args.key?(:source) end |