Autogenerated update (2017-10-11)

Update:
- androidenterprise_v1
- firebasedynamiclinks_v1
- manufacturers_v1
This commit is contained in:
Google APIs 2017-10-11 00:34:58 +00:00
parent 6e8c114346
commit 1851ded54c
9 changed files with 72 additions and 29 deletions

View File

@ -41162,6 +41162,8 @@
"/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/shortLink": short_link
"/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/warning": warning
"/firebasedynamiclinks:v1/CreateShortDynamicLinkResponse/warning/warning": warning
"/firebasedynamiclinks:v1/DesktopInfo": desktop_info
"/firebasedynamiclinks:v1/DesktopInfo/desktopFallbackLink": desktop_fallback_link
"/firebasedynamiclinks:v1/DeviceInfo": device_info
"/firebasedynamiclinks:v1/DeviceInfo/deviceModelName": device_model_name
"/firebasedynamiclinks:v1/DeviceInfo/languageCode": language_code
@ -41175,6 +41177,7 @@
"/firebasedynamiclinks:v1/DynamicLinkInfo": dynamic_link_info
"/firebasedynamiclinks:v1/DynamicLinkInfo/analyticsInfo": analytics_info
"/firebasedynamiclinks:v1/DynamicLinkInfo/androidInfo": android_info
"/firebasedynamiclinks:v1/DynamicLinkInfo/desktopInfo": desktop_info
"/firebasedynamiclinks:v1/DynamicLinkInfo/dynamicLinkDomain": dynamic_link_domain
"/firebasedynamiclinks:v1/DynamicLinkInfo/iosInfo": ios_info
"/firebasedynamiclinks:v1/DynamicLinkInfo/link": link
@ -46367,6 +46370,7 @@
"/manufacturers:v1/Attributes/sizeType": size_type
"/manufacturers:v1/Attributes/suggestedRetailPrice": suggested_retail_price
"/manufacturers:v1/Attributes/targetAccountId": target_account_id
"/manufacturers:v1/Attributes/targetClientId": target_client_id
"/manufacturers:v1/Attributes/theme": theme
"/manufacturers:v1/Attributes/title": title
"/manufacturers:v1/Attributes/videoLink": video_link

View File

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

View File

@ -737,7 +737,7 @@ module Google
# purchases the product in Google Play for the first time.
# Use the API to query group licenses. A Grouplicenses resource includes the
# total number of licenses purchased (paid apps only) and the total number of
# licenses currently in use. Iyn other words, the total number of Entitlements
# licenses currently in use. In other words, the total number of Entitlements
# that exist for the product.
# Only one group license object is created per product and group license objects
# are never deleted. If a product is unapproved, its group license remains. This
@ -1719,12 +1719,11 @@ module Google
# @return [String]
attr_accessor :product_set_behavior
# Other products that are part of the set, in addition to those specified in the
# productId array. The only difference between this field and the productId
# array is that it's possible to specify additional information about this
# product visibility, see ProductVisibility and its fields for more information.
# Specifying the same product ID both here and in the productId array is not
# allowed and it will result in an error.
# Additional list of product IDs making up the product set. Unlike the productID
# array, in this list It's possible to specify which tracks (alpha, beta,
# production) of a product are visible to the user. See ProductVisibility and
# its fields for more information. Specifying the same product ID both here and
# in the productId array is not allowed and it will result in an error.
# Corresponds to the JSON property `productVisibility`
# @return [Array<Google::Apis::AndroidenterpriseV1::ProductVisibility>]
attr_accessor :product_visibility
@ -1773,22 +1772,22 @@ module Google
class ProductVisibility
include Google::Apis::Core::Hashable
# The product ID that should be made visible to the user. This is required.
# The product ID to make visible to the user. Required for each item in the
# productVisibility list.
# Corresponds to the JSON property `productId`
# @return [String]
attr_accessor :product_id
# This allows to only grant visibility to the specified tracks of the app. For
# example, if an app has a prod version, a beta version and an alpha version and
# the enterprise has been granted visibility to both the alpha and beta tracks,
# if tracks is `"beta", "production"` the user will be able to install the app
# and they will get the beta version of the app. If there are no app versions in
# the specified track or if the enterprise wasn't granted visibility for the
# track, adding the "alpha" and "beta" values to the list of tracks will have no
# effect for now; however they will take effect once both conditions are met.
# Note that the enterprise itself needs to be granted access to the alpha and/or
# beta tracks, regardless of whether individual users or admins have access to
# those tracks.
# Grants visibility to the specified track(s) of the product to the user. The
# track available to the user is based on the following order of preference:
# alpha, beta, production. For example, if an app has a prod version, a beta
# version and an alpha version and the enterprise has been granted visibility to
# both the alpha and beta tracks, if tracks is `"beta", "production"` the user
# will be able to install the app and they will get the beta version of the app.
# If there are no app versions in the specified track adding the "alpha" and "
# beta" values to the list of tracks will have no effect. Note that the
# enterprise requires access to alpha and/or beta tracks before users can be
# granted visibility to apps in those tracks.
# The allowed sets are: `` (considered equivalent to `"production"`) `"
# production"` `"beta", "production"` `"alpha", "beta", "production"` The order
# of elements is not relevant. Any other set of tracks will be rejected with an

