Class: Google::Apis::ContaineranalysisV1::GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata

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

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

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata

Returns a new instance of GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata.



3931
3932
3933
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3931

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)


3924
3925
3926
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3924

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)


3929
3930
3931
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3929

def end_time
  @end_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3936
3937
3938
3939
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 3936

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