Class: Google::Apis::AndroidmanagementV1::ManagedProperty
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidmanagementV1::ManagedProperty
 
 
- 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
Managed property.
Instance Attribute Summary collapse
- 
  
    
      #default_value  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The default value of the property.
 - 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A longer description of the property, providing more detail of what it affects.
 - 
  
    
      #entries  ⇒ Array<Google::Apis::AndroidmanagementV1::ManagedPropertyEntry> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
For CHOICE or MULTISELECT properties, the list of possible entries.
 - 
  
    
      #key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The unique key that the app uses to identify the property, e.g.
 - 
  
    
      #nested_properties  ⇒ Array<Google::Apis::AndroidmanagementV1::ManagedProperty> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
For BUNDLE_ARRAY properties, the list of nested properties.
 - 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the property.
 - 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The type of the property.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ManagedProperty 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ManagedProperty.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ManagedProperty
Returns a new instance of ManagedProperty.
      3386 3387 3388  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3386 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#default_value ⇒ Object
The default value of the property. BUNDLE_ARRAY properties don't have a
default value.
Corresponds to the JSON property defaultValue
      3351 3352 3353  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3351 def default_value @default_value end  | 
  
#description ⇒ String
A longer description of the property, providing more detail of what it affects.
Localized.
Corresponds to the JSON property description
      3357 3358 3359  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3357 def description @description end  | 
  
#entries ⇒ Array<Google::Apis::AndroidmanagementV1::ManagedPropertyEntry>
For CHOICE or MULTISELECT properties, the list of possible entries.
Corresponds to the JSON property entries
      3362 3363 3364  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3362 def entries @entries end  | 
  
#key ⇒ String
The unique key that the app uses to identify the property, e.g. "com.google.
android.gm.fieldname".
Corresponds to the JSON property key
      3368 3369 3370  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3368 def key @key end  | 
  
#nested_properties ⇒ Array<Google::Apis::AndroidmanagementV1::ManagedProperty>
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
      3374 3375 3376  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3374 def nested_properties @nested_properties end  | 
  
#title ⇒ String
The name of the property. Localized.
Corresponds to the JSON property title
      3379 3380 3381  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3379 def title @title end  | 
  
#type ⇒ String
The type of the property.
Corresponds to the JSON property type
      3384 3385 3386  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3384 def type @type end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3391 3392 3393 3394 3395 3396 3397 3398 3399  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3391 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  |