Class: Google::Apis::ClouddeployV1::SkaffoldSupportedCondition

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb

Overview

SkaffoldSupportedCondition contains information about when support for the release's version of Skaffold ends.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SkaffoldSupportedCondition

Returns a new instance of SkaffoldSupportedCondition.



4743
4744
4745
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4743

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

Instance Attribute Details

#maintenance_mode_timeString

The time at which this release's version of Skaffold will enter maintenance mode. Corresponds to the JSON property maintenanceModeTime

Returns:

  • (String)


4724
4725
4726
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4724

def maintenance_mode_time
  @maintenance_mode_time
end

#skaffold_support_stateString

The Skaffold support state for this release's version of Skaffold. Corresponds to the JSON property skaffoldSupportState

Returns:

  • (String)


4729
4730
4731
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4729

def skaffold_support_state
  @skaffold_support_state
end

#statusBoolean Also known as: status?

True if the version of Skaffold used by this release is supported. Corresponds to the JSON property status

Returns:

  • (Boolean)


4734
4735
4736
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4734

def status
  @status
end

#support_expiration_timeString

The time at which this release's version of Skaffold will no longer be supported. Corresponds to the JSON property supportExpirationTime

Returns:

  • (String)


4741
4742
4743
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4741

def support_expiration_time
  @support_expiration_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4748
4749
4750
4751
4752
4753
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 4748

def update!(**args)
  @maintenance_mode_time = args[:maintenance_mode_time] if args.key?(:maintenance_mode_time)
  @skaffold_support_state = args[:skaffold_support_state] if args.key?(:skaffold_support_state)
  @status = args[:status] if args.key?(:status)
  @support_expiration_time = args[:support_expiration_time] if args.key?(:support_expiration_time)
end