Class: Google::Apis::CloudassetV1::WindowsApplication
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::WindowsApplication
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_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
-
#display_name ⇒ String
The name of the application or product.
-
#display_version ⇒ String
The version of the product or application in string format.
-
#help_link ⇒ String
The internet address for technical support.
-
#install_date ⇒ Google::Apis::CloudassetV1::Date
Represents a whole or partial calendar date, such as a birthday.
-
#publisher ⇒ String
The name of the manufacturer for the product or application.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WindowsApplication
constructor
A new instance of WindowsApplication.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WindowsApplication
Returns a new instance of WindowsApplication.
6258 6259 6260 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 6258 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The name of the application or product.
Corresponds to the JSON property displayName
6229 6230 6231 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 6229 def display_name @display_name end |
#display_version ⇒ String
The version of the product or application in string format.
Corresponds to the JSON property displayVersion
6234 6235 6236 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 6234 def display_version @display_version end |
#help_link ⇒ String
The internet address for technical support.
Corresponds to the JSON property helpLink
6239 6240 6241 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 6239 def help_link @help_link end |
#install_date ⇒ Google::Apis::CloudassetV1::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
6251 6252 6253 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 6251 def install_date @install_date end |
#publisher ⇒ String
The name of the manufacturer for the product or application.
Corresponds to the JSON property publisher
6256 6257 6258 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 6256 def publisher @publisher end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6263 6264 6265 6266 6267 6268 6269 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 6263 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 |