Class: Google::Apis::CloudsearchV1::OsVersion

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OsVersion

Returns a new instance of OsVersion.



14994
14995
14996
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14994

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

Instance Attribute Details

#major_versionFixnum

Corresponds to the JSON property majorVersion

Returns:

  • (Fixnum)


14982
14983
14984
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14982

def major_version
  @major_version
end

#minor_versionFixnum

Corresponds to the JSON property minorVersion

Returns:

  • (Fixnum)


14987
14988
14989
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14987

def minor_version
  @minor_version
end

#tertiary_versionFixnum

Corresponds to the JSON property tertiaryVersion

Returns:

  • (Fixnum)


14992
14993
14994
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14992

def tertiary_version
  @tertiary_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14999
15000
15001
15002
15003
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14999

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