Class: Google::Apis::CloudidentityV1beta1::AntivirusInfo

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

Overview

Resource representing the anti-virus information of a Device.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AntivirusInfo

Returns a new instance of AntivirusInfo.



158
159
160
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 158

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

Instance Attribute Details

#display_nameString

Output only. The display name of the anti-virus software. Corresponds to the JSON property displayName

Returns:

  • (String)


146
147
148
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 146

def display_name
  @display_name
end

#product_guidString

Output only. The GUID of the anti-virus product. Corresponds to the JSON property productGuid

Returns:

  • (String)


151
152
153
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 151

def product_guid
  @product_guid
end

#product_stateString

Output only. The state of the anti-virus. Corresponds to the JSON property productState

Returns:

  • (String)


156
157
158
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 156

def product_state
  @product_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



163
164
165
166
167
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 163

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @product_guid = args[:product_guid] if args.key?(:product_guid)
  @product_state = args[:product_state] if args.key?(:product_state)
end