Autogenerated update (2017-09-01)

Update:
- cloudtrace_v2
- content_v2
- dlp_v2beta1
This commit is contained in:
Google APIs 2017-09-01 00:37:19 +00:00
parent a1e0c23a20
commit 1482f5e71d
9 changed files with 47 additions and 17 deletions

View File

@ -13037,10 +13037,12 @@
"/cloudtrace:v2/Module/buildId": build_id
"/cloudtrace:v2/Module/module": module
"/cloudtrace:v2/NetworkEvent": network_event
"/cloudtrace:v2/NetworkEvent/compressedMessageSize": compressed_message_size
"/cloudtrace:v2/NetworkEvent/messageId": message_id
"/cloudtrace:v2/NetworkEvent/messageSize": message_size
"/cloudtrace:v2/NetworkEvent/time": time
"/cloudtrace:v2/NetworkEvent/type": type
"/cloudtrace:v2/NetworkEvent/uncompressedMessageSize": uncompressed_message_size
"/cloudtrace:v2/Span": span
"/cloudtrace:v2/Span/attributes": attributes
"/cloudtrace:v2/Span/childSpanCount": child_span_count
@ -26596,6 +26598,7 @@
"/content:v2/AccountsCustomBatchRequestEntry/account": account
"/content:v2/AccountsCustomBatchRequestEntry/accountId": account_id
"/content:v2/AccountsCustomBatchRequestEntry/batchId": batch_id
"/content:v2/AccountsCustomBatchRequestEntry/force": force
"/content:v2/AccountsCustomBatchRequestEntry/merchantId": merchant_id
"/content:v2/AccountsCustomBatchRequestEntry/method": request_method
"/content:v2/AccountsCustomBatchRequestEntry/overwrite": overwrite
@ -27358,6 +27361,7 @@
"/content:v2/Service/currency": currency
"/content:v2/Service/deliveryCountry": delivery_country
"/content:v2/Service/deliveryTime": delivery_time
"/content:v2/Service/minimumOrderValue": minimum_order_value
"/content:v2/Service/name": name
"/content:v2/Service/rateGroups": rate_groups
"/content:v2/Service/rateGroups/rate_group": rate_group

View File

@ -28,7 +28,7 @@ module Google
# @see https://cloud.google.com/trace
module CloudtraceV2
VERSION = 'V2'
REVISION = '20170815'
REVISION = '20170829'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -300,16 +300,16 @@ module Google
class NetworkEvent
include Google::Apis::Core::Hashable
# The number of compressed bytes sent or received.
# Corresponds to the JSON property `compressedMessageSize`
# @return [Fixnum]
attr_accessor :compressed_message_size
# An identifier for the message, which must be unique in this span.
# Corresponds to the JSON property `messageId`
# @return [Fixnum]
attr_accessor :message_id
# The number of bytes sent or received.
# Corresponds to the JSON property `messageSize`
# @return [Fixnum]
attr_accessor :message_size
# For sent messages, this is the time at which the first bit was sent.
# For received messages, this is the time at which the last bit was
# received.
@ -323,16 +323,22 @@ module Google
# @return [String]
attr_accessor :type
# The number of uncompressed bytes sent or received.
# Corresponds to the JSON property `uncompressedMessageSize`
# @return [Fixnum]
attr_accessor :uncompressed_message_size
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@compressed_message_size = args[:compressed_message_size] if args.key?(:compressed_message_size)
@message_id = args[:message_id] if args.key?(:message_id)
@message_size = args[:message_size] if args.key?(:message_size)
@time = args[:time] if args.key?(:time)
@type = args[:type] if args.key?(:type)
@uncompressed_message_size = args[:uncompressed_message_size] if args.key?(:uncompressed_message_size)
end
end

View File

@ -236,10 +236,11 @@ module Google
class NetworkEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :compressed_message_size, :numeric_string => true, as: 'compressedMessageSize'
property :message_id, :numeric_string => true, as: 'messageId'
property :message_size, :numeric_string => true, as: 'messageSize'
property :time, as: 'time'
property :type, as: 'type'
property :uncompressed_message_size, :numeric_string => true, as: 'uncompressedMessageSize'
end
end

