Class: Google::Apis::ContainerV1::WindowsNodeConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb

Overview

Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WindowsNodeConfig

Returns a new instance of WindowsNodeConfig.



7956
7957
7958
# File 'lib/google/apis/container_v1/classes.rb', line 7956

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

Instance Attribute Details

#os_versionString

OSVersion specifies the Windows node config to be used on the node Corresponds to the JSON property osVersion

Returns:

  • (String)


7954
7955
7956
# File 'lib/google/apis/container_v1/classes.rb', line 7954

def os_version
  @os_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7961
7962
7963
# File 'lib/google/apis/container_v1/classes.rb', line 7961

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