Class: Google::Apis::GkeonpremV1::BareMetalAdminOsEnvironmentConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalAdminOsEnvironmentConfig
- 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
Specifies operating system operation settings for cluster provisioning.
Instance Attribute Summary collapse
-
#package_repo_excluded ⇒ Boolean
(also: #package_repo_excluded?)
Whether the package repo should be added when initializing bare metal machines.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalAdminOsEnvironmentConfig
constructor
A new instance of BareMetalAdminOsEnvironmentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalAdminOsEnvironmentConfig
Returns a new instance of BareMetalAdminOsEnvironmentConfig.
611 612 613 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 611 def initialize(**args) update!(**args) end |
Instance Attribute Details
#package_repo_excluded ⇒ Boolean Also known as: package_repo_excluded?
Whether the package repo should be added when initializing bare metal machines.
Corresponds to the JSON property packageRepoExcluded
608 609 610 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 608 def package_repo_excluded @package_repo_excluded end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
616 617 618 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 616 def update!(**args) @package_repo_excluded = args[:package_repo_excluded] if args.key?(:package_repo_excluded) end |