Class: Google::Apis::ContaineranalysisV1beta1::BatchCreateNotesRequest

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

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.



326
327
328
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 326

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

Instance Attribute Details

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

Required. The notes to create, the key is expected to be the note ID. Max allowed length is 1000. Corresponds to the JSON property notes



324
325
326
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 324

def notes
  @notes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



331
332
333
# File 'lib/google/apis/containeranalysis_v1beta1/classes.rb', line 331

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