Class: Google::Apis::GkeonpremV1::BareMetalOsEnvironmentConfig

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

Specifies operating system settings for cluster provisioning.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_excludedBoolean 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

Returns:

  • (Boolean)


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