Class: Google::Apis::VaultV1::CloudStorageFile
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::VaultV1::CloudStorageFile
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/vault_v1/classes.rb,
generated/google/apis/vault_v1/representations.rb,
generated/google/apis/vault_v1/representations.rb 
Overview
An export file on cloud storage
Instance Attribute Summary collapse
- 
  
    
      #bucket_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The cloud storage bucket name of this export file.
 - 
  
    
      #md5_hash  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The md5 hash of the file.
 - 
  
    
      #object_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The cloud storage object name of this export file.
 - 
  
    
      #size  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The size of the export file.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CloudStorageFile 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CloudStorageFile.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CloudStorageFile
Returns a new instance of CloudStorageFile
      253 254 255  | 
    
      # File 'generated/google/apis/vault_v1/classes.rb', line 253 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#bucket_name ⇒ String
The cloud storage bucket name of this export file.
Can be used in cloud storage JSON/XML API.
Corresponds to the JSON property bucketName
      235 236 237  | 
    
      # File 'generated/google/apis/vault_v1/classes.rb', line 235 def bucket_name @bucket_name end  | 
  
#md5_hash ⇒ String
The md5 hash of the file.
Corresponds to the JSON property md5Hash
      240 241 242  | 
    
      # File 'generated/google/apis/vault_v1/classes.rb', line 240 def md5_hash @md5_hash end  | 
  
#object_name ⇒ String
The cloud storage object name of this export file.
Can be used in cloud storage JSON/XML API.
Corresponds to the JSON property objectName
      246 247 248  | 
    
      # File 'generated/google/apis/vault_v1/classes.rb', line 246 def object_name @object_name end  | 
  
#size ⇒ Fixnum
The size of the export file.
Corresponds to the JSON property size
      251 252 253  | 
    
      # File 'generated/google/apis/vault_v1/classes.rb', line 251 def size @size end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      258 259 260 261 262 263  | 
    
      # File 'generated/google/apis/vault_v1/classes.rb', line 258 def update!(**args) @bucket_name = args[:bucket_name] if args.key?(:bucket_name) @md5_hash = args[:md5_hash] if args.key?(:md5_hash) @object_name = args[:object_name] if args.key?(:object_name) @size = args[:size] if args.key?(:size) end  |