Autogenerated update (2019-02-05)
Update: - androidenterprise_v1
This commit is contained in:
parent
91200922ba
commit
6fea5f0a32
|
@ -6170,6 +6170,7 @@
|
|||
"/androidenterprise:v1/AdministratorWebToken/token": token
|
||||
"/androidenterprise:v1/AdministratorWebTokenSpec": administrator_web_token_spec
|
||||
"/androidenterprise:v1/AdministratorWebTokenSpec/kind": kind
|
||||
"/androidenterprise:v1/AdministratorWebTokenSpec/managedConfigurations": managed_configurations
|
||||
"/androidenterprise:v1/AdministratorWebTokenSpec/parent": parent
|
||||
"/androidenterprise:v1/AdministratorWebTokenSpec/permission": permission
|
||||
"/androidenterprise:v1/AdministratorWebTokenSpec/permission/permission": permission
|
||||
|
@ -6177,6 +6178,8 @@
|
|||
"/androidenterprise:v1/AdministratorWebTokenSpec/privateApps": private_apps
|
||||
"/androidenterprise:v1/AdministratorWebTokenSpec/storeBuilder": store_builder
|
||||
"/androidenterprise:v1/AdministratorWebTokenSpec/webApps": web_apps
|
||||
"/androidenterprise:v1/AdministratorWebTokenSpecManagedConfigurations": administrator_web_token_spec_managed_configurations
|
||||
"/androidenterprise:v1/AdministratorWebTokenSpecManagedConfigurations/enabled": enabled
|
||||
"/androidenterprise:v1/AdministratorWebTokenSpecPlaySearch": administrator_web_token_spec_play_search
|
||||
"/androidenterprise:v1/AdministratorWebTokenSpecPlaySearch/approveApps": approve_apps
|
||||
"/androidenterprise:v1/AdministratorWebTokenSpecPlaySearch/enabled": enabled
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue