Autogenerated update (2018-04-05)

Update:
- adexchangebuyer2_v2beta1
- cloudbuild_v1
- content_v2
- dlp_v2
- dlp_v2beta1
- dlp_v2beta2
- safebrowsing_v4
- servicemanagement_v1
- serviceuser_v1
- storagetransfer_v1
- testing_v1
- youtube_partner_v1
This commit is contained in:
Google APIs 2018-04-05 00:35:45 +00:00
parent 87be47bb2a
commit 369f8e5b58
26 changed files with 203 additions and 66 deletions

View File

@ -31189,12 +31189,14 @@
"/content:v2/AccountStatus/websiteClaimed": website_claimed
"/content:v2/AccountStatusAccountLevelIssue": account_status_account_level_issue
"/content:v2/AccountStatusAccountLevelIssue/country": country
"/content:v2/AccountStatusAccountLevelIssue/destination": destination
"/content:v2/AccountStatusAccountLevelIssue/detail": detail
"/content:v2/AccountStatusAccountLevelIssue/id": id
"/content:v2/AccountStatusAccountLevelIssue/severity": severity
"/content:v2/AccountStatusAccountLevelIssue/title": title
"/content:v2/AccountStatusDataQualityIssue": account_status_data_quality_issue
"/content:v2/AccountStatusDataQualityIssue/country": country
"/content:v2/AccountStatusDataQualityIssue/destination": destination
"/content:v2/AccountStatusDataQualityIssue/detail": detail
"/content:v2/AccountStatusDataQualityIssue/displayedValue": displayed_value
"/content:v2/AccountStatusDataQualityIssue/exampleItems": example_items
@ -31271,6 +31273,8 @@
"/content:v2/AccountstatusesCustomBatchRequestEntry": account_statuses_batch_request_entry
"/content:v2/AccountstatusesCustomBatchRequestEntry/accountId": account_id
"/content:v2/AccountstatusesCustomBatchRequestEntry/batchId": batch_id
"/content:v2/AccountstatusesCustomBatchRequestEntry/destinations": destinations
"/content:v2/AccountstatusesCustomBatchRequestEntry/destinations/destination": destination
"/content:v2/AccountstatusesCustomBatchRequestEntry/merchantId": merchant_id
"/content:v2/AccountstatusesCustomBatchRequestEntry/method": request_method
"/content:v2/AccountstatusesCustomBatchResponse": batch_account_statuses_response
@ -31397,6 +31401,8 @@
"/content:v2/DatafeedsCustomBatchResponseEntry/batchId": batch_id
"/content:v2/DatafeedsCustomBatchResponseEntry/datafeed": datafeed
"/content:v2/DatafeedsCustomBatchResponseEntry/errors": errors
"/content:v2/DatafeedsFetchNowResponse": datafeeds_fetch_now_response
"/content:v2/DatafeedsFetchNowResponse/kind": kind
"/content:v2/DatafeedsListResponse": list_datafeeds_response
"/content:v2/DatafeedsListResponse/kind": kind
"/content:v2/DatafeedsListResponse/nextPageToken": next_page_token
@ -32225,6 +32231,7 @@
"/content:v2/ProductStatus/productId": product_id
"/content:v2/ProductStatus/title": title
"/content:v2/ProductStatusDataQualityIssue": product_status_data_quality_issue
"/content:v2/ProductStatusDataQualityIssue/destination": destination
"/content:v2/ProductStatusDataQualityIssue/detail": detail
"/content:v2/ProductStatusDataQualityIssue/fetchStatus": fetch_status
"/content:v2/ProductStatusDataQualityIssue/id": id
@ -32285,6 +32292,8 @@
"/content:v2/ProductstatusesCustomBatchRequest/entries/entry": entry
"/content:v2/ProductstatusesCustomBatchRequestEntry": product_statuses_batch_request_entry
"/content:v2/ProductstatusesCustomBatchRequestEntry/batchId": batch_id
"/content:v2/ProductstatusesCustomBatchRequestEntry/destinations": destinations
"/content:v2/ProductstatusesCustomBatchRequestEntry/destinations/destination": destination
"/content:v2/ProductstatusesCustomBatchRequestEntry/includeAttributes": include_attributes
"/content:v2/ProductstatusesCustomBatchRequestEntry/merchantId": merchant_id
"/content:v2/ProductstatusesCustomBatchRequestEntry/method": request_method
@ -32458,8 +32467,10 @@
"/content:v2/content.accountstatuses.custombatch": batch_account_status
"/content:v2/content.accountstatuses.get": get_account_status
"/content:v2/content.accountstatuses.get/accountId": account_id
"/content:v2/content.accountstatuses.get/destinations": destinations
"/content:v2/content.accountstatuses.get/merchantId": merchant_id
"/content:v2/content.accountstatuses.list": list_account_statuses
"/content:v2/content.accountstatuses.list/destinations": destinations
"/content:v2/content.accountstatuses.list/maxResults": max_results
"/content:v2/content.accountstatuses.list/merchantId": merchant_id
"/content:v2/content.accountstatuses.list/pageToken": page_token
@ -32486,6 +32497,10 @@
"/content:v2/content.datafeeds.delete/datafeedId": datafeed_id
"/content:v2/content.datafeeds.delete/dryRun": dry_run
"/content:v2/content.datafeeds.delete/merchantId": merchant_id
"/content:v2/content.datafeeds.fetchnow": fetchnow_datafeed
"/content:v2/content.datafeeds.fetchnow/datafeedId": datafeed_id
"/content:v2/content.datafeeds.fetchnow/dryRun": dry_run
"/content:v2/content.datafeeds.fetchnow/merchantId": merchant_id
"/content:v2/content.datafeeds.get": get_datafeed
"/content:v2/content.datafeeds.get/datafeedId": datafeed_id
"/content:v2/content.datafeeds.get/merchantId": merchant_id
@ -32665,10 +32680,12 @@
"/content:v2/content.productstatuses.custombatch": batch_product_status
"/content:v2/content.productstatuses.custombatch/includeAttributes": include_attributes
"/content:v2/content.productstatuses.get": get_product_status
"/content:v2/content.productstatuses.get/destinations": destinations
"/content:v2/content.productstatuses.get/includeAttributes": include_attributes
"/content:v2/content.productstatuses.get/merchantId": merchant_id
"/content:v2/content.productstatuses.get/productId": product_id
"/content:v2/content.productstatuses.list": list_product_statuses
"/content:v2/content.productstatuses.list/destinations": destinations
"/content:v2/content.productstatuses.list/includeAttributes": include_attributes
"/content:v2/content.productstatuses.list/includeInvalidInsertedItems": include_invalid_inserted_items
"/content:v2/content.productstatuses.list/maxResults": max_results

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
module Adexchangebuyer2V2beta1
VERSION = 'V2beta1'
REVISION = '20180325'
REVISION = '20180403'
# Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -766,7 +766,8 @@ module Google
# @return [Fixnum]
attr_accessor :day
# Month of year. Must be from 1 to 12.
# Month of year. Must be from 1 to 12, or 0 if specifying a date without a
# month.
# Corresponds to the JSON property `month`
# @return [Fixnum]
attr_accessor :month

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/container-builder/docs/
module CloudbuildV1
VERSION = 'V1'
REVISION = '20180327'
REVISION = '20180404'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2
VERSION = 'V2'
REVISION = '20180316'
REVISION = '20180403'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -254,6 +254,11 @@ module Google
# @return [String]
attr_accessor :country
# The destination the issue applies to.
# Corresponds to the JSON property `destination`
# @return [String]
attr_accessor :destination
# Additional details about the issue.
# Corresponds to the JSON property `detail`
# @return [String]
@ -281,6 +286,7 @@ module Google
# Update properties of this object
def update!(**args)
@country = args[:country] if args.key?(:country)
@destination = args[:destination] if args.key?(:destination)
@detail = args[:detail] if args.key?(:detail)
@id = args[:id] if args.key?(:id)
@severity = args[:severity] if args.key?(:severity)
@ -297,6 +303,11 @@ module Google
# @return [String]
attr_accessor :country
# The destination the issue applies to.
# Corresponds to the JSON property `destination`
# @return [String]
attr_accessor :destination
# A more detailed description of the issue.
# Corresponds to the JSON property `detail`
# @return [String]
@ -349,6 +360,7 @@ module Google
# Update properties of this object
def update!(**args)
@country = args[:country] if args.key?(:country)
@destination = args[:destination] if args.key?(:destination)
@detail = args[:detail] if args.key?(:detail)
@displayed_value = args[:displayed_value] if args.key?(:displayed_value)
@example_items = args[:example_items] if args.key?(:example_items)
@ -802,6 +814,12 @@ module Google
# @return [Fixnum]
attr_accessor :batch_id
# If set, only issues for the specified destinations are returned, otherwise
# only issues for the Shopping destination.
# Corresponds to the JSON property `destinations`
# @return [Array<String>]
attr_accessor :destinations
# The ID of the managing account.
# Corresponds to the JSON property `merchantId`
# @return [Fixnum]
@ -820,6 +838,7 @@ module Google
def update!(**args)
@account_id = args[:account_id] if args.key?(:account_id)
@batch_id = args[:batch_id] if args.key?(:batch_id)
@destinations = args[:destinations] if args.key?(:destinations)
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
@request_method = args[:request_method] if args.key?(:request_method)
end
@ -1669,6 +1688,26 @@ module Google
end
end
#
class DatafeedsFetchNowResponse
include Google::Apis::Core::Hashable
# Identifies what kind of resource this is. Value: the fixed string "content#
# datafeedsFetchNowResponse".
# Corresponds to the JSON property `kind`
# @return [String]
attr_accessor :kind
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@kind = args[:kind] if args.key?(:kind)
end
end
#
class ListDatafeedsResponse
include Google::Apis::Core::Hashable
@ -5960,7 +5999,7 @@ module Google
# @return [Google::Apis::ContentV2::PosStore]
attr_accessor :store
# The store code. Required only to get/submit store information.
# The store code. Set this only if the method is delete or get.
# Corresponds to the JSON property `storeCode`
# @return [String]
attr_accessor :store_code
@ -7429,6 +7468,11 @@ module Google
class ProductStatusDataQualityIssue
include Google::Apis::Core::Hashable
# The destination the issue applies to.
# Corresponds to the JSON property `destination`
# @return [String]
attr_accessor :destination
# A more detailed error string.
# Corresponds to the JSON property `detail`
# @return [String]
@ -7475,6 +7519,7 @@ module Google
# Update properties of this object
def update!(**args)
@destination = args[:destination] if args.key?(:destination)
@detail = args[:detail] if args.key?(:detail)
@fetch_status = args[:fetch_status] if args.key?(:fetch_status)
@id = args[:id] if args.key?(:id)
@ -7857,6 +7902,12 @@ module Google
# @return [Fixnum]
attr_accessor :batch_id
# If set, only issues for the specified destinations are returned, otherwise
# only issues for the Shopping destination.
# Corresponds to the JSON property `destinations`
# @return [Array<String>]
attr_accessor :destinations
#
# Corresponds to the JSON property `includeAttributes`
# @return [Boolean]
@ -7885,6 +7936,7 @@ module Google
# Update properties of this object
def update!(**args)
@batch_id = args[:batch_id] if args.key?(:batch_id)
@destinations = args[:destinations] if args.key?(:destinations)
@include_attributes = args[:include_attributes] if args.key?(:include_attributes)
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
@request_method = args[:request_method] if args.key?(:request_method)

