Class: Google::Apis::ContaineranalysisV1::BuildMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BuildMetadata

Returns a new instance of BuildMetadata.



581
582
583
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 581

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

Instance Attribute Details

#finished_onString

Corresponds to the JSON property finishedOn

Returns:

  • (String)


569
570
571
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 569

def finished_on
  @finished_on
end

#invocation_idString

Corresponds to the JSON property invocationId

Returns:

  • (String)


574
575
576
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 574

def invocation_id
  @invocation_id
end

#started_onString

Corresponds to the JSON property startedOn

Returns:

  • (String)


579
580
581
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 579

def started_on
  @started_on
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



586
587
588
589
590
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 586

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