Class: Google::Apis::OndemandscanningV1beta1::BuildMetadata
- Inherits:
-
Object
- Object
- Google::Apis::OndemandscanningV1beta1::BuildMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ondemandscanning_v1beta1/classes.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb,
lib/google/apis/ondemandscanning_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#finished_on ⇒ String
Corresponds to the JSON property
finishedOn
. -
#invocation_id ⇒ String
Corresponds to the JSON property
invocationId
. -
#started_on ⇒ String
Corresponds to the JSON property
startedOn
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BuildMetadata
constructor
A new instance of BuildMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BuildMetadata
Returns a new instance of BuildMetadata.
360 361 362 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 360 def initialize(**args) update!(**args) end |
Instance Attribute Details
#finished_on ⇒ String
Corresponds to the JSON property finishedOn
348 349 350 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 348 def finished_on @finished_on end |
#invocation_id ⇒ String
Corresponds to the JSON property invocationId
353 354 355 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 353 def invocation_id @invocation_id end |
#started_on ⇒ String
Corresponds to the JSON property startedOn
358 359 360 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 358 def started_on @started_on end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
365 366 367 368 369 |
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 365 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 |