Class: Google::Apis::ContaineranalysisV1beta1::BatchCreateOccurrencesResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/containeranalysis_v1beta1/classes.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb,
generated/google/apis/containeranalysis_v1beta1/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.



287
288
289
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 287

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

Instance Attribute Details

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

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



285
286
287
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 285

def occurrences
  @occurrences
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



292
293
294
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 292

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