Autogenerated update (2017-10-17)

Update:
- cloudtrace_v2
- monitoring_v3
- partners_v2
- sheets_v4
- slides_v1
This commit is contained in:
Google APIs 2017-10-17 00:35:38 +00:00
parent a4631910de
commit 4a2a4572a2
13 changed files with 31 additions and 30 deletions

View File

@ -13856,9 +13856,11 @@
"/cloudtrace:v2/ListTracesResponse/traces/trace": trace
"/cloudtrace:v2/MessageEvent": message_event
"/cloudtrace:v2/MessageEvent/compressedSize": compressed_size
"/cloudtrace:v2/MessageEvent/compressedSizeBytes": compressed_size_bytes
"/cloudtrace:v2/MessageEvent/id": id
"/cloudtrace:v2/MessageEvent/type": type
"/cloudtrace:v2/MessageEvent/uncompressedSize": uncompressed_size
"/cloudtrace:v2/MessageEvent/uncompressedSizeBytes": uncompressed_size_bytes
"/cloudtrace:v2/Module": module
"/cloudtrace:v2/Module/buildId": build_id
"/cloudtrace:v2/Module/module": module
@ -48538,6 +48540,7 @@
"/partners:v2/UserProfile/languages/language": language
"/partners:v2/UserProfile/markets": markets
"/partners:v2/UserProfile/markets/market": market
"/partners:v2/UserProfile/migrateToAfa": migrate_to_afa
"/partners:v2/UserProfile/phoneNumber": phone_number
"/partners:v2/UserProfile/primaryCountryCode": primary_country_code
"/partners:v2/UserProfile/profilePublic": profile_public

View File

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

View File

@ -223,11 +223,13 @@ module Google
# The number of compressed bytes sent or received. If missing assumed to
# be the same size as uncompressed.
# Corresponds to the JSON property `compressedSize`
# Corresponds to the JSON property `compressedSizeBytes`
# @return [Fixnum]
attr_accessor :compressed_size
attr_accessor :compressed_size_bytes
# An identifier for the message, which must be unique in this span.
# An identifier for the MessageEvent's message that can be used to match
# SENT and RECEIVED MessageEvents. It is recommended to be unique within
# a Span.
# Corresponds to the JSON property `id`
# @return [Fixnum]
attr_accessor :id
@ -239,9 +241,9 @@ module Google
attr_accessor :type
# The number of uncompressed bytes sent or received.
# Corresponds to the JSON property `uncompressedSize`
# Corresponds to the JSON property `uncompressedSizeBytes`
# @return [Fixnum]
attr_accessor :uncompressed_size
attr_accessor :uncompressed_size_bytes
def initialize(**args)
update!(**args)
@ -249,10 +251,10 @@ module Google
# Update properties of this object
def update!(**args)
@compressed_size = args[:compressed_size] if args.key?(:compressed_size)
@compressed_size_bytes = args[:compressed_size_bytes] if args.key?(:compressed_size_bytes)
@id = args[:id] if args.key?(:id)
@type = args[:type] if args.key?(:type)
@uncompressed_size = args[:uncompressed_size] if args.key?(:uncompressed_size)
@uncompressed_size_bytes = args[:uncompressed_size_bytes] if args.key?(:uncompressed_size_bytes)
end
end

View File

@ -190,10 +190,10 @@ module Google
class MessageEvent
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :compressed_size, :numeric_string => true, as: 'compressedSize'
property :compressed_size_bytes, :numeric_string => true, as: 'compressedSizeBytes'
property :id, :numeric_string => true, as: 'id'
property :type, as: 'type'
property :uncompressed_size, :numeric_string => true, as: 'uncompressedSize'
property :uncompressed_size_bytes, :numeric_string => true, as: 'uncompressedSizeBytes'
end
end

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/monitoring/api/
module MonitoringV3
VERSION = 'V3'
REVISION = '20171010'
REVISION = '20171016'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -798,16 +798,6 @@ module Google
# @param [String] parent
# The project whose uptime check configurations are listed. The format
# isprojects/[PROJECT_ID].
# @param [String] filter
# If provided, specifies the criteria that must be met by uptime check
# configurations in the provided project to be included in the response. One of
# the following filters can be provided. uptime_check_config.id = `
# uptime_check_id` resource.type = gce_instance AND resource.label.instance_id =
# `instance_id` resource.type = aws_ec2_instance AND resource.label.
# instance_id = `instance_id` resource.type = aws_elb_load_balancer AND
# resource.label.name = `name` resource.type = gae_app AND resource.label.
# module_id = `module_id` resource.type = uptime_url AND resource.label.host = `
# host` group.id = `group_id`
# @param [Fixnum] page_size
# The maximum number of results to return in a single response. The server may
# further constrain the maximum number of results returned in a single page. If
@ -834,12 +824,11 @@ 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_project_uptime_check_configs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
def list_project_uptime_check_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v3/{+parent}/uptimeCheckConfigs', options)
command.response_representation = Google::Apis::MonitoringV3::ListUptimeCheckConfigsResponse::Representation
command.response_class = Google::Apis::MonitoringV3::ListUptimeCheckConfigsResponse
command.params['parent'] = parent unless parent.nil?
command.query['filter'] = filter unless filter.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?

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/partners/
module PartnersV2
VERSION = 'V2'
REVISION = '20170812'
REVISION = '20171011'
end
end
end

View File

@ -2282,6 +2282,12 @@ module Google
# @return [Array<String>]
attr_accessor :markets
# Whether or not to migrate the user's exam data to Academy for Ads.
# Corresponds to the JSON property `migrateToAfa`
# @return [Boolean]
attr_accessor :migrate_to_afa
alias_method :migrate_to_afa?, :migrate_to_afa
# The user's phone number.
# Corresponds to the JSON property `phoneNumber`
# @return [String]
@ -2315,6 +2321,7 @@ module Google
@job_functions = args[:job_functions] if args.key?(:job_functions)
@languages = args[:languages] if args.key?(:languages)
@markets = args[:markets] if args.key?(:markets)
@migrate_to_afa = args[:migrate_to_afa] if args.key?(:migrate_to_afa)
@phone_number = args[:phone_number] if args.key?(:phone_number)
@primary_country_code = args[:primary_country_code] if args.key?(:primary_country_code)
@profile_public = args[:profile_public] if args.key?(:profile_public)

View File

@ -907,6 +907,7 @@ module Google
collection :job_functions, as: 'jobFunctions'
collection :languages, as: 'languages'
collection :markets, as: 'markets'
property :migrate_to_afa, as: 'migrateToAfa'
property :phone_number, as: 'phoneNumber'
property :primary_country_code, as: 'primaryCountryCode'
property :profile_public, as: 'profilePublic'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/sheets/
module SheetsV4
VERSION = 'V4'
REVISION = '20170929'
REVISION = '20171012'
# View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -6012,8 +6012,7 @@ module Google
# @return [String]
attr_accessor :formula
# A name to use for the value. This is only used if formula was set.
# Otherwise, the column name is used.
# A name to use for the value.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/slides/
module SlidesV1
VERSION = 'V1'
REVISION = '20171003'
REVISION = '20171012'
# View and manage the files in your Google Drive
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -3259,7 +3259,7 @@ module Google
include Google::Apis::Core::Hashable
# The background fill property state.
# Updating the the fill on a shape will implicitly update this field to
# Updating the fill on a shape will implicitly update this field to
# `RENDERED`, unless another value is specified in the same request. To
# have no fill on a shape, set this field to `NOT_RENDERED`. In this case,
# any other fill fields set in the same request will be ignored.
@ -3760,7 +3760,7 @@ module Google
include Google::Apis::Core::Hashable
# The background fill property state.
# Updating the the fill on a table cell will implicitly update this field
# Updating the fill on a table cell will implicitly update this field
# to `RENDERED`, unless another value is specified in the same request. To
# have no fill on a table cell, set this field to `NOT_RENDERED`. In this
# case, any other fill fields set in the same request will be ignored.