Class: Google::Apis::GkeonpremV1::BareMetalApiServerArgument
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalApiServerArgument
- 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 more...
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
-
#argument ⇒ String
Required.
-
#value ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalApiServerArgument
constructor
A new instance of BareMetalApiServerArgument.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalApiServerArgument
Returns a new instance of BareMetalApiServerArgument.
773 774 775 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 773 def initialize(**args) update!(**args) end |
Instance Attribute Details
#argument ⇒ String
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
765 766 767 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 765 def argument @argument end |
#value ⇒ String
Required. The value of the arg as it will be passed to the API Server command
line.
Corresponds to the JSON property value
771 772 773 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 771 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
778 779 780 781 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 778 def update!(**args) @argument = args[:argument] if args.key?(:argument) @value = args[:value] if args.key?(:value) end |