Class: Google::Apis::ContaineranalysisV1beta1::BatchCreateNotesResponse

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

Response for creating notes in batch.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchCreateNotesResponse

Returns a new instance of BatchCreateNotesResponse.



249
250
251
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 249

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

Instance Attribute Details

#notesArray<Google::Apis::ContaineranalysisV1beta1::Note>

The notes that were created. Corresponds to the JSON property notes



247
248
249
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 247

def notes
  @notes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



254
255
256
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 254

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