Class: Google::Apis::ContaineranalysisV1::BatchCreateNotesRequest

Inherits:
Object
  • Object
show all
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

Constructor Details

#initialize(**args) ⇒ BatchCreateNotesRequest

Returns a new instance of BatchCreateNotesRequest.



174
175
176
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 174

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

Instance Attribute Details

#notesHash<String,Google::Apis::ContaineranalysisV1::Note>

Required. The notes to create. Max allowed length is 1000. Corresponds to the JSON property notes

Returns:



172
173
174
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 172

def notes
  @notes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



179
180
181
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 179

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