Class: Google::Apis::OsconfigV1::InventoryWindowsApplication

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

Overview

Contains information about a Windows application that is retrieved from the Windows Registry. For more information about these fields, see: https://docs. microsoft.com/en-us/windows/win32/msi/uninstall-registry-key

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InventoryWindowsApplication

Returns a new instance of InventoryWindowsApplication.



790
791
792
# File 'lib/google/apis/osconfig_v1/classes.rb', line 790

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

Instance Attribute Details

#display_nameString

The name of the application or product. Corresponds to the JSON property displayName

Returns:

  • (String)


761
762
763
# File 'lib/google/apis/osconfig_v1/classes.rb', line 761

def display_name
  @display_name
end

#display_versionString

The version of the product or application in string format. Corresponds to the JSON property displayVersion

Returns:

  • (String)


766
767
768
# File 'lib/google/apis/osconfig_v1/classes.rb', line 766

def display_version
  @display_version
end

The internet address for technical support. Corresponds to the JSON property helpLink

Returns:

  • (String)


771
772
773
# File 'lib/google/apis/osconfig_v1/classes.rb', line 771

def help_link
  @help_link
end

#install_dateGoogle::Apis::OsconfigV1::Date

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type. TimeOfDay * google.type.DateTime * google.protobuf.Timestamp Corresponds to the JSON property installDate



783
784
785
# File 'lib/google/apis/osconfig_v1/classes.rb', line 783

def install_date
  @install_date
end

#publisherString

The name of the manufacturer for the product or application. Corresponds to the JSON property publisher

Returns:

  • (String)


788
789
790
# File 'lib/google/apis/osconfig_v1/classes.rb', line 788

def publisher
  @publisher
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



795
796
797
798
799
800
801
# File 'lib/google/apis/osconfig_v1/classes.rb', line 795

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @display_version = args[:display_version] if args.key?(:display_version)
  @help_link = args[:help_link] if args.key?(:help_link)
  @install_date = args[:install_date] if args.key?(:install_date)
  @publisher = args[:publisher] if args.key?(:publisher)
end