Class: Google::Apis::CloudfunctionsV1beta2::GenerateUploadUrlResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CloudfunctionsV1beta2::GenerateUploadUrlResponse
 
- Defined in:
- generated/google/apis/cloudfunctions_v1beta2/classes.rb,
 generated/google/apis/cloudfunctions_v1beta2/representations.rb,
 generated/google/apis/cloudfunctions_v1beta2/representations.rb
Overview
Response of GenerateUploadUrl method.
Instance Attribute Summary collapse
- 
  
    
      #upload_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The generated Google Cloud Storage signed URL that should be used for a function source code upload. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GenerateUploadUrlResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GenerateUploadUrlResponse. 
- 
  
    
      #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) ⇒ GenerateUploadUrlResponse
Returns a new instance of GenerateUploadUrlResponse
| 362 363 364 | # File 'generated/google/apis/cloudfunctions_v1beta2/classes.rb', line 362 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#upload_url ⇒ String
The generated Google Cloud Storage signed URL that should be used for a
function source code upload. The uploaded file should be a zip archive
which contains a function.
Corresponds to the JSON property uploadUrl
| 360 361 362 | # File 'generated/google/apis/cloudfunctions_v1beta2/classes.rb', line 360 def upload_url @upload_url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 367 368 369 | # File 'generated/google/apis/cloudfunctions_v1beta2/classes.rb', line 367 def update!(**args) @upload_url = args[:upload_url] if args.key?(:upload_url) end |