View File

@ -274,6 +274,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class DatafeedsFetchNowResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class ListDatafeedsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -1326,6 +1332,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :country, as: 'country'
property :destination, as: 'destination'
property :detail, as: 'detail'
property :id, as: 'id'
property :severity, as: 'severity'
@ -1337,6 +1344,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :country, as: 'country'
property :destination, as: 'destination'
property :detail, as: 'detail'
property :displayed_value, as: 'displayedValue'
collection :example_items, as: 'exampleItems', class: Google::Apis::ContentV2::AccountStatusExampleItem, decorator: Google::Apis::ContentV2::AccountStatusExampleItem::Representation
@ -1480,6 +1488,7 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation
property :account_id, :numeric_string => true, as: 'accountId'
property :batch_id, as: 'batchId'
collection :destinations, as: 'destinations'
property :merchant_id, :numeric_string => true, as: 'merchantId'
property :request_method, as: 'method'
end
@ -1721,6 +1730,13 @@ module Google
end
end
class DatafeedsFetchNowResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :kind, as: 'kind'
end
end
class ListDatafeedsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
@ -3288,6 +3304,7 @@ module Google
class ProductStatusDataQualityIssue
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :destination, as: 'destination'
property :detail, as: 'detail'
property :fetch_status, as: 'fetchStatus'
property :id, as: 'id'
@ -3411,6 +3428,7 @@ module Google
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :batch_id, as: 'batchId'
collection :destinations, as: 'destinations'
property :include_attributes, as: 'includeAttributes'
property :merchant_id, :numeric_string => true, as: 'merchantId'
property :request_method, as: 'method'

