Class: Google::Apis::GkeonpremV1::BareMetalApiServerArgument

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

Overview

Represents an arg name->value pair. Only a subset of customized flags are supported. For the exact format, refer to the API server documentation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BareMetalApiServerArgument

Returns a new instance of BareMetalApiServerArgument.



958
959
960
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 958

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

Instance Attribute Details

#argumentString

Required. The argument name as it appears on the API Server command line, make sure to remove the leading dashes. Corresponds to the JSON property argument

Returns:

  • (String)


950
951
952
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 950

def argument
  @argument
end

#valueString

Required. The value of the arg as it will be passed to the API Server command line. Corresponds to the JSON property value

Returns:

  • (String)


956
957
958
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 956

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



963
964
965
966
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 963

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