Skip to content

Commit

Permalink
Regen APIs, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
sqrrrl committed Jul 6, 2016
1 parent 24ef90b commit cba9d79
Show file tree
Hide file tree
Showing 30 changed files with 1,919 additions and 196 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 0.9.11
* Add DFA Reporting 2.5, regenerate APIs

# 0.9.10
* Add datastore v1beta3, regenerate APIs
* Reduce memory footprint used by mimetypes library
Expand Down
7 changes: 7 additions & 0 deletions api_names.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,13 @@
"/genomics:v1/genomics.variantsets.search": search_variant_sets
"/genomics:v1/genomics.referencesets.search": search_reference_sets
"/gmail:v1/gmail.users.getProfile": get_user_profile
"/gmail:v1/ListSendAsResponse/sendAs/send_a": send_as
"/gmail:v1/gmail.users.settings.sendAs.create": create_user_setting_send_as
"/gmail:v1/gmail.users.settings.sendAs.delete": delete_user_setting_send_as
"/gmail:v1/gmail.users.settings.sendAs.get": get_user_setting_send_as
"/gmail:v1/gmail.users.settings.sendAs.patch": patch_user_setting_send_as
"/gmail:v1/gmail.users.settings.sendAs.update": update_user_setting_send_as
"/gmail:v1/gmail.users.settings.sendAs.verify": verify_user_setting_send_as
"/groupssettings:v1?force_alt_json" : true
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest": set_project_config_request
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest": create_auth_uri_request
Expand Down
274 changes: 131 additions & 143 deletions api_names_out.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion generated/google/apis/adsense_v1_4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/adsense/management/
module AdsenseV1_4
VERSION = 'V1_4'
REVISION = '20160627'
REVISION = '20160705'

# View and manage your AdSense data
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/adsensehost_v4_1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://developers.google.com/adsense/host/
module AdsensehostV4_1
VERSION = 'V4_1'
REVISION = '20160627'
REVISION = '20160705'

# View and manage your AdSense host data and associated accounts
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/androidenterprise_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/android/work/play/emm-api
module AndroidenterpriseV1
VERSION = 'V1'
REVISION = '20160627'
REVISION = '20160704'

# Manage corporate Android devices
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
Expand Down
19 changes: 9 additions & 10 deletions generated/google/apis/androidenterprise_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,7 @@ class Device
# means that the EMM's app is a device owner. "managedProfile" means that the
# EMM's app is the profile owner (and there is a separate personal profile which
# is not managed). "containerApp" means that the EMM's app is managing the
# Android for Work container app on the device. ?unmanagedProfile? means that
# the EMM?s app is managing a managed user on an unmanaged device
# Android for Work container app on the device.
# Corresponds to the JSON property `managementType`
# @return [String]
attr_accessor :management_type
Expand Down Expand Up @@ -526,7 +525,7 @@ def update!(**args)
# optional), and Enterprises.setAccount.
# The overall processes are very different and involve different identity models,
# but as an EMM, you can support either or both approaches in your EMM console.
# See EMM Developer?s Guide for details.
# See EMM Developer's Guide for details.
class Enterprise
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -1234,10 +1233,10 @@ def update!(**args)
end
end

# A product represents an app in the Google Play Store that is available to at
# least some users in the enterprise. (Some apps are restricted to a single
# enterprise, and no information about them is made available outside that
# enterprise.)
# A Products resource represents an app in the Google Play Store that is
# available to at least some users in the enterprise. (Some apps are restricted
# to a single enterprise, and no information about them is made available
# outside that enterprise.)
# The information provided for each product (localized name, icon, link to the
# full Google Play details page) is intended to allow a basic representation of
# the product within an EMM user interface.
Expand Down Expand Up @@ -1898,7 +1897,7 @@ def update!(**args)
end
end

# A user resource represents an account associated with an enterprise. The
# A Users resource represents an account associated with an enterprise. The
# account may be specific to a device or to an individual user (who can then use
# the account across multiple devices). The account may provide access to Google
# Play for Work only, or to other Google services, depending on the identity
Expand Down Expand Up @@ -1954,8 +1953,8 @@ class User
# @return [String]
attr_accessor :management_type

