Class: Google::Apis::ContaineranalysisV1beta1::BatchCreateNotesRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1beta1::BatchCreateNotesRequest
- 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 notes in batch.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchCreateNotesRequest
constructor
A new instance of BatchCreateNotesRequest.
-
#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) ⇒ BatchCreateNotesRequest
Returns a new instance of BatchCreateNotesRequest.
195 196 197 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 195 def initialize(**args) update!(**args) end |
Instance Attribute Details
#notes ⇒ Hash<String,Google::Apis::ContaineranalysisV1beta1::Note>
Required. The notes to create. Max allowed length is 1000.
Corresponds to the JSON property notes
193 194 195 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 193 def notes @notes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
200 201 202 |
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 200 def update!(**args) @notes = args[:notes] if args.key?(:notes) end |