View File

@ -469,6 +469,9 @@ module Google
# of a sub-account of this account.
# @param [Fixnum] account_id
# The ID of the account.
# @param [Array<String>, String] destinations
# If set, only issues for the specified destinations are returned, otherwise
# only issues for the Shopping destination.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -490,12 +493,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_account_status(merchant_id, account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_account_status(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
command.response_representation = Google::Apis::ContentV2::AccountStatus::Representation
command.response_class = Google::Apis::ContentV2::AccountStatus
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['accountId'] = account_id unless account_id.nil?
command.query['destinations'] = destinations unless destinations.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
@ -505,6 +509,9 @@ module Google
# Lists the statuses of the sub-accounts in your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the managing account. This must be a multi-client account.
# @param [Array<String>, String] destinations
# If set, only issues for the specified destinations are returned, otherwise
# only issues for the Shopping destination.
# @param [Fixnum] max_results
# The maximum number of account statuses to return in the response, used for
# paging.
@ -531,11 +538,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_account_statuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def list_account_statuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
command.response_representation = Google::Apis::ContentV2::ListAccountStatusesResponse::Representation
command.response_class = Google::Apis::ContentV2::ListAccountStatusesResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.query['destinations'] = destinations unless destinations.nil?
command.query['maxResults'] = max_results unless max_results.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['fields'] = fields unless fields.nil?
@ -833,6 +841,48 @@ module Google
execute_or_queue_command(command, &block)
end
# Invokes a fetch for the datafeed in your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the account that manages the datafeed. This account cannot be a
# multi-client account.
# @param [Fixnum] datafeed_id
# The ID of the datafeed to be fetched.
# @param [Boolean] dry_run
# Flag to run the request in dry-run mode.
# @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::ContentV2::DatafeedsFetchNowResponse] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::ContentV2::DatafeedsFetchNowResponse]
#
# @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 fetchnow_datafeed(merchant_id, datafeed_id, dry_run: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
command.response_representation = Google::Apis::ContentV2::DatafeedsFetchNowResponse::Representation
command.response_class = Google::Apis::ContentV2::DatafeedsFetchNowResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
command.query['dryRun'] = dry_run unless dry_run.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
command.query['userIp'] = user_ip unless user_ip.nil?
execute_or_queue_command(command, &block)
end
# Retrieves a datafeed configuration from your Merchant Center account.
# @param [Fixnum] merchant_id
# The ID of the account that manages the datafeed. This account cannot be a
@ -3052,6 +3102,9 @@ module Google
# multi-client account.
# @param [String] product_id
# The REST id of the product.
# @param [Array<String>, String] destinations
# If set, only issues for the specified destinations are returned, otherwise
# only issues for the Shopping destination.
# @param [Boolean] include_attributes
# Flag to include full product data in the result of this get request. The
# default value is false.
@ -3076,12 +3129,13 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def get_product_status(merchant_id, product_id, include_attributes: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def get_product_status(merchant_id, product_id, destinations: nil, include_attributes: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
command.response_representation = Google::Apis::ContentV2::ProductStatus::Representation
command.response_class = Google::Apis::ContentV2::ProductStatus
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.params['productId'] = product_id unless product_id.nil?
command.query['destinations'] = destinations unless destinations.nil?
command.query['includeAttributes'] = include_attributes unless include_attributes.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
@ -3093,6 +3147,9 @@ module Google
# @param [Fixnum] merchant_id
# The ID of the account that contains the products. This account cannot be a
# multi-client account.
# @param [Array<String>, String] destinations
# If set, only issues for the specified destinations are returned, otherwise
# only issues for the Shopping destination.
# @param [Boolean] include_attributes
# Flag to include full product data in the results of the list request. The
# default value is false.
@ -3125,11 +3182,12 @@ module Google
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def list_product_statuses(merchant_id, include_attributes: nil, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def list_product_statuses(merchant_id, destinations: nil, include_attributes: nil, include_invalid_inserted_items: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{merchantId}/productstatuses', options)
command.response_representation = Google::Apis::ContentV2::ListProductStatusesResponse::Representation
command.response_class = Google::Apis::ContentV2::ListProductStatusesResponse
command.params['merchantId'] = merchant_id unless merchant_id.nil?
command.query['destinations'] = destinations unless destinations.nil?
command.query['includeAttributes'] = include_attributes unless include_attributes.nil?
command.query['includeInvalidInsertedItems'] = include_invalid_inserted_items unless include_invalid_inserted_items.nil?
command.query['maxResults'] = max_results unless max_results.nil?

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/
module DlpV2
VERSION = 'V2'
REVISION = '20180328'
REVISION = '20180404'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -6363,7 +6363,8 @@ module Google
# @return [Fixnum]
attr_accessor :day
# Month of year. Must be from 1 to 12.
# Month of year. Must be from 1 to 12, or 0 if specifying a date without a
# month.
# Corresponds to the JSON property `month`
# @return [Fixnum]
attr_accessor :month

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/
module DlpV2beta1
VERSION = 'V2beta1'
REVISION = '20180320'
REVISION = '20180404'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -3751,7 +3751,8 @@ module Google
# @return [Fixnum]
attr_accessor :day
# Month of year. Must be from 1 to 12.
# Month of year. Must be from 1 to 12, or 0 if specifying a date without a
# month.
# Corresponds to the JSON property `month`
# @return [Fixnum]
attr_accessor :month

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/
module DlpV2beta2
VERSION = 'V2beta2'
REVISION = '20180320'
REVISION = '20180404'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -6317,7 +6317,8 @@ module Google
# @return [Fixnum]
attr_accessor :day
# Month of year. Must be from 1 to 12.
# Month of year. Must be from 1 to 12, or 0 if specifying a date without a
# month.
# Corresponds to the JSON property `month`
# @return [Fixnum]
attr_accessor :month

View File

@ -18,7 +18,7 @@ require 'google/apis/safebrowsing_v4/representations.rb'
module Google
module Apis
# Google Safe Browsing API
# Safe Browsing API
#
# Enables client applications to check web resources (most commonly URLs)
# against Google-generated lists of unsafe web resources.
@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/safe-browsing/
module SafebrowsingV4
VERSION = 'V4'
REVISION = '20180215'
REVISION = '20180403'
end
end
end

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module SafebrowsingV4
# Google Safe Browsing API
# Safe Browsing API
#
# Enables client applications to check web resources (most commonly URLs)
# against Google-generated lists of unsafe web resources.

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-management/
module ServicemanagementV1
VERSION = 'V1'
REVISION = '20180323'
REVISION = '20180330'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -174,7 +174,6 @@ module Google
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::ServicemanagementV1::AuditLogConfig>]
attr_accessor :audit_log_configs
@ -404,12 +403,7 @@ module Google
class AuthenticationRule
include Google::Apis::Core::Hashable
# Whether to allow requests without a credential. The credential can be
# an OAuth token, Google cookies (first-party auth) or EndUserCreds.
# For requests without credentials, if the service control environment is
# specified, each incoming request **must** be associated with a service
# consumer. This can be done by passing an API key that belongs to a consumer
# project.
# If true, the service accepts API keys without any other credential.
# Corresponds to the JSON property `allowWithoutCredential`
# @return [Boolean]
attr_accessor :allow_without_credential

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-management/
module ServiceuserV1
VERSION = 'V1'
REVISION = '20180323'
REVISION = '20180330'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -266,12 +266,7 @@ module Google
class AuthenticationRule
include Google::Apis::Core::Hashable
# Whether to allow requests without a credential. The credential can be
# an OAuth token, Google cookies (first-party auth) or EndUserCreds.
# For requests without credentials, if the service control environment is
# specified, each incoming request **must** be associated with a service
# consumer. This can be done by passing an API key that belongs to a consumer
# project.
# If true, the service accepts API keys without any other credential.
# Corresponds to the JSON property `allowWithoutCredential`
# @return [Boolean]
attr_accessor :allow_without_credential

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/storage/transfer
module StoragetransferV1
VERSION = 'V1'
REVISION = '20180319'
REVISION = '20180402'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -51,8 +51,8 @@ module Google
end
end
# An AwsS3Data can be a data source, but not a data sink.
# In an AwsS3Data, an object's name is the S3 object's key name.
# An AwsS3Data resource can be a data source, but not a data sink.
# In an AwsS3Data resource, an object's name is the S3 object's key name.
class AwsS3Data
include Google::Apis::Core::Hashable
@ -200,9 +200,9 @@ module Google
end
end
# In a GcsData, an object's name is the Google Cloud Storage object's name and
# its `lastModificationTime` refers to the object's updated time, which changes
# when the content or the metadata of the object is updated.
# In a GcsData resource, an object's name is the Google Cloud Storage object's
# name and its `lastModificationTime` refers to the object's updated time,
# which changes when the content or the metadata of the object is updated.
class GcsData
include Google::Apis::Core::Hashable
@ -243,9 +243,9 @@ module Google
end
end
# An HttpData specifies a list of objects on the web to be transferred over
# HTTP. The information of the objects to be transferred is contained in a
# file referenced by a URL. The first line in the file must be
# An HttpData resource specifies a list of objects on the web to be transferred
# over HTTP. The information of the objects to be transferred is contained in
# a file referenced by a URL. The first line in the file must be
# "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines
# specify the information of the list of objects, one object per list entry.
# Each entry has the following tab-delimited fields:
@ -253,12 +253,11 @@ module Google
# * Length - The size of the object in bytes.
# * MD5 - The base64-encoded MD5 hash of the object.
# For an example of a valid TSV file, see
# [Transferring data from URLs](https://cloud.google.com/storage/transfer/create-
# url-list).
# [Transferring data from
# URLs](https://cloud.google.com/storage/transfer/create-url-list).
# When transferring data based on a URL list, keep the following in mind:
# * When an object located at `http(s)://hostname:port/<URL-path>` is
# transferred
# to a data sink, the name of the object at the data sink is
# transferred to a data sink, the name of the object at the data sink is
# `<hostname>/<URL-path>`.
# * If the specified size of an object does not match the actual size of the
# object fetched, the object will not be transferred.
@ -999,29 +998,29 @@ module Google
class TransferSpec
include Google::Apis::Core::Hashable
# An AwsS3Data can be a data source, but not a data sink.
# In an AwsS3Data, an object's name is the S3 object's key name.
# An AwsS3Data resource can be a data source, but not a data sink.
# In an AwsS3Data resource, an object's name is the S3 object's key name.
# Corresponds to the JSON property `awsS3DataSource`
# @return [Google::Apis::StoragetransferV1::AwsS3Data]
attr_accessor :aws_s3_data_source
# In a GcsData, an object's name is the Google Cloud Storage object's name and
# its `lastModificationTime` refers to the object's updated time, which changes
# when the content or the metadata of the object is updated.
# In a GcsData resource, an object's name is the Google Cloud Storage object's
# name and its `lastModificationTime` refers to the object's updated time,
# which changes when the content or the metadata of the object is updated.
# Corresponds to the JSON property `gcsDataSink`
# @return [Google::Apis::StoragetransferV1::GcsData]
attr_accessor :gcs_data_sink
# In a GcsData, an object's name is the Google Cloud Storage object's name and
# its `lastModificationTime` refers to the object's updated time, which changes
# when the content or the metadata of the object is updated.
# In a GcsData resource, an object's name is the Google Cloud Storage object's
# name and its `lastModificationTime` refers to the object's updated time,
# which changes when the content or the metadata of the object is updated.
# Corresponds to the JSON property `gcsDataSource`
# @return [Google::Apis::StoragetransferV1::GcsData]
attr_accessor :gcs_data_source
# An HttpData specifies a list of objects on the web to be transferred over
# HTTP. The information of the objects to be transferred is contained in a
# file referenced by a URL. The first line in the file must be
# An HttpData resource specifies a list of objects on the web to be transferred
# over HTTP. The information of the objects to be transferred is contained in
# a file referenced by a URL. The first line in the file must be
# "TsvHttpData-1.0", which specifies the format of the file. Subsequent lines
# specify the information of the list of objects, one object per list entry.
# Each entry has the following tab-delimited fields:
@ -1029,12 +1028,11 @@ module Google
# * Length - The size of the object in bytes.
# * MD5 - The base64-encoded MD5 hash of the object.
# For an example of a valid TSV file, see
# [Transferring data from URLs](https://cloud.google.com/storage/transfer/create-
# url-list).
# [Transferring data from
# URLs](https://cloud.google.com/storage/transfer/create-url-list).
# When transferring data based on a URL list, keep the following in mind:
# * When an object located at `http(s)://hostname:port/<URL-path>` is
# transferred
# to a data sink, the name of the object at the data sink is
# transferred to a data sink, the name of the object at the data sink is
# `<hostname>/<URL-path>`.
# * If the specified size of an object does not match the actual size of the
# object fetched, the object will not be transferred.

View File

@ -18,7 +18,7 @@ require 'google/apis/testing_v1/representations.rb'
module Google
module Apis
# Google Cloud Testing API
# Cloud Testing API
#
# Allows developers to run automated tests for their mobile applications on
# Google infrastructure.
@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/cloud-test-lab/
module TestingV1
VERSION = 'V1'
REVISION = '20180316'
REVISION = '20180404'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -797,7 +797,8 @@ module Google
# @return [Fixnum]
attr_accessor :day
# Month of year. Must be from 1 to 12.
# Month of year. Must be from 1 to 12, or 0 if specifying a date without a
# month.
# Corresponds to the JSON property `month`
# @return [Fixnum]
attr_accessor :month

View File

@ -20,7 +20,7 @@ require 'google/apis/errors'
module Google
module Apis
module TestingV1
# Google Cloud Testing API
# Cloud Testing API
#
# Allows developers to run automated tests for their mobile applications on
# Google infrastructure.

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/partner/
module YoutubePartnerV1
VERSION = 'V1'
REVISION = '20180326'
REVISION = '20180402'
# View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'