Regen APIs
This commit is contained in:
1 parent
2533098484
commit
99a70f8a0a
42 files changed
+397
-68
No files matched your search
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://developers.google.com/adsense/management/
|
||||
module AdsenseV1_4
|
||||
VERSION = 'V1_4'
|
||||
REVISION = '20151206'
|
||||
REVISION = '20160112'
|
||||
|
||||
# View and manage your AdSense data
|
||||
AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://developers.google.com/adsense/host/
|
||||
module AdsensehostV4_1
|
||||
VERSION = 'V4_1'
|
||||
REVISION = '20151206'
|
||||
REVISION = '20160112'
|
||||
|
||||
# View and manage your AdSense host data and associated accounts
|
||||
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://developers.google.com/android/work/play/emm-api
|
||||
module AndroidenterpriseV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20151215'
|
||||
REVISION = '20160106'
|
||||
|
||||
# Manage corporate Android devices
|
||||
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
||||
|
||||
@@ -979,6 +979,11 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :product_id
|
||||
|
||||
# Whether this product is free, free with in-app purchases, or paid.
|
||||
# Corresponds to the JSON property `productPricing`
|
||||
# @return [String]
|
||||
attr_accessor :product_pricing
|
||||
|
||||
# Whether this app can only be installed on devices using the Android for Work
|
||||
# container app.
|
||||
# Corresponds to the JSON property `requiresContainerApp`
|
||||
@@ -1010,6 +1015,7 @@ module Google
|
||||
@icon_url = args[:icon_url] unless args[:icon_url].nil?
|
||||
@kind = args[:kind] unless args[:kind].nil?
|
||||
@product_id = args[:product_id] unless args[:product_id].nil?
|
||||
@product_pricing = args[:product_pricing] unless args[:product_pricing].nil?
|
||||
@requires_container_app = args[:requires_container_app] unless args[:requires_container_app].nil?
|
||||
@title = args[:title] unless args[:title].nil?
|
||||
@work_details_url = args[:work_details_url] unless args[:work_details_url].nil?
|
||||
|
||||
@@ -410,6 +410,7 @@ module Google
|
||||
property :icon_url, as: 'iconUrl'
|
||||
property :kind, as: 'kind'
|
||||
property :product_id, as: 'productId'
|
||||
property :product_pricing, as: 'productPricing'
|
||||
property :requires_container_app, as: 'requiresContainerApp'
|
||||
property :title, as: 'title'
|
||||
property :work_details_url, as: 'workDetailsUrl'
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/android-publisher
|
||||
module AndroidpublisherV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20150910'
|
||||
REVISION = '20160111'
|
||||
|
||||
# View and manage your Google Play Developer account
|
||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||
|
||||
@@ -644,7 +644,8 @@ module Google
|
||||
attr_accessor :status
|
||||
|
||||
# Subscription period, specified in ISO 8601 format. Acceptable values are "P1W"
|
||||
# (one week), "P1M" (one month) and "P1Y" (one year).
|
||||
# (one week), "P1M" (one month), "P3M" (three months), "P6M" (six months), and "
|
||||
# P1Y" (one year).
|
||||
# Corresponds to the JSON property `subscriptionPeriod`
|
||||
# @return [String]
|
||||
attr_accessor :subscription_period
|
||||
@@ -1130,6 +1131,34 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class Prorate
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Default price cannot be zero and must be less than the full subscription price.
|
||||
# Default price is always in the developer's Checkout merchant currency.
|
||||
# Targeted countries have their prices set automatically based on the
|
||||
# default_price.
|
||||
# Corresponds to the JSON property `defaultPrice`
|
||||
# @return [Google::Apis::AndroidpublisherV2::Price]
|
||||
attr_accessor :default_price
|
||||
|
||||
# Defines the first day on which the price takes effect.
|
||||
# Corresponds to the JSON property `start`
|
||||
# @return [Google::Apis::AndroidpublisherV2::MonthDay]
|
||||
attr_accessor :start
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@default_price = args[:default_price] unless args[:default_price].nil?
|
||||
@start = args[:start] unless args[:start].nil?
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class Season
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -1139,6 +1168,13 @@ module Google
|
||||
# @return [Google::Apis::AndroidpublisherV2::MonthDay]
|
||||
attr_accessor :end
|
||||
|
||||
# Optionally present list of prorations for the season. Each proration is a one-
|
||||
# off discounted entry into a subscription. Each proration contains the first
|
||||
# date on which the discount is available and the new pricing information.
|
||||
# Corresponds to the JSON property `prorations`
|
||||
# @return [Array<Google::Apis::AndroidpublisherV2::Prorate>]
|
||||
attr_accessor :prorations
|
||||
|
||||
# Inclusive start date of the recurrence period.
|
||||
# Corresponds to the JSON property `start`
|
||||
# @return [Google::Apis::AndroidpublisherV2::MonthDay]
|
||||
@@ -1151,6 +1187,7 @@ module Google
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@end = args[:end] unless args[:end].nil?
|
||||
@prorations = args[:prorations] unless args[:prorations].nil?
|
||||
@start = args[:start] unless args[:start].nil?
|
||||
end
|
||||
end
|
||||
|
||||
@@ -166,6 +166,10 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class Prorate
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class Season
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
@@ -549,11 +553,23 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class Prorate
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :default_price, as: 'defaultPrice', class: Google::Apis::AndroidpublisherV2::Price, decorator: Google::Apis::AndroidpublisherV2::Price::Representation
|
||||
|
||||
property :start, as: 'start', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Season
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :end, as: 'end', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation
|
||||
|
||||
collection :prorations, as: 'prorations', class: Google::Apis::AndroidpublisherV2::Prorate, decorator: Google::Apis::AndroidpublisherV2::Prorate::Representation
|
||||
|
||||
property :start, as: 'start', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation
|
||||
|
||||
end
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/google-apps/activity/
|
||||
module AppsactivityV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20150417'
|
||||
REVISION = '20150723'
|
||||
|
||||
# View the activity history of your Google Apps
|
||||
AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity'
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/games/services/web/api/states
|
||||
module AppstateV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20151214'
|
||||
REVISION = '20160107'
|
||||
|
||||
# View and manage your data for this application
|
||||
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
||||
|
||||
@@ -1267,7 +1267,7 @@ module Google
|
||||
# @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 instances_event(calendar_id, event_id, always_include_email: nil, max_attendees: nil, max_results: nil, original_start: nil, page_token: nil, show_deleted: nil, time_max: nil, time_min: nil, time_zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_event_instances(calendar_id, event_id, always_include_email: nil, max_attendees: nil, max_results: nil, original_start: nil, page_token: nil, show_deleted: nil, time_max: nil, time_min: nil, time_zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'calendars/{calendarId}/events/{eventId}/instances', options)
|
||||
command.response_representation = Google::Apis::CalendarV3::Events::Representation
|
||||
command.response_class = Google::Apis::CalendarV3::Events
|
||||
@@ -1566,7 +1566,7 @@ module Google
|
||||
# @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 quick_event_add(calendar_id, text, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def quick_add_event(calendar_id, text, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'calendars/{calendarId}/events/quickAdd', options)
|
||||
command.response_representation = Google::Apis::CalendarV3::Event::Representation
|
||||
command.response_class = Google::Apis::CalendarV3::Event
|
||||
|
||||
@@ -436,7 +436,7 @@ module Google
|
||||
end
|
||||
|
||||
# The result of a division search query.
|
||||
class SearchDivisionResponse
|
||||
class DivisionSearchResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "civicinfo#
|
||||
|
||||
@@ -42,7 +42,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class SearchDivisionResponse
|
||||
class DivisionSearchResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
@@ -194,7 +194,7 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class SearchDivisionResponse
|
||||
class DivisionSearchResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
|
||||
@@ -71,18 +71,18 @@ module Google
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::CivicinfoV2::SearchDivisionResponse] parsed result object
|
||||
# @yieldparam result [Google::Apis::CivicinfoV2::DivisionSearchResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::CivicinfoV2::SearchDivisionResponse]
|
||||
# @return [Google::Apis::CivicinfoV2::DivisionSearchResponse]
|
||||
#
|
||||
# @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 search_divisions(query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'divisions', options)
|
||||
command.response_representation = Google::Apis::CivicinfoV2::SearchDivisionResponse::Representation
|
||||
command.response_class = Google::Apis::CivicinfoV2::SearchDivisionResponse
|
||||
command.response_representation = Google::Apis::CivicinfoV2::DivisionSearchResponse::Representation
|
||||
command.response_class = Google::Apis::CivicinfoV2::DivisionSearchResponse
|
||||
command.query['query'] = query unless query.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/monitoring/v2beta2/
|
||||
module CloudmonitoringV2beta2
|
||||
VERSION = 'V2beta2'
|
||||
REVISION = '20160105'
|
||||
REVISION = '20160110'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/resource-manager
|
||||
module CloudresourcemanagerV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20151211'
|
||||
REVISION = '20160112'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -303,7 +303,8 @@ module Google
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The set of permissions to check for the `resource`. Permissions with wildcards
|
||||
# (such as '*' or 'storage.*') are not allowed.
|
||||
# (such as '*' or 'storage.*') are not allowed. For more information see IAM
|
||||
# Overview.
|
||||
# Corresponds to the JSON property `permissions`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :permissions
|
||||
|
||||
@@ -273,9 +273,9 @@ module Google
|
||||
# Returns the IAM access control policy for the specified Project. Permission is
|
||||
# denied if the policy or the resource does not exist.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which policy is being requested. `resource` is
|
||||
# usually specified as a path, such as, `projects/`project`/zones/`zone`/disks/`
|
||||
# disk``. The format for the path specified in this value is resource specific
|
||||
# REQUIRED: The resource for which the policy is being requested. `resource` is
|
||||
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
|
||||
# disk*`. The format for the path specified in this value is resource specific
|
||||
# and is specified in the `getIamPolicy` documentation.
|
||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
||||
# @param [String] fields
|
||||
@@ -321,9 +321,9 @@ module Google
|
||||
# understand how the service account is being used before removing or updating
|
||||
# its roles.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which policy is being specified. `resource` is
|
||||
# usually specified as a path, such as, `projects/`project`/zones/`zone`/disks/`
|
||||
# disk``. The format for the path specified in this value is resource specific
|
||||
# REQUIRED: The resource for which the policy is being specified. `resource` is
|
||||
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
|
||||
# disk*`. The format for the path specified in this value is resource specific
|
||||
# and is specified in the `setIamPolicy` documentation.
|
||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
||||
# @param [String] fields
|
||||
@@ -357,10 +357,10 @@ module Google
|
||||
|
||||
# Returns permissions that a caller has on the specified Project.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which policy detail is being requested. `resource`
|
||||
# is usually specified as a path, such as, `projects/`project`/zones/`zone`/
|
||||
# disks/`disk``. The format for the path specified in this value is resource
|
||||
# specific and is specified in the `testIamPermissions` documentation. rpc.
|
||||
# REQUIRED: The resource for which the policy detail is being requested. `
|
||||
# resource` is usually specified as a path, such as `projects/*project*/zones/*
|
||||
# zone*/disks/*disk*`. The format for the path specified in this value is
|
||||
# resource specific and is specified in the `testIamPermissions` documentation.
|
||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -504,9 +504,9 @@ module Google
|
||||
# Sets the access control policy on an Organization resource. Replaces any
|
||||
# existing policy.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which policy is being specified. `resource` is
|
||||
# usually specified as a path, such as, `projects/`project`/zones/`zone`/disks/`
|
||||
# disk``. The format for the path specified in this value is resource specific
|
||||
# REQUIRED: The resource for which the policy is being specified. `resource` is
|
||||
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
|
||||
# disk*`. The format for the path specified in this value is resource specific
|
||||
# and is specified in the `setIamPolicy` documentation.
|
||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
||||
# @param [String] fields
|
||||
@@ -541,9 +541,9 @@ module Google
|
||||
# Gets the access control policy for an Organization resource. May be empty if
|
||||
# no such policy or resource exists.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which policy is being requested. `resource` is
|
||||
# usually specified as a path, such as, `projects/`project`/zones/`zone`/disks/`
|
||||
# disk``. The format for the path specified in this value is resource specific
|
||||
# REQUIRED: The resource for which the policy is being requested. `resource` is
|
||||
# usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*
|
||||
# disk*`. The format for the path specified in this value is resource specific
|
||||
# and is specified in the `getIamPolicy` documentation.
|
||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
||||
# @param [String] fields
|
||||
@@ -577,10 +577,10 @@ module Google
|
||||
|
||||
# Returns permissions that a caller has on the specified Organization.
|
||||
# @param [String] resource
|
||||
# REQUIRED: The resource for which policy detail is being requested. `resource`
|
||||
# is usually specified as a path, such as, `projects/`project`/zones/`zone`/
|
||||
# disks/`disk``. The format for the path specified in this value is resource
|
||||
# specific and is specified in the `testIamPermissions` documentation. rpc.
|
||||
# REQUIRED: The resource for which the policy detail is being requested. `
|
||||
# resource` is usually specified as a path, such as `projects/*project*/zones/*
|
||||
# zone*/disks/*disk*`. The format for the path specified in this value is
|
||||
# resource specific and is specified in the `testIamPermissions` documentation.
|
||||
# @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeBeta
|
||||
VERSION = 'Beta'
|
||||
REVISION = '20151208'
|
||||
REVISION = '20160107'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20151208'
|
||||
REVISION = '20160107'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/custom-search/v1/using_rest
|
||||
module CustomsearchV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20131205'
|
||||
REVISION = '20151130'
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/deployment-manager/
|
||||
module DeploymentmanagerV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20151213'
|
||||
REVISION = '20160104'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -374,7 +374,8 @@ module Google
|
||||
attr_accessor :http_error_message
|
||||
|
||||
# [Output Only] If the operation fails, this field contains the HTTP error
|
||||
# message that was returned. For example, a 404 means the resource was not found.
|
||||
# status code that was returned. For example, a 404 means the resource was not
|
||||
# found.
|
||||
# Corresponds to the JSON property `httpErrorStatusCode`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :http_error_status_code
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://developers.google.com/doubleclick-search/
|
||||
module DoubleclicksearchV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20151230'
|
||||
REVISION = '20160108'
|
||||
|
||||
# View and manage your advertising data in DoubleClick Search
|
||||
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/games/services
|
||||
module GamesConfigurationV1configuration
|
||||
VERSION = 'V1configuration'
|
||||
REVISION = '20151215'
|
||||
REVISION = '20160106'
|
||||
|
||||
# View and manage your Google Play Developer account
|
||||
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/games/services
|
||||
module GamesManagementV1management
|
||||
VERSION = 'V1management'
|
||||
REVISION = '20151215'
|
||||
REVISION = '20160106'
|
||||
|
||||
# Share your Google+ profile information and view and manage your game activity
|
||||
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/games/services/
|
||||
module GamesV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20151215'
|
||||
REVISION = '20160106'
|
||||
|
||||
# View and manage its own configuration data in your Google Drive
|
||||
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
||||
|
||||
@@ -28,7 +28,7 @@ module Google
|
||||
# @see
|
||||
module GenomicsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20151219'
|
||||
REVISION = '20160113'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
||||
@@ -495,9 +495,9 @@ module Google
|
||||
# import - Tags will be converted to strings - tag types are not preserved -
|
||||
# Comments (`@CO`) in the input file header will not be preserved - Original
|
||||
# header order of references (`@SQ`) will not be preserved - Any reverse
|
||||
# stranded unmapped reads will be reverse complemented, and their qualities (and
|
||||
# "BQ" tag, if any) will be reversed - Unmapped reads will be stripped of
|
||||
# positional information (reference name and position)
|
||||
# stranded unmapped reads will be reverse complemented, and their qualities (
|
||||
# also the "BQ" and "OQ" tags, if any) will be reversed - Unmapped reads will be
|
||||
# stripped of positional information (reference name and position)
|
||||
# @param [Google::Apis::GenomicsV1::ImportReadGroupSetsRequest] import_read_group_sets_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
|
||||
@@ -78,6 +78,7 @@ module Google
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_group(group_unique_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{groupUniqueId}', options)
|
||||
command.query['alt'] = 'json'
|
||||
command.response_representation = Google::Apis::GroupssettingsV1::Groups::Representation
|
||||
command.response_class = Google::Apis::GroupssettingsV1::Groups
|
||||
command.params['groupUniqueId'] = group_unique_id unless group_unique_id.nil?
|
||||
@@ -116,6 +117,7 @@ module Google
|
||||
command = make_simple_command(:patch, '{groupUniqueId}', options)
|
||||
command.request_representation = Google::Apis::GroupssettingsV1::Groups::Representation
|
||||
command.request_object = groups_object
|
||||
command.query['alt'] = 'json'
|
||||
command.response_representation = Google::Apis::GroupssettingsV1::Groups::Representation
|
||||
command.response_class = Google::Apis::GroupssettingsV1::Groups
|
||||
command.params['groupUniqueId'] = group_unique_id unless group_unique_id.nil?
|
||||
@@ -154,6 +156,7 @@ module Google
|
||||
command = make_simple_command(:put, '{groupUniqueId}', options)
|
||||
command.request_representation = Google::Apis::GroupssettingsV1::Groups::Representation
|
||||
command.request_object = groups_object
|
||||
command.query['alt'] = 'json'
|
||||
command.response_representation = Google::Apis::GroupssettingsV1::Groups::Representation
|
||||
command.response_class = Google::Apis::GroupssettingsV1::Groups
|
||||
command.params['groupUniqueId'] = group_unique_id unless group_unique_id.nil?
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/identity-toolkit/v3/
|
||||
module IdentitytoolkitV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20151109'
|
||||
REVISION = '20160108'
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -488,6 +488,11 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :id_token
|
||||
|
||||
# Instance id token of the app.
|
||||
# Corresponds to the JSON property `instanceId`
|
||||
# @return [String]
|
||||
attr_accessor :instance_id
|
||||
|
||||
# The local ID of the user.
|
||||
# Corresponds to the JSON property `localId`
|
||||
# @return [String]
|
||||
@@ -532,6 +537,7 @@ module Google
|
||||
@email = args[:email] unless args[:email].nil?
|
||||
@email_verified = args[:email_verified] unless args[:email_verified].nil?
|
||||
@id_token = args[:id_token] unless args[:id_token].nil?
|
||||
@instance_id = args[:instance_id] unless args[:instance_id].nil?
|
||||
@local_id = args[:local_id] unless args[:local_id].nil?
|
||||
@oob_code = args[:oob_code] unless args[:oob_code].nil?
|
||||
@password = args[:password] unless args[:password].nil?
|
||||
@@ -541,6 +547,50 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Request to sign out user.
|
||||
class SignOutUserRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Instance id token of the app.
|
||||
# Corresponds to the JSON property `instanceId`
|
||||
# @return [String]
|
||||
attr_accessor :instance_id
|
||||
|
||||
# The local ID of the user.
|
||||
# Corresponds to the JSON property `localId`
|
||||
# @return [String]
|
||||
attr_accessor :local_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@instance_id = args[:instance_id] unless args[:instance_id].nil?
|
||||
@local_id = args[:local_id] unless args[:local_id].nil?
|
||||
end
|
||||
end
|
||||
|
||||
# Response of signing out user.
|
||||
class SignOutUserResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The local ID of the user.
|
||||
# Corresponds to the JSON property `localId`
|
||||
# @return [String]
|
||||
attr_accessor :local_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@local_id = args[:local_id] unless args[:local_id].nil?
|
||||
end
|
||||
end
|
||||
|
||||
# Request to upload user account in batch.
|
||||
class UploadAccountRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -594,6 +644,11 @@ module Google
|
||||
class VerifyAssertionRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Instance id token of the app.
|
||||
# Corresponds to the JSON property `instanceId`
|
||||
# @return [String]
|
||||
attr_accessor :instance_id
|
||||
|
||||
# The GITKit token for the non-trusted IDP pending to be confirmed by the user.
|
||||
# Corresponds to the JSON property `pendingIdToken`
|
||||
# @return [String]
|
||||
@@ -627,6 +682,7 @@ module Google
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@instance_id = args[:instance_id] unless args[:instance_id].nil?
|
||||
@pending_id_token = args[:pending_id_token] unless args[:pending_id_token].nil?
|
||||
@post_body = args[:post_body] unless args[:post_body].nil?
|
||||
@request_uri = args[:request_uri] unless args[:request_uri].nil?
|
||||
@@ -635,6 +691,31 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Request to verify a custom token
|
||||
class VerifyCustomTokenRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Instance id token of the app.
|
||||
# Corresponds to the JSON property `instanceId`
|
||||
# @return [String]
|
||||
attr_accessor :instance_id
|
||||
|
||||
# The custom token to verify
|
||||
# Corresponds to the JSON property `token`
|
||||
# @return [String]
|
||||
attr_accessor :token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@instance_id = args[:instance_id] unless args[:instance_id].nil?
|
||||
@token = args[:token] unless args[:token].nil?
|
||||
end
|
||||
end
|
||||
|
||||
# Request to verify the password.
|
||||
class VerifyPasswordRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
@@ -654,6 +735,11 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :email
|
||||
|
||||
# Instance id token of the app.
|
||||
# Corresponds to the JSON property `instanceId`
|
||||
# @return [String]
|
||||
attr_accessor :instance_id
|
||||
|
||||
# The password inputed by the user.
|
||||
# Corresponds to the JSON property `password`
|
||||
# @return [String]
|
||||
@@ -673,6 +759,7 @@ module Google
|
||||
@captcha_challenge = args[:captcha_challenge] unless args[:captcha_challenge].nil?
|
||||
@captcha_response = args[:captcha_response] unless args[:captcha_response].nil?
|
||||
@email = args[:email] unless args[:email].nil?
|
||||
@instance_id = args[:instance_id] unless args[:instance_id].nil?
|
||||
@password = args[:password] unless args[:password].nil?
|
||||
@pending_id_token = args[:pending_id_token] unless args[:pending_id_token].nil?
|
||||
end
|
||||
@@ -1274,6 +1361,31 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Response from verifying a custom token
|
||||
class VerifyCustomTokenResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The GITKit token for authenticated user.
|
||||
# Corresponds to the JSON property `idToken`
|
||||
# @return [String]
|
||||
attr_accessor :id_token
|
||||
|
||||
# The fixed string "identitytoolkit#VerifyCustomTokenResponse".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@id_token = args[:id_token] unless args[:id_token].nil?
|
||||
@kind = args[:kind] unless args[:kind].nil?
|
||||
end
|
||||
end
|
||||
|
||||
# Request of verifying the password.
|
||||
class VerifyPasswordResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -74,6 +74,14 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class SignOutUserRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class SignOutUserResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class UploadAccountRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
@@ -82,6 +90,10 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class VerifyCustomTokenRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class VerifyPasswordRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
@@ -126,6 +138,10 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class VerifyCustomTokenResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
|
||||
class VerifyPasswordResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
end
|
||||
@@ -258,6 +274,7 @@ module Google
|
||||
property :email, as: 'email'
|
||||
property :email_verified, as: 'emailVerified'
|
||||
property :id_token, as: 'idToken'
|
||||
property :instance_id, as: 'instanceId'
|
||||
property :local_id, as: 'localId'
|
||||
property :oob_code, as: 'oobCode'
|
||||
property :password, as: 'password'
|
||||
@@ -267,6 +284,21 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class SignOutUserRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :instance_id, as: 'instanceId'
|
||||
property :local_id, as: 'localId'
|
||||
end
|
||||
end
|
||||
|
||||
class SignOutUserResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :local_id, as: 'localId'
|
||||
end
|
||||
end
|
||||
|
||||
class UploadAccountRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -283,6 +315,7 @@ module Google
|
||||
class VerifyAssertionRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :instance_id, as: 'instanceId'
|
||||
property :pending_id_token, as: 'pendingIdToken'
|
||||
property :post_body, as: 'postBody'
|
||||
property :request_uri, as: 'requestUri'
|
||||
@@ -291,12 +324,21 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class VerifyCustomTokenRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :instance_id, as: 'instanceId'
|
||||
property :token, as: 'token'
|
||||
end
|
||||
end
|
||||
|
||||
class VerifyPasswordRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :captcha_challenge, as: 'captchaChallenge'
|
||||
property :captcha_response, as: 'captchaResponse'
|
||||
property :email, as: 'email'
|
||||
property :instance_id, as: 'instanceId'
|
||||
property :password, as: 'password'
|
||||
property :pending_id_token, as: 'pendingIdToken'
|
||||
end
|
||||
@@ -439,6 +481,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class VerifyCustomTokenResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id_token, as: 'idToken'
|
||||
property :kind, as: 'kind'
|
||||
end
|
||||
end
|
||||
|
||||
class VerifyPasswordResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
@@ -393,6 +393,41 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sign out user.
|
||||
# @param [Google::Apis::IdentitytoolkitV3::SignOutUserRequest] sign_out_user_request_object
|
||||
# @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 [Google::Apis::IdentitytoolkitV3::SignOutUserResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IdentitytoolkitV3::SignOutUserResponse]
|
||||
#
|
||||
# @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 sign_out_user(sign_out_user_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'signOutUser', options)
|
||||
command.request_representation = Google::Apis::IdentitytoolkitV3::SignOutUserRequest::Representation
|
||||
command.request_object = sign_out_user_request_object
|
||||
command.response_representation = Google::Apis::IdentitytoolkitV3::SignOutUserResponse::Representation
|
||||
command.response_class = Google::Apis::IdentitytoolkitV3::SignOutUserResponse
|
||||
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
|
||||
|
||||
# Batch upload existing user accounts.
|
||||
# @param [Google::Apis::IdentitytoolkitV3::UploadAccountRequest] upload_account_request_object
|
||||
# @param [String] fields
|
||||
@@ -463,6 +498,41 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Verifies the developer asserted ID token.
|
||||
# @param [Google::Apis::IdentitytoolkitV3::VerifyCustomTokenRequest] verify_custom_token_request_object
|
||||
# @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 [Google::Apis::IdentitytoolkitV3::VerifyCustomTokenResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::IdentitytoolkitV3::VerifyCustomTokenResponse]
|
||||
#
|
||||
# @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 verify_custom_token(verify_custom_token_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'verifyCustomToken', options)
|
||||
command.request_representation = Google::Apis::IdentitytoolkitV3::VerifyCustomTokenRequest::Representation
|
||||
command.request_object = verify_custom_token_request_object
|
||||
command.response_representation = Google::Apis::IdentitytoolkitV3::VerifyCustomTokenResponse::Representation
|
||||
command.response_class = Google::Apis::IdentitytoolkitV3::VerifyCustomTokenResponse
|
||||
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
|
||||
|
||||
# Verifies the user entered password.
|
||||
# @param [Google::Apis::IdentitytoolkitV3::VerifyPasswordRequest] verify_password_request_object
|
||||
# @param [String] fields
|
||||
|
||||
@@ -205,7 +205,7 @@ module Google
|
||||
# @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 list_license_assignment_for_product(product_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_license_assignments_for_product(product_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{productId}/users', options)
|
||||
command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation
|
||||
command.response_class = Google::Apis::LicensingV1::LicenseAssignmentList
|
||||
@@ -253,7 +253,7 @@ module Google
|
||||
# @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 list_license_assignment_for_product_and_sku(product_id, sku_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
def list_license_assignments_for_product_and_sku(product_id, sku_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, '{productId}/sku/{skuId}/users', options)
|
||||
command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation
|
||||
command.response_class = Google::Apis::LicensingV1::LicenseAssignmentList
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/accounts/docs/OAuth2
|
||||
module Oauth2V2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20151107'
|
||||
REVISION = '20151215'
|
||||
|
||||
# Know your basic profile info and list of people in your circles.
|
||||
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/+/domains/
|
||||
module PlusDomainsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20160104'
|
||||
REVISION = '20160112'
|
||||
|
||||
# View your circles and the people and pages in them
|
||||
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/+/api/
|
||||
module PlusV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20160104'
|
||||
REVISION = '20160112'
|
||||
|
||||
# Know your basic profile info and list of people in your circles.
|
||||
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
||||
|
||||
@@ -674,7 +674,7 @@ module Google
|
||||
|
||||
# The estimated regression value (Regression models only).
|
||||
# Corresponds to the JSON property `outputValue`
|
||||
# @return [Float]
|
||||
# @return [String]
|
||||
attr_accessor :output_value
|
||||
|
||||
# A URL to re-request this resource.
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/storage/docs/json_api/
|
||||
module StorageV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20151214'
|
||||
REVISION = '20151229'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
Reference in new issue
Block a user