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.



1448
1449
1450
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1448

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

Instance Attribute Details

#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 value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and google.protobuf.Timestamp. Corresponds to the JSON property supportEndDate



1441
1442
1443
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1441

def support_end_date
  @support_end_date
end

#versionString

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

Returns:

  • (String)


1446
1447
1448
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1446

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1453
1454
1455
1456
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1453

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