Class: Google::Apis::ContaineranalysisV1beta1::GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata

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

Metadata for all operations used and required for all operations that created by Container Analysis Providers

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) ⇒ GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata

Returns a new instance of GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata.



1450
1451
1452
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1450

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

Instance Attribute Details

#create_timeString

Output only. The time this operation was created. Corresponds to the JSON property createTime

Returns:

  • (String)


1443
1444
1445
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1443

def create_time
  @create_time
end

#end_timeString

Output only. The time that this operation was marked completed or failed. Corresponds to the JSON property endTime

Returns:

  • (String)


1448
1449
1450
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1448

def end_time
  @end_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1455
1456
1457
1458
# File 'generated/google/apis/containeranalysis_v1beta1/classes.rb', line 1455

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