View File

@ -25,7 +25,7 @@ module Google
# @see https://firebase.google.com/docs/dynamic-links/
module FirebasedynamiclinksV1
VERSION = 'V1'
REVISION = '20170907'
REVISION = '20171010'
# View and administer all your Firebase data and settings
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'

View File

@ -153,6 +153,25 @@ module Google
end
end
# Desktop related attributes to the Dynamic Link.
class DesktopInfo
include Google::Apis::Core::Hashable
# Link to open on desktop.
# Corresponds to the JSON property `desktopFallbackLink`
# @return [String]
attr_accessor :desktop_fallback_link
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@desktop_fallback_link = args[:desktop_fallback_link] if args.key?(:desktop_fallback_link)
end
end
# Signals associated with the device making the request.
class DeviceInfo
include Google::Apis::Core::Hashable
@ -241,6 +260,11 @@ module Google
# @return [Google::Apis::FirebasedynamiclinksV1::AndroidInfo]
attr_accessor :android_info
# Desktop related attributes to the Dynamic Link.
# Corresponds to the JSON property `desktopInfo`
# @return [Google::Apis::FirebasedynamiclinksV1::DesktopInfo]
attr_accessor :desktop_info
# Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl
# [Learn more](https://firebase.google.com/docs/dynamic-links/android/receive)
# on how to set up Dynamic Link domain associated with your Firebase project.
@ -283,6 +307,7 @@ module Google
def update!(**args)
@analytics_info = args[:analytics_info] if args.key?(:analytics_info)
@android_info = args[:android_info] if args.key?(:android_info)
@desktop_info = args[:desktop_info] if args.key?(:desktop_info)
@dynamic_link_domain = args[:dynamic_link_domain] if args.key?(:dynamic_link_domain)
@ios_info = args[:ios_info] if args.key?(:ios_info)
@link = args[:link] if args.key?(:link)

View File

@ -46,6 +46,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DesktopInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class DeviceInfo
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -165,6 +171,13 @@ module Google
end
end
class DesktopInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :desktop_fallback_link, as: 'desktopFallbackLink'
end
end
class DeviceInfo
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -192,6 +205,8 @@ module Google
property :android_info, as: 'androidInfo', class: Google::Apis::FirebasedynamiclinksV1::AndroidInfo, decorator: Google::Apis::FirebasedynamiclinksV1::AndroidInfo::Representation
property :desktop_info, as: 'desktopInfo', class: Google::Apis::FirebasedynamiclinksV1::DesktopInfo, decorator: Google::Apis::FirebasedynamiclinksV1::DesktopInfo::Representation
property :dynamic_link_domain, as: 'dynamicLinkDomain'
property :ios_info, as: 'iosInfo', class: Google::Apis::FirebasedynamiclinksV1::IosInfo, decorator: Google::Apis::FirebasedynamiclinksV1::IosInfo::Representation

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/manufacturers/
module ManufacturersV1
VERSION = 'V1'
REVISION = '20170808'
REVISION = '20171009'
# Manage your product listings for Google Manufacturer Center
AUTH_MANUFACTURERCENTER = 'https://www.googleapis.com/auth/manufacturercenter'

View File

@ -159,7 +159,7 @@ module Google
# @return [String]
attr_accessor :product_page_url
# The category of the product. For more information, see
# The type or category of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#producttype.
# Corresponds to the JSON property `productType`
# @return [Array<String>]
@ -200,11 +200,11 @@ module Google
# @return [Google::Apis::ManufacturersV1::Price]
attr_accessor :suggested_retail_price
# The target account id. Should only be used in the accounts of the data
# The target client id. Should only be used in the accounts of the data
# partners.
# Corresponds to the JSON property `targetAccountId`
# @return [Fixnum]
attr_accessor :target_account_id
# Corresponds to the JSON property `targetClientId`
# @return [String]
attr_accessor :target_client_id
# The theme of the product. For more information, see
# https://support.google.com/manufacturers/answer/6124116#theme.
@ -259,7 +259,7 @@ module Google
@size_system = args[:size_system] if args.key?(:size_system)
@size_type = args[:size_type] if args.key?(:size_type)
@suggested_retail_price = args[:suggested_retail_price] if args.key?(:suggested_retail_price)
@target_account_id = args[:target_account_id] if args.key?(:target_account_id)
@target_client_id = args[:target_client_id] if args.key?(:target_client_id)
@theme = args[:theme] if args.key?(:theme)
@title = args[:title] if args.key?(:title)
@video_link = args[:video_link] if args.key?(:video_link)

View File

@ -127,7 +127,7 @@ module Google
property :size_type, as: 'sizeType'
property :suggested_retail_price, as: 'suggestedRetailPrice', class: Google::Apis::ManufacturersV1::Price, decorator: Google::Apis::ManufacturersV1::Price::Representation
property :target_account_id, :numeric_string => true, as: 'targetAccountId'
property :target_client_id, as: 'targetClientId'
property :theme, as: 'theme'
property :title, as: 'title'
collection :video_link, as: 'videoLink'