diff --git a/api_names_out.yaml b/api_names_out.yaml index 4b26bd7aa..423d49ee9 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -359,6 +359,7 @@ "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update/userId": user_id "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create": create_account_creative "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create/accountId1": account_id1 "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create/duplicateIdMode": duplicate_id_mode "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add": add_deal_association "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add/accountId": account_id @@ -385,6 +386,7 @@ "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching/creativeId": creative_id "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update": update_account_creative "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update/accountId1": account_id1 "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update/creativeId": creative_id "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch": watch_creative "/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch/accountId": account_id @@ -10620,6 +10622,14 @@ "/books:v1/DownloadAccesses/downloadAccessList": download_access_list "/books:v1/DownloadAccesses/downloadAccessList/download_access_list": download_access_list "/books:v1/DownloadAccesses/kind": kind +"/books:v1/FamilyInfo": family_info +"/books:v1/FamilyInfo/kind": kind +"/books:v1/FamilyInfo/membership": membership +"/books:v1/FamilyInfo/membership/acquirePermission": acquire_permission +"/books:v1/FamilyInfo/membership/ageGroup": age_group +"/books:v1/FamilyInfo/membership/allowedMaturityRating": allowed_maturity_rating +"/books:v1/FamilyInfo/membership/isInFamily": is_in_family +"/books:v1/FamilyInfo/membership/role": role "/books:v1/Geolayerdata": geo_layer_data "/books:v1/Geolayerdata/common": common "/books:v1/Geolayerdata/common/lang": lang @@ -10754,10 +10764,14 @@ "/books:v1/Usersettings/notesExport/folderName": folder_name "/books:v1/Usersettings/notesExport/isEnabled": is_enabled "/books:v1/Usersettings/notification": notification +"/books:v1/Usersettings/notification/matchMyInterests": match_my_interests +"/books:v1/Usersettings/notification/matchMyInterests/opted_state": opted_state "/books:v1/Usersettings/notification/moreFromAuthors": more_from_authors "/books:v1/Usersettings/notification/moreFromAuthors/opted_state": opted_state "/books:v1/Usersettings/notification/moreFromSeries": more_from_series "/books:v1/Usersettings/notification/moreFromSeries/opted_state": opted_state +"/books:v1/Usersettings/notification/priceDrop": price_drop +"/books:v1/Usersettings/notification/priceDrop/opted_state": opted_state "/books:v1/Usersettings/notification/rewardExpirations": reward_expirations "/books:v1/Usersettings/notification/rewardExpirations/opted_state": opted_state "/books:v1/Volume": volume @@ -10970,6 +10984,16 @@ "/books:v1/books.cloudloading.updateBook": update_book "/books:v1/books.dictionary.listOfflineMetadata": list_offline_metadata_dictionary "/books:v1/books.dictionary.listOfflineMetadata/cpksver": cpksver +"/books:v1/books.familysharing.getFamilyInfo": get_familysharing_family_info +"/books:v1/books.familysharing.getFamilyInfo/source": source +"/books:v1/books.familysharing.share": share_familysharing +"/books:v1/books.familysharing.share/docId": doc_id +"/books:v1/books.familysharing.share/source": source +"/books:v1/books.familysharing.share/volumeId": volume_id +"/books:v1/books.familysharing.unshare": unshare_familysharing +"/books:v1/books.familysharing.unshare/docId": doc_id +"/books:v1/books.familysharing.unshare/source": source +"/books:v1/books.familysharing.unshare/volumeId": volume_id "/books:v1/books.layers.annotationData.get": get_layer_annotation_data "/books:v1/books.layers.annotationData.get/allowWebDefinitions": allow_web_definitions "/books:v1/books.layers.annotationData.get/annotationDataId": annotation_data_id @@ -32408,6 +32432,8 @@ "/dataflow:v1b3/ResourceUtilizationReport/cpuTime/cpu_time": cpu_time "/dataflow:v1b3/ResourceUtilizationReportResponse": resource_utilization_report_response "/dataflow:v1b3/RuntimeEnvironment": runtime_environment +"/dataflow:v1b3/RuntimeEnvironment/additionalExperiments": additional_experiments +"/dataflow:v1b3/RuntimeEnvironment/additionalExperiments/additional_experiment": additional_experiment "/dataflow:v1b3/RuntimeEnvironment/bypassTempDirValidation": bypass_temp_dir_validation "/dataflow:v1b3/RuntimeEnvironment/machineType": machine_type "/dataflow:v1b3/RuntimeEnvironment/maxWorkers": max_workers @@ -47069,6 +47095,7 @@ "/firebasedynamiclinks:v1/DeviceInfo": device_info "/firebasedynamiclinks:v1/DeviceInfo/deviceModelName": device_model_name "/firebasedynamiclinks:v1/DeviceInfo/languageCode": language_code +"/firebasedynamiclinks:v1/DeviceInfo/languageCodeFromWebview": language_code_from_webview "/firebasedynamiclinks:v1/DeviceInfo/languageCodeRaw": language_code_raw "/firebasedynamiclinks:v1/DeviceInfo/screenResolutionHeight": screen_resolution_height "/firebasedynamiclinks:v1/DeviceInfo/screenResolutionWidth": screen_resolution_width diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb index 6bb9e0deb..c569220ae 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/ module Adexchangebuyer2V2beta1 VERSION = 'V2beta1' - REVISION = '20171212' + REVISION = '20180101' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/service.rb b/generated/google/apis/adexchangebuyer2_v2beta1/service.rb index 54e29d7a3..e6e533232 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/service.rb @@ -459,6 +459,8 @@ module Google # creatives.list # method. # @param [Google::Apis::Adexchangebuyer2V2beta1::Creative] creative_object + # @param [String] account_id1 + # The account the creative belongs to. # @param [String] duplicate_id_mode # Indicates if multiple creatives can share an ID or not. Default is # NO_DUPLICATES (one ID per creative). @@ -479,13 +481,14 @@ 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 create_account_creative(account_id, creative_object = nil, duplicate_id_mode: nil, fields: nil, quota_user: nil, options: nil, &block) + def create_account_creative(account_id, creative_object = nil, account_id1: nil, duplicate_id_mode: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives', options) command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation command.request_object = creative_object command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative command.params['accountId'] = account_id unless account_id.nil? + command.query['accountId1'] = account_id1 unless account_id1.nil? command.query['duplicateIdMode'] = duplicate_id_mode unless duplicate_id_mode.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -636,6 +639,8 @@ module Google # creatives.list # method. # @param [Google::Apis::Adexchangebuyer2V2beta1::Creative] creative_object + # @param [String] account_id1 + # The account the creative belongs to. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -653,7 +658,7 @@ 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 update_account_creative(account_id, creative_id, creative_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def update_account_creative(account_id, creative_id, creative_object = nil, account_id1: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options) command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation command.request_object = creative_object @@ -661,6 +666,7 @@ module Google command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative command.params['accountId'] = account_id unless account_id.nil? command.params['creativeId'] = creative_id unless creative_id.nil? + command.query['accountId1'] = account_id1 unless account_id1.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/bigquerydatatransfer_v1.rb b/generated/google/apis/bigquerydatatransfer_v1.rb index c1102779e..7fe88fa20 100644 --- a/generated/google/apis/bigquerydatatransfer_v1.rb +++ b/generated/google/apis/bigquerydatatransfer_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigquerydatatransferV1 VERSION = 'V1' - REVISION = '20171210' + REVISION = '20180101' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquerydatatransfer_v1/classes.rb b/generated/google/apis/bigquerydatatransfer_v1/classes.rb index 916258f0a..9b698802a 100644 --- a/generated/google/apis/bigquerydatatransfer_v1/classes.rb +++ b/generated/google/apis/bigquerydatatransfer_v1/classes.rb @@ -797,7 +797,7 @@ module Google # @return [String] attr_accessor :data_source_id - # The BigQuery target dataset id. + # Output only. The BigQuery target dataset id. # Corresponds to the JSON property `destinationDatasetId` # @return [String] attr_accessor :destination_dataset_id @@ -860,7 +860,7 @@ module Google # @return [String] attr_accessor :name - # Data transfer specific parameters. + # Output only. Data transfer specific parameters. # Corresponds to the JSON property `params` # @return [Hash] attr_accessor :params diff --git a/generated/google/apis/books_v1.rb b/generated/google/apis/books_v1.rb index d435dc7ae..896c253a2 100644 --- a/generated/google/apis/books_v1.rb +++ b/generated/google/apis/books_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/books/docs/v1/getting_started module BooksV1 VERSION = 'V1' - REVISION = '20170313' + REVISION = '20171127' # Manage your books AUTH_BOOKS = 'https://www.googleapis.com/auth/books' diff --git a/generated/google/apis/books_v1/classes.rb b/generated/google/apis/books_v1/classes.rb index e3b1ce23c..513e9e18f 100644 --- a/generated/google/apis/books_v1/classes.rb +++ b/generated/google/apis/books_v1/classes.rb @@ -1551,6 +1551,75 @@ module Google end end + # + class FamilyInfo + include Google::Apis::Core::Hashable + + # Resource type. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Family membership info of the user that made the request. + # Corresponds to the JSON property `membership` + # @return [Google::Apis::BooksV1::FamilyInfo::Membership] + attr_accessor :membership + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @membership = args[:membership] if args.key?(:membership) + end + + # Family membership info of the user that made the request. + class Membership + include Google::Apis::Core::Hashable + + # Restrictions on user buying and acquiring content. + # Corresponds to the JSON property `acquirePermission` + # @return [String] + attr_accessor :acquire_permission + + # The age group of the user. + # Corresponds to the JSON property `ageGroup` + # @return [String] + attr_accessor :age_group + + # The maximum allowed maturity rating for the user. + # Corresponds to the JSON property `allowedMaturityRating` + # @return [String] + attr_accessor :allowed_maturity_rating + + # + # Corresponds to the JSON property `isInFamily` + # @return [Boolean] + attr_accessor :is_in_family + alias_method :is_in_family?, :is_in_family + + # The role of the user in the family. + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @acquire_permission = args[:acquire_permission] if args.key?(:acquire_permission) + @age_group = args[:age_group] if args.key?(:age_group) + @allowed_maturity_rating = args[:allowed_maturity_rating] if args.key?(:allowed_maturity_rating) + @is_in_family = args[:is_in_family] if args.key?(:is_in_family) + @role = args[:role] if args.key?(:role) + end + end + end + # class GeoLayerData include Google::Apis::Core::Hashable @@ -2570,6 +2639,11 @@ module Google class Notification include Google::Apis::Core::Hashable + # + # Corresponds to the JSON property `matchMyInterests` + # @return [Google::Apis::BooksV1::UserSettings::Notification::MatchMyInterests] + attr_accessor :match_my_interests + # # Corresponds to the JSON property `moreFromAuthors` # @return [Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors] @@ -2580,6 +2654,11 @@ module Google # @return [Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries] attr_accessor :more_from_series + # + # Corresponds to the JSON property `priceDrop` + # @return [Google::Apis::BooksV1::UserSettings::Notification::PriceDrop] + attr_accessor :price_drop + # # Corresponds to the JSON property `rewardExpirations` # @return [Google::Apis::BooksV1::UserSettings::Notification::RewardExpirations] @@ -2591,11 +2670,32 @@ module Google # Update properties of this object def update!(**args) + @match_my_interests = args[:match_my_interests] if args.key?(:match_my_interests) @more_from_authors = args[:more_from_authors] if args.key?(:more_from_authors) @more_from_series = args[:more_from_series] if args.key?(:more_from_series) + @price_drop = args[:price_drop] if args.key?(:price_drop) @reward_expirations = args[:reward_expirations] if args.key?(:reward_expirations) end + # + class MatchMyInterests + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `opted_state` + # @return [String] + attr_accessor :opted_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @opted_state = args[:opted_state] if args.key?(:opted_state) + end + end + # class MoreFromAuthors include Google::Apis::Core::Hashable @@ -2634,6 +2734,25 @@ module Google end end + # + class PriceDrop + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `opted_state` + # @return [String] + attr_accessor :opted_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @opted_state = args[:opted_state] if args.key?(:opted_state) + end + end + # class RewardExpirations include Google::Apis::Core::Hashable diff --git a/generated/google/apis/books_v1/representations.rb b/generated/google/apis/books_v1/representations.rb index c9f5e00ea..b5ce849bf 100644 --- a/generated/google/apis/books_v1/representations.rb +++ b/generated/google/apis/books_v1/representations.rb @@ -262,6 +262,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class FamilyInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Membership + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class GeoLayerData class Representation < Google::Apis::Core::JsonRepresentation; end @@ -412,6 +424,12 @@ module Google class Notification class Representation < Google::Apis::Core::JsonRepresentation; end + class MatchMyInterests + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MoreFromAuthors class Representation < Google::Apis::Core::JsonRepresentation; end @@ -424,6 +442,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class PriceDrop + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RewardExpirations class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1082,6 +1106,26 @@ module Google end end + class FamilyInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :membership, as: 'membership', class: Google::Apis::BooksV1::FamilyInfo::Membership, decorator: Google::Apis::BooksV1::FamilyInfo::Membership::Representation + + end + + class Membership + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :acquire_permission, as: 'acquirePermission' + property :age_group, as: 'ageGroup' + property :allowed_maturity_rating, as: 'allowedMaturityRating' + property :is_in_family, as: 'isInFamily' + property :role, as: 'role' + end + end + end + class GeoLayerData # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1370,14 +1414,25 @@ module Google class Notification # @private class Representation < Google::Apis::Core::JsonRepresentation + property :match_my_interests, as: 'matchMyInterests', class: Google::Apis::BooksV1::UserSettings::Notification::MatchMyInterests, decorator: Google::Apis::BooksV1::UserSettings::Notification::MatchMyInterests::Representation + property :more_from_authors, as: 'moreFromAuthors', class: Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors, decorator: Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors::Representation property :more_from_series, as: 'moreFromSeries', class: Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries, decorator: Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries::Representation + property :price_drop, as: 'priceDrop', class: Google::Apis::BooksV1::UserSettings::Notification::PriceDrop, decorator: Google::Apis::BooksV1::UserSettings::Notification::PriceDrop::Representation + property :reward_expirations, as: 'rewardExpirations', class: Google::Apis::BooksV1::UserSettings::Notification::RewardExpirations, decorator: Google::Apis::BooksV1::UserSettings::Notification::RewardExpirations::Representation end + class MatchMyInterests + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :opted_state, as: 'opted_state' + end + end + class MoreFromAuthors # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1392,6 +1447,13 @@ module Google end end + class PriceDrop + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :opted_state, as: 'opted_state' + end + end + class RewardExpirations # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/books_v1/service.rb b/generated/google/apis/books_v1/service.rb index f9e33410b..639317e08 100644 --- a/generated/google/apis/books_v1/service.rb +++ b/generated/google/apis/books_v1/service.rb @@ -328,6 +328,121 @@ module Google execute_or_queue_command(command, &block) end + # Gets information regarding the family that the user is part of. + # @param [String] source + # String to identify the originator of this request. + # @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::BooksV1::FamilyInfo] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::BooksV1::FamilyInfo] + # + # @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_familysharing_family_info(source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'familysharing/getFamilyInfo', options) + command.response_representation = Google::Apis::BooksV1::FamilyInfo::Representation + command.response_class = Google::Apis::BooksV1::FamilyInfo + command.query['source'] = source unless source.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 + + # Initiates sharing of the content with the user's family. Empty response + # indicates success. + # @param [String] doc_id + # The docid to share. + # @param [String] source + # String to identify the originator of this request. + # @param [String] volume_id + # The volume to share. + # @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 [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @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 share_familysharing(doc_id: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'familysharing/share', options) + command.query['docId'] = doc_id unless doc_id.nil? + command.query['source'] = source unless source.nil? + command.query['volumeId'] = volume_id unless volume_id.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 + + # Initiates revoking content that has already been shared with the user's family. + # Empty response indicates success. + # @param [String] doc_id + # The docid to unshare. + # @param [String] source + # String to identify the originator of this request. + # @param [String] volume_id + # The volume to unshare. + # @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 [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @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 unshare_familysharing(doc_id: nil, source: nil, volume_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'familysharing/unshare', options) + command.query['docId'] = doc_id unless doc_id.nil? + command.query['source'] = source unless source.nil? + command.query['volumeId'] = volume_id unless volume_id.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 + # Gets the layer summary for a volume. # @param [String] volume_id # The volume to retrieve layers for. diff --git a/generated/google/apis/classroom_v1.rb b/generated/google/apis/classroom_v1.rb index 95a0980a1..e7063f988 100644 --- a/generated/google/apis/classroom_v1.rb +++ b/generated/google/apis/classroom_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/classroom/ module ClassroomV1 VERSION = 'V1' - REVISION = '20171213' + REVISION = '20171229' # View and manage announcements in Google Classroom AUTH_CLASSROOM_ANNOUNCEMENTS = 'https://www.googleapis.com/auth/classroom.announcements' diff --git a/generated/google/apis/cloudiot_v1.rb b/generated/google/apis/cloudiot_v1.rb index 4827e9fa7..b13ddec5b 100644 --- a/generated/google/apis/cloudiot_v1.rb +++ b/generated/google/apis/cloudiot_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/iot module CloudiotV1 VERSION = 'V1' - REVISION = '20171110' + REVISION = '20171227' # 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/cloudiot_v1/classes.rb b/generated/google/apis/cloudiot_v1/classes.rb index 53deb582e..2502fa6fd 100644 --- a/generated/google/apis/cloudiot_v1/classes.rb +++ b/generated/google/apis/cloudiot_v1/classes.rb @@ -831,7 +831,7 @@ module Google # ] # ` # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). + # [IAM developer's guide](https://cloud.google.com/iam/docs). class Policy include Google::Apis::Core::Hashable @@ -866,7 +866,7 @@ module Google attr_accessor :iam_owned alias_method :iam_owned?, :iam_owned - # Version of the `Policy`. The default version is 0. + # Deprecated. # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -989,7 +989,7 @@ module Google # ] # ` # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). + # [IAM developer's guide](https://cloud.google.com/iam/docs). # Corresponds to the JSON property `policy` # @return [Google::Apis::CloudiotV1::Policy] attr_accessor :policy diff --git a/generated/google/apis/cloudtasks_v2beta2.rb b/generated/google/apis/cloudtasks_v2beta2.rb index 4f1d726ed..8538a2c8b 100644 --- a/generated/google/apis/cloudtasks_v2beta2.rb +++ b/generated/google/apis/cloudtasks_v2beta2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/cloud-tasks/ module CloudtasksV2beta2 VERSION = 'V2beta2' - REVISION = '20171219' + REVISION = '20180102' # 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/cloudtasks_v2beta2/classes.rb b/generated/google/apis/cloudtasks_v2beta2/classes.rb index 1588e4fd4..5ca158e3b 100644 --- a/generated/google/apis/cloudtasks_v2beta2/classes.rb +++ b/generated/google/apis/cloudtasks_v2beta2/classes.rb @@ -29,8 +29,8 @@ module Google # Required. # The task's current schedule time, available in the Task.schedule_time - # returned in PullTasksResponse.tasks or - # CloudTasks.RenewLease. This restriction is to ensure that your task + # returned in LeaseTasksResponse.tasks or + # CloudTasks.RenewLease. This restriction is to ensure that your # worker currently holds the lease. # Corresponds to the JSON property `scheduleTime` # @return [String] @@ -467,8 +467,8 @@ module Google # Required. # The task's current schedule time, available in the Task.schedule_time - # returned in PullTasksResponse.tasks or - # CloudTasks.RenewLease. This restriction is to ensure that your task + # returned in LeaseTasksResponse.tasks or + # CloudTasks.RenewLease. This restriction is to ensure that your # worker currently holds the lease. # Corresponds to the JSON property `scheduleTime` # @return [String] @@ -579,12 +579,12 @@ module Google # LeaseTasksResponse is leased -- that task will not be # returned in a different LeaseTasksResponse before the # Task.schedule_time. - # After the pull worker has successfully finished the work - # associated with the task, the pull worker must call + # After the worker has successfully finished the work + # associated with the task, the worker must call # CloudTasks.AcknowledgeTask. If the task is not acknowledged # via CloudTasks.AcknowledgeTask before the # Task.schedule_time then it will be returned in a later - # LeaseTasksResponse so that another pull worker can process + # LeaseTasksResponse so that another worker can process # it. # The maximum lease duration is 1 week. # `lease_duration` will be truncated to the nearest second. @@ -806,7 +806,7 @@ module Google # ] # ` # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). + # [IAM developer's guide](https://cloud.google.com/iam/docs). class Policy include Google::Apis::Core::Hashable @@ -830,7 +830,7 @@ module Google # @return [String] attr_accessor :etag - # Version of the `Policy`. The default version is 0. + # Deprecated. # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -848,13 +848,13 @@ module Google end # The pull message contains data that can be used by the caller of - # CloudTasks.PullTasks to process the task. + # CloudTasks.LeaseTasks to process the task. # This proto can only be used for tasks in a queue which has # Queue.pull_target set. class PullMessage include Google::Apis::Core::Hashable - # A data payload consumed by the task worker to execute the task. + # A data payload consumed by the worker to execute the task. # Corresponds to the JSON property `payload` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] @@ -862,8 +862,8 @@ module Google # The task's tag. # Tags allow similar tasks to be processed in a batch. If you label - # tasks with a tag, your task worker can pull tasks - # with the same tag using PullTasksRequest.filter. For example, + # tasks with a tag, your worker can lease tasks + # with the same tag using LeaseTasksRequest.filter. For example, # if you want to aggregate the events associated with a specific # user once a day, you could tag tasks with the user ID. # The task's tag can only be set when the @@ -898,99 +898,6 @@ module Google end end - # Request message for pulling tasks using CloudTasks.PullTasks. - class PullTasksRequest - include Google::Apis::Core::Hashable - - # `filter` can be used to specify a subset of tasks to lease. - # When `filter` is set to `tag=` then the - # PullTasksResponse will contain only tasks whose - # PullMessage.tag is equal to ``. `` must be less than - # 500 bytes. - # When `filter` is set to `tag_function=oldest_tag()`, only tasks which have - # the same tag as the task with the oldest schedule_time will be returned. - # Grammar Syntax: - # * `filter = "tag=" tag | "tag_function=" function` - # * `tag = string | bytes` - # * `function = "oldest_tag()"` - # The `oldest_tag()` function returns tasks which have the same tag as the - # oldest task (ordered by schedule time). - # Corresponds to the JSON property `filter` - # @return [String] - attr_accessor :filter - - # The duration of the lease. - # Each task returned in the PullTasksResponse will have its - # Task.schedule_time set to the current time plus the - # `lease_duration`. A task that has been returned in a - # PullTasksResponse is leased -- that task will not be - # returned in a different PullTasksResponse before the - # Task.schedule_time. - # After the pull worker has successfully finished the work - # associated with the task, the pull worker must call - # CloudTasks.AcknowledgeTask. If the task is not acknowledged - # via CloudTasks.AcknowledgeTask before the - # Task.schedule_time then it will be returned in a later - # PullTasksResponse so that another pull worker can process - # it. - # The maximum lease duration is 1 week. - # `lease_duration` will be truncated to the nearest second. - # Corresponds to the JSON property `leaseDuration` - # @return [String] - attr_accessor :lease_duration - - # The maximum number of tasks to lease. The maximum that can be - # requested is 1000. - # Corresponds to the JSON property `maxTasks` - # @return [Fixnum] - attr_accessor :max_tasks - - # The response_view specifies which subset of the Task will be - # returned. - # By default response_view is Task.View.BASIC; not all - # information is retrieved by default because some data, such as - # payloads, might be desirable to return only when needed because - # of its large size or because of the sensitivity of data that it - # contains. - # Authorization for Task.View.FULL requires `cloudtasks.tasks.fullView` - # [Google IAM](/iam/) permission on the - # Task.name resource. - # Corresponds to the JSON property `responseView` - # @return [String] - attr_accessor :response_view - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filter = args[:filter] if args.key?(:filter) - @lease_duration = args[:lease_duration] if args.key?(:lease_duration) - @max_tasks = args[:max_tasks] if args.key?(:max_tasks) - @response_view = args[:response_view] if args.key?(:response_view) - end - end - - # Response message for pulling tasks using CloudTasks.PullTasks. - class PullTasksResponse - include Google::Apis::Core::Hashable - - # The leased tasks. - # Corresponds to the JSON property `tasks` - # @return [Array] - attr_accessor :tasks - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @tasks = args[:tasks] if args.key?(:tasks) - end - end - # Request message for CloudTasks.PurgeQueue. class PurgeQueueRequest include Google::Apis::Core::Hashable @@ -1149,7 +1056,7 @@ module Google # * For App Engine queues, this field is 1 by default. # * For pull queues, this field is output only and always 10,000. # In addition to the `max_tasks_dispatched_per_second` limit, a maximum of - # 10 QPS of CloudTasks.PullTasks requests are allowed per queue. + # 10 QPS of CloudTasks.LeaseTasks requests are allowed per queue. # This field has the same meaning as # [rate in queue.yaml](/appengine/docs/standard/python/config/queueref#rate). # Corresponds to the JSON property `maxTasksDispatchedPerSecond` @@ -1196,8 +1103,8 @@ module Google # Required. # The task's current schedule time, available in the Task.schedule_time - # returned in PullTasksResponse.tasks or - # CloudTasks.RenewLease. This restriction is to ensure that your task + # returned in LeaseTasksResponse.tasks or + # CloudTasks.RenewLease. This restriction is to ensure that your # worker currently holds the lease. # Corresponds to the JSON property `scheduleTime` # @return [String] @@ -1390,7 +1297,7 @@ module Google # ] # ` # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). + # [IAM developer's guide](https://cloud.google.com/iam/docs). # Corresponds to the JSON property `policy` # @return [Google::Apis::CloudtasksV2beta2::Policy] attr_accessor :policy @@ -1543,7 +1450,7 @@ module Google attr_accessor :name # The pull message contains data that can be used by the caller of - # CloudTasks.PullTasks to process the task. + # CloudTasks.LeaseTasks to process the task. # This proto can only be used for tasks in a queue which has # Queue.pull_target set. # Corresponds to the JSON property `pullMessage` @@ -1555,7 +1462,7 @@ module Google # For pull queues, this is the time when the task is available to # be leased; if a task is currently leased, this is the time when # the current lease expires, that is, the time that the task was - # leased plus the PullTasksRequest.lease_duration. + # leased plus the LeaseTasksRequest.lease_duration. # `schedule_time` will be truncated to the nearest microsecond. # Corresponds to the JSON property `scheduleTime` # @return [String] diff --git a/generated/google/apis/cloudtasks_v2beta2/representations.rb b/generated/google/apis/cloudtasks_v2beta2/representations.rb index 596b561e6..5c7d5f357 100644 --- a/generated/google/apis/cloudtasks_v2beta2/representations.rb +++ b/generated/google/apis/cloudtasks_v2beta2/representations.rb @@ -142,18 +142,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class PullTasksRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PullTasksResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class PurgeQueueRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -402,24 +390,6 @@ module Google end end - class PullTasksRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :filter, as: 'filter' - property :lease_duration, as: 'leaseDuration' - property :max_tasks, as: 'maxTasks' - property :response_view, as: 'responseView' - end - end - - class PullTasksResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :tasks, as: 'tasks', class: Google::Apis::CloudtasksV2beta2::Task, decorator: Google::Apis::CloudtasksV2beta2::Task::Representation - - end - end - class PurgeQueueRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/cloudtasks_v2beta2/service.rb b/generated/google/apis/cloudtasks_v2beta2/service.rb index cc109d857..3c9f24062 100644 --- a/generated/google/apis/cloudtasks_v2beta2/service.rb +++ b/generated/google/apis/cloudtasks_v2beta2/service.rb @@ -601,14 +601,14 @@ module Google end # Acknowledges a pull task. - # The pull worker, that is, the entity that received this task in - # a PullTasksResponse, must call this method to indicate that + # The worker, that is, the entity that received this task in + # a LeaseTasksResponse, must call this method to indicate that # the work associated with the task has finished. - # The pull worker must acknowledge a task within the - # PullTasksRequest.lease_duration or the lease will expire and + # The worker must acknowledge a task within the + # LeaseTasksRequest.lease_duration or the lease will expire and # the task will become ready to be returned in a different - # PullTasksResponse. After the task is acknowledged, it will - # not be returned by a later CloudTasks.PullTasks, + # LeaseTasksResponse. After the task is acknowledged, it will + # not be returned by a later CloudTasks.LeaseTasks, # CloudTasks.GetTask, or CloudTasks.ListTasks. # To acknowledge multiple tasks at the same time, use # [HTTP batching](/storage/docs/json_api/v1/how-tos/batch) @@ -649,9 +649,9 @@ module Google end # Cancel a pull task's lease. - # The pull worker can use this method to cancel a task's lease + # The worker can use this method to cancel a task's lease # by setting Task.schedule_time to now. This will make the task - # available to be leased to the next caller of CloudTasks.PullTasks. + # available to be leased to the next caller of CloudTasks.LeaseTasks. # @param [String] name # Required. # The task name. For example: @@ -811,11 +811,11 @@ module Google end # Leases tasks from a pull queue for LeaseTasksRequest.lease_duration. - # This method is invoked by the pull worker to obtain a - # lease. The pull worker must acknowledge the task via + # This method is invoked by the worker to obtain a + # lease. The worker must acknowledge the task via # CloudTasks.AcknowledgeTask after they have performed the work # associated with the task. - # The payload is intended to store data that the pull worker needs + # The payload is intended to store data that the worker needs # to perform the work associated with the task. To return the # payloads in the LeaseTasksResponse, set # LeaseTasksRequest.response_view to Task.View.FULL. @@ -927,56 +927,8 @@ module Google execute_or_queue_command(command, &block) end - # Pulls tasks from a pull queue and acquires a lease on them for a - # specified PullTasksRequest.lease_duration. - # This method is invoked by the pull worker to obtain the - # lease. The pull worker must acknowledge the task via - # CloudTasks.AcknowledgeTask after they have performed the work - # associated with the task. - # The payload is intended to store data that the pull worker needs - # to perform the work associated with the task. To return the - # payloads in the PullTasksResponse, set - # PullTasksRequest.response_view to Task.View.FULL. - # A maximum of 10 qps of CloudTasks.PullTasks requests are allowed per - # queue. google.rpc.Code.RESOURCE_EXHAUSTED is returned when this limit - # is exceeded. google.rpc.Code.RESOURCE_EXHAUSTED is also returned when - # RateLimits.max_tasks_dispatched_per_second is exceeded. - # @param [String] name - # Required. - # The queue name. For example: - # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` - # @param [Google::Apis::CloudtasksV2beta2::PullTasksRequest] pull_tasks_request_object - # @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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudtasksV2beta2::PullTasksResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudtasksV2beta2::PullTasksResponse] - # - # @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 pull_tasks(name, pull_tasks_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2beta2/{+name}/tasks:pull', options) - command.request_representation = Google::Apis::CloudtasksV2beta2::PullTasksRequest::Representation - command.request_object = pull_tasks_request_object - command.response_representation = Google::Apis::CloudtasksV2beta2::PullTasksResponse::Representation - command.response_class = Google::Apis::CloudtasksV2beta2::PullTasksResponse - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Renew the current lease of a pull task. - # The pull worker can use this method to extend the lease by a new + # The worker can use this method to extend the lease by a new # duration, starting from now. The new task lease will be # returned in Task.schedule_time. # @param [String] name diff --git a/generated/google/apis/dataflow_v1b3.rb b/generated/google/apis/dataflow_v1b3.rb index 5c865d67f..9e1ed9661 100644 --- a/generated/google/apis/dataflow_v1b3.rb +++ b/generated/google/apis/dataflow_v1b3.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/dataflow module DataflowV1b3 VERSION = 'V1b3' - REVISION = '20171031' + REVISION = '20171222' # 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/dataflow_v1b3/classes.rb b/generated/google/apis/dataflow_v1b3/classes.rb index a69e56c4d..3f431831a 100644 --- a/generated/google/apis/dataflow_v1b3/classes.rb +++ b/generated/google/apis/dataflow_v1b3/classes.rb @@ -2937,6 +2937,11 @@ module Google class RuntimeEnvironment include Google::Apis::Core::Hashable + # Additional experiment flags for the job. + # Corresponds to the JSON property `additionalExperiments` + # @return [Array] + attr_accessor :additional_experiments + # Whether to bypass the safety checks for the job's temporary directory. # Use with caution. # Corresponds to the JSON property `bypassTempDirValidation` @@ -2980,6 +2985,7 @@ module Google # Update properties of this object def update!(**args) + @additional_experiments = args[:additional_experiments] if args.key?(:additional_experiments) @bypass_temp_dir_validation = args[:bypass_temp_dir_validation] if args.key?(:bypass_temp_dir_validation) @machine_type = args[:machine_type] if args.key?(:machine_type) @max_workers = args[:max_workers] if args.key?(:max_workers) diff --git a/generated/google/apis/dataflow_v1b3/representations.rb b/generated/google/apis/dataflow_v1b3/representations.rb index 03c5c5a50..1ae55bd20 100644 --- a/generated/google/apis/dataflow_v1b3/representations.rb +++ b/generated/google/apis/dataflow_v1b3/representations.rb @@ -1554,6 +1554,7 @@ module Google class RuntimeEnvironment # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :additional_experiments, as: 'additionalExperiments' property :bypass_temp_dir_validation, as: 'bypassTempDirValidation' property :machine_type, as: 'machineType' property :max_workers, as: 'maxWorkers' diff --git a/generated/google/apis/firebasedynamiclinks_v1.rb b/generated/google/apis/firebasedynamiclinks_v1.rb index a677a3bce..1daa6accb 100644 --- a/generated/google/apis/firebasedynamiclinks_v1.rb +++ b/generated/google/apis/firebasedynamiclinks_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://firebase.google.com/docs/dynamic-links/ module FirebasedynamiclinksV1 VERSION = 'V1' - REVISION = '20171108' + REVISION = '20180102' # View and administer all your Firebase data and settings AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase' diff --git a/generated/google/apis/firebasedynamiclinks_v1/classes.rb b/generated/google/apis/firebasedynamiclinks_v1/classes.rb index 889e1ba69..aa506d690 100644 --- a/generated/google/apis/firebasedynamiclinks_v1/classes.rb +++ b/generated/google/apis/firebasedynamiclinks_v1/classes.rb @@ -186,6 +186,12 @@ module Google # @return [String] attr_accessor :language_code + # Device language code setting obtained by executing JavaScript code in + # WebView. + # Corresponds to the JSON property `languageCodeFromWebview` + # @return [String] + attr_accessor :language_code_from_webview + # Device language code raw setting. # iOS does returns language code in different format than iOS WebView. # For example WebView returns en_US, but iOS returns en-US. @@ -217,6 +223,7 @@ module Google def update!(**args) @device_model_name = args[:device_model_name] if args.key?(:device_model_name) @language_code = args[:language_code] if args.key?(:language_code) + @language_code_from_webview = args[:language_code_from_webview] if args.key?(:language_code_from_webview) @language_code_raw = args[:language_code_raw] if args.key?(:language_code_raw) @screen_resolution_height = args[:screen_resolution_height] if args.key?(:screen_resolution_height) @screen_resolution_width = args[:screen_resolution_width] if args.key?(:screen_resolution_width) diff --git a/generated/google/apis/firebasedynamiclinks_v1/representations.rb b/generated/google/apis/firebasedynamiclinks_v1/representations.rb index eaf5888e1..ca82c8574 100644 --- a/generated/google/apis/firebasedynamiclinks_v1/representations.rb +++ b/generated/google/apis/firebasedynamiclinks_v1/representations.rb @@ -183,6 +183,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :device_model_name, as: 'deviceModelName' property :language_code, as: 'languageCode' + property :language_code_from_webview, as: 'languageCodeFromWebview' property :language_code_raw, as: 'languageCodeRaw' property :screen_resolution_height, :numeric_string => true, as: 'screenResolutionHeight' property :screen_resolution_width, :numeric_string => true, as: 'screenResolutionWidth' diff --git a/generated/google/apis/iam_v1.rb b/generated/google/apis/iam_v1.rb index 92cf09340..da629c005 100644 --- a/generated/google/apis/iam_v1.rb +++ b/generated/google/apis/iam_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/iam/ module IamV1 VERSION = 'V1' - REVISION = '20171214' + REVISION = '20171228' # 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/iam_v1/classes.rb b/generated/google/apis/iam_v1/classes.rb index 70610201f..e9e22d348 100644 --- a/generated/google/apis/iam_v1/classes.rb +++ b/generated/google/apis/iam_v1/classes.rb @@ -379,7 +379,7 @@ module Google # ] # ` # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). + # [IAM developer's guide](https://cloud.google.com/iam/docs). class Policy include Google::Apis::Core::Hashable @@ -403,7 +403,7 @@ module Google # @return [String] attr_accessor :etag - # Version of the `Policy`. The default version is 0. + # Deprecated. # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -816,7 +816,7 @@ module Google # ] # ` # For a description of IAM and its features, see the - # [IAM developer's guide](https://cloud.google.com/iam). + # [IAM developer's guide](https://cloud.google.com/iam/docs). # Corresponds to the JSON property `policy` # @return [Google::Apis::IamV1::Policy] attr_accessor :policy diff --git a/generated/google/apis/storage_v1/service.rb b/generated/google/apis/storage_v1/service.rb index 19cf40f73..1d8c3cdfe 100644 --- a/generated/google/apis/storage_v1/service.rb +++ b/generated/google/apis/storage_v1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'storage/v1/') - @batch_path = 'batch' + @batch_path = 'batch/storage/v1' end # Permanently deletes the ACL entry for the specified entity on the specified diff --git a/generated/google/apis/storage_v1beta1.rb b/generated/google/apis/storage_v1beta1.rb index d32c9488d..c6baf1945 100644 --- a/generated/google/apis/storage_v1beta1.rb +++ b/generated/google/apis/storage_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/storage/docs/json_api/ module StorageV1beta1 VERSION = 'V1beta1' - REVISION = '20170830' + REVISION = '20171212' # Manage your data and permissions in Google Cloud Storage AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control' diff --git a/generated/google/apis/storage_v1beta1/service.rb b/generated/google/apis/storage_v1beta1/service.rb index f0dc2760b..d1471142b 100644 --- a/generated/google/apis/storage_v1beta1/service.rb +++ b/generated/google/apis/storage_v1beta1/service.rb @@ -50,7 +50,7 @@ module Google def initialize super('https://www.googleapis.com/', 'storage/v1beta1/') - @batch_path = 'batch' + @batch_path = 'batch/storage/v1beta1' end # Deletes the ACL entry for the specified entity on the specified bucket.