Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersion

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb

Overview

KernelVersion encapsulates the kernel version data for the system.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SapDiscoveryResourceInstancePropertiesKernelVersion

Returns a new instance of SapDiscoveryResourceInstancePropertiesKernelVersion.



3084
3085
3086
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3084

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#distro_kernelGoogle::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersionVersion

Version is reported as Major.Minor.Build.Patch. Corresponds to the JSON property distroKernel



3072
3073
3074
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3072

def distro_kernel
  @distro_kernel
end

#os_kernelGoogle::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersionVersion

Version is reported as Major.Minor.Build.Patch. Corresponds to the JSON property osKernel



3077
3078
3079
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3077

def os_kernel
  @os_kernel
end

#raw_stringString

Optional. Raw string of the kernel version. Corresponds to the JSON property rawString

Returns:

  • (String)


3082
3083
3084
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3082

def raw_string
  @raw_string
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3089
3090
3091
3092
3093
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3089

def update!(**args)
  @distro_kernel = args[:distro_kernel] if args.key?(:distro_kernel)
  @os_kernel = args[:os_kernel] if args.key?(:os_kernel)
  @raw_string = args[:raw_string] if args.key?(:raw_string)
end