From a41d6b00876cee0e40a8dcad575d981236136a3d Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 5 Dec 2017 00:36:02 +0000 Subject: [PATCH] Autogenerated update (2017-12-05) Update: - adexchangebuyer2_v2beta1 - androidenterprise_v1 --- api_names_out.yaml | 12 ++++ .../google/apis/adexchangebuyer2_v2beta1.rb | 2 +- .../apis/adexchangebuyer2_v2beta1/classes.rb | 12 ++-- generated/google/apis/androidenterprise_v1.rb | 2 +- .../apis/androidenterprise_v1/classes.rb | 55 +++++++++++++++++++ .../androidenterprise_v1/representations.rb | 10 ++++ .../apis/androidmanagement_v1/classes.rb | 52 +++++++++--------- 7 files changed, 112 insertions(+), 33 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 51742b27c..2c97658a3 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -5427,15 +5427,27 @@ "/androidenterprise:v1/Product/appVersion": app_version "/androidenterprise:v1/Product/appVersion/app_version": app_version "/androidenterprise:v1/Product/authorName": author_name +"/androidenterprise:v1/Product/availableCountries": available_countries +"/androidenterprise:v1/Product/availableCountries/available_country": available_country "/androidenterprise:v1/Product/availableTracks": available_tracks "/androidenterprise:v1/Product/availableTracks/available_track": available_track +"/androidenterprise:v1/Product/category": category +"/androidenterprise:v1/Product/contentRating": content_rating +"/androidenterprise:v1/Product/description": description "/androidenterprise:v1/Product/detailsUrl": details_url "/androidenterprise:v1/Product/distributionChannel": distribution_channel "/androidenterprise:v1/Product/iconUrl": icon_url "/androidenterprise:v1/Product/kind": kind +"/androidenterprise:v1/Product/lastUpdatedTimestampMillis": last_updated_timestamp_millis +"/androidenterprise:v1/Product/minAndroidSdkVersion": min_android_sdk_version +"/androidenterprise:v1/Product/permissions": permissions +"/androidenterprise:v1/Product/permissions/permission": permission "/androidenterprise:v1/Product/productId": product_id "/androidenterprise:v1/Product/productPricing": product_pricing +"/androidenterprise:v1/Product/recentChanges": recent_changes "/androidenterprise:v1/Product/requiresContainerApp": requires_container_app +"/androidenterprise:v1/Product/screenshotUrls": screenshot_urls +"/androidenterprise:v1/Product/screenshotUrls/screenshot_url": screenshot_url "/androidenterprise:v1/Product/signingCertificate": signing_certificate "/androidenterprise:v1/Product/smallIconUrl": small_icon_url "/androidenterprise:v1/Product/title": title diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb index 41bdedcc2..ee5e5236d 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/ module Adexchangebuyer2V2beta1 VERSION = 'V2beta1' - REVISION = '20171108' + REVISION = '20171201' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb index 9e9a11f58..6bf3d1195 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb @@ -851,15 +851,17 @@ module Google attr_accessor :absolute_date_range # The ID of the creative on which to filter; optional. This field may be set - # only for a filter set that accesses buyer-level troubleshooting data, i.e. - # one whose name matches the `bidders/*/accounts/*/filterSets/*` pattern. + # only for a filter set that accesses account-level troubleshooting data, + # i.e. one whose name matches the `bidders/*/accounts/*/filterSets/*` + # pattern. # Corresponds to the JSON property `creativeId` # @return [String] attr_accessor :creative_id # The ID of the deal on which to filter; optional. This field may be set - # only for a filter set that accesses buyer-level troubleshooting data, i.e. - # one whose name matches the `bidders/*/accounts/*/filterSets/*` pattern. + # only for a filter set that accesses account-level troubleshooting data, + # i.e. one whose name matches the `bidders/*/accounts/*/filterSets/*` + # pattern. # Corresponds to the JSON property `dealId` # @return [Fixnum] attr_accessor :deal_id @@ -878,7 +880,7 @@ module Google # globally and match one of the patterns: # - `bidders/*/filterSets/*` (for accessing bidder-level troubleshooting # data) - # - `bidders/*/accounts/*/filterSets/*` (for accessing buyer-level + # - `bidders/*/accounts/*/filterSets/*` (for accessing account-level # troubleshooting data) # This field is required in create operations. # Corresponds to the JSON property `name` diff --git a/generated/google/apis/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb index 222004f50..a2a4663fd 100644 --- a/generated/google/apis/androidenterprise_v1.rb +++ b/generated/google/apis/androidenterprise_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android/work/play/emm-api module AndroidenterpriseV1 VERSION = 'V1' - REVISION = '20171123' + REVISION = '20171130' # Manage corporate Android devices AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise' diff --git a/generated/google/apis/androidenterprise_v1/classes.rb b/generated/google/apis/androidenterprise_v1/classes.rb index 4b3d8be7b..56dc0301b 100644 --- a/generated/google/apis/androidenterprise_v1/classes.rb +++ b/generated/google/apis/androidenterprise_v1/classes.rb @@ -1627,11 +1627,31 @@ module Google # @return [String] attr_accessor :author_name + # The countries which this app is available in. + # Corresponds to the JSON property `availableCountries` + # @return [Array] + attr_accessor :available_countries + # The tracks that are visible to the enterprise. # Corresponds to the JSON property `availableTracks` # @return [Array] attr_accessor :available_tracks + # The app category (e.g. RACING, SOCIAL, etc.) + # Corresponds to the JSON property `category` + # @return [String] + attr_accessor :category + + # The content rating for this app. + # Corresponds to the JSON property `contentRating` + # @return [String] + attr_accessor :content_rating + + # A localized promotional description, if available. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + # A link to the (consumer) Google Play details page for the product. # Corresponds to the JSON property `detailsUrl` # @return [String] @@ -1659,6 +1679,22 @@ module Google # @return [String] attr_accessor :kind + # The time (in milliseconds since epoch) when application was last published. ( + # Timestamp is approximate within 7 days of actual publish time.) + # Corresponds to the JSON property `lastUpdatedTimestampMillis` + # @return [Fixnum] + attr_accessor :last_updated_timestamp_millis + + # The minimum Android SDK necessary to run the app. + # Corresponds to the JSON property `minAndroidSdkVersion` + # @return [Fixnum] + attr_accessor :min_android_sdk_version + + # The permissions required for this app. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + # A string of the form app:. For example, app:com.google.android. # gm represents the Gmail app. # Corresponds to the JSON property `productId` @@ -1672,12 +1708,22 @@ module Google # @return [String] attr_accessor :product_pricing + # A description of the recent changes made to the app. + # Corresponds to the JSON property `recentChanges` + # @return [String] + attr_accessor :recent_changes + # Deprecated. # Corresponds to the JSON property `requiresContainerApp` # @return [Boolean] attr_accessor :requires_container_app alias_method :requires_container_app?, :requires_container_app + # A list of screenshot links representing the app. + # Corresponds to the JSON property `screenshotUrls` + # @return [Array] + attr_accessor :screenshot_urls + # The certificate used to sign this product. # Corresponds to the JSON property `signingCertificate` # @return [Google::Apis::AndroidenterpriseV1::ProductSigningCertificate] @@ -1708,14 +1754,23 @@ module Google def update!(**args) @app_version = args[:app_version] if args.key?(:app_version) @author_name = args[:author_name] if args.key?(:author_name) + @available_countries = args[:available_countries] if args.key?(:available_countries) @available_tracks = args[:available_tracks] if args.key?(:available_tracks) + @category = args[:category] if args.key?(:category) + @content_rating = args[:content_rating] if args.key?(:content_rating) + @description = args[:description] if args.key?(:description) @details_url = args[:details_url] if args.key?(:details_url) @distribution_channel = args[:distribution_channel] if args.key?(:distribution_channel) @icon_url = args[:icon_url] if args.key?(:icon_url) @kind = args[:kind] if args.key?(:kind) + @last_updated_timestamp_millis = args[:last_updated_timestamp_millis] if args.key?(:last_updated_timestamp_millis) + @min_android_sdk_version = args[:min_android_sdk_version] if args.key?(:min_android_sdk_version) + @permissions = args[:permissions] if args.key?(:permissions) @product_id = args[:product_id] if args.key?(:product_id) @product_pricing = args[:product_pricing] if args.key?(:product_pricing) + @recent_changes = args[:recent_changes] if args.key?(:recent_changes) @requires_container_app = args[:requires_container_app] if args.key?(:requires_container_app) + @screenshot_urls = args[:screenshot_urls] if args.key?(:screenshot_urls) @signing_certificate = args[:signing_certificate] if args.key?(:signing_certificate) @small_icon_url = args[:small_icon_url] if args.key?(:small_icon_url) @title = args[:title] if args.key?(:title) diff --git a/generated/google/apis/androidenterprise_v1/representations.rb b/generated/google/apis/androidenterprise_v1/representations.rb index 633b4942d..2da097510 100644 --- a/generated/google/apis/androidenterprise_v1/representations.rb +++ b/generated/google/apis/androidenterprise_v1/representations.rb @@ -863,14 +863,24 @@ module Google collection :app_version, as: 'appVersion', class: Google::Apis::AndroidenterpriseV1::AppVersion, decorator: Google::Apis::AndroidenterpriseV1::AppVersion::Representation property :author_name, as: 'authorName' + collection :available_countries, as: 'availableCountries' collection :available_tracks, as: 'availableTracks' + property :category, as: 'category' + property :content_rating, as: 'contentRating' + property :description, as: 'description' property :details_url, as: 'detailsUrl' property :distribution_channel, as: 'distributionChannel' property :icon_url, as: 'iconUrl' property :kind, as: 'kind' + property :last_updated_timestamp_millis, :numeric_string => true, as: 'lastUpdatedTimestampMillis' + property :min_android_sdk_version, as: 'minAndroidSdkVersion' + collection :permissions, as: 'permissions', class: Google::Apis::AndroidenterpriseV1::ProductPermission, decorator: Google::Apis::AndroidenterpriseV1::ProductPermission::Representation + property :product_id, as: 'productId' property :product_pricing, as: 'productPricing' + property :recent_changes, as: 'recentChanges' property :requires_container_app, as: 'requiresContainerApp' + collection :screenshot_urls, as: 'screenshotUrls' property :signing_certificate, as: 'signingCertificate', class: Google::Apis::AndroidenterpriseV1::ProductSigningCertificate, decorator: Google::Apis::AndroidenterpriseV1::ProductSigningCertificate::Representation property :small_icon_url, as: 'smallIconUrl' diff --git a/generated/google/apis/androidmanagement_v1/classes.rb b/generated/google/apis/androidmanagement_v1/classes.rb index 841d3927c..11282ea57 100644 --- a/generated/google/apis/androidmanagement_v1/classes.rb +++ b/generated/google/apis/androidmanagement_v1/classes.rb @@ -1512,7 +1512,7 @@ module Google include Google::Apis::Core::Hashable # Account types that cannot be managed by the user. Requires the beta version - # of Android Cloud Policy. + # of the Android Device Policy app. # Corresponds to the JSON property `accountTypesWithManagementDisabled` # @return [Array] attr_accessor :account_types_with_management_disabled @@ -1555,15 +1555,15 @@ module Google attr_accessor :block_applications_enabled alias_method :block_applications_enabled?, :block_applications_enabled - # Whether configuring bluetooth is disabled. Requires the beta version of - # Android Cloud Policy. + # Whether configuring bluetooth is disabled. Requires the beta version of the + # Android Device Policy app. # Corresponds to the JSON property `bluetoothConfigDisabled` # @return [Boolean] attr_accessor :bluetooth_config_disabled alias_method :bluetooth_config_disabled?, :bluetooth_config_disabled # Whether bluetooth contact sharing is disabled. Requires the beta version of - # Android Cloud Policy. + # the Android Device Policy app. # Corresponds to the JSON property `bluetoothContactSharingDisabled` # @return [Boolean] attr_accessor :bluetooth_contact_sharing_disabled @@ -1571,7 +1571,7 @@ module Google # Whether bluetooth is disabled. Prefer this setting over # bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by - # the user. Requires the beta version of Android Cloud Policy. + # the user. Requires the beta version of the Android Device Policy app. # Corresponds to the JSON property `bluetoothDisabled` # @return [Boolean] attr_accessor :bluetooth_disabled @@ -1584,7 +1584,7 @@ module Google alias_method :camera_disabled?, :camera_disabled # Whether configuring cell broadcast is disabled. Requires the beta version - # of Android Cloud Policy. + # of the Android Device Policy app. # Corresponds to the JSON property `cellBroadcastsConfigDisabled` # @return [Boolean] attr_accessor :cell_broadcasts_config_disabled @@ -1599,21 +1599,21 @@ module Google attr_accessor :compliance_rules # Whether creating windows besides app windows is disabled. Requires the beta - # version of Android Cloud Policy. + # version of the Android Device Policy app. # Corresponds to the JSON property `createWindowsDisabled` # @return [Boolean] attr_accessor :create_windows_disabled alias_method :create_windows_disabled?, :create_windows_disabled # Whether configuring user credentials is disabled. Requires the beta version - # of Android Cloud Policy. + # of the Android Device Policy app. # Corresponds to the JSON property `credentialsConfigDisabled` # @return [Boolean] attr_accessor :credentials_config_disabled alias_method :credentials_config_disabled?, :credentials_config_disabled # Whether roaming data services are disabled. Requires the beta version of - # Android Cloud Policy. + # the Android Device Policy app. # Corresponds to the JSON property `dataRoamingDisabled` # @return [Boolean] attr_accessor :data_roaming_disabled @@ -1631,7 +1631,7 @@ module Google attr_accessor :default_permission_policy # Whether application verification is forced to be enabled. Requires the beta - # version of Android Cloud Policy. + # version of the Android Device Policy app. # Corresponds to the JSON property `ensureVerifyAppsEnabled` # @return [Boolean] attr_accessor :ensure_verify_apps_enabled @@ -1659,7 +1659,7 @@ module Google alias_method :fun_disabled?, :fun_disabled # Whether user installation of apps is disabled. Requires the beta version of - # Android Cloud Policy. + # the Android Device Policy app. # Corresponds to the JSON property `installAppsDisabled` # @return [Boolean] attr_accessor :install_apps_disabled @@ -1679,7 +1679,7 @@ module Google alias_method :keyguard_disabled?, :keyguard_disabled # Disabled keyguard customizations, such as widgets. Requires the beta - # version of Android Cloud Policy. + # version of the Android Device Policy app. # Corresponds to the JSON property `keyguardDisabledFeatures` # @return [Array] attr_accessor :keyguard_disabled_features @@ -1697,7 +1697,7 @@ module Google attr_accessor :maximum_time_to_lock # Whether configuring mobile networks is disabled. Requires the beta version - # of Android Cloud Policy. + # of the Android Device Policy app. # Corresponds to the JSON property `mobileNetworksConfigDisabled` # @return [Boolean] attr_accessor :mobile_networks_config_disabled @@ -1710,7 +1710,7 @@ module Google alias_method :modify_accounts_disabled?, :modify_accounts_disabled # Whether the user mounting physical external media is disabled. Requires the - # beta version of Android Cloud Policy. + # beta version of the Android Device Policy app. # Corresponds to the JSON property `mountPhysicalMediaDisabled` # @return [Boolean] attr_accessor :mount_physical_media_disabled @@ -1735,7 +1735,7 @@ module Google alias_method :network_escape_hatch_enabled?, :network_escape_hatch_enabled # Whether resetting network settings is disabled. Requires the beta version - # of Android Cloud Policy. + # of the Android Device Policy app. # Corresponds to the JSON property `networkResetDisabled` # @return [Boolean] attr_accessor :network_reset_disabled @@ -1748,14 +1748,14 @@ module Google attr_accessor :open_network_configuration # Whether using NFC to beam out data from apps is disabled. Requires the beta - # version of Android Cloud Policy. + # version of the Android Device Policy app. # Corresponds to the JSON property `outgoingBeamDisabled` # @return [Boolean] attr_accessor :outgoing_beam_disabled alias_method :outgoing_beam_disabled?, :outgoing_beam_disabled - # Whether outgoing calls are disabled. Requires the beta version of Android - # Cloud Policy. + # Whether outgoing calls are disabled. Requires the beta version of the + # Android Device Policy app. # Corresponds to the JSON property `outgoingCallsDisabled` # @return [Boolean] attr_accessor :outgoing_calls_disabled @@ -1801,14 +1801,14 @@ module Google alias_method :screen_capture_disabled?, :screen_capture_disabled # Whether changing the user icon is disabled. Requires the beta version of - # Android Cloud Policy. + # the Android Device Policy app. # Corresponds to the JSON property `setUserIconDisabled` # @return [Boolean] attr_accessor :set_user_icon_disabled alias_method :set_user_icon_disabled?, :set_user_icon_disabled # Whether changing the wallpaper is disabled. Requires the beta version of - # Android Cloud Policy. + # the Android Device Policy app. # Corresponds to the JSON property `setWallpaperDisabled` # @return [Boolean] attr_accessor :set_wallpaper_disabled @@ -1821,7 +1821,7 @@ module Google attr_accessor :short_support_message # Whether sending or receiving SMS messages is disabled. Requires the beta - # version of Android Cloud Policy. + # version of the Android Device Policy app. # Corresponds to the JSON property `smsDisabled` # @return [Boolean] attr_accessor :sms_disabled @@ -1852,14 +1852,14 @@ module Google attr_accessor :system_update # Whether configuring tethering and portable hotspots is disabled. Requires - # the beta version of Android Cloud Policy. + # the beta version of the Android Device Policy app. # Corresponds to the JSON property `tetheringConfigDisabled` # @return [Boolean] attr_accessor :tethering_config_disabled alias_method :tethering_config_disabled?, :tethering_config_disabled # Whether user uninstallation of applications is disabled. Requires the beta - # version of Android Cloud Policy. + # version of the Android Device Policy app. # Corresponds to the JSON property `uninstallAppsDisabled` # @return [Boolean] attr_accessor :uninstall_apps_disabled @@ -1872,7 +1872,7 @@ module Google alias_method :unmute_microphone_disabled?, :unmute_microphone_disabled # Whether transferring files over USB is disabled. Requires the beta version - # of Android Cloud Policy. + # of the Android Device Policy app. # Corresponds to the JSON property `usbFileTransferDisabled` # @return [Boolean] attr_accessor :usb_file_transfer_disabled @@ -1884,8 +1884,8 @@ module Google # @return [Fixnum] attr_accessor :version - # Whether configuring VPN is disabled. Requires the beta version of Android - # Cloud Policy. + # Whether configuring VPN is disabled. Requires the beta version of the + # Android Device Policy app. # Corresponds to the JSON property `vpnConfigDisabled` # @return [Boolean] attr_accessor :vpn_config_disabled