Class: Google::Apis::ContaineranalysisV1beta1::BatchCreateOccurrencesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::BatchCreateOccurrencesResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/containeranalysis_v1beta1/classes.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb,
lib/google/apis/containeranalysis_v1beta1/representations.rb
Overview
Response for creating occurrences in batch.
Instance Attribute Summary collapse
-
#occurrences ⇒ Array<Google::Apis::ContaineranalysisV1beta1::Occurrence>
The occurrences that were created.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchCreateOccurrencesResponse
constructor
A new instance of BatchCreateOccurrencesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchCreateOccurrencesResponse
Returns a new instance of BatchCreateOccurrencesResponse.
383 384 385 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 383 def initialize(**args) update!(**args) end |
Instance Attribute Details
#occurrences ⇒ Array<Google::Apis::ContaineranalysisV1beta1::Occurrence>
The occurrences that were created.
Corresponds to the JSON property occurrences
381 382 383 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 381 def occurrences @occurrences end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
388 389 390 |
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 388 def update!(**args) @occurrences = args[:occurrences] if args.key?(:occurrences) end |