Autogenerated update (2019-02-05)

Update:
- androidenterprise_v1
This commit is contained in:
Google APIs committed 2019-02-05 00:36:40 +00:00
1 parent 91200922ba
commit 6fea5f0a32
4 files changed
+48 -4

No files matched your search

@@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android/work/play/emm-api
module AndroidenterpriseV1
VERSION = 'V1'
REVISION = '20190123'
REVISION = '20190130'
# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
@@ -80,6 +80,11 @@ module Google
# @return [String]
attr_accessor :kind
# Options for displaying the Managed Configuration page.
# Corresponds to the JSON property `managedConfigurations`
# @return [Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecManagedConfigurations]
attr_accessor :managed_configurations
# The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may
# not be hosted at other URIs. This URI must be https.
# Corresponds to the JSON property `parent`
@@ -118,6 +123,7 @@ module Google
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
@managed_configurations = args[:managed_configurations] if args.key?(:managed_configurations)
@parent = args[:parent] if args.key?(:parent)
@permission = args[:permission] if args.key?(:permission)
@play_search = args[:play_search] if args.key?(:play_search)
@@ -127,6 +133,26 @@ module Google
end
end
#
class AdministratorWebTokenSpecManagedConfigurations
include Google::Apis::Core::Hashable
# Whether the Managed Configuration page is displayed. Default is true.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
end
end
#
class AdministratorWebTokenSpecPlaySearch
include Google::Apis::Core::Hashable
@@ -529,7 +555,7 @@ module Google
end
end
# The Auto install constraint. Defines a set of restrictions for installation.
# The auto-install constraint. Defines a set of restrictions for installation.
# At least one of the fields must be set.
class AutoInstallConstraint
include Google::Apis::Core::Hashable
@@ -565,7 +591,7 @@ module Google
class AutoInstallPolicy
include Google::Apis::Core::Hashable
# Constraints for auto-installing the app. You can specify a maximum of one
# The constraints for auto-installing the app. You can specify a maximum of one
# constraint.
# Corresponds to the JSON property `autoInstallConstraint`
# @return [Array<Google::Apis::AndroidenterpriseV1::AutoInstallConstraint>]
@@ -2151,7 +2177,7 @@ module Google
class ProductPolicy
include Google::Apis::Core::Hashable
# The auto install policy for the product.
# The auto-install policy for the product.
# Corresponds to the JSON property `autoInstallPolicy`
# @return [Google::Apis::AndroidenterpriseV1::AutoInstallPolicy]
attr_accessor :auto_install_policy
@@ -40,6 +40,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class AdministratorWebTokenSpecManagedConfigurations
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AdministratorWebTokenSpecPlaySearch
class Representation < Google::Apis::Core::JsonRepresentation; end
@@ -521,6 +527,8 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
property :managed_configurations, as: 'managedConfigurations', class: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecManagedConfigurations, decorator: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecManagedConfigurations::Representation
property :parent, as: 'parent'
collection :permission, as: 'permission'
property :play_search, as: 'playSearch', class: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPlaySearch, decorator: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPlaySearch::Representation
@@ -534,6 +542,13 @@ module Google
end
end
class AdministratorWebTokenSpecManagedConfigurations
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end
class AdministratorWebTokenSpecPlaySearch
# @private
class Representation < Google::Apis::Core::JsonRepresentation