Class: Google::Apis::GkeonpremV1::BareMetalAdminOsEnvironmentConfig

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 operation settings for cluster provisioning.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_excludedBoolean Also known as: package_repo_excluded?

Whether the package repo should be added when initializing bare metal machines. Corresponds to the JSON property packageRepoExcluded

Returns:

  • (Boolean)


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