Class: Google::Apis::AndroidenterpriseV1::ManagedConfigurationsSettings

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

Overview

A managed configurations settings resource contains the set of managed properties that have been configured for an Android app to be applied to a set of users. The app's developer would have defined configurable properties in the managed configurations schema.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ManagedConfigurationsSettings

Returns a new instance of ManagedConfigurationsSettings.



1545
1546
1547
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1545

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1527
1528
1529
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1527

def kind
  @kind
end

#last_updated_timestamp_millisFixnum

The last updated time of the managed configuration settings in milliseconds since 1970-01-01T00:00:00Z. Corresponds to the JSON property lastUpdatedTimestampMillis

Returns:

  • (Fixnum)


1533
1534
1535
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1533

def last_updated_timestamp_millis
  @last_updated_timestamp_millis
end

#mcm_idString

The ID of the managed configurations settings. Corresponds to the JSON property mcmId

Returns:

  • (String)


1538
1539
1540
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1538

def mcm_id
  @mcm_id
end

#nameString

The name of the managed configurations settings. Corresponds to the JSON property name

Returns:

  • (String)


1543
1544
1545
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1543

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1550
1551
1552
1553
1554
1555
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 1550

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