Class: Google::Apis::ContainerV1beta1::WindowsVersion
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::WindowsVersion
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb
Overview
Windows server version.
Instance Attribute Summary collapse
-
#image_type ⇒ String
Windows server image type Corresponds to the JSON property
imageType. -
#os_version ⇒ String
Windows server build number Corresponds to the JSON property
osVersion. -
#support_end_date ⇒ Google::Apis::ContainerV1beta1::Date
Represents a whole or partial calendar date, such as a birthday.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WindowsVersion
constructor
A new instance of WindowsVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WindowsVersion
Returns a new instance of WindowsVersion.
5470 5471 5472 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5470 def initialize(**args) update!(**args) end |
Instance Attribute Details
#image_type ⇒ String
Windows server image type
Corresponds to the JSON property imageType
5451 5452 5453 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5451 def image_type @image_type end |
#os_version ⇒ String
Windows server build number
Corresponds to the JSON property osVersion
5456 5457 5458 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5456 def os_version @os_version end |
#support_end_date ⇒ Google::Apis::ContainerV1beta1::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
5468 5469 5470 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5468 def support_end_date @support_end_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5475 5476 5477 5478 5479 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5475 def update!(**args) @image_type = args[:image_type] if args.key?(:image_type) @os_version = args[:os_version] if args.key?(:os_version) @support_end_date = args[:support_end_date] if args.key?(:support_end_date) end |