Class: Google::Apis::GkeonpremV1::BareMetalOsEnvironmentConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalOsEnvironmentConfig
- 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 settings for cluster provisioning.
Instance Attribute Summary collapse
-
#package_repo_excluded ⇒ Boolean
(also: #package_repo_excluded?)
Whether the package repo should not be included when initializing bare metal machines.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalOsEnvironmentConfig
constructor
A new instance of BareMetalOsEnvironmentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalOsEnvironmentConfig
Returns a new instance of BareMetalOsEnvironmentConfig.
1866 1867 1868 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1866 def initialize(**args) update!(**args) end |
Instance Attribute Details
#package_repo_excluded ⇒ Boolean Also known as: package_repo_excluded?
Whether the package repo should not be included when initializing bare metal
machines.
Corresponds to the JSON property packageRepoExcluded
1863 1864 1865 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1863 def package_repo_excluded @package_repo_excluded end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1871 1872 1873 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1871 def update!(**args) @package_repo_excluded = args[:package_repo_excluded] if args.key?(:package_repo_excluded) end |