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.



319
320
321
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 319

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



317
318
319
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 317

def occurrences
  @occurrences
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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