Class: Google::Apis::AndroidmanagementV1::ManagedPropertyEntry
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::ManagedPropertyEntry
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidmanagement_v1/classes.rb,
generated/google/apis/androidmanagement_v1/representations.rb,
generated/google/apis/androidmanagement_v1/representations.rb
Overview
An entry of a managed property.
Instance Attribute Summary collapse
-
#name ⇒ String
The human-readable name of the value.
-
#value ⇒ String
The machine-readable value of the entry, which should be used in the configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedPropertyEntry
constructor
A new instance of ManagedPropertyEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ManagedPropertyEntry
Returns a new instance of ManagedPropertyEntry
1381 1382 1383 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1381 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The human-readable name of the value. Localized.
Corresponds to the JSON property name
1373 1374 1375 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1373 def name @name end |
#value ⇒ String
The machine-readable value of the entry, which should be used in the
configuration. Not localized.
Corresponds to the JSON property value
1379 1380 1381 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1379 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1386 1387 1388 1389 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1386 def update!(**args) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end |