Class: Google::Apis::CloudidentityV1beta1::AntivirusInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::AntivirusInfo
- 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
-
#display_name ⇒ String
Output only.
-
#product_guid ⇒ String
Output only.
-
#product_state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AntivirusInfo
constructor
A new instance of AntivirusInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_name ⇒ String
Output only. The display name of the anti-virus software.
Corresponds to the JSON property displayName
146 147 148 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 146 def display_name @display_name end |
#product_guid ⇒ String
Output only. The GUID of the anti-virus product.
Corresponds to the JSON property productGuid
151 152 153 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 151 def product_guid @product_guid end |
#product_state ⇒ String
Output only. The state of the anti-virus.
Corresponds to the JSON property productState
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 |