Class: Google::Apis::CloudsearchV1::OsVersion
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::OsVersion
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#major_version ⇒ Fixnum
Corresponds to the JSON property
majorVersion. -
#minor_version ⇒ Fixnum
Corresponds to the JSON property
minorVersion. -
#tertiary_version ⇒ Fixnum
Corresponds to the JSON property
tertiaryVersion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OsVersion
constructor
A new instance of OsVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OsVersion
Returns a new instance of OsVersion.
14505 14506 14507 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14505 def initialize(**args) update!(**args) end |
Instance Attribute Details
#major_version ⇒ Fixnum
Corresponds to the JSON property majorVersion
14493 14494 14495 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14493 def major_version @major_version end |
#minor_version ⇒ Fixnum
Corresponds to the JSON property minorVersion
14498 14499 14500 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14498 def minor_version @minor_version end |
#tertiary_version ⇒ Fixnum
Corresponds to the JSON property tertiaryVersion
14503 14504 14505 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14503 def tertiary_version @tertiary_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14510 14511 14512 14513 14514 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14510 def update!(**args) @major_version = args[:major_version] if args.key?(:major_version) @minor_version = args[:minor_version] if args.key?(:minor_version) @tertiary_version = args[:tertiary_version] if args.key?(:tertiary_version) end |