class Google::Apis::AndroidmanagementV1::ManagedProperty

Managed property.

Attributes

default_value[RW]

The default value of the property. BUNDLE_ARRAY properties don't have a default value. Corresponds to the JSON property `defaultValue` @return [Object]

description[RW]

A longer description of the property, providing more detail of what it affects. Localized. Corresponds to the JSON property `description` @return [String]

entries[RW]

For CHOICE or MULTISELECT properties, the list of possible entries. Corresponds to the JSON property `entries` @return [Array<Google::Apis::AndroidmanagementV1::ManagedPropertyEntry>]

key[RW]

The unique key that the app uses to identify the property, e.g. “com.google. android.gm.fieldname”. Corresponds to the JSON property `key` @return [String]

nested_properties[RW]

For BUNDLE_ARRAY properties, the list of nested properties. A BUNDLE_ARRAY property is at most two levels deep. Corresponds to the JSON property `nestedProperties` @return [Array<Google::Apis::AndroidmanagementV1::ManagedProperty>]

title[RW]

The name of the property. Localized. Corresponds to the JSON property `title` @return [String]

type[RW]

The type of the property. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidmanagement_v1/classes.rb, line 2018
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidmanagement_v1/classes.rb, line 2023
def update!(**args)
  @default_value = args[:default_value] if args.key?(:default_value)
  @description = args[:description] if args.key?(:description)
  @entries = args[:entries] if args.key?(:entries)
  @key = args[:key] if args.key?(:key)
  @nested_properties = args[:nested_properties] if args.key?(:nested_properties)
  @title = args[:title] if args.key?(:title)
  @type = args[:type] if args.key?(:type)
end