Class: Google::Apis::ContaineranalysisV1beta1::BatchCreateOccurrencesRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::BatchCreateOccurrencesRequest
- Defined in:
- generated/google/apis/containeranalysis_v1beta1/classes.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb,
generated/google/apis/containeranalysis_v1beta1/representations.rb
Overview
Request to create occurrences in batch.
Instance Attribute Summary collapse
-
#occurrences ⇒ Array<Google::Apis::ContaineranalysisV1beta1::Occurrence>
The occurrences to create.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchCreateOccurrencesRequest
constructor
A new instance of BatchCreateOccurrencesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ BatchCreateOccurrencesRequest
Returns a new instance of BatchCreateOccurrencesRequest
340 341 342 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 340 def initialize(**args) update!(**args) end |
Instance Attribute Details
#occurrences ⇒ Array<Google::Apis::ContaineranalysisV1beta1::Occurrence>
The occurrences to create. Max allowed length is 1000.
Corresponds to the JSON property occurrences
338 339 340 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 338 def occurrences @occurrences end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
345 346 347 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 345 def update!(**args) @occurrences = args[:occurrences] if args.key?(:occurrences) end |