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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BatchCreateNotesRequest

Returns a new instance of BatchCreateNotesRequest



302
303
304
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 302

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

Instance Attribute Details

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

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



300
301
302
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 300

def notes
  @notes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



307
308
309
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 307

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