Class: Google::Apis::CloudassetV1::WindowsApplication

Inherits:
Object
  • Object
show all
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 as retrieved from the Windows Registry. For more information about these fields, see Windows Installer Properties for the Uninstall Registry: class="external"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WindowsApplication

Returns a new instance of WindowsApplication.



4540
4541
4542
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4540

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)


4511
4512
4513
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4511

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)


4516
4517
4518
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4516

def display_version
  @display_version
end

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

Returns:

  • (String)


4521
4522
4523
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4521

def help_link
  @help_link
end

#install_dateGoogle::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 value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and google.protobuf.Timestamp. Corresponds to the JSON property installDate



4533
4534
4535
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4533

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)


4538
4539
4540
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4538

def publisher
  @publisher
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4545
4546
4547
4548
4549
4550
4551
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 4545

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