View File

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

View File

@ -556,6 +556,13 @@ module Google
# @return [Fixnum]
attr_accessor :batch_id
# Whether the account should be deleted if the account has offers. Only
# applicable if the method is delete.
# Corresponds to the JSON property `force`
# @return [Boolean]
attr_accessor :force
alias_method :force?, :force
# The ID of the managing account.
# Corresponds to the JSON property `merchantId`
# @return [Fixnum]
@ -582,6 +589,7 @@ module Google
@account = args[:account] if args.key?(:account)
@account_id = args[:account_id] if args.key?(:account_id)
@batch_id = args[:batch_id] if args.key?(:batch_id)
@force = args[:force] if args.key?(:force)
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
@request_method = args[:request_method] if args.key?(:request_method)
@overwrite = args[:overwrite] if args.key?(:overwrite)
@ -5750,6 +5758,13 @@ module Google
# @return [Google::Apis::ContentV2::DeliveryTime]
attr_accessor :delivery_time
# Minimum order value for this service. If set, indicates that customers will
# have to spend at least this amount. All prices within a service must have the
# same currency.
# Corresponds to the JSON property `minimumOrderValue`
# @return [Google::Apis::ContentV2::Price]
attr_accessor :minimum_order_value
# Free-form name of the service. Must be unique within target account. Required.
# Corresponds to the JSON property `name`
# @return [String]
@ -5772,6 +5787,7 @@ module Google
@currency = args[:currency] if args.key?(:currency)
@delivery_country = args[:delivery_country] if args.key?(:delivery_country)
@delivery_time = args[:delivery_time] if args.key?(:delivery_time)
@minimum_order_value = args[:minimum_order_value] if args.key?(:minimum_order_value)
@name = args[:name] if args.key?(:name)
@rate_groups = args[:rate_groups] if args.key?(:rate_groups)
end

View File

@ -1097,6 +1097,7 @@ module Google
property :account_id, :numeric_string => true, as: 'accountId'
property :batch_id, as: 'batchId'
property :force, as: 'force'
property :merchant_id, :numeric_string => true, as: 'merchantId'
property :request_method, as: 'method'
property :overwrite, as: 'overwrite'
@ -2548,6 +2549,8 @@ module Google
property :delivery_country, as: 'deliveryCountry'
property :delivery_time, as: 'deliveryTime', class: Google::Apis::ContentV2::DeliveryTime, decorator: Google::Apis::ContentV2::DeliveryTime::Representation
property :minimum_order_value, as: 'minimumOrderValue', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation
property :name, as: 'name'
collection :rate_groups, as: 'rateGroups', class: Google::Apis::ContentV2::RateGroup, decorator: Google::Apis::ContentV2::RateGroup::Representation

View File

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

View File

@ -280,16 +280,16 @@ module Google
# Returns list of results for given inspect operation result set id.
# @param [String] name
# Identifier of the results set returned as metadata of
# the longrunning operation created by a call to CreateInspectOperation.
# the longrunning operation created by a call to InspectDataSource.
# Should be in the format of `inspect/results/`id``.
# @param [String] filter
# Restricts findings to items that match. Supports info_type and likelihood.
# <p>Examples:<br/>
# <li>info_type=EMAIL_ADDRESS
# <li>info_type=PHONE_NUMBER,EMAIL_ADDRESS
# <li>likelihood=VERY_LIKELY
# <li>likelihood=VERY_LIKELY,LIKELY
# <li>info_type=EMAIL_ADDRESS,likelihood=VERY_LIKELY,LIKELY
# Examples:
# - info_type=EMAIL_ADDRESS
# - info_type=PHONE_NUMBER,EMAIL_ADDRESS
# - likelihood=VERY_LIKELY
# - likelihood=VERY_LIKELY,LIKELY
# - info_type=EMAIL_ADDRESS,likelihood=VERY_LIKELY,LIKELY
# @param [Fixnum] page_size
# Maximum number of results to return.
# If 0, the implementation selects a reasonable value.