# The user's primary email address, e.g. "jsmith@example.com". Will always be
# set for Google managed users and not set for EMM managed users.
# The user's primary email address, for example, "jsmith@example.com". Will
# always be set for Google managed users and not set for EMM managed users.
# Corresponds to the JSON property `primaryEmail`
# @return [String]
attr_accessor :primary_email
Expand Down
64 changes: 50 additions & 14 deletions generated/google/apis/androidenterprise_v1/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -538,11 +538,11 @@ def get_device(enterprise_id, user_id, device_id, fields: nil, quota_user: nil,
execute_or_queue_command(command, &block)
end

# Retrieves whether a device is enabled or disabled for access by the user to
# Google services. The device state takes effect only if enforcing EMM policies
# on Android devices is enabled in the Google Admin Console. Otherwise, the
# device state is ignored and all devices are allowed access to Google services.
# This is only supported for Google-managed users.
# Retrieves whether a device's access to Google services is enabled or disabled.
# The device state takes effect only if enforcing EMM policies on Android
# devices is enabled in the Google Admin Console. Otherwise, the device state is
# ignored and all devices are allowed access to Google services. This is only
# supported for Google-managed users.
# @param [String] enterprise_id
# The ID of the enterprise.
# @param [String] user_id
Expand Down Expand Up @@ -621,11 +621,11 @@ def list_devices(enterprise_id, user_id, fields: nil, quota_user: nil, user_ip:
execute_or_queue_command(command, &block)
end

# Sets whether a device is enabled or disabled for access by the user to Google
# services. The device state takes effect only if enforcing EMM policies on
# Android devices is enabled in the Google Admin Console. Otherwise, the device
# state is ignored and all devices are allowed access to Google services. This
# is only supported for Google-managed users.
# Sets whether a device's access to Google services is enabled or disabled. The
# device state takes effect only if enforcing EMM policies on Android devices is
# enabled in the Google Admin Console. Otherwise, the device state is ignored
# and all devices are allowed access to Google services. This is only supported
# for Google-managed users.
# @param [String] enterprise_id
# The ID of the enterprise.
# @param [String] user_id
Expand Down Expand Up @@ -705,13 +705,13 @@ def acknowledge_enterprise_notification_set(notification_set_id: nil, fields: ni
execute_or_queue_command(command, &block)
end

# Completes the signup flow, by specifying the Completion Token and Enterprise
# Token. This request must not be called multiple times for a given Enterprise
# Completes the signup flow, by specifying the Completion token and Enterprise
# token. This request must not be called multiple times for a given Enterprise
# Token.
# @param [String] completion_token
# The Completion Token intially returned by GenerateSignupUrl.
# The Completion token initially returned by GenerateSignupUrl.
# @param [String] enterprise_token
# The Enterprise Token appended to the Callback URL.
# The Enterprise token appended to the Callback URL.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
Expand Down Expand Up @@ -2122,6 +2122,42 @@ def list_products(enterprise_id, approved: nil, language: nil, max_results: nil,
execute_or_queue_command(command, &block)
end

# Unapproves the specified product (and the relevant app permissions, if any)
# @param [String] enterprise_id
# The ID of the enterprise.
# @param [String] product_id
# The ID of the product.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# Overrides userIp if both are provided.
# @param [String] user_ip
# IP address of the site where the request originates. Use this if you want to
# enforce per-user limits.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [NilClass] No result returned for this method
# @yieldparam err [StandardError] error object if request failed
#
# @return [void]
#
# @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 unapprove_product(enterprise_id, product_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, 'enterprises/{enterpriseId}/products/{productId}/unapprove', options)
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
command.params['productId'] = product_id unless product_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

# This method has been deprecated. To programmatically approve applications, you
# must use the iframe mechanism via the generateApprovalUrl and approve
# methods of the Products resource. For more information, see the Play EMM API
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/appstate_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/games/services/web/api/states
module AppstateV1
VERSION = 'V1'
REVISION = '20160621'
REVISION = '20160628'

# View and manage your data for this application
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/calendar_v3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/google-apps/calendar/firstapp
module CalendarV3
VERSION = 'V3'
REVISION = '20160626'
REVISION = '20160628'

# Manage your calendars
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/cloudbuild_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://cloud.google.com/container-builder/docs/
module CloudbuildV1
VERSION = 'V1'
REVISION = '20160628'
REVISION = '20160706'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/compute_beta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeBeta
VERSION = 'Beta'
REVISION = '20160617'
REVISION = '20160628'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
26 changes: 26 additions & 0 deletions generated/google/apis/compute_beta/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,12 @@ class Autoscaler
# @return [String]
attr_accessor :name

# [Output Only] URL of the region where the instance group resides (for
# autoscalers living in regional scope).
# Corresponds to the JSON property `region`
# @return [String]
attr_accessor :region

# [Output Only] Server-defined URL for the resource.
# Corresponds to the JSON property `selfLink`
# @return [String]
Expand Down Expand Up @@ -595,6 +601,7 @@ def update!(**args)
@id = args[:id] if args.key?(:id)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@region = args[:region] if args.key?(:region)
@self_link = args[:self_link] if args.key?(:self_link)
@target = args[:target] if args.key?(:target)
@zone = args[:zone] if args.key?(:zone)
Expand Down Expand Up @@ -3865,6 +3872,11 @@ class InstanceGroup
# @return [String]
attr_accessor :network

# The URL of the region where the instance group is located.
# Corresponds to the JSON property `region`
# @return [String]
attr_accessor :region

# [Output Only] The URL for this instance group. The server generates this URL.
# Corresponds to the JSON property `selfLink`
# @return [String]
Expand Down Expand Up @@ -3899,6 +3911,7 @@ def update!(**args)
@name = args[:name] if args.key?(:name)
@named_ports = args[:named_ports] if args.key?(:named_ports)
@network = args[:network] if args.key?(:network)
@region = args[:region] if args.key?(:region)
@self_link = args[:self_link] if args.key?(:self_link)
@size = args[:size] if args.key?(:size)
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
Expand Down Expand Up @@ -4040,6 +4053,12 @@ class InstanceGroupManager
# @return [String]
attr_accessor :description

# The action to perform in case of zone failure (set only for Regional instance
# group managers).
# Corresponds to the JSON property `failoverAction`
# @return [String]
attr_accessor :failover_action

# [Output Only] The fingerprint of the resource data. You can use this optional
# field for optimistic locking when you update the resource.
# Corresponds to the JSON property `fingerprint`
Expand Down Expand Up @@ -4082,6 +4101,11 @@ class InstanceGroupManager
# @return [Array<Google::Apis::ComputeBeta::NamedPort>]
attr_accessor :named_ports

# [Output Only] URL of the region where the managed instance group resides.
# Corresponds to the JSON property `region`
# @return [String]
attr_accessor :region

# [Output Only] The URL for this managed instance group. The server defines this
# URL.
# Corresponds to the JSON property `selfLink`
Expand Down Expand Up @@ -4118,13 +4142,15 @@ def update!(**args)
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@current_actions = args[:current_actions] if args.key?(:current_actions)
@description = args[:description] if args.key?(:description)
@failover_action = args[:failover_action] if args.key?(:failover_action)
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@id = args[:id] if args.key?(:id)
@instance_group = args[:instance_group] if args.key?(:instance_group)
@instance_template = args[:instance_template] if args.key?(:instance_template)
@kind = args[:kind] if args.key?(:kind)
@name = args[:name] if args.key?(:name)
@named_ports = args[:named_ports] if args.key?(:named_ports)
@region = args[:region] if args.key?(:region)
@self_link = args[:self_link] if args.key?(:self_link)
@target_pools = args[:target_pools] if args.key?(:target_pools)
@target_size = args[:target_size] if args.key?(:target_size)
Expand Down
4 changes: 4 additions & 0 deletions generated/google/apis/compute_beta/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1517,6 +1517,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
property :kind, as: 'kind'
property :name, as: 'name'
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :target, as: 'target'
property :zone, as: 'zone'
Expand Down Expand Up @@ -2270,6 +2271,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeBeta::NamedPort, decorator: Google::Apis::ComputeBeta::NamedPort::Representation

property :network, as: 'network'
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :size, as: 'size'
property :subnetwork, as: 'subnetwork'
Expand Down Expand Up @@ -2311,6 +2313,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :current_actions, as: 'currentActions', class: Google::Apis::ComputeBeta::InstanceGroupManagerActionsSummary, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerActionsSummary::Representation

property :description, as: 'description'
property :failover_action, as: 'failoverAction'
property :fingerprint, :base64 => true, as: 'fingerprint'
property :id, as: 'id'
property :instance_group, as: 'instanceGroup'
Expand All @@ -2319,6 +2322,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeBeta::NamedPort, decorator: Google::Apis::ComputeBeta::NamedPort::Representation

property :region, as: 'region'
property :self_link, as: 'selfLink'
collection :target_pools, as: 'targetPools'
property :target_size, as: 'targetSize'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/compute_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeV1
VERSION = 'V1'
REVISION = '20160617'
REVISION = '20160628'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/doubleclicksearch_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://developers.google.com/doubleclick-search/
module DoubleclicksearchV2
VERSION = 'V2'
REVISION = '20160627'
REVISION = '20160629'

# View and manage your advertising data in DoubleClick Search
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/games/services
module GamesConfigurationV1configuration
VERSION = 'V1configuration'
REVISION = '20160621'
REVISION = '20160628'

# View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/games_management_v1management.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/games/services
module GamesManagementV1management
VERSION = 'V1management'
REVISION = '20160621'
REVISION = '20160628'

# Share your Google+ profile information and view and manage your game activity
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/games_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @see https://developers.google.com/games/services/
module GamesV1
VERSION = 'V1'
REVISION = '20160621'
REVISION = '20160628'

# View and manage its own configuration data in your Google Drive
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
Expand Down
Loading

0 comments on commit cba9d79

Please sign in to comment.