Class: Google::Apis::ContainerV1beta1::WindowsVersion

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WindowsVersion

Returns a new instance of WindowsVersion.



7344
7345
7346
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7344

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

Instance Attribute Details

#image_typeString

Windows server image type Corresponds to the JSON property imageType

Returns:

  • (String)


7325
7326
7327
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7325

def image_type
  @image_type
end

#os_versionString

Windows server build number Corresponds to the JSON property osVersion

Returns:

  • (String)


7330
7331
7332
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7330

def os_version
  @os_version
end

#support_end_dateGoogle::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, 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



7342
7343
7344
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7342

def support_end_date
  @support_end_date
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7349
7350
7351
7352
7353
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7349

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