Autogenerated update (2018-01-11)
Update: - admin_reports_v1 - androidenterprise_v1 - calendar_v3 - cloudkms_v1 - dlp_v2beta2 - runtimeconfig_v1beta1 - script_v1 - storagetransfer_v1 - youtubereporting_v1
This commit is contained in:
parent
16ee12ab5b
commit
9b676d3b8d
|
@ -5750,6 +5750,20 @@
|
|||
"/androidenterprise:v1/VariableSet/kind": kind
|
||||
"/androidenterprise:v1/VariableSet/placeholder": placeholder
|
||||
"/androidenterprise:v1/VariableSet/userValue": user_value
|
||||
"/androidenterprise:v1/WebApp": web_app
|
||||
"/androidenterprise:v1/WebApp/icons": icons
|
||||
"/androidenterprise:v1/WebApp/icons/icon": icon
|
||||
"/androidenterprise:v1/WebApp/name": name
|
||||
"/androidenterprise:v1/WebApp/startUrl": start_url
|
||||
"/androidenterprise:v1/WebApp/webAppId": web_app_id
|
||||
"/androidenterprise:v1/WebAppImage": web_app_image
|
||||
"/androidenterprise:v1/WebAppImage/imageData": image_data
|
||||
"/androidenterprise:v1/WebAppImage/purposes": purposes
|
||||
"/androidenterprise:v1/WebAppImage/purposes/purpose": purpose
|
||||
"/androidenterprise:v1/WebAppsListResponse": web_apps_list_response
|
||||
"/androidenterprise:v1/WebAppsListResponse/kind": kind
|
||||
"/androidenterprise:v1/WebAppsListResponse/webApp": web_app
|
||||
"/androidenterprise:v1/WebAppsListResponse/webApp/web_app": web_app
|
||||
"/androidenterprise:v1/androidenterprise.collectionviewers.delete": delete_collection_viewer
|
||||
"/androidenterprise:v1/androidenterprise.collectionviewers.get": get_collection_viewer
|
||||
"/androidenterprise:v1/androidenterprise.collectionviewers.list": list_collection_viewers
|
||||
|
@ -6029,6 +6043,22 @@
|
|||
"/androidenterprise:v1/androidenterprise.users.update": update_user
|
||||
"/androidenterprise:v1/androidenterprise.users.update/enterpriseId": enterprise_id
|
||||
"/androidenterprise:v1/androidenterprise.users.update/userId": user_id
|
||||
"/androidenterprise:v1/androidenterprise.webapps.delete": delete_webapp
|
||||
"/androidenterprise:v1/androidenterprise.webapps.delete/enterpriseId": enterprise_id
|
||||
"/androidenterprise:v1/androidenterprise.webapps.delete/webAppId": web_app_id
|
||||
"/androidenterprise:v1/androidenterprise.webapps.get": get_webapp
|
||||
"/androidenterprise:v1/androidenterprise.webapps.get/enterpriseId": enterprise_id
|
||||
"/androidenterprise:v1/androidenterprise.webapps.get/webAppId": web_app_id
|
||||
"/androidenterprise:v1/androidenterprise.webapps.insert": insert_webapp
|
||||
"/androidenterprise:v1/androidenterprise.webapps.insert/enterpriseId": enterprise_id
|
||||
"/androidenterprise:v1/androidenterprise.webapps.list": list_webapps
|
||||
"/androidenterprise:v1/androidenterprise.webapps.list/enterpriseId": enterprise_id
|
||||
"/androidenterprise:v1/androidenterprise.webapps.patch": patch_webapp
|
||||
"/androidenterprise:v1/androidenterprise.webapps.patch/enterpriseId": enterprise_id
|
||||
"/androidenterprise:v1/androidenterprise.webapps.patch/webAppId": web_app_id
|
||||
"/androidenterprise:v1/androidenterprise.webapps.update": update_webapp
|
||||
"/androidenterprise:v1/androidenterprise.webapps.update/enterpriseId": enterprise_id
|
||||
"/androidenterprise:v1/androidenterprise.webapps.update/webAppId": web_app_id
|
||||
"/androidenterprise:v1/fields": fields
|
||||
"/androidenterprise:v1/key": key
|
||||
"/androidenterprise:v1/quotaUser": quota_user
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/admin-sdk/reports/
|
||||
module AdminReportsV1
|
||||
VERSION = 'ReportsV1'
|
||||
REVISION = '20171204'
|
||||
REVISION = '20180110'
|
||||
|
||||
# View audit reports for your G Suite domain
|
||||
AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/android/work/play/emm-api
|
||||
module AndroidenterpriseV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20171130'
|
||||
REVISION = '20180103'
|
||||
|
||||
# Manage corporate Android devices
|
||||
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
||||
|
|
|
@ -2666,6 +2666,100 @@ module Google
|
|||
@user_value = args[:user_value] if args.key?(:user_value)
|
||||
end
|
||||
end
|
||||
|
||||
# WebApp resource info.
|
||||
class WebApp
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A list of icons representing this website. Must have at least one element.
|
||||
# Corresponds to the JSON property `icons`
|
||||
# @return [Array<Google::Apis::AndroidenterpriseV1::WebAppImage>]
|
||||
attr_accessor :icons
|
||||
|
||||
# The name of the web application as it is usually displayed to the user (e.g.,
|
||||
# amongst a list of other applications, or as a label for an icon). Required.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# String that represents the start URL, i.e. the URL that should load when the
|
||||
# user opens the application. Required.
|
||||
# Corresponds to the JSON property `startUrl`
|
||||
# @return [String]
|
||||
attr_accessor :start_url
|
||||
|
||||
# The ID of the application.
|
||||
# Corresponds to the JSON property `webAppId`
|
||||
# @return [String]
|
||||
attr_accessor :web_app_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@icons = args[:icons] if args.key?(:icons)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@start_url = args[:start_url] if args.key?(:start_url)
|
||||
@web_app_id = args[:web_app_id] if args.key?(:web_app_id)
|
||||
end
|
||||
end
|
||||
|
||||
# Each image object represents an image that is used as part of a web
|
||||
# application, suitable to use in various contexts depending on the semantics of
|
||||
# the member that is using the object (e.g., an icon that is part of an
|
||||
# application menu, etc.).
|
||||
class WebAppImage
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The actual bytes of the image.
|
||||
# Corresponds to the JSON property `imageData`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :image_data
|
||||
|
||||
# The purposes this image may be used for. Optional.
|
||||
# Corresponds to the JSON property `purposes`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :purposes
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@image_data = args[:image_data] if args.key?(:image_data)
|
||||
@purposes = args[:purposes] if args.key?(:purposes)
|
||||
end
|
||||
end
|
||||
|
||||
# The web app details for an enterprise.
|
||||
class WebAppsListResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Identifies what kind of resource this is. Value: the fixed string "
|
||||
# androidenterprise#webAppsListResponse".
|
||||
# Corresponds to the JSON property `kind`
|
||||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# The manifest describing a web app.
|
||||
# Corresponds to the JSON property `webApp`
|
||||
# @return [Array<Google::Apis::AndroidenterpriseV1::WebApp>]
|
||||
attr_accessor :web_app
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@web_app = args[:web_app] if args.key?(:web_app)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -436,6 +436,24 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class WebApp
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class WebAppImage
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class WebAppsListResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Administrator
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1122,6 +1140,34 @@ module Google
|
|||
property :user_value, as: 'userValue'
|
||||
end
|
||||
end
|
||||
|
||||
class WebApp
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :icons, as: 'icons', class: Google::Apis::AndroidenterpriseV1::WebAppImage, decorator: Google::Apis::AndroidenterpriseV1::WebAppImage::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
property :start_url, as: 'startUrl'
|
||||
property :web_app_id, as: 'webAppId'
|
||||
end
|
||||
end
|
||||
|
||||
class WebAppImage
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :image_data, :base64 => true, as: 'imageData'
|
||||
collection :purposes, as: 'purposes'
|
||||
end
|
||||
end
|
||||
|
||||
class WebAppsListResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :kind, as: 'kind'
|
||||
collection :web_app, as: 'webApp', class: Google::Apis::AndroidenterpriseV1::WebApp, decorator: Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -3518,6 +3518,235 @@ module Google
|
|||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes an existing web app.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] web_app_id
|
||||
# The ID of the web app.
|
||||
# @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 delete_webapp(enterprise_id, web_app_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'enterprises/{enterpriseId}/webapps/{webAppId}', options)
|
||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||
command.params['webAppId'] = web_app_id unless web_app_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
|
||||
|
||||
# Gets an existing web app.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] web_app_id
|
||||
# The ID of the web app.
|
||||
# @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::AndroidenterpriseV1::WebApp] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AndroidenterpriseV1::WebApp]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_webapp(enterprise_id, web_app_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'enterprises/{enterpriseId}/webapps/{webAppId}', options)
|
||||
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
||||
command.response_class = Google::Apis::AndroidenterpriseV1::WebApp
|
||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||
command.params['webAppId'] = web_app_id unless web_app_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
|
||||
|
||||
# Creates a new web app for the enterprise.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [Google::Apis::AndroidenterpriseV1::WebApp] web_app_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::AndroidenterpriseV1::WebApp] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AndroidenterpriseV1::WebApp]
|
||||
#
|
||||
# @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 insert_webapp(enterprise_id, web_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'enterprises/{enterpriseId}/webapps', options)
|
||||
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
||||
command.request_object = web_app_object
|
||||
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
||||
command.response_class = Google::Apis::AndroidenterpriseV1::WebApp
|
||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Retrieves the details of all web apps for a given enterprise.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# 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::AndroidenterpriseV1::WebAppsListResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AndroidenterpriseV1::WebAppsListResponse]
|
||||
#
|
||||
# @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_webapps(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'enterprises/{enterpriseId}/webapps', options)
|
||||
command.response_representation = Google::Apis::AndroidenterpriseV1::WebAppsListResponse::Representation
|
||||
command.response_class = Google::Apis::AndroidenterpriseV1::WebAppsListResponse
|
||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates an existing web app. This method supports patch semantics.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] web_app_id
|
||||
# The ID of the web app.
|
||||
# @param [Google::Apis::AndroidenterpriseV1::WebApp] web_app_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::AndroidenterpriseV1::WebApp] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AndroidenterpriseV1::WebApp]
|
||||
#
|
||||
# @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 patch_webapp(enterprise_id, web_app_id, web_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'enterprises/{enterpriseId}/webapps/{webAppId}', options)
|
||||
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
||||
command.request_object = web_app_object
|
||||
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
||||
command.response_class = Google::Apis::AndroidenterpriseV1::WebApp
|
||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||
command.params['webAppId'] = web_app_id unless web_app_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
|
||||
|
||||
# Updates an existing web app.
|
||||
# @param [String] enterprise_id
|
||||
# The ID of the enterprise.
|
||||
# @param [String] web_app_id
|
||||
# The ID of the web app.
|
||||
# @param [Google::Apis::AndroidenterpriseV1::WebApp] web_app_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::AndroidenterpriseV1::WebApp] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::AndroidenterpriseV1::WebApp]
|
||||
#
|
||||
# @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 update_webapp(enterprise_id, web_app_id, web_app_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:put, 'enterprises/{enterpriseId}/webapps/{webAppId}', options)
|
||||
command.request_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
||||
command.request_object = web_app_object
|
||||
command.response_representation = Google::Apis::AndroidenterpriseV1::WebApp::Representation
|
||||
command.response_class = Google::Apis::AndroidenterpriseV1::WebApp
|
||||
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
||||
command.params['webAppId'] = web_app_id unless web_app_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
|
||||
|
||||
protected
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/google-apps/calendar/firstapp
|
||||
module CalendarV3
|
||||
VERSION = 'V3'
|
||||
REVISION = '20171217'
|
||||
REVISION = '20180107'
|
||||
|
||||
# Manage your calendars
|
||||
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
||||
|
|
|
@ -621,7 +621,7 @@ module Google
|
|||
# Can be used by developers to keep track of conferences, should not be
|
||||
# displayed to users.
|
||||
# Values for solution types:
|
||||
# - "eventHangout": unset
|
||||
# - "eventHangout": unset.
|
||||
# - "eventNamedHangout": the name of the Hangout.
|
||||
# - "hangoutsMeet": the 10-letter meeting code, for example "aaa-bbbb-ccc".
|
||||
# Optional.
|
||||
|
@ -630,7 +630,7 @@ module Google
|
|||
attr_accessor :conference_id
|
||||
|
||||
# The conference solution, such as Hangouts or Hangouts Meet.
|
||||
# Unset for a conference with failed create request.
|
||||
# Unset for a conference with a failed create request.
|
||||
# Either conferenceSolution and at least one entryPoint, or createRequest is
|
||||
# required.
|
||||
# Corresponds to the JSON property `conferenceSolution`
|
||||
|
@ -665,7 +665,7 @@ module Google
|
|||
# The signature of the conference data.
|
||||
# Genereated on server side. Must be preserved while copying the conference data
|
||||
# between events, otherwise the conference data will not be copied.
|
||||
# Unset for a conference with failed create request.
|
||||
# Unset for a conference with a failed create request.
|
||||
# Optional for a conference with a pending create request.
|
||||
# Corresponds to the JSON property `signature`
|
||||
# @return [String]
|
||||
|
@ -737,7 +737,7 @@ module Google
|
|||
class ConferenceSolution
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The user-visible icon for this solution. Read-only.
|
||||
# The user-visible icon for this solution.
|
||||
# Corresponds to the JSON property `iconUri`
|
||||
# @return [String]
|
||||
attr_accessor :icon_uri
|
||||
|
@ -747,7 +747,7 @@ module Google
|
|||
# @return [Google::Apis::CalendarV3::ConferenceSolutionKey]
|
||||
attr_accessor :key
|
||||
|
||||
# The user-visible name of this solution. Not localized. Read-only.
|
||||
# The user-visible name of this solution. Not localized.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
@ -773,7 +773,7 @@ module Google
|
|||
# display the entry points. However, it should disallow modifications.
|
||||
# The possible values are:
|
||||
# - "eventHangout" for Hangouts for consumers (http://hangouts.google.com)
|
||||
# - "eventNamedHangout" for Classic Hangouts for GSuite users (http://hangouts.
|
||||
# - "eventNamedHangout" for classic Hangouts for G Suite users (http://hangouts.
|
||||
# google.com)
|
||||
# - "hangoutsMeet" for Hangouts Meet (http://meet.google.com)
|
||||
# Corresponds to the JSON property `type`
|
||||
|
@ -827,7 +827,7 @@ module Google
|
|||
class EntryPoint
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The Access Code to access the conference. The maximum length is 128 characters.
|
||||
# The access code to access the conference. The maximum length is 128 characters.
|
||||
# When creating new conference data, populate only the subset of `meetingCode,
|
||||
# accessCode, passcode, password, pin` fields that match the terminology that
|
||||
# the conference provider uses. Only the populated fields should be displayed.
|
||||
|
@ -851,19 +851,19 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :entry_point_type
|
||||
|
||||
# The label for the URI.Visible to end users. Not localized. The maximum length
|
||||
# The label for the URI. Visible to end users. Not localized. The maximum length
|
||||
# is 512 characters.
|
||||
# Examples:
|
||||
# - for video: meet.google.com/aaa-bbbb-ccc
|
||||
# - for phone: +1 123 268 2601
|
||||
# - for sip: sip:12345678@myprovider.com
|
||||
# - for sip: 12345678@altostrat.com
|
||||
# - for more: should not be filled
|
||||
# Optional.
|
||||
# Corresponds to the JSON property `label`
|
||||
# @return [String]
|
||||
attr_accessor :label
|
||||
|
||||
# The Meeting Code to access the conference. The maximum length is 128
|
||||
# The meeting code to access the conference. The maximum length is 128
|
||||
# characters.
|
||||
# When creating new conference data, populate only the subset of `meetingCode,
|
||||
# accessCode, passcode, password, pin` fields that match the terminology that
|
||||
|
@ -873,7 +873,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :meeting_code
|
||||
|
||||
# The Passcode to access the conference. The maximum length is 128 characters.
|
||||
# The passcode to access the conference. The maximum length is 128 characters.
|
||||
# When creating new conference data, populate only the subset of `meetingCode,
|
||||
# accessCode, passcode, password, pin` fields that match the terminology that
|
||||
# the conference provider uses. Only the populated fields should be displayed.
|
||||
|
@ -881,7 +881,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :passcode
|
||||
|
||||
# The Password to access the conference. The maximum length is 128 characters.
|
||||
# The password to access the conference. The maximum length is 128 characters.
|
||||
# When creating new conference data, populate only the subset of `meetingCode,
|
||||
# accessCode, passcode, password, pin` fields that match the terminology that
|
||||
# the conference provider uses. Only the populated fields should be displayed.
|
||||
|
@ -899,7 +899,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :pin
|
||||
|
||||
# The "URI" of the entry point. The maximum length is 1300 characters.
|
||||
# The URI of the entry point. The maximum length is 1300 characters.
|
||||
# Format:
|
||||
# - for video, http: or https: schema is required.
|
||||
# - for phone, tel: schema is required. The URI should include the entire dial
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/kms/
|
||||
module CloudkmsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20171128'
|
||||
REVISION = '20180104'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -705,7 +705,7 @@ module Google
|
|||
# ]
|
||||
# `
|
||||
# For a description of IAM and its features, see the
|
||||
# [IAM developer's guide](https://cloud.google.com/iam).
|
||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -740,7 +740,7 @@ module Google
|
|||
attr_accessor :iam_owned
|
||||
alias_method :iam_owned?, :iam_owned
|
||||
|
||||
# Version of the `Policy`. The default version is 0.
|
||||
# Deprecated.
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
@ -801,7 +801,7 @@ module Google
|
|||
# ]
|
||||
# `
|
||||
# For a description of IAM and its features, see the
|
||||
# [IAM developer's guide](https://cloud.google.com/iam).
|
||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
||||
# Corresponds to the JSON property `policy`
|
||||
# @return [Google::Apis::CloudkmsV1::Policy]
|
||||
attr_accessor :policy
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/dlp/docs/
|
||||
module DlpV2beta2
|
||||
VERSION = 'V2beta2'
|
||||
REVISION = '20180103'
|
||||
REVISION = '20180109'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -28,7 +28,7 @@ module Google
|
|||
# @see https://cloud.google.com/deployment-manager/runtime-configurator/
|
||||
module RuntimeconfigV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20171219'
|
||||
REVISION = '20180108'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -361,7 +361,7 @@ module Google
|
|||
# ]
|
||||
# `
|
||||
# For a description of IAM and its features, see the
|
||||
# [IAM developer's guide](https://cloud.google.com/iam).
|
||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
||||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -385,7 +385,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :etag
|
||||
|
||||
# Version of the `Policy`. The default version is 0.
|
||||
# Deprecated.
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :version
|
||||
|
@ -466,7 +466,7 @@ module Google
|
|||
# ]
|
||||
# `
|
||||
# For a description of IAM and its features, see the
|
||||
# [IAM developer's guide](https://cloud.google.com/iam).
|
||||
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
||||
# Corresponds to the JSON property `policy`
|
||||
# @return [Google::Apis::RuntimeconfigV1beta1::Policy]
|
||||
attr_accessor :policy
|
||||
|
|
|
@ -22,10 +22,10 @@ module Google
|
|||
#
|
||||
# An API for managing and executing Google Apps Script projects.
|
||||
#
|
||||
# @see https://developers.google.com/apps-script/execution/rest/v1/scripts/run
|
||||
# @see https://developers.google.com/apps-script/api
|
||||
module ScriptV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180109'
|
||||
REVISION = '20180110'
|
||||
|
||||
# Read, send, delete, and manage your email
|
||||
AUTH_SCOPE = 'https://mail.google.com/'
|
||||
|
|
|
@ -30,7 +30,7 @@ module Google
|
|||
# Script = Google::Apis::ScriptV1 # Alias the module
|
||||
# service = Script::ScriptService.new
|
||||
#
|
||||
# @see https://developers.google.com/apps-script/execution/rest/v1/scripts/run
|
||||
# @see https://developers.google.com/apps-script/api
|
||||
class ScriptService < Google::Apis::Core::BaseService
|
||||
# @return [String]
|
||||
# API key. Your API key identifies your project and provides you with API access,
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/storage/transfer
|
||||
module StoragetransferV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20171109'
|
||||
REVISION = '20180110'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -730,7 +730,8 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :bytes_found_only_from_sink
|
||||
|
||||
# Bytes in the data source that failed during the transfer.
|
||||
# Bytes in the data source that failed to be transferred or that failed to
|
||||
# be deleted after being transferred.
|
||||
# Corresponds to the JSON property `bytesFromSourceFailed`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :bytes_from_source_failed
|
||||
|
@ -773,7 +774,8 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :objects_found_only_from_sink
|
||||
|
||||
# Objects in the data source that failed during the transfer.
|
||||
# Objects in the data source that failed to be transferred or that failed
|
||||
# to be deleted after being transferred.
|
||||
# Corresponds to the JSON property `objectsFromSourceFailed`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :objects_from_source_failed
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/youtube/reporting/v1/reports/
|
||||
module YoutubereportingV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180106'
|
||||
REVISION = '20180109'
|
||||
|
||||
# View monetary and non-monetary YouTube Analytics reports for your YouTube content
|
||||
AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly'
|
||||
|
|
Loading…
Reference in New Issue