Class: Google::Apis::ContaineranalysisV1::SecretStatus

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

The status of the secret with a timestamp.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecretStatus

Returns a new instance of SecretStatus.



6817
6818
6819
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 6817

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

Instance Attribute Details

#messageString

Optional. Optional message about the status code. Corresponds to the JSON property message

Returns:

  • (String)


6805
6806
6807
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 6805

def message
  @message
end

#statusString

Optional. The status of the secret. Corresponds to the JSON property status

Returns:

  • (String)


6810
6811
6812
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 6810

def status
  @status
end

#update_timeString

Optional. The time the secret status was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


6815
6816
6817
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 6815

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6822
6823
6824
6825
6826
# File 'lib/google/apis/containeranalysis_v1/classes.rb', line 6822

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