Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersionVersion
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesKernelVersionVersion
- 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
Version is reported as Major.Minor.Build.Patch.
Instance Attribute Summary collapse
-
#build ⇒ Fixnum
Optional.
-
#major ⇒ Fixnum
Optional.
-
#minor ⇒ Fixnum
Optional.
-
#patch ⇒ Fixnum
Optional.
-
#remainder ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SapDiscoveryResourceInstancePropertiesKernelVersionVersion
constructor
A new instance of SapDiscoveryResourceInstancePropertiesKernelVersionVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SapDiscoveryResourceInstancePropertiesKernelVersionVersion
Returns a new instance of SapDiscoveryResourceInstancePropertiesKernelVersionVersion.
3128 3129 3130 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3128 def initialize(**args) update!(**args) end |
Instance Attribute Details
#build ⇒ Fixnum
Optional. The build version number.
Corresponds to the JSON property build
3105 3106 3107 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3105 def build @build end |
#major ⇒ Fixnum
Optional. The major version number.
Corresponds to the JSON property major
3110 3111 3112 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3110 def major @major end |
#minor ⇒ Fixnum
Optional. The minor version number.
Corresponds to the JSON property minor
3115 3116 3117 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3115 def minor @minor end |
#patch ⇒ Fixnum
Optional. The patch version number.
Corresponds to the JSON property patch
3120 3121 3122 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3120 def patch @patch end |
#remainder ⇒ String
Optional. A catch-all for any unparsed version components. This is in case the
number of points in the version string exceeds the expected count of 4.
Corresponds to the JSON property remainder
3126 3127 3128 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3126 def remainder @remainder end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3133 3134 3135 3136 3137 3138 3139 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3133 def update!(**args) @build = args[:build] if args.key?(:build) @major = args[:major] if args.key?(:major) @minor = args[:minor] if args.key?(:minor) @patch = args[:patch] if args.key?(:patch) @remainder = args[:remainder] if args.key?(:remainder) end |