Class: Google::Apis::ContaineranalysisV1::BatchCreateOccurrencesResponse

Inherits:
Object
  • Object
show all
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

Response for creating occurrences in batch.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchCreateOccurrencesResponse

Returns a new instance of BatchCreateOccurrencesResponse.



327
328
329
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 327

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#occurrencesArray<Google::Apis::ContaineranalysisV1::Occurrence>

The occurrences that were created. Corresponds to the JSON property occurrences



325
326
327
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 325

def occurrences
  @occurrences
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



332
333
334
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 332

def update!(**args)
  @occurrences = args[:occurrences] if args.key?(:occurrences)
end