Class: Google::Apis::AndroidmanagementV1::ManagedPropertyEntry

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

Overview

An entry of a managed property.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagedPropertyEntry

Returns a new instance of ManagedPropertyEntry.



4403
4404
4405
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4403

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

Instance Attribute Details

#nameString

The human-readable name of the value. Localized. Corresponds to the JSON property name

Returns:

  • (String)


4395
4396
4397
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4395

def name
  @name
end

#valueString

The machine-readable value of the entry, which should be used in the configuration. Not localized. Corresponds to the JSON property value

Returns:

  • (String)


4401
4402
4403
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4401

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4408
4409
4410
4411
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4408

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @value = args[:value] if args.key?(:value)
end