Class: Google::Apis::OndemandscanningV1beta1::SecretStatus

Inherits:
Object
  • Object
show all
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

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.



3301
3302
3303
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3301

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)


3289
3290
3291
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3289

def message
  @message
end

#statusString

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

Returns:

  • (String)


3294
3295
3296
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3294

def status
  @status
end

#update_timeString

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

Returns:

  • (String)


3299
3300
3301
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3299

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3306
3307
3308
3309
3310
# File 'lib/google/apis/ondemandscanning_v1beta1/classes.rb', line 3306

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