Class: Google::Apis::ComputeV1::CustomerEncryptionKeyProtectedDisk
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComputeV1::CustomerEncryptionKeyProtectedDisk
 
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
 generated/google/apis/compute_v1/representations.rb,
 generated/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #disk_encryption_key  ⇒ Google::Apis::ComputeV1::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
| 3245 3246 3247 | # File 'generated/google/apis/compute_v1/classes.rb', line 3245 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#disk_encryption_key ⇒ Google::Apis::ComputeV1::CustomerEncryptionKey
Represents a customer-supplied encryption key
Corresponds to the JSON property diskEncryptionKey
| 3237 3238 3239 | # File 'generated/google/apis/compute_v1/classes.rb', line 3237 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
| 3243 3244 3245 | # File 'generated/google/apis/compute_v1/classes.rb', line 3243 def source @source end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3250 3251 3252 3253 | # File 'generated/google/apis/compute_v1/classes.rb', line 3250 def update!(**args) @disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key) @source = args[:source] if args.key?(:source) end |