Class: Google::Apis::ClouddeployV1::SkaffoldVersion

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

Details of a supported Skaffold version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SkaffoldVersion

Returns a new instance of SkaffoldVersion.



5596
5597
5598
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5596

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

Instance Attribute Details

#maintenance_mode_timeString

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

Returns:

  • (String)


5572
5573
5574
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5572

def maintenance_mode_time
  @maintenance_mode_time
end

#support_end_dateGoogle::Apis::ClouddeployV1::Date

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type. TimeOfDay * google.type.DateTime * google.protobuf.Timestamp Corresponds to the JSON property supportEndDate



5584
5585
5586
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5584

def support_end_date
  @support_end_date
end

#support_expiration_timeString

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

Returns:

  • (String)


5589
5590
5591
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5589

def support_expiration_time
  @support_expiration_time
end

#versionString

Release version number. For example, "1.20.3". Corresponds to the JSON property version

Returns:

  • (String)


5594
5595
5596
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5594

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5601
5602
5603
5604
5605
5606
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5601

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