Autogenerated update (2018-01-18)
Update: - analytics_v3 - androidmanagement_v1 - cloudbilling_v1 - cloudtasks_v2beta2 - dialogflow_v2beta1 - genomics_v1 - genomics_v1alpha2 - logging_v2 - ml_v1 - people_v1 - script_v1 - serviceconsumermanagement_v1 - speech_v1 - speech_v1beta1
This commit is contained in:
parent
8504b3d660
commit
f6ac53c7c9
|
@ -3922,6 +3922,32 @@
|
||||||
"/analytics:v3/AccountTicket/profile": profile
|
"/analytics:v3/AccountTicket/profile": profile
|
||||||
"/analytics:v3/AccountTicket/redirectUri": redirect_uri
|
"/analytics:v3/AccountTicket/redirectUri": redirect_uri
|
||||||
"/analytics:v3/AccountTicket/webproperty": webproperty
|
"/analytics:v3/AccountTicket/webproperty": webproperty
|
||||||
|
"/analytics:v3/AccountTreeRequest": account_tree_request
|
||||||
|
"/analytics:v3/AccountTreeRequest/accountName": account_name
|
||||||
|
"/analytics:v3/AccountTreeRequest/accountSettings": account_settings
|
||||||
|
"/analytics:v3/AccountTreeRequest/accountSettings/admobReporting": admob_reporting
|
||||||
|
"/analytics:v3/AccountTreeRequest/accountSettings/sharingWithGoogleAnySales": sharing_with_google_any_sales
|
||||||
|
"/analytics:v3/AccountTreeRequest/accountSettings/sharingWithGoogleProducts": sharing_with_google_products
|
||||||
|
"/analytics:v3/AccountTreeRequest/accountSettings/sharingWithGoogleSales": sharing_with_google_sales
|
||||||
|
"/analytics:v3/AccountTreeRequest/accountSettings/sharingWithGoogleSupport": sharing_with_google_support
|
||||||
|
"/analytics:v3/AccountTreeRequest/accountSettings/sharingWithOthers": sharing_with_others
|
||||||
|
"/analytics:v3/AccountTreeRequest/kind": kind
|
||||||
|
"/analytics:v3/AccountTreeRequest/profileName": profile_name
|
||||||
|
"/analytics:v3/AccountTreeRequest/timezone": timezone
|
||||||
|
"/analytics:v3/AccountTreeRequest/webpropertyName": webproperty_name
|
||||||
|
"/analytics:v3/AccountTreeRequest/websiteUrl": website_url
|
||||||
|
"/analytics:v3/AccountTreeResponse": account_tree_response
|
||||||
|
"/analytics:v3/AccountTreeResponse/account": account
|
||||||
|
"/analytics:v3/AccountTreeResponse/accountSettings": account_settings
|
||||||
|
"/analytics:v3/AccountTreeResponse/accountSettings/admobReporting": admob_reporting
|
||||||
|
"/analytics:v3/AccountTreeResponse/accountSettings/sharingWithGoogleAnySales": sharing_with_google_any_sales
|
||||||
|
"/analytics:v3/AccountTreeResponse/accountSettings/sharingWithGoogleProducts": sharing_with_google_products
|
||||||
|
"/analytics:v3/AccountTreeResponse/accountSettings/sharingWithGoogleSales": sharing_with_google_sales
|
||||||
|
"/analytics:v3/AccountTreeResponse/accountSettings/sharingWithGoogleSupport": sharing_with_google_support
|
||||||
|
"/analytics:v3/AccountTreeResponse/accountSettings/sharingWithOthers": sharing_with_others
|
||||||
|
"/analytics:v3/AccountTreeResponse/kind": kind
|
||||||
|
"/analytics:v3/AccountTreeResponse/profile": profile
|
||||||
|
"/analytics:v3/AccountTreeResponse/webproperty": webproperty
|
||||||
"/analytics:v3/Accounts": accounts
|
"/analytics:v3/Accounts": accounts
|
||||||
"/analytics:v3/Accounts/items": items
|
"/analytics:v3/Accounts/items": items
|
||||||
"/analytics:v3/Accounts/items/item": item
|
"/analytics:v3/Accounts/items/item": item
|
||||||
|
@ -4995,6 +5021,7 @@
|
||||||
"/analytics:v3/analytics.metadata.columns.list": list_metadata_columns
|
"/analytics:v3/analytics.metadata.columns.list": list_metadata_columns
|
||||||
"/analytics:v3/analytics.metadata.columns.list/reportType": report_type
|
"/analytics:v3/analytics.metadata.columns.list/reportType": report_type
|
||||||
"/analytics:v3/analytics.provisioning.createAccountTicket": create_account_ticket
|
"/analytics:v3/analytics.provisioning.createAccountTicket": create_account_ticket
|
||||||
|
"/analytics:v3/analytics.provisioning.createAccountTree": create_provisioning_account_tree
|
||||||
"/analytics:v3/fields": fields
|
"/analytics:v3/fields": fields
|
||||||
"/analytics:v3/key": key
|
"/analytics:v3/key": key
|
||||||
"/analytics:v3/quotaUser": quota_user
|
"/analytics:v3/quotaUser": quota_user
|
||||||
|
@ -52047,6 +52074,7 @@
|
||||||
"/logging:v2/SourceReference/repository": repository
|
"/logging:v2/SourceReference/repository": repository
|
||||||
"/logging:v2/SourceReference/revisionId": revision_id
|
"/logging:v2/SourceReference/revisionId": revision_id
|
||||||
"/logging:v2/WriteLogEntriesRequest": write_log_entries_request
|
"/logging:v2/WriteLogEntriesRequest": write_log_entries_request
|
||||||
|
"/logging:v2/WriteLogEntriesRequest/dryRun": dry_run
|
||||||
"/logging:v2/WriteLogEntriesRequest/entries": entries
|
"/logging:v2/WriteLogEntriesRequest/entries": entries
|
||||||
"/logging:v2/WriteLogEntriesRequest/entries/entry": entry
|
"/logging:v2/WriteLogEntriesRequest/entries/entry": entry
|
||||||
"/logging:v2/WriteLogEntriesRequest/labels": labels
|
"/logging:v2/WriteLogEntriesRequest/labels": labels
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/analytics/
|
# @see https://developers.google.com/analytics/
|
||||||
module AnalyticsV3
|
module AnalyticsV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20170807'
|
REVISION = '20171211'
|
||||||
|
|
||||||
# View and manage your Google Analytics data
|
# View and manage your Google Analytics data
|
||||||
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
|
||||||
|
|
|
@ -338,6 +338,218 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# JSON template for an Analytics account tree requests. The account tree request
|
||||||
|
# is used in the provisioning api to create an account, property, and view (
|
||||||
|
# profile). It contains the basic information required to make these fields.
|
||||||
|
class AccountTreeRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `accountName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :account_name
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `accountSettings`
|
||||||
|
# @return [Google::Apis::AnalyticsV3::AccountTreeRequest::AccountSettings]
|
||||||
|
attr_accessor :account_settings
|
||||||
|
|
||||||
|
# Resource type for account ticket.
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `profileName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :profile_name
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `timezone`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :timezone
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `webpropertyName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :webproperty_name
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `websiteUrl`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :website_url
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@account_name = args[:account_name] if args.key?(:account_name)
|
||||||
|
@account_settings = args[:account_settings] if args.key?(:account_settings)
|
||||||
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
|
@profile_name = args[:profile_name] if args.key?(:profile_name)
|
||||||
|
@timezone = args[:timezone] if args.key?(:timezone)
|
||||||
|
@webproperty_name = args[:webproperty_name] if args.key?(:webproperty_name)
|
||||||
|
@website_url = args[:website_url] if args.key?(:website_url)
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class AccountSettings
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `admobReporting`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :admob_reporting
|
||||||
|
alias_method :admob_reporting?, :admob_reporting
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `sharingWithGoogleAnySales`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :sharing_with_google_any_sales
|
||||||
|
alias_method :sharing_with_google_any_sales?, :sharing_with_google_any_sales
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `sharingWithGoogleProducts`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :sharing_with_google_products
|
||||||
|
alias_method :sharing_with_google_products?, :sharing_with_google_products
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `sharingWithGoogleSales`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :sharing_with_google_sales
|
||||||
|
alias_method :sharing_with_google_sales?, :sharing_with_google_sales
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `sharingWithGoogleSupport`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :sharing_with_google_support
|
||||||
|
alias_method :sharing_with_google_support?, :sharing_with_google_support
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `sharingWithOthers`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :sharing_with_others
|
||||||
|
alias_method :sharing_with_others?, :sharing_with_others
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@admob_reporting = args[:admob_reporting] if args.key?(:admob_reporting)
|
||||||
|
@sharing_with_google_any_sales = args[:sharing_with_google_any_sales] if args.key?(:sharing_with_google_any_sales)
|
||||||
|
@sharing_with_google_products = args[:sharing_with_google_products] if args.key?(:sharing_with_google_products)
|
||||||
|
@sharing_with_google_sales = args[:sharing_with_google_sales] if args.key?(:sharing_with_google_sales)
|
||||||
|
@sharing_with_google_support = args[:sharing_with_google_support] if args.key?(:sharing_with_google_support)
|
||||||
|
@sharing_with_others = args[:sharing_with_others] if args.key?(:sharing_with_others)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# JSON template for an Analytics account tree response. The account tree
|
||||||
|
# response is used in the provisioning api to return the result of creating an
|
||||||
|
# account, property, and view (profile).
|
||||||
|
class AccountTreeResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# JSON template for Analytics account entry.
|
||||||
|
# Corresponds to the JSON property `account`
|
||||||
|
# @return [Google::Apis::AnalyticsV3::Account]
|
||||||
|
attr_accessor :account
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `accountSettings`
|
||||||
|
# @return [Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings]
|
||||||
|
attr_accessor :account_settings
|
||||||
|
|
||||||
|
# Resource type for account ticket.
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
# JSON template for an Analytics view (profile).
|
||||||
|
# Corresponds to the JSON property `profile`
|
||||||
|
# @return [Google::Apis::AnalyticsV3::Profile]
|
||||||
|
attr_accessor :profile
|
||||||
|
|
||||||
|
# JSON template for an Analytics web property.
|
||||||
|
# Corresponds to the JSON property `webproperty`
|
||||||
|
# @return [Google::Apis::AnalyticsV3::Webproperty]
|
||||||
|
attr_accessor :webproperty
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@account = args[:account] if args.key?(:account)
|
||||||
|
@account_settings = args[:account_settings] if args.key?(:account_settings)
|
||||||
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
|
@profile = args[:profile] if args.key?(:profile)
|
||||||
|
@webproperty = args[:webproperty] if args.key?(:webproperty)
|
||||||
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class AccountSettings
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `admobReporting`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :admob_reporting
|
||||||
|
alias_method :admob_reporting?, :admob_reporting
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `sharingWithGoogleAnySales`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :sharing_with_google_any_sales
|
||||||
|
alias_method :sharing_with_google_any_sales?, :sharing_with_google_any_sales
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `sharingWithGoogleProducts`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :sharing_with_google_products
|
||||||
|
alias_method :sharing_with_google_products?, :sharing_with_google_products
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `sharingWithGoogleSales`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :sharing_with_google_sales
|
||||||
|
alias_method :sharing_with_google_sales?, :sharing_with_google_sales
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `sharingWithGoogleSupport`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :sharing_with_google_support
|
||||||
|
alias_method :sharing_with_google_support?, :sharing_with_google_support
|
||||||
|
|
||||||
|
#
|
||||||
|
# Corresponds to the JSON property `sharingWithOthers`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :sharing_with_others
|
||||||
|
alias_method :sharing_with_others?, :sharing_with_others
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@admob_reporting = args[:admob_reporting] if args.key?(:admob_reporting)
|
||||||
|
@sharing_with_google_any_sales = args[:sharing_with_google_any_sales] if args.key?(:sharing_with_google_any_sales)
|
||||||
|
@sharing_with_google_products = args[:sharing_with_google_products] if args.key?(:sharing_with_google_products)
|
||||||
|
@sharing_with_google_sales = args[:sharing_with_google_sales] if args.key?(:sharing_with_google_sales)
|
||||||
|
@sharing_with_google_support = args[:sharing_with_google_support] if args.key?(:sharing_with_google_support)
|
||||||
|
@sharing_with_others = args[:sharing_with_others] if args.key?(:sharing_with_others)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# An account collection provides a list of Analytics accounts to which a user
|
# An account collection provides a list of Analytics accounts to which a user
|
||||||
# has access. The account collection is the entry point to all management
|
# has access. The account collection is the entry point to all management
|
||||||
# information. Each resource in the collection corresponds to a single Analytics
|
# information. Each resource in the collection corresponds to a single Analytics
|
||||||
|
|
|
@ -64,6 +64,30 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AccountTreeRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
class AccountSettings
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class AccountTreeResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
class AccountSettings
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class Accounts
|
class Accounts
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -714,6 +738,59 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class AccountTreeRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :account_name, as: 'accountName'
|
||||||
|
property :account_settings, as: 'accountSettings', class: Google::Apis::AnalyticsV3::AccountTreeRequest::AccountSettings, decorator: Google::Apis::AnalyticsV3::AccountTreeRequest::AccountSettings::Representation
|
||||||
|
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
property :profile_name, as: 'profileName'
|
||||||
|
property :timezone, as: 'timezone'
|
||||||
|
property :webproperty_name, as: 'webpropertyName'
|
||||||
|
property :website_url, as: 'websiteUrl'
|
||||||
|
end
|
||||||
|
|
||||||
|
class AccountSettings
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :admob_reporting, as: 'admobReporting'
|
||||||
|
property :sharing_with_google_any_sales, as: 'sharingWithGoogleAnySales'
|
||||||
|
property :sharing_with_google_products, as: 'sharingWithGoogleProducts'
|
||||||
|
property :sharing_with_google_sales, as: 'sharingWithGoogleSales'
|
||||||
|
property :sharing_with_google_support, as: 'sharingWithGoogleSupport'
|
||||||
|
property :sharing_with_others, as: 'sharingWithOthers'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class AccountTreeResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :account, as: 'account', class: Google::Apis::AnalyticsV3::Account, decorator: Google::Apis::AnalyticsV3::Account::Representation
|
||||||
|
|
||||||
|
property :account_settings, as: 'accountSettings', class: Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings, decorator: Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings::Representation
|
||||||
|
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
property :profile, as: 'profile', class: Google::Apis::AnalyticsV3::Profile, decorator: Google::Apis::AnalyticsV3::Profile::Representation
|
||||||
|
|
||||||
|
property :webproperty, as: 'webproperty', class: Google::Apis::AnalyticsV3::Webproperty, decorator: Google::Apis::AnalyticsV3::Webproperty::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
class AccountSettings
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :admob_reporting, as: 'admobReporting'
|
||||||
|
property :sharing_with_google_any_sales, as: 'sharingWithGoogleAnySales'
|
||||||
|
property :sharing_with_google_products, as: 'sharingWithGoogleProducts'
|
||||||
|
property :sharing_with_google_sales, as: 'sharingWithGoogleSales'
|
||||||
|
property :sharing_with_google_support, as: 'sharingWithGoogleSupport'
|
||||||
|
property :sharing_with_others, as: 'sharingWithOthers'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Accounts
|
class Accounts
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -3811,6 +3811,41 @@ module Google
|
||||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Provision account.
|
||||||
|
# @param [Google::Apis::AnalyticsV3::AccountTreeRequest] account_tree_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::AnalyticsV3::AccountTreeResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::AnalyticsV3::AccountTreeResponse]
|
||||||
|
#
|
||||||
|
# @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 create_provisioning_account_tree(account_tree_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'provisioning/createAccount', options)
|
||||||
|
command.request_representation = Google::Apis::AnalyticsV3::AccountTreeRequest::Representation
|
||||||
|
command.request_object = account_tree_request_object
|
||||||
|
command.response_representation = Google::Apis::AnalyticsV3::AccountTreeResponse::Representation
|
||||||
|
command.response_class = Google::Apis::AnalyticsV3::AccountTreeResponse
|
||||||
|
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
|
protected
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/android/management
|
# @see https://developers.google.com/android/management
|
||||||
module AndroidmanagementV1
|
module AndroidmanagementV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180104'
|
REVISION = '20180108'
|
||||||
|
|
||||||
# Manage Android devices and apps for your customers
|
# Manage Android devices and apps for your customers
|
||||||
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
||||||
|
|
|
@ -1574,8 +1574,7 @@ module Google
|
||||||
class Policy
|
class Policy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Account types that cannot be managed by the user. <i>Requires the beta version
|
# Account types that cannot be managed by the user.
|
||||||
# of the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `accountTypesWithManagementDisabled`
|
# Corresponds to the JSON property `accountTypesWithManagementDisabled`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :account_types_with_management_disabled
|
attr_accessor :account_types_with_management_disabled
|
||||||
|
@ -1618,15 +1617,13 @@ module Google
|
||||||
attr_accessor :block_applications_enabled
|
attr_accessor :block_applications_enabled
|
||||||
alias_method :block_applications_enabled?, :block_applications_enabled
|
alias_method :block_applications_enabled?, :block_applications_enabled
|
||||||
|
|
||||||
# Whether configuring bluetooth is disabled. <i>Requires the beta version of the
|
# Whether configuring bluetooth is disabled.
|
||||||
# Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `bluetoothConfigDisabled`
|
# Corresponds to the JSON property `bluetoothConfigDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :bluetooth_config_disabled
|
attr_accessor :bluetooth_config_disabled
|
||||||
alias_method :bluetooth_config_disabled?, :bluetooth_config_disabled
|
alias_method :bluetooth_config_disabled?, :bluetooth_config_disabled
|
||||||
|
|
||||||
# Whether bluetooth contact sharing is disabled. <i>Requires the beta version of
|
# Whether bluetooth contact sharing is disabled.
|
||||||
# the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `bluetoothContactSharingDisabled`
|
# Corresponds to the JSON property `bluetoothContactSharingDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :bluetooth_contact_sharing_disabled
|
attr_accessor :bluetooth_contact_sharing_disabled
|
||||||
|
@ -1634,7 +1631,7 @@ module Google
|
||||||
|
|
||||||
# Whether bluetooth is disabled. Prefer this setting over
|
# Whether bluetooth is disabled. Prefer this setting over
|
||||||
# bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by
|
# bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by
|
||||||
# the user. <i>Requires the beta version of the Android Device Policy app.</i>
|
# the user.
|
||||||
# Corresponds to the JSON property `bluetoothDisabled`
|
# Corresponds to the JSON property `bluetoothDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :bluetooth_disabled
|
attr_accessor :bluetooth_disabled
|
||||||
|
@ -1646,8 +1643,7 @@ module Google
|
||||||
attr_accessor :camera_disabled
|
attr_accessor :camera_disabled
|
||||||
alias_method :camera_disabled?, :camera_disabled
|
alias_method :camera_disabled?, :camera_disabled
|
||||||
|
|
||||||
# Whether configuring cell broadcast is disabled. <i>Requires the beta version
|
# Whether configuring cell broadcast is disabled.
|
||||||
# of the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `cellBroadcastsConfigDisabled`
|
# Corresponds to the JSON property `cellBroadcastsConfigDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :cell_broadcasts_config_disabled
|
attr_accessor :cell_broadcasts_config_disabled
|
||||||
|
@ -1661,22 +1657,19 @@ module Google
|
||||||
# @return [Array<Google::Apis::AndroidmanagementV1::ComplianceRule>]
|
# @return [Array<Google::Apis::AndroidmanagementV1::ComplianceRule>]
|
||||||
attr_accessor :compliance_rules
|
attr_accessor :compliance_rules
|
||||||
|
|
||||||
# Whether creating windows besides app windows is disabled. <i>Requires the beta
|
# Whether creating windows besides app windows is disabled.
|
||||||
# version of the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `createWindowsDisabled`
|
# Corresponds to the JSON property `createWindowsDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :create_windows_disabled
|
attr_accessor :create_windows_disabled
|
||||||
alias_method :create_windows_disabled?, :create_windows_disabled
|
alias_method :create_windows_disabled?, :create_windows_disabled
|
||||||
|
|
||||||
# Whether configuring user credentials is disabled. <i>Requires the beta version
|
# Whether configuring user credentials is disabled.
|
||||||
# of the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `credentialsConfigDisabled`
|
# Corresponds to the JSON property `credentialsConfigDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :credentials_config_disabled
|
attr_accessor :credentials_config_disabled
|
||||||
alias_method :credentials_config_disabled?, :credentials_config_disabled
|
alias_method :credentials_config_disabled?, :credentials_config_disabled
|
||||||
|
|
||||||
# Whether roaming data services are disabled. <i>Requires the beta version of
|
# Whether roaming data services are disabled.
|
||||||
# the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `dataRoamingDisabled`
|
# Corresponds to the JSON property `dataRoamingDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :data_roaming_disabled
|
attr_accessor :data_roaming_disabled
|
||||||
|
@ -1693,8 +1686,7 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :default_permission_policy
|
attr_accessor :default_permission_policy
|
||||||
|
|
||||||
# Whether application verification is forced to be enabled. <i>Requires the beta
|
# Whether application verification is forced to be enabled.
|
||||||
# version of the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `ensureVerifyAppsEnabled`
|
# Corresponds to the JSON property `ensureVerifyAppsEnabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :ensure_verify_apps_enabled
|
attr_accessor :ensure_verify_apps_enabled
|
||||||
|
@ -1721,8 +1713,7 @@ module Google
|
||||||
attr_accessor :fun_disabled
|
attr_accessor :fun_disabled
|
||||||
alias_method :fun_disabled?, :fun_disabled
|
alias_method :fun_disabled?, :fun_disabled
|
||||||
|
|
||||||
# Whether user installation of apps is disabled. <i>Requires the beta version of
|
# Whether user installation of apps is disabled.
|
||||||
# the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `installAppsDisabled`
|
# Corresponds to the JSON property `installAppsDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :install_apps_disabled
|
attr_accessor :install_apps_disabled
|
||||||
|
@ -1741,16 +1732,16 @@ module Google
|
||||||
attr_accessor :keyguard_disabled
|
attr_accessor :keyguard_disabled
|
||||||
alias_method :keyguard_disabled?, :keyguard_disabled
|
alias_method :keyguard_disabled?, :keyguard_disabled
|
||||||
|
|
||||||
# Disabled keyguard customizations, such as widgets. <i>Requires the beta
|
# Disabled keyguard customizations, such as widgets.
|
||||||
# version of the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `keyguardDisabledFeatures`
|
# Corresponds to the JSON property `keyguardDisabledFeatures`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
attr_accessor :keyguard_disabled_features
|
attr_accessor :keyguard_disabled_features
|
||||||
|
|
||||||
# Flag to specify if kiosk custom launcher is enabled. If it is enabled the
|
# Whether the kiosk custom launcher is enabled. This replaces the home screen
|
||||||
# value for receiver_activity in PersistentPreferredActivity related to home
|
# with a launcher that locks down the device to the apps installed via the
|
||||||
# intent will be ignored. When custom launcher is enabled, the kiosk will start
|
# applications setting. The apps appear on a single page in alphabetical order.
|
||||||
# in launcher mode and not locked to a specific application.
|
# It is recommended to also use status_bar_disabled to block access to device
|
||||||
|
# settings.
|
||||||
# Corresponds to the JSON property `kioskCustomLauncherEnabled`
|
# Corresponds to the JSON property `kioskCustomLauncherEnabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :kiosk_custom_launcher_enabled
|
attr_accessor :kiosk_custom_launcher_enabled
|
||||||
|
@ -1768,8 +1759,7 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :maximum_time_to_lock
|
attr_accessor :maximum_time_to_lock
|
||||||
|
|
||||||
# Whether configuring mobile networks is disabled. <i>Requires the beta version
|
# Whether configuring mobile networks is disabled.
|
||||||
# of the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `mobileNetworksConfigDisabled`
|
# Corresponds to the JSON property `mobileNetworksConfigDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :mobile_networks_config_disabled
|
attr_accessor :mobile_networks_config_disabled
|
||||||
|
@ -1781,8 +1771,7 @@ module Google
|
||||||
attr_accessor :modify_accounts_disabled
|
attr_accessor :modify_accounts_disabled
|
||||||
alias_method :modify_accounts_disabled?, :modify_accounts_disabled
|
alias_method :modify_accounts_disabled?, :modify_accounts_disabled
|
||||||
|
|
||||||
# Whether the user mounting physical external media is disabled. <i>Requires the
|
# Whether the user mounting physical external media is disabled.
|
||||||
# beta version of the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `mountPhysicalMediaDisabled`
|
# Corresponds to the JSON property `mountPhysicalMediaDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :mount_physical_media_disabled
|
attr_accessor :mount_physical_media_disabled
|
||||||
|
@ -1806,8 +1795,7 @@ module Google
|
||||||
attr_accessor :network_escape_hatch_enabled
|
attr_accessor :network_escape_hatch_enabled
|
||||||
alias_method :network_escape_hatch_enabled?, :network_escape_hatch_enabled
|
alias_method :network_escape_hatch_enabled?, :network_escape_hatch_enabled
|
||||||
|
|
||||||
# Whether resetting network settings is disabled. <i>Requires the beta version
|
# Whether resetting network settings is disabled.
|
||||||
# of the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `networkResetDisabled`
|
# Corresponds to the JSON property `networkResetDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :network_reset_disabled
|
attr_accessor :network_reset_disabled
|
||||||
|
@ -1819,15 +1807,13 @@ module Google
|
||||||
# @return [Hash<String,Object>]
|
# @return [Hash<String,Object>]
|
||||||
attr_accessor :open_network_configuration
|
attr_accessor :open_network_configuration
|
||||||
|
|
||||||
# Whether using NFC to beam out data from apps is disabled. <i>Requires the beta
|
# Whether using NFC to beam out data from apps is disabled.
|
||||||
# version of the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `outgoingBeamDisabled`
|
# Corresponds to the JSON property `outgoingBeamDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :outgoing_beam_disabled
|
attr_accessor :outgoing_beam_disabled
|
||||||
alias_method :outgoing_beam_disabled?, :outgoing_beam_disabled
|
alias_method :outgoing_beam_disabled?, :outgoing_beam_disabled
|
||||||
|
|
||||||
# Whether outgoing calls are disabled. <i>Requires the beta version of the
|
# Whether outgoing calls are disabled.
|
||||||
# Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `outgoingCallsDisabled`
|
# Corresponds to the JSON property `outgoingCallsDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :outgoing_calls_disabled
|
attr_accessor :outgoing_calls_disabled
|
||||||
|
@ -1872,15 +1858,13 @@ module Google
|
||||||
attr_accessor :screen_capture_disabled
|
attr_accessor :screen_capture_disabled
|
||||||
alias_method :screen_capture_disabled?, :screen_capture_disabled
|
alias_method :screen_capture_disabled?, :screen_capture_disabled
|
||||||
|
|
||||||
# Whether changing the user icon is disabled. <i>Requires the beta version of
|
# Whether changing the user icon is disabled.
|
||||||
# the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `setUserIconDisabled`
|
# Corresponds to the JSON property `setUserIconDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :set_user_icon_disabled
|
attr_accessor :set_user_icon_disabled
|
||||||
alias_method :set_user_icon_disabled?, :set_user_icon_disabled
|
alias_method :set_user_icon_disabled?, :set_user_icon_disabled
|
||||||
|
|
||||||
# Whether changing the wallpaper is disabled. <i>Requires the beta version of
|
# Whether changing the wallpaper is disabled.
|
||||||
# the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `setWallpaperDisabled`
|
# Corresponds to the JSON property `setWallpaperDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :set_wallpaper_disabled
|
attr_accessor :set_wallpaper_disabled
|
||||||
|
@ -1892,8 +1876,7 @@ module Google
|
||||||
# @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
|
# @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
|
||||||
attr_accessor :short_support_message
|
attr_accessor :short_support_message
|
||||||
|
|
||||||
# Whether sending or receiving SMS messages is disabled. <i>Requires the beta
|
# Whether sending or receiving SMS messages is disabled.
|
||||||
# version of the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `smsDisabled`
|
# Corresponds to the JSON property `smsDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :sms_disabled
|
attr_accessor :sms_disabled
|
||||||
|
@ -1923,15 +1906,13 @@ module Google
|
||||||
# @return [Google::Apis::AndroidmanagementV1::SystemUpdate]
|
# @return [Google::Apis::AndroidmanagementV1::SystemUpdate]
|
||||||
attr_accessor :system_update
|
attr_accessor :system_update
|
||||||
|
|
||||||
# Whether configuring tethering and portable hotspots is disabled. <i>Requires
|
# Whether configuring tethering and portable hotspots is disabled.
|
||||||
# the beta version of the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `tetheringConfigDisabled`
|
# Corresponds to the JSON property `tetheringConfigDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :tethering_config_disabled
|
attr_accessor :tethering_config_disabled
|
||||||
alias_method :tethering_config_disabled?, :tethering_config_disabled
|
alias_method :tethering_config_disabled?, :tethering_config_disabled
|
||||||
|
|
||||||
# Whether user uninstallation of applications is disabled. <i>Requires the beta
|
# Whether user uninstallation of applications is disabled.
|
||||||
# version of the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `uninstallAppsDisabled`
|
# Corresponds to the JSON property `uninstallAppsDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :uninstall_apps_disabled
|
attr_accessor :uninstall_apps_disabled
|
||||||
|
@ -1943,8 +1924,7 @@ module Google
|
||||||
attr_accessor :unmute_microphone_disabled
|
attr_accessor :unmute_microphone_disabled
|
||||||
alias_method :unmute_microphone_disabled?, :unmute_microphone_disabled
|
alias_method :unmute_microphone_disabled?, :unmute_microphone_disabled
|
||||||
|
|
||||||
# Whether transferring files over USB is disabled. <i>Requires the beta version
|
# Whether transferring files over USB is disabled.
|
||||||
# of the Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `usbFileTransferDisabled`
|
# Corresponds to the JSON property `usbFileTransferDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :usb_file_transfer_disabled
|
attr_accessor :usb_file_transfer_disabled
|
||||||
|
@ -1956,8 +1936,7 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :version
|
attr_accessor :version
|
||||||
|
|
||||||
# Whether configuring VPN is disabled. <i>Requires the beta version of the
|
# Whether configuring VPN is disabled.
|
||||||
# Android Device Policy app.</i>
|
|
||||||
# Corresponds to the JSON property `vpnConfigDisabled`
|
# Corresponds to the JSON property `vpnConfigDisabled`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
attr_accessor :vpn_config_disabled
|
attr_accessor :vpn_config_disabled
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/billing/
|
# @see https://cloud.google.com/billing/
|
||||||
module CloudbillingV1
|
module CloudbillingV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180108'
|
REVISION = '20180116'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -369,14 +369,21 @@ module Google
|
||||||
# @return [Google::Apis::CloudbillingV1::AggregationInfo]
|
# @return [Google::Apis::CloudbillingV1::AggregationInfo]
|
||||||
attr_accessor :aggregation_info
|
attr_accessor :aggregation_info
|
||||||
|
|
||||||
# Conversion rate for currency conversion, from USD to the currency specified
|
# Conversion rate used for currency conversion, from USD to the currency
|
||||||
# in the request. If the currency is not specified this defaults to 1.0.
|
# specified in the request. This includes any surcharge collected for billing
|
||||||
|
# in non USD currency. If a currency is not specified in the request this
|
||||||
|
# defaults to 1.0.
|
||||||
# Example: USD * currency_conversion_rate = JPY
|
# Example: USD * currency_conversion_rate = JPY
|
||||||
# Corresponds to the JSON property `currencyConversionRate`
|
# Corresponds to the JSON property `currencyConversionRate`
|
||||||
# @return [Float]
|
# @return [Float]
|
||||||
attr_accessor :currency_conversion_rate
|
attr_accessor :currency_conversion_rate
|
||||||
|
|
||||||
# The timestamp from which this pricing was effective.
|
# The timestamp from which this pricing was effective within the requested
|
||||||
|
# time range. This is guaranteed to be greater than or equal to the
|
||||||
|
# start_time field in the request and less than the end_time field in the
|
||||||
|
# request. If a time range was not specified in the request this field will
|
||||||
|
# be equivalent to a time within the last 12 hours, indicating the latest
|
||||||
|
# pricing info.
|
||||||
# Corresponds to the JSON property `effectiveTime`
|
# Corresponds to the JSON property `effectiveTime`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :effective_time
|
attr_accessor :effective_time
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/cloud-tasks/
|
# @see https://cloud.google.com/cloud-tasks/
|
||||||
module CloudtasksV2beta2
|
module CloudtasksV2beta2
|
||||||
VERSION = 'V2beta2'
|
VERSION = 'V2beta2'
|
||||||
REVISION = '20180113'
|
REVISION = '20180117'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -558,16 +558,22 @@ module Google
|
||||||
# `filter` can be used to specify a subset of tasks to lease.
|
# `filter` can be used to specify a subset of tasks to lease.
|
||||||
# When `filter` is set to `tag=<my-tag>` then the
|
# When `filter` is set to `tag=<my-tag>` then the
|
||||||
# LeaseTasksResponse will contain only tasks whose
|
# LeaseTasksResponse will contain only tasks whose
|
||||||
# LeaseMessage.tag is equal to `<my-tag>`. `<my-tag>` must be less than
|
# PullMessage.tag is equal to `<my-tag>`. `<my-tag>` must be
|
||||||
# 500 bytes.
|
# less than 500 characters.
|
||||||
# When `filter` is set to `tag_function=oldest_tag()`, only tasks which have
|
# When `filter` is set to `tag_function=oldest_tag()`, only tasks which have
|
||||||
# the same tag as the task with the oldest schedule_time will be returned.
|
# the same tag as the task with the oldest schedule_time will be returned.
|
||||||
# Grammar Syntax:
|
# Grammar Syntax:
|
||||||
# * `filter = "tag=" tag | "tag_function=" function`
|
# * `filter = "tag=" tag | "tag_function=" function`
|
||||||
# * `tag = string | bytes`
|
# * `tag = string`
|
||||||
# * `function = "oldest_tag()"`
|
# * `function = "oldest_tag()"`
|
||||||
# The `oldest_tag()` function returns tasks which have the same tag as the
|
# The `oldest_tag()` function returns tasks which have the same tag as the
|
||||||
# oldest task (ordered by schedule time).
|
# oldest task (ordered by schedule time).
|
||||||
|
# SDK compatibility: Although the SDK allows tags to be either
|
||||||
|
# string or [bytes](/appengine/docs/standard/java/javadoc/com/google/appengine/
|
||||||
|
# api/taskqueue/TaskOptions.html#tag-byte:A-),
|
||||||
|
# only UTF-8 encoded tags can be used in Cloud Tasks. Tag which aren't UTF-8
|
||||||
|
# encoded can't be used in LeaseTasksRequest.filter and won't display in
|
||||||
|
# PullMessage.tag.
|
||||||
# Corresponds to the JSON property `filter`
|
# Corresponds to the JSON property `filter`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :filter
|
attr_accessor :filter
|
||||||
|
@ -606,8 +612,7 @@ module Google
|
||||||
# of its large size or because of the sensitivity of data that it
|
# of its large size or because of the sensitivity of data that it
|
||||||
# contains.
|
# contains.
|
||||||
# Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView`
|
# Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView`
|
||||||
# [Google IAM](/iam/) permission on the
|
# [Google IAM](/iam/) permission on the Task.name resource.
|
||||||
# Task.name resource.
|
|
||||||
# Corresponds to the JSON property `responseView`
|
# Corresponds to the JSON property `responseView`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :response_view
|
attr_accessor :response_view
|
||||||
|
@ -868,9 +873,13 @@ module Google
|
||||||
# user once a day, you could tag tasks with the user ID.
|
# user once a day, you could tag tasks with the user ID.
|
||||||
# The task's tag can only be set when the
|
# The task's tag can only be set when the
|
||||||
# task is created.
|
# task is created.
|
||||||
# The tag must be less than 500 bytes.
|
# The tag must be less than 500 characters.
|
||||||
|
# SDK compatibility: Although the SDK allows tags to be either
|
||||||
|
# string or [bytes](/appengine/docs/standard/java/javadoc/com/google/appengine/
|
||||||
|
# api/taskqueue/TaskOptions.html#tag-byte:A-),
|
||||||
|
# only UTF-8 encoded tags can be used in Cloud Tasks. If a tag isn't UTF-8
|
||||||
|
# encoded, the tag will be empty when the task is returned by Cloud Tasks.
|
||||||
# Corresponds to the JSON property `tag`
|
# Corresponds to the JSON property `tag`
|
||||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :tag
|
attr_accessor :tag
|
||||||
|
|
||||||
|
|
|
@ -380,7 +380,7 @@ module Google
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :payload, :base64 => true, as: 'payload'
|
property :payload, :base64 => true, as: 'payload'
|
||||||
property :tag, :base64 => true, as: 'tag'
|
property :tag, as: 'tag'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dialogflow-enterprise/
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
||||||
module DialogflowV2beta1
|
module DialogflowV2beta1
|
||||||
VERSION = 'V2beta1'
|
VERSION = 'V2beta1'
|
||||||
REVISION = '20180108'
|
REVISION = '20180116'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -2213,11 +2213,14 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :query_text
|
attr_accessor :query_text
|
||||||
|
|
||||||
# The confidence estimate between 0.0 and 1.0. A higher number
|
# The Speech recognition confidence between 0.0 and 1.0. A higher number
|
||||||
# indicates an estimated greater likelihood that the recognized words are
|
# indicates an estimated greater likelihood that the recognized words are
|
||||||
# correct. The default of 0.0 is a sentinel value indicating that confidence
|
# correct. The default of 0.0 is a sentinel value indicating that confidence
|
||||||
# was not set. This field is populated if natural speech audio was provided
|
# was not set.
|
||||||
# as input.
|
# You should not rely on this field as it isn't guaranteed to be accurate, or
|
||||||
|
# even set. In particular this field isn't set in Webhook calls and for
|
||||||
|
# StreamingDetectIntent since the streaming endpoint has separate confidence
|
||||||
|
# estimates per portion of the audio in StreamingRecognitionResult.
|
||||||
# Corresponds to the JSON property `speechRecognitionConfidence`
|
# Corresponds to the JSON property `speechRecognitionConfidence`
|
||||||
# @return [Float]
|
# @return [Float]
|
||||||
attr_accessor :speech_recognition_confidence
|
attr_accessor :speech_recognition_confidence
|
||||||
|
|
|
@ -25,13 +25,22 @@ module Google
|
||||||
# @see https://cloud.google.com/genomics
|
# @see https://cloud.google.com/genomics
|
||||||
module GenomicsV1
|
module GenomicsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180114'
|
REVISION = '20180117'
|
||||||
|
|
||||||
|
# View and manage your data in Google BigQuery
|
||||||
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
||||||
|
# Manage your data in Google Cloud Storage
|
||||||
|
AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write'
|
||||||
|
|
||||||
# View and manage Genomics data
|
# View and manage Genomics data
|
||||||
AUTH_GENOMICS = 'https://www.googleapis.com/auth/genomics'
|
AUTH_GENOMICS = 'https://www.googleapis.com/auth/genomics'
|
||||||
|
|
||||||
|
# View Genomics data
|
||||||
|
AUTH_GENOMICS_READONLY = 'https://www.googleapis.com/auth/genomics.readonly'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/genomics
|
# @see https://cloud.google.com/genomics
|
||||||
module GenomicsV1alpha2
|
module GenomicsV1alpha2
|
||||||
VERSION = 'V1alpha2'
|
VERSION = 'V1alpha2'
|
||||||
REVISION = '20180114'
|
REVISION = '20180117'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -260,6 +260,44 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# The read group set import response.
|
||||||
|
class ImportReadGroupSetsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# IDs of the read group sets that were created.
|
||||||
|
# Corresponds to the JSON property `readGroupSetIds`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :read_group_set_ids
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@read_group_set_ids = args[:read_group_set_ids] if args.key?(:read_group_set_ids)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# The variant data import response.
|
||||||
|
class ImportVariantsResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# IDs of the call sets created during the import.
|
||||||
|
# Corresponds to the JSON property `callSetIds`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :call_set_ids
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# The response message for Operations.ListOperations.
|
# The response message for Operations.ListOperations.
|
||||||
class ListOperationsResponse
|
class ListOperationsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -58,6 +58,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ImportReadGroupSetsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ImportVariantsResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ListOperationsResponse
|
class ListOperationsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -225,6 +237,20 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ImportReadGroupSetsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :read_group_set_ids, as: 'readGroupSetIds'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ImportVariantsResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :call_set_ids, as: 'callSetIds'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ListOperationsResponse
|
class ListOperationsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/logging/docs/
|
# @see https://cloud.google.com/logging/docs/
|
||||||
module LoggingV2
|
module LoggingV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20171219'
|
REVISION = '20180116'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -1632,6 +1632,14 @@ module Google
|
||||||
class WriteLogEntriesRequest
|
class WriteLogEntriesRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Optional. If true, the request should expect normal response, but the entries
|
||||||
|
# won't be persisted nor exported. Useful for checking whether the logging API
|
||||||
|
# endpoints are working properly before sending valuable data.
|
||||||
|
# Corresponds to the JSON property `dryRun`
|
||||||
|
# @return [Boolean]
|
||||||
|
attr_accessor :dry_run
|
||||||
|
alias_method :dry_run?, :dry_run
|
||||||
|
|
||||||
# Required. The log entries to send to Stackdriver Logging. The order of log
|
# Required. The log entries to send to Stackdriver Logging. The order of log
|
||||||
# entries in this list does not matter. Values supplied in this method's
|
# entries in this list does not matter. Values supplied in this method's
|
||||||
# log_name, resource, and labels fields are copied into those log entries in
|
# log_name, resource, and labels fields are copied into those log entries in
|
||||||
|
@ -1703,6 +1711,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@dry_run = args[:dry_run] if args.key?(:dry_run)
|
||||||
@entries = args[:entries] if args.key?(:entries)
|
@entries = args[:entries] if args.key?(:entries)
|
||||||
@labels = args[:labels] if args.key?(:labels)
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
@log_name = args[:log_name] if args.key?(:log_name)
|
@log_name = args[:log_name] if args.key?(:log_name)
|
||||||
|
|
|
@ -524,6 +524,7 @@ module Google
|
||||||
class WriteLogEntriesRequest
|
class WriteLogEntriesRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :dry_run, as: 'dryRun'
|
||||||
collection :entries, as: 'entries', class: Google::Apis::LoggingV2::LogEntry, decorator: Google::Apis::LoggingV2::LogEntry::Representation
|
collection :entries, as: 'entries', class: Google::Apis::LoggingV2::LogEntry, decorator: Google::Apis::LoggingV2::LogEntry::Representation
|
||||||
|
|
||||||
hash :labels, as: 'labels'
|
hash :labels, as: 'labels'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/ml/
|
# @see https://cloud.google.com/ml/
|
||||||
module MlV1
|
module MlV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180105'
|
REVISION = '20180114'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -1345,129 +1345,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Specifies the audit configuration for a service.
|
|
||||||
# The configuration determines which permission types are logged, and what
|
|
||||||
# identities, if any, are exempted from logging.
|
|
||||||
# An AuditConfig must have one or more AuditLogConfigs.
|
|
||||||
# If there are AuditConfigs for both `allServices` and a specific service,
|
|
||||||
# the union of the two AuditConfigs is used for that service: the log_types
|
|
||||||
# specified in each AuditConfig are enabled, and the exempted_members in each
|
|
||||||
# AuditConfig are exempted.
|
|
||||||
# Example Policy with multiple AuditConfigs:
|
|
||||||
# `
|
|
||||||
# "audit_configs": [
|
|
||||||
# `
|
|
||||||
# "service": "allServices"
|
|
||||||
# "audit_log_configs": [
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_READ",
|
|
||||||
# "exempted_members": [
|
|
||||||
# "user:foo@gmail.com"
|
|
||||||
# ]
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_WRITE",
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "log_type": "ADMIN_READ",
|
|
||||||
# `
|
|
||||||
# ]
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "service": "fooservice.googleapis.com"
|
|
||||||
# "audit_log_configs": [
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_READ",
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_WRITE",
|
|
||||||
# "exempted_members": [
|
|
||||||
# "user:bar@gmail.com"
|
|
||||||
# ]
|
|
||||||
# `
|
|
||||||
# ]
|
|
||||||
# `
|
|
||||||
# ]
|
|
||||||
# `
|
|
||||||
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
||||||
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
|
|
||||||
# bar@gmail.com from DATA_WRITE logging.
|
|
||||||
class GoogleIamV1AuditConfig
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# The configuration for logging of each type of permission.
|
|
||||||
# Next ID: 4
|
|
||||||
# Corresponds to the JSON property `auditLogConfigs`
|
|
||||||
# @return [Array<Google::Apis::MlV1::GoogleIamV1AuditLogConfig>]
|
|
||||||
attr_accessor :audit_log_configs
|
|
||||||
|
|
||||||
#
|
|
||||||
# Corresponds to the JSON property `exemptedMembers`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :exempted_members
|
|
||||||
|
|
||||||
# Specifies a service that will be enabled for audit logging.
|
|
||||||
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
|
||||||
# `allServices` is a special value that covers all services.
|
|
||||||
# Corresponds to the JSON property `service`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :service
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
|
||||||
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
|
||||||
@service = args[:service] if args.key?(:service)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Provides the configuration for logging a type of permissions.
|
|
||||||
# Example:
|
|
||||||
# `
|
|
||||||
# "audit_log_configs": [
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_READ",
|
|
||||||
# "exempted_members": [
|
|
||||||
# "user:foo@gmail.com"
|
|
||||||
# ]
|
|
||||||
# `,
|
|
||||||
# `
|
|
||||||
# "log_type": "DATA_WRITE",
|
|
||||||
# `
|
|
||||||
# ]
|
|
||||||
# `
|
|
||||||
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
|
||||||
# foo@gmail.com from DATA_READ logging.
|
|
||||||
class GoogleIamV1AuditLogConfig
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# Specifies the identities that do not cause logging for this type of
|
|
||||||
# permission.
|
|
||||||
# Follows the same format of Binding.members.
|
|
||||||
# Corresponds to the JSON property `exemptedMembers`
|
|
||||||
# @return [Array<String>]
|
|
||||||
attr_accessor :exempted_members
|
|
||||||
|
|
||||||
# The log type that this config enables.
|
|
||||||
# Corresponds to the JSON property `logType`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :log_type
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
|
||||||
@log_type = args[:log_type] if args.key?(:log_type)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# Associates `members` with a `role`.
|
# Associates `members` with a `role`.
|
||||||
class GoogleIamV1Binding
|
class GoogleIamV1Binding
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1546,11 +1423,6 @@ module Google
|
||||||
class GoogleIamV1Policy
|
class GoogleIamV1Policy
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# Specifies cloud audit logging configuration for this policy.
|
|
||||||
# Corresponds to the JSON property `auditConfigs`
|
|
||||||
# @return [Array<Google::Apis::MlV1::GoogleIamV1AuditConfig>]
|
|
||||||
attr_accessor :audit_configs
|
|
||||||
|
|
||||||
# Associates a list of `members` to a `role`.
|
# Associates a list of `members` to a `role`.
|
||||||
# `bindings` with no members will result in an error.
|
# `bindings` with no members will result in an error.
|
||||||
# Corresponds to the JSON property `bindings`
|
# Corresponds to the JSON property `bindings`
|
||||||
|
@ -1571,12 +1443,6 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :etag
|
attr_accessor :etag
|
||||||
|
|
||||||
#
|
|
||||||
# Corresponds to the JSON property `iamOwned`
|
|
||||||
# @return [Boolean]
|
|
||||||
attr_accessor :iam_owned
|
|
||||||
alias_method :iam_owned?, :iam_owned
|
|
||||||
|
|
||||||
# Deprecated.
|
# Deprecated.
|
||||||
# Corresponds to the JSON property `version`
|
# Corresponds to the JSON property `version`
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
|
@ -1588,10 +1454,8 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
|
||||||
@bindings = args[:bindings] if args.key?(:bindings)
|
@bindings = args[:bindings] if args.key?(:bindings)
|
||||||
@etag = args[:etag] if args.key?(:etag)
|
@etag = args[:etag] if args.key?(:etag)
|
||||||
@iam_owned = args[:iam_owned] if args.key?(:iam_owned)
|
|
||||||
@version = args[:version] if args.key?(:version)
|
@version = args[:version] if args.key?(:version)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -172,18 +172,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class GoogleIamV1AuditConfig
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class GoogleIamV1AuditLogConfig
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class GoogleIamV1Binding
|
class GoogleIamV1Binding
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -525,24 +513,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class GoogleIamV1AuditConfig
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::MlV1::GoogleIamV1AuditLogConfig, decorator: Google::Apis::MlV1::GoogleIamV1AuditLogConfig::Representation
|
|
||||||
|
|
||||||
collection :exempted_members, as: 'exemptedMembers'
|
|
||||||
property :service, as: 'service'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class GoogleIamV1AuditLogConfig
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
collection :exempted_members, as: 'exemptedMembers'
|
|
||||||
property :log_type, as: 'logType'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class GoogleIamV1Binding
|
class GoogleIamV1Binding
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -556,12 +526,9 @@ module Google
|
||||||
class GoogleIamV1Policy
|
class GoogleIamV1Policy
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::MlV1::GoogleIamV1AuditConfig, decorator: Google::Apis::MlV1::GoogleIamV1AuditConfig::Representation
|
|
||||||
|
|
||||||
collection :bindings, as: 'bindings', class: Google::Apis::MlV1::GoogleIamV1Binding, decorator: Google::Apis::MlV1::GoogleIamV1Binding::Representation
|
collection :bindings, as: 'bindings', class: Google::Apis::MlV1::GoogleIamV1Binding, decorator: Google::Apis::MlV1::GoogleIamV1Binding::Representation
|
||||||
|
|
||||||
property :etag, :base64 => true, as: 'etag'
|
property :etag, :base64 => true, as: 'etag'
|
||||||
property :iam_owned, as: 'iamOwned'
|
|
||||||
property :version, as: 'version'
|
property :version, as: 'version'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/people/
|
# @see https://developers.google.com/people/
|
||||||
module PeopleV1
|
module PeopleV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180106'
|
REVISION = '20180116'
|
||||||
|
|
||||||
# Manage your contacts
|
# Manage your contacts
|
||||||
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
|
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
|
||||||
|
|
|
@ -617,13 +617,16 @@ module Google
|
||||||
# `person.names` or `person.photos`.
|
# `person.names` or `person.photos`.
|
||||||
# @param [Boolean] request_sync_token
|
# @param [Boolean] request_sync_token
|
||||||
# Whether the response should include a sync token, which can be used to get
|
# Whether the response should include a sync token, which can be used to get
|
||||||
# all changes since the last request.
|
# all changes since the last request. For subsequent sync requests use the
|
||||||
|
# `sync_token` param instead. Initial sync requests that specify
|
||||||
|
# `request_sync_token` have an additional rate limit.
|
||||||
# @param [String] sort_order
|
# @param [String] sort_order
|
||||||
# The order in which the connections should be sorted. Defaults to
|
# The order in which the connections should be sorted. Defaults to
|
||||||
# `LAST_MODIFIED_ASCENDING`.
|
# `LAST_MODIFIED_ASCENDING`.
|
||||||
# @param [String] sync_token
|
# @param [String] sync_token
|
||||||
# A sync token, returned by a previous call to `people.connections.list`.
|
# A sync token returned by a previous call to `people.connections.list`.
|
||||||
# Only resources changed since the sync token was created will be returned.
|
# Only resources changed since the sync token was created will be returned.
|
||||||
|
# Sync requests that specify `sync_token` have an additional rate limit.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
# Selector specifying which fields to include in a partial response.
|
# Selector specifying which fields to include in a partial response.
|
||||||
# @param [String] quota_user
|
# @param [String] quota_user
|
||||||
|
|
|
@ -22,10 +22,10 @@ module Google
|
||||||
#
|
#
|
||||||
# An API for managing and executing Google Apps Script projects.
|
# An API for managing and executing Google Apps Script projects.
|
||||||
#
|
#
|
||||||
# @see https://developers.google.com/apps-script/api
|
# @see https://developers.google.com/apps-script/api/
|
||||||
module ScriptV1
|
module ScriptV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180110'
|
REVISION = '20180116'
|
||||||
|
|
||||||
# Read, send, delete, and manage your email
|
# Read, send, delete, and manage your email
|
||||||
AUTH_SCOPE = 'https://mail.google.com/'
|
AUTH_SCOPE = 'https://mail.google.com/'
|
||||||
|
|
|
@ -30,7 +30,7 @@ module Google
|
||||||
# Script = Google::Apis::ScriptV1 # Alias the module
|
# Script = Google::Apis::ScriptV1 # Alias the module
|
||||||
# service = Script::ScriptService.new
|
# service = Script::ScriptService.new
|
||||||
#
|
#
|
||||||
# @see https://developers.google.com/apps-script/api
|
# @see https://developers.google.com/apps-script/api/
|
||||||
class ScriptService < Google::Apis::Core::BaseService
|
class ScriptService < Google::Apis::Core::BaseService
|
||||||
# @return [String]
|
# @return [String]
|
||||||
# API key. Your API key identifies your project and provides you with API access,
|
# 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/service-consumer-management/docs/overview
|
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
||||||
module ServiceconsumermanagementV1
|
module ServiceconsumermanagementV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20180110'
|
REVISION = '20180116'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -3578,6 +3578,7 @@ module Google
|
||||||
attr_accessor :service
|
attr_accessor :service
|
||||||
|
|
||||||
# Resources constituting the tenancy unit.
|
# Resources constituting the tenancy unit.
|
||||||
|
# There can be at most 512 tenant resources in a tenancy units.
|
||||||
# Corresponds to the JSON property `tenantResources`
|
# Corresponds to the JSON property `tenantResources`
|
||||||
# @return [Array<Google::Apis::ServiceconsumermanagementV1::TenantResource>]
|
# @return [Array<Google::Apis::ServiceconsumermanagementV1::TenantResource>]
|
||||||
attr_accessor :tenant_resources
|
attr_accessor :tenant_resources
|
||||||
|
|
|
@ -262,6 +262,7 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Add a new tenant project to the tenancy unit.
|
# Add a new tenant project to the tenancy unit.
|
||||||
|
# There can be at most 512 tenant projects in a tenancy units.
|
||||||
# If there are previously failed AddTenantProject calls, you might need to
|
# If there are previously failed AddTenantProject calls, you might need to
|
||||||
# call RemoveTenantProject first to clean them before you can make another
|
# call RemoveTenantProject first to clean them before you can make another
|
||||||
# AddTenantProject with the same tag.
|
# AddTenantProject with the same tag.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/speech/
|
# @see https://cloud.google.com/speech/
|
||||||
module SpeechV1
|
module SpeechV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20171219'
|
REVISION = '20180116'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -22,63 +22,6 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module SpeechV1
|
module SpeechV1
|
||||||
|
|
||||||
# The request message for Operations.CancelOperation.
|
|
||||||
class CancelOperationRequest
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# A generic empty message that you can re-use to avoid defining duplicated
|
|
||||||
# empty messages in your APIs. A typical example is to use it as the request
|
|
||||||
# or the response type of an API method. For instance:
|
|
||||||
# service Foo `
|
|
||||||
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
||||||
# `
|
|
||||||
# The JSON representation for `Empty` is empty JSON object ````.
|
|
||||||
class Empty
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# The response message for Operations.ListOperations.
|
|
||||||
class ListOperationsResponse
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# The standard List next-page token.
|
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :next_page_token
|
|
||||||
|
|
||||||
# A list of operations that matches the specified filter in the request.
|
|
||||||
# Corresponds to the JSON property `operations`
|
|
||||||
# @return [Array<Google::Apis::SpeechV1::Operation>]
|
|
||||||
attr_accessor :operations
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
||||||
@operations = args[:operations] if args.key?(:operations)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# The top-level message sent by the client for the `LongRunningRecognize`
|
# The top-level message sent by the client for the `LongRunningRecognize`
|
||||||
# method.
|
# method.
|
||||||
class LongRunningRecognizeRequest
|
class LongRunningRecognizeRequest
|
||||||
|
@ -444,13 +387,6 @@ module Google
|
||||||
# @return [Array<Google::Apis::SpeechV1::SpeechRecognitionAlternative>]
|
# @return [Array<Google::Apis::SpeechV1::SpeechRecognitionAlternative>]
|
||||||
attr_accessor :alternatives
|
attr_accessor :alternatives
|
||||||
|
|
||||||
# For multi-channel audio, this is the channel number corresponding to the
|
|
||||||
# recognized result for the audio from that channel.
|
|
||||||
# For audio_channel_count = N, its output values can range from '0' to 'N-1'.
|
|
||||||
# Corresponds to the JSON property `channelTag`
|
|
||||||
# @return [Fixnum]
|
|
||||||
attr_accessor :channel_tag
|
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -458,7 +394,6 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@alternatives = args[:alternatives] if args.key?(:alternatives)
|
@alternatives = args[:alternatives] if args.key?(:alternatives)
|
||||||
@channel_tag = args[:channel_tag] if args.key?(:channel_tag)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -22,24 +22,6 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
module SpeechV1
|
module SpeechV1
|
||||||
|
|
||||||
class CancelOperationRequest
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class Empty
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListOperationsResponse
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class LongRunningRecognizeRequest
|
class LongRunningRecognizeRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -106,27 +88,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class CancelOperationRequest
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Empty
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListOperationsResponse
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
collection :operations, as: 'operations', class: Google::Apis::SpeechV1::Operation, decorator: Google::Apis::SpeechV1::Operation::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class LongRunningRecognizeRequest
|
class LongRunningRecognizeRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -211,7 +172,6 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
collection :alternatives, as: 'alternatives', class: Google::Apis::SpeechV1::SpeechRecognitionAlternative, decorator: Google::Apis::SpeechV1::SpeechRecognitionAlternative::Representation
|
collection :alternatives, as: 'alternatives', class: Google::Apis::SpeechV1::SpeechRecognitionAlternative, decorator: Google::Apis::SpeechV1::SpeechRecognitionAlternative::Representation
|
||||||
|
|
||||||
property :channel_tag, as: 'channelTag'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -47,81 +47,6 @@ module Google
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Starts asynchronous cancellation on a long-running operation. The server
|
|
||||||
# makes a best effort to cancel the operation, but success is not
|
|
||||||
# guaranteed. If the server doesn't support this method, it returns
|
|
||||||
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
|
||||||
# Operations.GetOperation or
|
|
||||||
# other methods to check whether the cancellation succeeded or whether the
|
|
||||||
# operation completed despite cancellation. On successful cancellation,
|
|
||||||
# the operation is not deleted; instead, it becomes an operation with
|
|
||||||
# an Operation.error value with a google.rpc.Status.code of 1,
|
|
||||||
# corresponding to `Code.CANCELLED`.
|
|
||||||
# @param [String] name
|
|
||||||
# The name of the operation resource to be cancelled.
|
|
||||||
# @param [Google::Apis::SpeechV1::CancelOperationRequest] cancel_operation_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.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SpeechV1::Empty] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SpeechV1::Empty]
|
|
||||||
#
|
|
||||||
# @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 cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:post, 'v1/operations/{+name}:cancel', options)
|
|
||||||
command.request_representation = Google::Apis::SpeechV1::CancelOperationRequest::Representation
|
|
||||||
command.request_object = cancel_operation_request_object
|
|
||||||
command.response_representation = Google::Apis::SpeechV1::Empty::Representation
|
|
||||||
command.response_class = Google::Apis::SpeechV1::Empty
|
|
||||||
command.params['name'] = name unless name.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Deletes a long-running operation. This method indicates that the client is
|
|
||||||
# no longer interested in the operation result. It does not cancel the
|
|
||||||
# operation. If the server doesn't support this method, it returns
|
|
||||||
# `google.rpc.Code.UNIMPLEMENTED`.
|
|
||||||
# @param [String] name
|
|
||||||
# The name of the operation resource to be deleted.
|
|
||||||
# @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.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SpeechV1::Empty] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SpeechV1::Empty]
|
|
||||||
#
|
|
||||||
# @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_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:delete, 'v1/operations/{+name}', options)
|
|
||||||
command.response_representation = Google::Apis::SpeechV1::Empty::Representation
|
|
||||||
command.response_class = Google::Apis::SpeechV1::Empty
|
|
||||||
command.params['name'] = name unless name.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Gets the latest state of a long-running operation. Clients can use this
|
# Gets the latest state of a long-running operation. Clients can use this
|
||||||
# method to poll the operation result at intervals as recommended by the API
|
# method to poll the operation result at intervals as recommended by the API
|
||||||
# service.
|
# service.
|
||||||
|
@ -154,53 +79,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists operations that match the specified filter in the request. If the
|
|
||||||
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
||||||
# NOTE: the `name` binding allows API services to override the binding
|
|
||||||
# to use different resource name schemes, such as `users/*/operations`. To
|
|
||||||
# override the binding, API services can add a binding such as
|
|
||||||
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
|
||||||
# For backwards compatibility, the default name includes the operations
|
|
||||||
# collection id, however overriding users must ensure the name binding
|
|
||||||
# is the parent resource, without the operations collection id.
|
|
||||||
# @param [String] filter
|
|
||||||
# The standard list filter.
|
|
||||||
# @param [String] name
|
|
||||||
# The name of the operation's parent resource.
|
|
||||||
# @param [Fixnum] page_size
|
|
||||||
# The standard list page size.
|
|
||||||
# @param [String] page_token
|
|
||||||
# The standard list page token.
|
|
||||||
# @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.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SpeechV1::ListOperationsResponse] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SpeechV1::ListOperationsResponse]
|
|
||||||
#
|
|
||||||
# @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_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:get, 'v1/operations', options)
|
|
||||||
command.response_representation = Google::Apis::SpeechV1::ListOperationsResponse::Representation
|
|
||||||
command.response_class = Google::Apis::SpeechV1::ListOperationsResponse
|
|
||||||
command.query['filter'] = filter unless filter.nil?
|
|
||||||
command.query['name'] = name unless name.nil?
|
|
||||||
command.query['pageSize'] = page_size unless page_size.nil?
|
|
||||||
command.query['pageToken'] = page_token unless page_token.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Performs asynchronous speech recognition: receive results via the
|
# Performs asynchronous speech recognition: receive results via the
|
||||||
# google.longrunning.Operations interface. Returns either an
|
# google.longrunning.Operations interface. Returns either an
|
||||||
# `Operation.error` or an `Operation.response` which contains
|
# `Operation.error` or an `Operation.response` which contains
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/speech/
|
# @see https://cloud.google.com/speech/
|
||||||
module SpeechV1beta1
|
module SpeechV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20171213'
|
REVISION = '20180116'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -51,50 +51,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# A generic empty message that you can re-use to avoid defining duplicated
|
|
||||||
# empty messages in your APIs. A typical example is to use it as the request
|
|
||||||
# or the response type of an API method. For instance:
|
|
||||||
# service Foo `
|
|
||||||
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
||||||
# `
|
|
||||||
# The JSON representation for `Empty` is empty JSON object ````.
|
|
||||||
class Empty
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# The response message for Operations.ListOperations.
|
|
||||||
class ListOperationsResponse
|
|
||||||
include Google::Apis::Core::Hashable
|
|
||||||
|
|
||||||
# The standard List next-page token.
|
|
||||||
# Corresponds to the JSON property `nextPageToken`
|
|
||||||
# @return [String]
|
|
||||||
attr_accessor :next_page_token
|
|
||||||
|
|
||||||
# A list of operations that matches the specified filter in the request.
|
|
||||||
# Corresponds to the JSON property `operations`
|
|
||||||
# @return [Array<Google::Apis::SpeechV1beta1::Operation>]
|
|
||||||
attr_accessor :operations
|
|
||||||
|
|
||||||
def initialize(**args)
|
|
||||||
update!(**args)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Update properties of this object
|
|
||||||
def update!(**args)
|
|
||||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
||||||
@operations = args[:operations] if args.key?(:operations)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
# This resource represents a long-running operation that is the result of a
|
# This resource represents a long-running operation that is the result of a
|
||||||
# network API call.
|
# network API call.
|
||||||
class Operation
|
class Operation
|
||||||
|
|
|
@ -28,18 +28,6 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
class Empty
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListOperationsResponse
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
||||||
|
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
|
||||||
end
|
|
||||||
|
|
||||||
class Operation
|
class Operation
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -104,21 +92,6 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Empty
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class ListOperationsResponse
|
|
||||||
# @private
|
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
|
||||||
property :next_page_token, as: 'nextPageToken'
|
|
||||||
collection :operations, as: 'operations', class: Google::Apis::SpeechV1beta1::Operation, decorator: Google::Apis::SpeechV1beta1::Operation::Representation
|
|
||||||
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
class Operation
|
class Operation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -47,78 +47,6 @@ module Google
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Starts asynchronous cancellation on a long-running operation. The server
|
|
||||||
# makes a best effort to cancel the operation, but success is not
|
|
||||||
# guaranteed. If the server doesn't support this method, it returns
|
|
||||||
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
|
||||||
# Operations.GetOperation or
|
|
||||||
# other methods to check whether the cancellation succeeded or whether the
|
|
||||||
# operation completed despite cancellation. On successful cancellation,
|
|
||||||
# the operation is not deleted; instead, it becomes an operation with
|
|
||||||
# an Operation.error value with a google.rpc.Status.code of 1,
|
|
||||||
# corresponding to `Code.CANCELLED`.
|
|
||||||
# @param [String] name
|
|
||||||
# The name of the operation resource to be cancelled.
|
|
||||||
# @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.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SpeechV1beta1::Empty] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SpeechV1beta1::Empty]
|
|
||||||
#
|
|
||||||
# @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 cancel_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:post, 'v1beta1/operations/{+name}:cancel', options)
|
|
||||||
command.response_representation = Google::Apis::SpeechV1beta1::Empty::Representation
|
|
||||||
command.response_class = Google::Apis::SpeechV1beta1::Empty
|
|
||||||
command.params['name'] = name unless name.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Deletes a long-running operation. This method indicates that the client is
|
|
||||||
# no longer interested in the operation result. It does not cancel the
|
|
||||||
# operation. If the server doesn't support this method, it returns
|
|
||||||
# `google.rpc.Code.UNIMPLEMENTED`.
|
|
||||||
# @param [String] name
|
|
||||||
# The name of the operation resource to be deleted.
|
|
||||||
# @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.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SpeechV1beta1::Empty] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SpeechV1beta1::Empty]
|
|
||||||
#
|
|
||||||
# @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_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:delete, 'v1beta1/operations/{+name}', options)
|
|
||||||
command.response_representation = Google::Apis::SpeechV1beta1::Empty::Representation
|
|
||||||
command.response_class = Google::Apis::SpeechV1beta1::Empty
|
|
||||||
command.params['name'] = name unless name.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Gets the latest state of a long-running operation. Clients can use this
|
# Gets the latest state of a long-running operation. Clients can use this
|
||||||
# method to poll the operation result at intervals as recommended by the API
|
# method to poll the operation result at intervals as recommended by the API
|
||||||
# service.
|
# service.
|
||||||
|
@ -151,53 +79,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Lists operations that match the specified filter in the request. If the
|
|
||||||
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
||||||
# NOTE: the `name` binding allows API services to override the binding
|
|
||||||
# to use different resource name schemes, such as `users/*/operations`. To
|
|
||||||
# override the binding, API services can add a binding such as
|
|
||||||
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
|
||||||
# For backwards compatibility, the default name includes the operations
|
|
||||||
# collection id, however overriding users must ensure the name binding
|
|
||||||
# is the parent resource, without the operations collection id.
|
|
||||||
# @param [String] filter
|
|
||||||
# The standard list filter.
|
|
||||||
# @param [String] name
|
|
||||||
# The name of the operation's parent resource.
|
|
||||||
# @param [Fixnum] page_size
|
|
||||||
# The standard list page size.
|
|
||||||
# @param [String] page_token
|
|
||||||
# The standard list page token.
|
|
||||||
# @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.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::SpeechV1beta1::ListOperationsResponse] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::SpeechV1beta1::ListOperationsResponse]
|
|
||||||
#
|
|
||||||
# @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_operations(filter: nil, name: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:get, 'v1beta1/operations', options)
|
|
||||||
command.response_representation = Google::Apis::SpeechV1beta1::ListOperationsResponse::Representation
|
|
||||||
command.response_class = Google::Apis::SpeechV1beta1::ListOperationsResponse
|
|
||||||
command.query['filter'] = filter unless filter.nil?
|
|
||||||
command.query['name'] = name unless name.nil?
|
|
||||||
command.query['pageSize'] = page_size unless page_size.nil?
|
|
||||||
command.query['pageToken'] = page_token unless page_token.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Performs asynchronous speech recognition: receive results via the
|
# Performs asynchronous speech recognition: receive results via the
|
||||||
# [google.longrunning.Operations]
|
# [google.longrunning.Operations]
|
||||||
# (/speech/reference/rest/v1beta1/operations#Operation)
|
# (/speech/reference/rest/v1beta1/operations#Operation)
|
||||||
|
|
Loading…
Reference in New Issue