From 3245249b999bf10c6d9f89790cd67b8875e3b9fb Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 9 Jan 2018 00:36:08 +0000 Subject: [PATCH] Autogenerated update (2018-01-09) Update: - cloudbilling_v1 - people_v1 - slides_v1 - testing_v1 - youtubereporting_v1 --- api_names_out.yaml | 5 +++ generated/google/apis/cloudbilling_v1.rb | 2 +- .../google/apis/cloudbilling_v1/service.rb | 19 ++++---- generated/google/apis/people_v1.rb | 2 +- generated/google/apis/people_v1/classes.rb | 2 - generated/google/apis/people_v1/service.rb | 4 ++ .../google/apis/plus_domains_v1/service.rb | 2 +- generated/google/apis/slides_v1.rb | 2 +- generated/google/apis/slides_v1/classes.rb | 45 +++++++++++++++++++ .../google/apis/slides_v1/representations.rb | 17 +++++++ generated/google/apis/testing_v1.rb | 2 +- generated/google/apis/youtubereporting_v1.rb | 2 +- .../apis/youtubereporting_v1/service.rb | 3 +- 13 files changed, 89 insertions(+), 18 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 2e83182fa..5900db850 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -61198,6 +61198,7 @@ "/slides:v1/Request/unmergeTableCells": unmerge_table_cells "/slides:v1/Request/updateImageProperties": update_image_properties "/slides:v1/Request/updateLineProperties": update_line_properties +"/slides:v1/Request/updatePageElementAltText": update_page_element_alt_text "/slides:v1/Request/updatePageElementTransform": update_page_element_transform "/slides:v1/Request/updatePageProperties": update_page_properties "/slides:v1/Request/updateParagraphStyle": update_paragraph_style @@ -61371,6 +61372,10 @@ "/slides:v1/UpdateLinePropertiesRequest/fields": fields "/slides:v1/UpdateLinePropertiesRequest/lineProperties": line_properties "/slides:v1/UpdateLinePropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdatePageElementAltTextRequest": update_page_element_alt_text_request +"/slides:v1/UpdatePageElementAltTextRequest/description": description +"/slides:v1/UpdatePageElementAltTextRequest/objectId": object_id_prop +"/slides:v1/UpdatePageElementAltTextRequest/title": title "/slides:v1/UpdatePageElementTransformRequest": update_page_element_transform_request "/slides:v1/UpdatePageElementTransformRequest/applyMode": apply_mode "/slides:v1/UpdatePageElementTransformRequest/objectId": object_id_prop diff --git a/generated/google/apis/cloudbilling_v1.rb b/generated/google/apis/cloudbilling_v1.rb index 4326df4cf..3d9f1960b 100644 --- a/generated/google/apis/cloudbilling_v1.rb +++ b/generated/google/apis/cloudbilling_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/billing/ module CloudbillingV1 VERSION = 'V1' - REVISION = '20170813' + REVISION = '20180108' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudbilling_v1/service.rb b/generated/google/apis/cloudbilling_v1/service.rb index 3bdba6c5c..5811bae42 100644 --- a/generated/google/apis/cloudbilling_v1/service.rb +++ b/generated/google/apis/cloudbilling_v1/service.rb @@ -119,8 +119,9 @@ module Google end # Lists the projects associated with a billing account. The current - # authenticated user must be an [owner of the billing - # account](https://support.google.com/cloud/answer/4430947). + # authenticated user must have the "billing.resourceAssociations.list" IAM + # permission, which is often given to billing account + # [viewers](https://support.google.com/cloud/answer/4430947). # @param [String] name # The resource name of the billing account associated with the projects that # you want to list. For example, `billingAccounts/012345-567890-ABCDEF`. @@ -300,9 +301,10 @@ module Google # @param [String] end_time # Optional exclusive end time of the time range for which the pricing # versions will be returned. Timestamps in the future are not allowed. - # Maximum allowable time range is 1 month (31 days). Time range as a whole - # is optional. If not specified, the latest pricing will be returned (up to - # 12 hours old at most). + # The time range has to be within a single calendar month in + # America/Los_Angeles timezone. Time range as a whole is optional. If not + # specified, the latest pricing will be returned (up to 12 hours old at + # most). # @param [Fixnum] page_size # Requested page size. Defaults to 5000. # @param [String] page_token @@ -312,9 +314,10 @@ module Google # @param [String] start_time # Optional inclusive start time of the time range for which the pricing # versions will be returned. Timestamps in the future are not allowed. - # Maximum allowable time range is 1 month (31 days). Time range as a whole - # is optional. If not specified, the latest pricing will be returned (up to - # 12 hours old at most). + # The time range has to be within a single calendar month in + # America/Los_Angeles timezone. Time range as a whole is optional. If not + # specified, the latest pricing will be returned (up to 12 hours old at + # most). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/people_v1.rb b/generated/google/apis/people_v1.rb index e1810521a..7dd6ecc93 100644 --- a/generated/google/apis/people_v1.rb +++ b/generated/google/apis/people_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/people/ module PeopleV1 VERSION = 'V1' - REVISION = '20171108' + REVISION = '20180106' # Manage your contacts AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' diff --git a/generated/google/apis/people_v1/classes.rb b/generated/google/apis/people_v1/classes.rb index 16a5ace88..2a02d2789 100644 --- a/generated/google/apis/people_v1/classes.rb +++ b/generated/google/apis/people_v1/classes.rb @@ -833,7 +833,6 @@ module Google end # One of the person's interests. - # **DEPRECATED** (Message will not be returned.) class Interest include Google::Apis::Core::Hashable @@ -1389,7 +1388,6 @@ module Google attr_accessor :im_clients # The person's interests. - # **DEPRECATED** (No values will be returned.) # Corresponds to the JSON property `interests` # @return [Array] attr_accessor :interests diff --git a/generated/google/apis/people_v1/service.rb b/generated/google/apis/people_v1/service.rb index 1867138bb..b7dabfed5 100644 --- a/generated/google/apis/people_v1/service.rb +++ b/generated/google/apis/people_v1/service.rb @@ -375,6 +375,7 @@ module Google # * events # * genders # * imClients + # * interests # * locales # * memberships # * metadata @@ -442,6 +443,7 @@ module Google # * events # * genders # * imClients + # * interests # * locales # * memberships # * metadata @@ -527,6 +529,7 @@ module Google # * events # * genders # * imClients + # * interests # * locales # * names # * nicknames @@ -591,6 +594,7 @@ module Google # * events # * genders # * imClients + # * interests # * locales # * memberships # * metadata diff --git a/generated/google/apis/plus_domains_v1/service.rb b/generated/google/apis/plus_domains_v1/service.rb index 6df925841..455d63a58 100644 --- a/generated/google/apis/plus_domains_v1/service.rb +++ b/generated/google/apis/plus_domains_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'plusDomains/v1/') - @batch_path = 'batch/plusDomains/v1' + @batch_path = 'batch' end # Get an activity. diff --git a/generated/google/apis/slides_v1.rb b/generated/google/apis/slides_v1.rb index a3a8be4f2..4257a1c84 100644 --- a/generated/google/apis/slides_v1.rb +++ b/generated/google/apis/slides_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/slides/ module SlidesV1 VERSION = 'V1' - REVISION = '20171208' + REVISION = '20180108' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/slides_v1/classes.rb b/generated/google/apis/slides_v1/classes.rb index 5c541a28e..dd73f9eee 100644 --- a/generated/google/apis/slides_v1/classes.rb +++ b/generated/google/apis/slides_v1/classes.rb @@ -2908,6 +2908,12 @@ module Google # @return [Google::Apis::SlidesV1::UpdateLinePropertiesRequest] attr_accessor :update_line_properties + # Updates the alt text title and/or description of a + # page element. + # Corresponds to the JSON property `updatePageElementAltText` + # @return [Google::Apis::SlidesV1::UpdatePageElementAltTextRequest] + attr_accessor :update_page_element_alt_text + # Updates the transform of a page element. # Updating the transform of a group will change the absolute transform of the # page elements in that group, which can change their visual appearance. See @@ -3001,6 +3007,7 @@ module Google @unmerge_table_cells = args[:unmerge_table_cells] if args.key?(:unmerge_table_cells) @update_image_properties = args[:update_image_properties] if args.key?(:update_image_properties) @update_line_properties = args[:update_line_properties] if args.key?(:update_line_properties) + @update_page_element_alt_text = args[:update_page_element_alt_text] if args.key?(:update_page_element_alt_text) @update_page_element_transform = args[:update_page_element_transform] if args.key?(:update_page_element_transform) @update_page_properties = args[:update_page_properties] if args.key?(:update_page_properties) @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style) @@ -4385,6 +4392,44 @@ module Google end end + # Updates the alt text title and/or description of a + # page element. + class UpdatePageElementAltTextRequest + include Google::Apis::Core::Hashable + + # The updated alt text description of the page element. If unset the existing + # value will be maintained. The description is exposed to screen readers + # and other accessibility interfaces. Only use human readable values related + # to the content of the page element. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The object ID of the page element the updates are applied to. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The updated alt text title of the page element. If unset the + # existing value will be maintained. The title is exposed to screen readers + # and other accessibility interfaces. Only use human readable values related + # to the content of the page element. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @title = args[:title] if args.key?(:title) + end + end + # Updates the transform of a page element. # Updating the transform of a group will change the absolute transform of the # page elements in that group, which can change their visual appearance. See diff --git a/generated/google/apis/slides_v1/representations.rb b/generated/google/apis/slides_v1/representations.rb index 00645a64d..37cf1297c 100644 --- a/generated/google/apis/slides_v1/representations.rb +++ b/generated/google/apis/slides_v1/representations.rb @@ -682,6 +682,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class UpdatePageElementAltTextRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class UpdatePageElementTransformRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1574,6 +1580,8 @@ module Google property :update_line_properties, as: 'updateLineProperties', class: Google::Apis::SlidesV1::UpdateLinePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateLinePropertiesRequest::Representation + property :update_page_element_alt_text, as: 'updatePageElementAltText', class: Google::Apis::SlidesV1::UpdatePageElementAltTextRequest, decorator: Google::Apis::SlidesV1::UpdatePageElementAltTextRequest::Representation + property :update_page_element_transform, as: 'updatePageElementTransform', class: Google::Apis::SlidesV1::UpdatePageElementTransformRequest, decorator: Google::Apis::SlidesV1::UpdatePageElementTransformRequest::Representation property :update_page_properties, as: 'updatePageProperties', class: Google::Apis::SlidesV1::UpdatePagePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdatePagePropertiesRequest::Representation @@ -1998,6 +2006,15 @@ module Google end end + class UpdatePageElementAltTextRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :object_id_prop, as: 'objectId' + property :title, as: 'title' + end + end + class UpdatePageElementTransformRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/testing_v1.rb b/generated/google/apis/testing_v1.rb index e6c8a0bba..a3bcb37bd 100644 --- a/generated/google/apis/testing_v1.rb +++ b/generated/google/apis/testing_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/cloud-test-lab/ module TestingV1 VERSION = 'V1' - REVISION = '20171213' + REVISION = '20180105' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/youtubereporting_v1.rb b/generated/google/apis/youtubereporting_v1.rb index 5db68327e..9eb6c2c9a 100644 --- a/generated/google/apis/youtubereporting_v1.rb +++ b/generated/google/apis/youtubereporting_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/youtube/reporting/v1/reports/ module YoutubereportingV1 VERSION = 'V1' - REVISION = '20171211' + REVISION = '20180106' # View monetary and non-monetary YouTube Analytics reports for your YouTube content AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly' diff --git a/generated/google/apis/youtubereporting_v1/service.rb b/generated/google/apis/youtubereporting_v1/service.rb index 75587279d..fddfc17bc 100644 --- a/generated/google/apis/youtubereporting_v1/service.rb +++ b/generated/google/apis/youtubereporting_v1/service.rb @@ -292,8 +292,7 @@ module Google # Method for media download. Download is supported # on the URI `/v1/media/`+name`?alt=media`. # @param [String] resource_name - # Name of the media that is being downloaded. See - # ReadRequest.resource_name. + # Name of the media that is being downloaded. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user