Class: Google::Apis::ClouddeployV1::SkaffoldVersion
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::SkaffoldVersion
- 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
-
#maintenance_mode_time ⇒ String
The time at which this version of Skaffold will enter maintenance mode.
-
#support_end_date ⇒ Google::Apis::ClouddeployV1::Date
Represents a whole or partial calendar date, such as a birthday.
-
#support_expiration_time ⇒ String
The time at which this version of Skaffold will no longer be supported.
-
#version ⇒ String
Release version number.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SkaffoldVersion
constructor
A new instance of SkaffoldVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SkaffoldVersion
Returns a new instance of SkaffoldVersion.
5577 5578 5579 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5577 def initialize(**args) update!(**args) end |
Instance Attribute Details
#maintenance_mode_time ⇒ String
The time at which this version of Skaffold will enter maintenance mode.
Corresponds to the JSON property maintenanceModeTime
5553 5554 5555 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5553 def maintenance_mode_time @maintenance_mode_time end |
#support_end_date ⇒ Google::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
5565 5566 5567 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5565 def support_end_date @support_end_date end |
#support_expiration_time ⇒ String
The time at which this version of Skaffold will no longer be supported.
Corresponds to the JSON property supportExpirationTime
5570 5571 5572 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5570 def support_expiration_time @support_expiration_time end |
#version ⇒ String
Release version number. For example, "1.20.3".
Corresponds to the JSON property version
5575 5576 5577 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5575 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5582 5583 5584 5585 5586 5587 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5582 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 |