Class: Google::Apis::ContaineranalysisV1::BatchCreateOccurrencesRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContaineranalysisV1::BatchCreateOccurrencesRequest
 
 
- Includes:
 - Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/containeranalysis_v1/classes.rb,
lib/google/apis/containeranalysis_v1/representations.rb,
lib/google/apis/containeranalysis_v1/representations.rb 
Overview
Request to create occurrences in batch.
Instance Attribute Summary collapse
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ BatchCreateOccurrencesRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of BatchCreateOccurrencesRequest.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ BatchCreateOccurrencesRequest
Returns a new instance of BatchCreateOccurrencesRequest.
      232 233 234  | 
    
      # File 'lib/google/apis/containeranalysis_v1/classes.rb', line 232 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#occurrences ⇒ Array<Google::Apis::ContaineranalysisV1::Occurrence>
Required. The occurrences to create. Max allowed length is 1000.
Corresponds to the JSON property occurrences
      230 231 232  | 
    
      # File 'lib/google/apis/containeranalysis_v1/classes.rb', line 230 def occurrences @occurrences end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      237 238 239  | 
    
      # File 'lib/google/apis/containeranalysis_v1/classes.rb', line 237 def update!(**args) @occurrences = args[:occurrences] if args.key?(:occurrences) end  |