Autogenerated update (2019-01-22)

Update:
- androidenterprise_v1
- androidpublisher_v1_1
- androidpublisher_v2
- androidpublisher_v3
This commit is contained in:
Google APIs 2019-01-22 00:36:46 +00:00
parent 10e54b41cc
commit 1741b2efa5
9 changed files with 10 additions and 39 deletions

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 = '20181205' REVISION = '20190117'
# 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

@ -570,7 +570,7 @@ module Google
# @return [Array<Google::Apis::AndroidenterpriseV1::AutoInstallConstraint>] # @return [Array<Google::Apis::AndroidenterpriseV1::AutoInstallConstraint>]
attr_accessor :auto_install_constraint attr_accessor :auto_install_constraint
# The auto install mode. If unset defaults to AVAILABLE. # The auto install mode. If unset defaults to "doNotAutoInstall".
# Corresponds to the JSON property `autoInstallMode` # Corresponds to the JSON property `autoInstallMode`
# @return [String] # @return [String]
attr_accessor :auto_install_mode attr_accessor :auto_install_mode
@ -2951,7 +2951,8 @@ module Google
# @return [String] # @return [String]
attr_accessor :display_mode attr_accessor :display_mode
# A list of icons representing this website. Must have at least one element. # A list of icons representing this website. If absent, a default icon (for
# create) or the current icon (for update) will be used.
# Corresponds to the JSON property `icons` # Corresponds to the JSON property `icons`
# @return [Array<Google::Apis::AndroidenterpriseV1::WebAppIcon>] # @return [Array<Google::Apis::AndroidenterpriseV1::WebAppIcon>]
attr_accessor :icons attr_accessor :icons

View File

@ -530,39 +530,6 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Deprecated and unused.
# @param [String] enterprise_id
# The ID of the enterprise.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# An opaque string that represents a user for quota purposes. Must not exceed 40
# characters.
# @param [String] user_ip
# Deprecated. Please use quotaUser instead.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_enterprise_android_device_policy_config(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, 'enterprises/{enterpriseId}/androidDevicePolicyConfig', options)
command.response_representation = Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig::Representation
command.response_class = Google::Apis::AndroidenterpriseV1::AndroidDevicePolicyConfig
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Returns a service account and credentials. The service account can be bound to # Returns a service account and credentials. The service account can be bound to
# the enterprise by calling setAccount. The service account is unique to this # the enterprise by calling setAccount. The service account is unique to this
# enterprise and EMM, and will be deleted if the enterprise is unbound. The # enterprise and EMM, and will be deleted if the enterprise is unbound. The

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher # @see https://developers.google.com/android-publisher
module AndroidpublisherV1_1 module AndroidpublisherV1_1
VERSION = 'V1_1' VERSION = 'V1_1'
REVISION = '20181009' REVISION = '20190120'
# View and manage your Google Play Developer account # View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -68,6 +68,7 @@ module Google
# are: # are:
# - Test (i.e. purchased from a license testing account) # - Test (i.e. purchased from a license testing account)
# - Promo (i.e. purchased using a promo code) # - Promo (i.e. purchased using a promo code)
# - Rewarded (i.e. from watching a video ad instead of paying)
# Corresponds to the JSON property `purchaseType` # Corresponds to the JSON property `purchaseType`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :purchase_type attr_accessor :purchase_type

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher # @see https://developers.google.com/android-publisher
module AndroidpublisherV2 module AndroidpublisherV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20181009' REVISION = '20190120'
# View and manage your Google Play Developer account # View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -1110,6 +1110,7 @@ module Google
# are: # are:
# - Test (i.e. purchased from a license testing account) # - Test (i.e. purchased from a license testing account)
# - Promo (i.e. purchased using a promo code) # - Promo (i.e. purchased using a promo code)
# - Rewarded (i.e. from watching a video ad instead of paying)
# Corresponds to the JSON property `purchaseType` # Corresponds to the JSON property `purchaseType`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :purchase_type attr_accessor :purchase_type

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/android-publisher # @see https://developers.google.com/android-publisher
module AndroidpublisherV3 module AndroidpublisherV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20181113' REVISION = '20190120'
# View and manage your Google Play Developer account # View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -1084,6 +1084,7 @@ module Google
# are: # are:
# - Test (i.e. purchased from a license testing account) # - Test (i.e. purchased from a license testing account)
# - Promo (i.e. purchased using a promo code) # - Promo (i.e. purchased using a promo code)
# - Rewarded (i.e. from watching a video ad instead of paying)
# Corresponds to the JSON property `purchaseType` # Corresponds to the JSON property `purchaseType`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :purchase_type attr_accessor :purchase_type