Class: Google::Apis::ArtifactregistryV1::UploadFileRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ArtifactregistryV1::UploadFileRequest
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/artifactregistry_v1/classes.rb,
lib/google/apis/artifactregistry_v1/representations.rb,
lib/google/apis/artifactregistry_v1/representations.rb 
Overview
The request to upload a file.
Instance Attribute Summary collapse
- 
  
    
      #file_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UploadFileRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of UploadFileRequest.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ UploadFileRequest
Returns a new instance of UploadFileRequest.
      2829 2830 2831  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2829 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#file_id ⇒ String
Optional. The ID of the file. If left empty will default to sha256 digest of
the content uploaded.
Corresponds to the JSON property fileId
      2827 2828 2829  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2827 def file_id @file_id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2834 2835 2836  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2834 def update!(**args) @file_id = args[:file_id] if args.key?(:file_id) end  |