Autogenerated update (2019-02-05)

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

View File

@ -6170,6 +6170,7 @@
"/androidenterprise:v1/AdministratorWebToken/token": token "/androidenterprise:v1/AdministratorWebToken/token": token
"/androidenterprise:v1/AdministratorWebTokenSpec": administrator_web_token_spec "/androidenterprise:v1/AdministratorWebTokenSpec": administrator_web_token_spec
"/androidenterprise:v1/AdministratorWebTokenSpec/kind": kind "/androidenterprise:v1/AdministratorWebTokenSpec/kind": kind
"/androidenterprise:v1/AdministratorWebTokenSpec/managedConfigurations": managed_configurations
"/androidenterprise:v1/AdministratorWebTokenSpec/parent": parent "/androidenterprise:v1/AdministratorWebTokenSpec/parent": parent
"/androidenterprise:v1/AdministratorWebTokenSpec/permission": permission "/androidenterprise:v1/AdministratorWebTokenSpec/permission": permission
"/androidenterprise:v1/AdministratorWebTokenSpec/permission/permission": permission "/androidenterprise:v1/AdministratorWebTokenSpec/permission/permission": permission
@ -6177,6 +6178,8 @@
"/androidenterprise:v1/AdministratorWebTokenSpec/privateApps": private_apps "/androidenterprise:v1/AdministratorWebTokenSpec/privateApps": private_apps
"/androidenterprise:v1/AdministratorWebTokenSpec/storeBuilder": store_builder "/androidenterprise:v1/AdministratorWebTokenSpec/storeBuilder": store_builder
"/androidenterprise:v1/AdministratorWebTokenSpec/webApps": web_apps "/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": administrator_web_token_spec_play_search
"/androidenterprise:v1/AdministratorWebTokenSpecPlaySearch/approveApps": approve_apps "/androidenterprise:v1/AdministratorWebTokenSpecPlaySearch/approveApps": approve_apps
"/androidenterprise:v1/AdministratorWebTokenSpecPlaySearch/enabled": enabled "/androidenterprise:v1/AdministratorWebTokenSpecPlaySearch/enabled": enabled

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android/work/play/emm-api # @see https://developers.google.com/android/work/play/emm-api
module AndroidenterpriseV1 module AndroidenterpriseV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190123' REVISION = '20190130'
# Manage corporate Android devices # Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise' AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'

View File

@ -80,6 +80,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :kind 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 # 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. # not be hosted at other URIs. This URI must be https.
# Corresponds to the JSON property `parent` # Corresponds to the JSON property `parent`
@ -118,6 +123,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@kind = args[:kind] if args.key?(:kind) @kind = args[:kind] if args.key?(:kind)
@managed_configurations = args[:managed_configurations] if args.key?(:managed_configurations)
@parent = args[:parent] if args.key?(:parent) @parent = args[:parent] if args.key?(:parent)
@permission = args[:permission] if args.key?(:permission) @permission = args[:permission] if args.key?(:permission)
@play_search = args[:play_search] if args.key?(:play_search) @play_search = args[:play_search] if args.key?(:play_search)
@ -127,6 +133,26 @@ module Google
end end
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 class AdministratorWebTokenSpecPlaySearch
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -529,7 +555,7 @@ module Google
end end
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. # At least one of the fields must be set.
class AutoInstallConstraint class AutoInstallConstraint
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -565,7 +591,7 @@ module Google
class AutoInstallPolicy class AutoInstallPolicy
include Google::Apis::Core::Hashable 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. # constraint.
# Corresponds to the JSON property `autoInstallConstraint` # Corresponds to the JSON property `autoInstallConstraint`
# @return [Array<Google::Apis::AndroidenterpriseV1::AutoInstallConstraint>] # @return [Array<Google::Apis::AndroidenterpriseV1::AutoInstallConstraint>]
@ -2151,7 +2177,7 @@ module Google
class ProductPolicy class ProductPolicy
include Google::Apis::Core::Hashable 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` # Corresponds to the JSON property `autoInstallPolicy`
# @return [Google::Apis::AndroidenterpriseV1::AutoInstallPolicy] # @return [Google::Apis::AndroidenterpriseV1::AutoInstallPolicy]
attr_accessor :auto_install_policy attr_accessor :auto_install_policy

View File

@ -40,6 +40,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class AdministratorWebTokenSpecManagedConfigurations
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class AdministratorWebTokenSpecPlaySearch class AdministratorWebTokenSpecPlaySearch
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -521,6 +527,8 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind' property :kind, as: 'kind'
property :managed_configurations, as: 'managedConfigurations', class: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecManagedConfigurations, decorator: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecManagedConfigurations::Representation
property :parent, as: 'parent' property :parent, as: 'parent'
collection :permission, as: 'permission' collection :permission, as: 'permission'
property :play_search, as: 'playSearch', class: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPlaySearch, decorator: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPlaySearch::Representation property :play_search, as: 'playSearch', class: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPlaySearch, decorator: Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpecPlaySearch::Representation
@ -534,6 +542,13 @@ module Google
end end
end end
class AdministratorWebTokenSpecManagedConfigurations
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end
class AdministratorWebTokenSpecPlaySearch class AdministratorWebTokenSpecPlaySearch
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation