Skip to content

Commit

Permalink
Autogenerated update (2018-11-08)
Browse files Browse the repository at this point in the history
Update:
- calendar_v3
- content_v2
- drive_v2
- drive_v3
- gmail_v1
- streetviewpublish_v1
- tasks_v1
- testing_v1
  • Loading branch information
googleapis-publisher committed Nov 8, 2018
1 parent db28d23 commit 0100db6
Show file tree
Hide file tree
Showing 17 changed files with 64 additions and 49 deletions.
5 changes: 5 additions & 0 deletions api_names_out.yaml
Expand Up @@ -86839,6 +86839,8 @@
"/streetviewpublish:v1/PhotoResponse/photo": photo
"/streetviewpublish:v1/PhotoResponse/status": status
"/streetviewpublish:v1/Place": place
"/streetviewpublish:v1/Place/languageCode": language_code
"/streetviewpublish:v1/Place/name": name
"/streetviewpublish:v1/Place/placeId": place_id
"/streetviewpublish:v1/Pose": pose
"/streetviewpublish:v1/Pose/accuracyMeters": accuracy_meters
Expand Down Expand Up @@ -86866,6 +86868,7 @@
"/streetviewpublish:v1/streetviewpublish.photo.delete": delete_photo
"/streetviewpublish:v1/streetviewpublish.photo.delete/photoId": photo_id
"/streetviewpublish:v1/streetviewpublish.photo.get": get_photo
"/streetviewpublish:v1/streetviewpublish.photo.get/languageCode": language_code
"/streetviewpublish:v1/streetviewpublish.photo.get/photoId": photo_id
"/streetviewpublish:v1/streetviewpublish.photo.get/view": view
"/streetviewpublish:v1/streetviewpublish.photo.startUpload": start_photo_upload
Expand All @@ -86874,11 +86877,13 @@
"/streetviewpublish:v1/streetviewpublish.photo.update/updateMask": update_mask
"/streetviewpublish:v1/streetviewpublish.photos.batchDelete": batch_delete_photos
"/streetviewpublish:v1/streetviewpublish.photos.batchGet": batch_photo_get
"/streetviewpublish:v1/streetviewpublish.photos.batchGet/languageCode": language_code
"/streetviewpublish:v1/streetviewpublish.photos.batchGet/photoIds": photo_ids
"/streetviewpublish:v1/streetviewpublish.photos.batchGet/view": view
"/streetviewpublish:v1/streetviewpublish.photos.batchUpdate": batch_update_photos
"/streetviewpublish:v1/streetviewpublish.photos.list": list_photos
"/streetviewpublish:v1/streetviewpublish.photos.list/filter": filter
"/streetviewpublish:v1/streetviewpublish.photos.list/languageCode": language_code
"/streetviewpublish:v1/streetviewpublish.photos.list/pageSize": page_size
"/streetviewpublish:v1/streetviewpublish.photos.list/pageToken": page_token
"/streetviewpublish:v1/streetviewpublish.photos.list/view": view
Expand Down
4 changes: 2 additions & 2 deletions generated/google/apis/calendar_v3.rb
Expand Up @@ -25,9 +25,9 @@ module Apis
# @see https://developers.google.com/google-apps/calendar/firstapp
module CalendarV3
VERSION = 'V3'
REVISION = '20181002'
REVISION = '20181023'

# Manage your calendars
# See, edit, share, and permanently delete all the calendars you can access using Google Calendar
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'

# View and edit events on all your calendars
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/content_v2.rb
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://developers.google.com/shopping-content
module ContentV2
VERSION = 'V2'
REVISION = '20181029'
REVISION = '20181106'

# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
Expand Down
10 changes: 3 additions & 7 deletions generated/google/apis/content_v2/classes.rb
Expand Up @@ -4457,7 +4457,9 @@ class OrderLineItem
# @return [Google::Apis::ContentV2::Price]
attr_accessor :price

# Product data from the time of the order placement.
# Product data as seen by customer from the time of the order placement. Note
# that certain attributes values (e.g. title or gtin) might be reformatted and
# no longer match values submitted via product feed.
# Corresponds to the JSON property `product`
# @return [Google::Apis::ContentV2::OrderLineItemProduct]
attr_accessor :product
Expand Down Expand Up @@ -4657,11 +4659,6 @@ class OrderLineItemProductFee
# @return [Google::Apis::ContentV2::Price]
attr_accessor :amount

# Case-insensitive fee ID.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id

# Name of the fee.
# Corresponds to the JSON property `name`
# @return [String]
Expand All @@ -4674,7 +4671,6 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@amount = args[:amount] if args.key?(:amount)
@id = args[:id] if args.key?(:id)
@name = args[:name] if args.key?(:name)
end
end
Expand Down
1 change: 0 additions & 1 deletion generated/google/apis/content_v2/representations.rb
Expand Up @@ -2908,7 +2908,6 @@ class OrderLineItemProductFee
class Representation < Google::Apis::Core::JsonRepresentation
property :amount, as: 'amount', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation

property :id, as: 'id'
property :name, as: 'name'
end
end
Expand Down
6 changes: 3 additions & 3 deletions generated/google/apis/content_v2/service.rb
Expand Up @@ -1550,7 +1550,7 @@ def patch_liasetting(merchant_id, account_id, lia_settings_object = nil, dry_run
# @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 requestgmbaccess_liasetting(merchant_id, account_id, gmb_email: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
command.response_representation = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse::Representation
command.response_class = Google::Apis::ContentV2::LiasettingsRequestGmbAccessResponse
Expand Down Expand Up @@ -1640,7 +1640,7 @@ def requestinventoryverification_liasetting(merchant_id, account_id, country, fi
# @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 setinventoryverificationcontact_liasetting(merchant_id, account_id, contact_email: nil, contact_name: nil, country: nil, language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def setinventoryverificationcontact_liasetting(merchant_id, account_id, contact_email, contact_name, country, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
command.response_representation = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse::Representation
command.response_class = Google::Apis::ContentV2::LiasettingsSetInventoryVerificationContactResponse
Expand Down Expand Up @@ -1689,7 +1689,7 @@ def setinventoryverificationcontact_liasetting(merchant_id, account_id, contact_
# @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 setposdataprovider_liasetting(merchant_id, account_id, country: nil, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
command.response_representation = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse::Representation
command.response_class = Google::Apis::ContentV2::LiasettingsSetPosDataProviderResponse
Expand Down
6 changes: 3 additions & 3 deletions generated/google/apis/drive_v2.rb
Expand Up @@ -26,9 +26,9 @@ module Apis
# @see https://developers.google.com/drive/
module DriveV2
VERSION = 'V2'
REVISION = '20181022'
REVISION = '20181025'

# View and manage the files in your Google Drive
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

# View and manage its own configuration data in your Google Drive
Expand All @@ -49,7 +49,7 @@ module DriveV2
# View the photos, videos and albums in your Google Photos
AUTH_DRIVE_PHOTOS_READONLY = 'https://www.googleapis.com/auth/drive.photos.readonly'

# View the files in your Google Drive
# See and download all your Google Drive files
AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'

# Modify your Google Apps Script scripts' behavior
Expand Down
6 changes: 3 additions & 3 deletions generated/google/apis/drive_v3.rb
Expand Up @@ -26,9 +26,9 @@ module Apis
# @see https://developers.google.com/drive/
module DriveV3
VERSION = 'V3'
REVISION = '20180830'
REVISION = '20181025'

# View and manage the files in your Google Drive
# See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

# View and manage its own configuration data in your Google Drive
Expand All @@ -46,7 +46,7 @@ module DriveV3
# View the photos, videos and albums in your Google Photos
AUTH_DRIVE_PHOTOS_READONLY = 'https://www.googleapis.com/auth/drive.photos.readonly'

# View the files in your Google Drive
# See and download all your Google Drive files
AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'

# Modify your Google Apps Script scripts' behavior
Expand Down
4 changes: 2 additions & 2 deletions generated/google/apis/gmail_v1.rb
Expand Up @@ -25,9 +25,9 @@ module Apis
# @see https://developers.google.com/gmail/api/
module GmailV1
VERSION = 'V1'
REVISION = '20180821'
REVISION = '20180904'

# Read, send, delete, and manage your email
# Read, compose, send, and permanently delete all your email from Gmail
AUTH_SCOPE = 'https://mail.google.com/'

# Manage drafts and send emails
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/streetviewpublish_v1.rb
Expand Up @@ -27,7 +27,7 @@ module Apis
# @see https://developers.google.com/streetview/publish/
module StreetviewpublishV1
VERSION = 'V1'
REVISION = '20180927'
REVISION = '20181106'

# Publish and manage your 360 photos on Google Street View
AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'
Expand Down
13 changes: 13 additions & 0 deletions generated/google/apis/streetviewpublish_v1/classes.rb
Expand Up @@ -521,6 +521,17 @@ def update!(**args)
class Place
include Google::Apis::Core::Hashable

# Output-only. The language_code that the name is localized with. This should
# be the language_code specified in the request, but may be a fallback.
# Corresponds to the JSON property `languageCode`
# @return [String]
attr_accessor :language_code

# Output-only. The name of the place, localized to the language_code.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name

# Place identifier, as described in
# https://developers.google.com/places/place-id.
# Corresponds to the JSON property `placeId`
Expand All @@ -533,6 +544,8 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@language_code = args[:language_code] if args.key?(:language_code)
@name = args[:name] if args.key?(:name)
@place_id = args[:place_id] if args.key?(:place_id)
end
end
Expand Down
2 changes: 2 additions & 0 deletions generated/google/apis/streetviewpublish_v1/representations.rb
Expand Up @@ -267,6 +267,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
class Place
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :language_code, as: 'languageCode'
property :name, as: 'name'
property :place_id, as: 'placeId'
end
end
Expand Down
27 changes: 24 additions & 3 deletions generated/google/apis/streetviewpublish_v1/service.rb
Expand Up @@ -140,6 +140,12 @@ def delete_photo(photo_id, fields: nil, quota_user: nil, options: nil, &block)
# Photo is still being indexed.
# @param [String] photo_id
# Required. ID of the Photo.
# @param [String] language_code
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more
# information, see
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
# If language_code is unspecified, the user's language preference for Google
# services will be used.
# @param [String] view
# Specifies if a download URL for the photo bytes should be returned in the
# Photo response.
Expand All @@ -160,11 +166,12 @@ def delete_photo(photo_id, fields: nil, quota_user: nil, options: nil, &block)
# @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_photo(photo_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
def get_photo(photo_id, language_code: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/photo/{photoId}', options)
command.response_representation = Google::Apis::StreetviewpublishV1::Photo::Representation
command.response_class = Google::Apis::StreetviewpublishV1::Photo
command.params['photoId'] = photo_id unless photo_id.nil?
command.query['languageCode'] = language_code unless language_code.nil?
command.query['view'] = view unless view.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
Expand Down Expand Up @@ -349,6 +356,12 @@ def batch_delete_photos(batch_delete_photos_request_object = nil, fields: nil, q
# See
# GetPhoto
# for specific failures that can occur per photo.
# @param [String] language_code
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more
# information, see
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
# If language_code is unspecified, the user's language preference for Google
# services will be used.
# @param [Array<String>, String] photo_ids
# Required. IDs of the Photos. For HTTP
# GET requests, the URL query parameter should be
Expand All @@ -373,10 +386,11 @@ def batch_delete_photos(batch_delete_photos_request_object = nil, fields: nil, q
# @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 batch_photo_get(photo_ids: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
def batch_photo_get(language_code: nil, photo_ids: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/photos:batchGet', options)
command.response_representation = Google::Apis::StreetviewpublishV1::BatchGetPhotosResponse::Representation
command.response_class = Google::Apis::StreetviewpublishV1::BatchGetPhotosResponse
command.query['languageCode'] = language_code unless language_code.nil?
command.query['photoIds'] = photo_ids unless photo_ids.nil?
command.query['view'] = view unless view.nil?
command.query['fields'] = fields unless fields.nil?
Expand Down Expand Up @@ -444,6 +458,12 @@ def batch_update_photos(batch_update_photos_request_object = nil, fields: nil, q
# @param [String] filter
# The filter expression. For example: `placeId=ChIJj61dQgK6j4AR4GeTYWZsKWw`.
# The only filter supported at the moment is `placeId`.
# @param [String] language_code
# The BCP-47 language code, such as "en-US" or "sr-Latn". For more
# information, see
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
# If language_code is unspecified, the user's language preference for Google
# services will be used.
# @param [Fixnum] page_size
# The maximum number of photos to return.
# `pageSize` must be non-negative. If `pageSize` is zero or is not provided,
Expand Down Expand Up @@ -476,11 +496,12 @@ def batch_update_photos(batch_update_photos_request_object = nil, fields: nil, q
# @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_photos(filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
def list_photos(filter: nil, language_code: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:get, 'v1/photos', options)
command.response_representation = Google::Apis::StreetviewpublishV1::ListPhotosResponse::Representation
command.response_class = Google::Apis::StreetviewpublishV1::ListPhotosResponse
command.query['filter'] = filter unless filter.nil?
command.query['languageCode'] = language_code unless language_code.nil?
command.query['pageSize'] = page_size unless page_size.nil?
command.query['pageToken'] = page_token unless page_token.nil?
command.query['view'] = view unless view.nil?
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/tasks_v1.rb
Expand Up @@ -27,7 +27,7 @@ module TasksV1
VERSION = 'V1'
REVISION = '20141121'

# Manage your tasks
# Create, edit, organize, and delete all your tasks
AUTH_TASKS = 'https://www.googleapis.com/auth/tasks'

# View your tasks
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/testing_v1.rb
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://developers.google.com/cloud-test-lab/
module TestingV1
VERSION = 'V1'
REVISION = '20181025'
REVISION = '20181107'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
19 changes: 0 additions & 19 deletions generated/google/apis/testing_v1/classes.rb
Expand Up @@ -377,14 +377,6 @@ class AndroidModel
# @return [Array<String>]
attr_accessor :tags

# True if and only if tests with this model DO NOT have video output.
# See also TestSpecification.disable_video_recording
# @OutputOnly
# Corresponds to the JSON property `videoRecordingNotSupported`
# @return [Boolean]
attr_accessor :video_recording_not_supported
alias_method :video_recording_not_supported?, :video_recording_not_supported

def initialize(**args)
update!(**args)
end
Expand All @@ -405,7 +397,6 @@ def update!(**args)
@supported_abis = args[:supported_abis] if args.key?(:supported_abis)
@supported_version_ids = args[:supported_version_ids] if args.key?(:supported_version_ids)
@tags = args[:tags] if args.key?(:tags)
@video_recording_not_supported = args[:video_recording_not_supported] if args.key?(:video_recording_not_supported)
end
end

Expand Down Expand Up @@ -1767,15 +1758,6 @@ class TestDetails
# @return [Array<String>]
attr_accessor :progress_messages

# Indicates that video will not be recorded for this execution either because
# the user chose to disable it or the device does not support it.
# See AndroidModel.video_recording_not_supported
# @OutputOnly
# Corresponds to the JSON property `videoRecordingDisabled`
# @return [Boolean]
attr_accessor :video_recording_disabled
alias_method :video_recording_disabled?, :video_recording_disabled

def initialize(**args)
update!(**args)
end
Expand All @@ -1784,7 +1766,6 @@ def initialize(**args)
def update!(**args)
@error_message = args[:error_message] if args.key?(:error_message)
@progress_messages = args[:progress_messages] if args.key?(:progress_messages)
@video_recording_disabled = args[:video_recording_disabled] if args.key?(:video_recording_disabled)
end
end

Expand Down

0 comments on commit 0100db6

Please sign in to comment.