Class: Google::Apis::ContaineranalysisV1::BatchCreateNotesRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContaineranalysisV1::BatchCreateNotesRequest
- 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
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.
Constructor Details
#initialize(**args) ⇒ BatchCreateNotesRequest
Returns a new instance of BatchCreateNotesRequest.
270 271 272 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 270 def initialize(**args) update!(**args) end |
Instance Attribute Details
#notes ⇒ Hash<String,Google::Apis::ContaineranalysisV1::Note>
Required. The notes to create. Max allowed length is 1000.
Corresponds to the JSON property notes
268 269 270 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 268 def notes @notes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
275 276 277 |
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 275 def update!(**args) @notes = args[:notes] if args.key?(:notes) end |