diff --git a/api_names.yaml b/api_names.yaml index cc3f4d3c8..66a16762a 100644 --- a/api_names.yaml +++ b/api_names.yaml @@ -334,7 +334,9 @@ "/calendar:v3/CalendarNotification/method": delivery_method "/calendar:v3/Event/gadget/display": display_mode "/calendar:v3/EventReminder/method": reminder_method -"/civicinfo:v2/DivisionSearchResponse": search_division_response +"/calendar:v3/calendar.events.instances": list_event_instances +"/calendar:v3/calendar.events.quickAdd": quick_add_event +/civicinfo:v2/DivisionSearchResponse": search_division_response "/civicinfo:v2/ElectionsQueryResponse": query_elections_response "/civicinfo:v2/civicinfo.divisions.search": search_divisions "/civicinfo:v2/civicinfo.elections.electionQuery": query_election @@ -783,6 +785,7 @@ "/genomics:v1/genomics.variantsets.search": search_variant_sets "/genomics:v1/genomics.referencesets.search": search_reference_sets "/gmail:v1/gmail.users.getProfile": get_user_profile +"/groupssettings:v1?force_alt_json" : true "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest": create_auth_uri_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest": delete_account_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest": download_account_request @@ -807,8 +810,13 @@ "/identitytoolkit:v3/identitytoolkit.relyingparty.verifyAssertion": verify_assertion "/identitytoolkit:v3/identitytoolkit.relyingparty.verifyPassword": verify_password "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse": get_project_config_response -"/licensing:v1/licensing.licenseAssignments.listForProduct": list_license_assignment_for_product -"/licensing:v1/licensing.licenseAssignments.listForProductAndSku": list_license_assignment_for_product_and_sku +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest": sign_out_user_request +"/identitytoolkit:v3/identitytoolkit.relyingparty.signOutUser": sign_out_user +"/identitytoolkit:v3/identitytoolkit.relyingparty.verifyCustomToken": verify_custom_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserResponse": sign_out_user_response +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest": verify_custom_token_request +"/licensing:v1/licensing.licenseAssignments.listForProduct": list_license_assignments_for_product +"/licensing:v1/licensing.licenseAssignments.listForProductAndSku": list_license_assignments_for_product_and_sku "/logging:v1beta3/logging.projects.logServices.indexes.list": list_log_service_indexes "/logging:v1beta3/logging.projects.logServices.list": list_log_services "/logging:v1beta3/logging.projects.logServices.sinks.create": create_log_service_sink diff --git a/api_names_out.yaml b/api_names_out.yaml index f43f9a952..037633420 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -334,7 +334,9 @@ "/calendar:v3/CalendarNotification/method": delivery_method "/calendar:v3/Event/gadget/display": display_mode "/calendar:v3/EventReminder/method": reminder_method -"/civicinfo:v2/DivisionSearchResponse": search_division_response +"/calendar:v3/calendar.events.instances": list_event_instances +"/calendar:v3/calendar.events.quickAdd": quick_add_event +/civicinfo:v2/DivisionSearchResponse": search_division_response "/civicinfo:v2/ElectionsQueryResponse": query_elections_response "/civicinfo:v2/civicinfo.divisions.search": search_divisions "/civicinfo:v2/civicinfo.elections.electionQuery": query_election @@ -759,6 +761,7 @@ "/genomics:v1/genomics.variantsets.search": search_variant_sets "/genomics:v1/genomics.referencesets.search": search_reference_sets "/gmail:v1/gmail.users.getProfile": get_user_profile +"/groupssettings:v1?force_alt_json": true "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest": create_auth_uri_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest": delete_account_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest": download_account_request @@ -783,8 +786,13 @@ "/identitytoolkit:v3/identitytoolkit.relyingparty.verifyAssertion": verify_assertion "/identitytoolkit:v3/identitytoolkit.relyingparty.verifyPassword": verify_password "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse": get_project_config_response -"/licensing:v1/licensing.licenseAssignments.listForProduct": list_license_assignment_for_product -"/licensing:v1/licensing.licenseAssignments.listForProductAndSku": list_license_assignment_for_product_and_sku +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest": sign_out_user_request +"/identitytoolkit:v3/identitytoolkit.relyingparty.signOutUser": sign_out_user +"/identitytoolkit:v3/identitytoolkit.relyingparty.verifyCustomToken": verify_custom_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserResponse": sign_out_user_response +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest": verify_custom_token_request +"/licensing:v1/licensing.licenseAssignments.listForProduct": list_license_assignments_for_product +"/licensing:v1/licensing.licenseAssignments.listForProductAndSku": list_license_assignments_for_product_and_sku "/logging:v1beta3/logging.projects.logServices.indexes.list": list_log_service_indexes "/logging:v1beta3/logging.projects.logServices.list": list_log_services "/logging:v1beta3/logging.projects.logServices.sinks.create": create_log_service_sink @@ -6084,6 +6092,7 @@ "/androidenterprise:v1/Product/iconUrl": icon_url "/androidenterprise:v1/Product/kind": kind "/androidenterprise:v1/Product/productId": product_id +"/androidenterprise:v1/Product/productPricing": product_pricing "/androidenterprise:v1/Product/requiresContainerApp": requires_container_app "/androidenterprise:v1/Product/title": title "/androidenterprise:v1/Product/workDetailsUrl": work_details_url @@ -6430,8 +6439,13 @@ "/androidpublisher:v2/ProductPurchase/kind": kind "/androidpublisher:v2/ProductPurchase/purchaseState": purchase_state "/androidpublisher:v2/ProductPurchase/purchaseTimeMillis": purchase_time_millis +"/androidpublisher:v2/Prorate": prorate +"/androidpublisher:v2/Prorate/defaultPrice": default_price +"/androidpublisher:v2/Prorate/start": start "/androidpublisher:v2/Season": season "/androidpublisher:v2/Season/end": end +"/androidpublisher:v2/Season/prorations": prorations +"/androidpublisher:v2/Season/prorations/proration": proration "/androidpublisher:v2/Season/start": start "/androidpublisher:v2/SubscriptionDeferralInfo": subscription_deferral_info "/androidpublisher:v2/SubscriptionDeferralInfo/desiredExpiryTimeMillis": desired_expiry_time_millis @@ -8250,7 +8264,6 @@ "/calendar:v3/calendar.events.insert/maxAttendees": max_attendees "/calendar:v3/calendar.events.insert/sendNotifications": send_notifications "/calendar:v3/calendar.events.insert/supportsAttachments": supports_attachments -"/calendar:v3/calendar.events.instances": instances_event "/calendar:v3/calendar.events.instances/alwaysIncludeEmail": always_include_email "/calendar:v3/calendar.events.instances/calendarId": calendar_id "/calendar:v3/calendar.events.instances/eventId": event_id @@ -8293,7 +8306,6 @@ "/calendar:v3/calendar.events.patch/maxAttendees": max_attendees "/calendar:v3/calendar.events.patch/sendNotifications": send_notifications "/calendar:v3/calendar.events.patch/supportsAttachments": supports_attachments -"/calendar:v3/calendar.events.quickAdd": quick_event_add "/calendar:v3/calendar.events.quickAdd/calendarId": calendar_id "/calendar:v3/calendar.events.quickAdd/sendNotifications": send_notifications "/calendar:v3/calendar.events.quickAdd/text": text @@ -8641,6 +8653,7 @@ "/civicinfo:v2/Contest/sources/source": source "/civicinfo:v2/Contest/special": special "/civicinfo:v2/Contest/type": type +"/civicinfo:v2/DivisionSearchResponse": division_search_response "/civicinfo:v2/DivisionSearchResponse/kind": kind "/civicinfo:v2/DivisionSearchResponse/results": results "/civicinfo:v2/DivisionSearchResponse/results/result": result @@ -20209,6 +20222,7 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/email": email "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/emailVerified": email_verified "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/idToken": id_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/instanceId": instance_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/localId": local_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/oobCode": oob_code "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/password": password @@ -20216,6 +20230,9 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/provider/provider": provider "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/upgradeToFederatedLogin": upgrade_to_federated_login "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/validSince": valid_since +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest/instanceId": instance_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest/localId": local_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserResponse/localId": local_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/hashAlgorithm": hash_algorithm "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/memoryCost": memory_cost "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/rounds": rounds @@ -20223,14 +20240,18 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/signerKey": signer_key "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/users": users "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/users/user": user +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/instanceId": instance_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/pendingIdToken": pending_id_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/postBody": post_body "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/requestUri": request_uri "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/returnRefreshToken": return_refresh_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/sessionId": session_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/instanceId": instance_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/token": token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/captchaChallenge": captcha_challenge "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/captchaResponse": captcha_response "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/email": email +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/instanceId": instance_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/password": password "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/pendingIdToken": pending_id_token "/identitytoolkit:v3/IdpConfig": idp_config @@ -20318,6 +20339,9 @@ "/identitytoolkit:v3/VerifyAssertionResponse/timeZone": time_zone "/identitytoolkit:v3/VerifyAssertionResponse/verifiedProvider": verified_provider "/identitytoolkit:v3/VerifyAssertionResponse/verifiedProvider/verified_provider": verified_provider +"/identitytoolkit:v3/VerifyCustomTokenResponse": verify_custom_token_response +"/identitytoolkit:v3/VerifyCustomTokenResponse/idToken": id_token +"/identitytoolkit:v3/VerifyCustomTokenResponse/kind": kind "/identitytoolkit:v3/VerifyPasswordResponse": verify_password_response "/identitytoolkit:v3/VerifyPasswordResponse/displayName": display_name "/identitytoolkit:v3/VerifyPasswordResponse/email": email diff --git a/generated/google/apis/adsense_v1_4.rb b/generated/google/apis/adsense_v1_4.rb index 80dc58c7a..8aec063c4 100644 --- a/generated/google/apis/adsense_v1_4.rb +++ b/generated/google/apis/adsense_v1_4.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/adsense/management/ module AdsenseV1_4 VERSION = 'V1_4' - REVISION = '20151206' + REVISION = '20160112' # View and manage your AdSense data AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense' diff --git a/generated/google/apis/adsensehost_v4_1.rb b/generated/google/apis/adsensehost_v4_1.rb index 51e8a8926..1683f5b0a 100644 --- a/generated/google/apis/adsensehost_v4_1.rb +++ b/generated/google/apis/adsensehost_v4_1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/adsense/host/ module AdsensehostV4_1 VERSION = 'V4_1' - REVISION = '20151206' + REVISION = '20160112' # View and manage your AdSense host data and associated accounts AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost' diff --git a/generated/google/apis/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb index ccd94193c..44396b900 100644 --- a/generated/google/apis/androidenterprise_v1.rb +++ b/generated/google/apis/androidenterprise_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/android/work/play/emm-api module AndroidenterpriseV1 VERSION = 'V1' - REVISION = '20151215' + REVISION = '20160106' # Manage corporate Android devices AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise' diff --git a/generated/google/apis/androidenterprise_v1/classes.rb b/generated/google/apis/androidenterprise_v1/classes.rb index 5176b1b27..3b00e5283 100644 --- a/generated/google/apis/androidenterprise_v1/classes.rb +++ b/generated/google/apis/androidenterprise_v1/classes.rb @@ -979,6 +979,11 @@ module Google # @return [String] attr_accessor :product_id + # Whether this product is free, free with in-app purchases, or paid. + # Corresponds to the JSON property `productPricing` + # @return [String] + attr_accessor :product_pricing + # Whether this app can only be installed on devices using the Android for Work # container app. # Corresponds to the JSON property `requiresContainerApp` @@ -1010,6 +1015,7 @@ module Google @icon_url = args[:icon_url] unless args[:icon_url].nil? @kind = args[:kind] unless args[:kind].nil? @product_id = args[:product_id] unless args[:product_id].nil? + @product_pricing = args[:product_pricing] unless args[:product_pricing].nil? @requires_container_app = args[:requires_container_app] unless args[:requires_container_app].nil? @title = args[:title] unless args[:title].nil? @work_details_url = args[:work_details_url] unless args[:work_details_url].nil? diff --git a/generated/google/apis/androidenterprise_v1/representations.rb b/generated/google/apis/androidenterprise_v1/representations.rb index 2f7fbb75f..529424f27 100644 --- a/generated/google/apis/androidenterprise_v1/representations.rb +++ b/generated/google/apis/androidenterprise_v1/representations.rb @@ -410,6 +410,7 @@ module Google property :icon_url, as: 'iconUrl' property :kind, as: 'kind' property :product_id, as: 'productId' + property :product_pricing, as: 'productPricing' property :requires_container_app, as: 'requiresContainerApp' property :title, as: 'title' property :work_details_url, as: 'workDetailsUrl' diff --git a/generated/google/apis/androidpublisher_v2.rb b/generated/google/apis/androidpublisher_v2.rb index 55edf5fe9..3becab49d 100644 --- a/generated/google/apis/androidpublisher_v2.rb +++ b/generated/google/apis/androidpublisher_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV2 VERSION = 'V2' - REVISION = '20150910' + REVISION = '20160111' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v2/classes.rb b/generated/google/apis/androidpublisher_v2/classes.rb index 2b4d738b4..3b2e64368 100644 --- a/generated/google/apis/androidpublisher_v2/classes.rb +++ b/generated/google/apis/androidpublisher_v2/classes.rb @@ -644,7 +644,8 @@ module Google attr_accessor :status # Subscription period, specified in ISO 8601 format. Acceptable values are "P1W" - # (one week), "P1M" (one month) and "P1Y" (one year). + # (one week), "P1M" (one month), "P3M" (three months), "P6M" (six months), and " + # P1Y" (one year). # Corresponds to the JSON property `subscriptionPeriod` # @return [String] attr_accessor :subscription_period @@ -1130,6 +1131,34 @@ module Google end end + # + class Prorate + include Google::Apis::Core::Hashable + + # Default price cannot be zero and must be less than the full subscription price. + # Default price is always in the developer's Checkout merchant currency. + # Targeted countries have their prices set automatically based on the + # default_price. + # Corresponds to the JSON property `defaultPrice` + # @return [Google::Apis::AndroidpublisherV2::Price] + attr_accessor :default_price + + # Defines the first day on which the price takes effect. + # Corresponds to the JSON property `start` + # @return [Google::Apis::AndroidpublisherV2::MonthDay] + attr_accessor :start + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default_price = args[:default_price] unless args[:default_price].nil? + @start = args[:start] unless args[:start].nil? + end + end + # class Season include Google::Apis::Core::Hashable @@ -1139,6 +1168,13 @@ module Google # @return [Google::Apis::AndroidpublisherV2::MonthDay] attr_accessor :end + # Optionally present list of prorations for the season. Each proration is a one- + # off discounted entry into a subscription. Each proration contains the first + # date on which the discount is available and the new pricing information. + # Corresponds to the JSON property `prorations` + # @return [Array] + attr_accessor :prorations + # Inclusive start date of the recurrence period. # Corresponds to the JSON property `start` # @return [Google::Apis::AndroidpublisherV2::MonthDay] @@ -1151,6 +1187,7 @@ module Google # Update properties of this object def update!(**args) @end = args[:end] unless args[:end].nil? + @prorations = args[:prorations] unless args[:prorations].nil? @start = args[:start] unless args[:start].nil? end end diff --git a/generated/google/apis/androidpublisher_v2/representations.rb b/generated/google/apis/androidpublisher_v2/representations.rb index 09091895c..a8f6f9df1 100644 --- a/generated/google/apis/androidpublisher_v2/representations.rb +++ b/generated/google/apis/androidpublisher_v2/representations.rb @@ -166,6 +166,10 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation; end end + class Prorate + class Representation < Google::Apis::Core::JsonRepresentation; end + end + class Season class Representation < Google::Apis::Core::JsonRepresentation; end end @@ -549,11 +553,23 @@ module Google end end + class Prorate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default_price, as: 'defaultPrice', class: Google::Apis::AndroidpublisherV2::Price, decorator: Google::Apis::AndroidpublisherV2::Price::Representation + + property :start, as: 'start', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation + + end + end + class Season # @private class Representation < Google::Apis::Core::JsonRepresentation property :end, as: 'end', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation + collection :prorations, as: 'prorations', class: Google::Apis::AndroidpublisherV2::Prorate, decorator: Google::Apis::AndroidpublisherV2::Prorate::Representation + property :start, as: 'start', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation end diff --git a/generated/google/apis/appsactivity_v1.rb b/generated/google/apis/appsactivity_v1.rb index 02f08dcd7..b4750d5e1 100644 --- a/generated/google/apis/appsactivity_v1.rb +++ b/generated/google/apis/appsactivity_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/activity/ module AppsactivityV1 VERSION = 'V1' - REVISION = '20150417' + REVISION = '20150723' # View the activity history of your Google Apps AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity' diff --git a/generated/google/apis/appstate_v1.rb b/generated/google/apis/appstate_v1.rb index 185819a99..a5cfa642f 100644 --- a/generated/google/apis/appstate_v1.rb +++ b/generated/google/apis/appstate_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services/web/api/states module AppstateV1 VERSION = 'V1' - REVISION = '20151214' + REVISION = '20160107' # View and manage your data for this application AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate' diff --git a/generated/google/apis/calendar_v3/service.rb b/generated/google/apis/calendar_v3/service.rb index 12eed126f..c32c3fd2e 100644 --- a/generated/google/apis/calendar_v3/service.rb +++ b/generated/google/apis/calendar_v3/service.rb @@ -1267,7 +1267,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 instances_event(calendar_id, event_id, always_include_email: nil, max_attendees: nil, max_results: nil, original_start: nil, page_token: nil, show_deleted: nil, time_max: nil, time_min: nil, time_zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_event_instances(calendar_id, event_id, always_include_email: nil, max_attendees: nil, max_results: nil, original_start: nil, page_token: nil, show_deleted: nil, time_max: nil, time_min: nil, time_zone: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'calendars/{calendarId}/events/{eventId}/instances', options) command.response_representation = Google::Apis::CalendarV3::Events::Representation command.response_class = Google::Apis::CalendarV3::Events @@ -1566,7 +1566,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 quick_event_add(calendar_id, text, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def quick_add_event(calendar_id, text, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'calendars/{calendarId}/events/quickAdd', options) command.response_representation = Google::Apis::CalendarV3::Event::Representation command.response_class = Google::Apis::CalendarV3::Event diff --git a/generated/google/apis/civicinfo_v2/classes.rb b/generated/google/apis/civicinfo_v2/classes.rb index 64e910915..9f309ba79 100644 --- a/generated/google/apis/civicinfo_v2/classes.rb +++ b/generated/google/apis/civicinfo_v2/classes.rb @@ -436,7 +436,7 @@ module Google end # The result of a division search query. - class SearchDivisionResponse + class DivisionSearchResponse include Google::Apis::Core::Hashable # Identifies what kind of resource this is. Value: the fixed string "civicinfo# diff --git a/generated/google/apis/civicinfo_v2/representations.rb b/generated/google/apis/civicinfo_v2/representations.rb index f3cf64ae2..fc578adf2 100644 --- a/generated/google/apis/civicinfo_v2/representations.rb +++ b/generated/google/apis/civicinfo_v2/representations.rb @@ -42,7 +42,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation; end end - class SearchDivisionResponse + class DivisionSearchResponse class Representation < Google::Apis::Core::JsonRepresentation; end end @@ -194,7 +194,7 @@ module Google end end - class SearchDivisionResponse + class DivisionSearchResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' diff --git a/generated/google/apis/civicinfo_v2/service.rb b/generated/google/apis/civicinfo_v2/service.rb index 61b9d8010..8324937cd 100644 --- a/generated/google/apis/civicinfo_v2/service.rb +++ b/generated/google/apis/civicinfo_v2/service.rb @@ -71,18 +71,18 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CivicinfoV2::SearchDivisionResponse] parsed result object + # @yieldparam result [Google::Apis::CivicinfoV2::DivisionSearchResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CivicinfoV2::SearchDivisionResponse] + # @return [Google::Apis::CivicinfoV2::DivisionSearchResponse] # # @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 search_divisions(query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'divisions', options) - command.response_representation = Google::Apis::CivicinfoV2::SearchDivisionResponse::Representation - command.response_class = Google::Apis::CivicinfoV2::SearchDivisionResponse + command.response_representation = Google::Apis::CivicinfoV2::DivisionSearchResponse::Representation + command.response_class = Google::Apis::CivicinfoV2::DivisionSearchResponse command.query['query'] = query unless query.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? diff --git a/generated/google/apis/cloudmonitoring_v2beta2.rb b/generated/google/apis/cloudmonitoring_v2beta2.rb index 40f0d3324..25e56a5c6 100644 --- a/generated/google/apis/cloudmonitoring_v2beta2.rb +++ b/generated/google/apis/cloudmonitoring_v2beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/monitoring/v2beta2/ module CloudmonitoringV2beta2 VERSION = 'V2beta2' - REVISION = '20160105' + REVISION = '20160110' # 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/cloudresourcemanager_v1beta1.rb b/generated/google/apis/cloudresourcemanager_v1beta1.rb index e8490f993..e03d3887f 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/resource-manager module CloudresourcemanagerV1beta1 VERSION = 'V1beta1' - REVISION = '20151211' + REVISION = '20160112' # 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/cloudresourcemanager_v1beta1/classes.rb b/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb index c520ebbda..f8ffbaee0 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb @@ -303,7 +303,8 @@ module Google include Google::Apis::Core::Hashable # The set of permissions to check for the `resource`. Permissions with wildcards - # (such as '*' or 'storage.*') are not allowed. + # (such as '*' or 'storage.*') are not allowed. For more information see IAM + # Overview. # Corresponds to the JSON property `permissions` # @return [Array] attr_accessor :permissions diff --git a/generated/google/apis/cloudresourcemanager_v1beta1/service.rb b/generated/google/apis/cloudresourcemanager_v1beta1/service.rb index baf2763e9..1f8bbe226 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1/service.rb @@ -273,9 +273,9 @@ module Google # Returns the IAM access control policy for the specified Project. Permission is # denied if the policy or the resource does not exist. # @param [String] resource - # REQUIRED: The resource for which policy is being requested. `resource` is - # usually specified as a path, such as, `projects/`project`/zones/`zone`/disks/` - # disk``. The format for the path specified in this value is resource specific + # REQUIRED: The resource for which the policy is being requested. `resource` is + # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/* + # disk*`. The format for the path specified in this value is resource specific # and is specified in the `getIamPolicy` documentation. # @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object # @param [String] fields @@ -321,9 +321,9 @@ module Google # understand how the service account is being used before removing or updating # its roles. # @param [String] resource - # REQUIRED: The resource for which policy is being specified. `resource` is - # usually specified as a path, such as, `projects/`project`/zones/`zone`/disks/` - # disk``. The format for the path specified in this value is resource specific + # REQUIRED: The resource for which the policy is being specified. `resource` is + # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/* + # disk*`. The format for the path specified in this value is resource specific # and is specified in the `setIamPolicy` documentation. # @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object # @param [String] fields @@ -357,10 +357,10 @@ module Google # Returns permissions that a caller has on the specified Project. # @param [String] resource - # REQUIRED: The resource for which policy detail is being requested. `resource` - # is usually specified as a path, such as, `projects/`project`/zones/`zone`/ - # disks/`disk``. The format for the path specified in this value is resource - # specific and is specified in the `testIamPermissions` documentation. rpc. + # REQUIRED: The resource for which the policy detail is being requested. ` + # resource` is usually specified as a path, such as `projects/*project*/zones/* + # zone*/disks/*disk*`. The format for the path specified in this value is + # resource specific and is specified in the `testIamPermissions` documentation. # @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -504,9 +504,9 @@ module Google # Sets the access control policy on an Organization resource. Replaces any # existing policy. # @param [String] resource - # REQUIRED: The resource for which policy is being specified. `resource` is - # usually specified as a path, such as, `projects/`project`/zones/`zone`/disks/` - # disk``. The format for the path specified in this value is resource specific + # REQUIRED: The resource for which the policy is being specified. `resource` is + # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/* + # disk*`. The format for the path specified in this value is resource specific # and is specified in the `setIamPolicy` documentation. # @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object # @param [String] fields @@ -541,9 +541,9 @@ module Google # Gets the access control policy for an Organization resource. May be empty if # no such policy or resource exists. # @param [String] resource - # REQUIRED: The resource for which policy is being requested. `resource` is - # usually specified as a path, such as, `projects/`project`/zones/`zone`/disks/` - # disk``. The format for the path specified in this value is resource specific + # REQUIRED: The resource for which the policy is being requested. `resource` is + # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/* + # disk*`. The format for the path specified in this value is resource specific # and is specified in the `getIamPolicy` documentation. # @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object # @param [String] fields @@ -577,10 +577,10 @@ module Google # Returns permissions that a caller has on the specified Organization. # @param [String] resource - # REQUIRED: The resource for which policy detail is being requested. `resource` - # is usually specified as a path, such as, `projects/`project`/zones/`zone`/ - # disks/`disk``. The format for the path specified in this value is resource - # specific and is specified in the `testIamPermissions` documentation. rpc. + # REQUIRED: The resource for which the policy detail is being requested. ` + # resource` is usually specified as a path, such as `projects/*project*/zones/* + # zone*/disks/*disk*`. The format for the path specified in this value is + # resource specific and is specified in the `testIamPermissions` documentation. # @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb index aeee05da8..3626e03fd 100644 --- a/generated/google/apis/compute_beta.rb +++ b/generated/google/apis/compute_beta.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeBeta VERSION = 'Beta' - REVISION = '20151208' + REVISION = '20160107' # 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/compute_v1.rb b/generated/google/apis/compute_v1.rb index 38e5605b1..c6edb45b9 100644 --- a/generated/google/apis/compute_v1.rb +++ b/generated/google/apis/compute_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeV1 VERSION = 'V1' - REVISION = '20151208' + REVISION = '20160107' # 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/customsearch_v1.rb b/generated/google/apis/customsearch_v1.rb index 1b39b7662..8c84d2a3a 100644 --- a/generated/google/apis/customsearch_v1.rb +++ b/generated/google/apis/customsearch_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/custom-search/v1/using_rest module CustomsearchV1 VERSION = 'V1' - REVISION = '20131205' + REVISION = '20151130' end end end diff --git a/generated/google/apis/deploymentmanager_v2.rb b/generated/google/apis/deploymentmanager_v2.rb index ae01ed092..dfad96c27 100644 --- a/generated/google/apis/deploymentmanager_v2.rb +++ b/generated/google/apis/deploymentmanager_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/deployment-manager/ module DeploymentmanagerV2 VERSION = 'V2' - REVISION = '20151213' + REVISION = '20160104' # 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/deploymentmanager_v2/classes.rb b/generated/google/apis/deploymentmanager_v2/classes.rb index f069a0238..4b8970c99 100644 --- a/generated/google/apis/deploymentmanager_v2/classes.rb +++ b/generated/google/apis/deploymentmanager_v2/classes.rb @@ -374,7 +374,8 @@ module Google attr_accessor :http_error_message # [Output Only] If the operation fails, this field contains the HTTP error - # message that was returned. For example, a 404 means the resource was not found. + # status code that was returned. For example, a 404 means the resource was not + # found. # Corresponds to the JSON property `httpErrorStatusCode` # @return [Fixnum] attr_accessor :http_error_status_code diff --git a/generated/google/apis/doubleclicksearch_v2.rb b/generated/google/apis/doubleclicksearch_v2.rb index a1f5d2cc1..8db55535b 100644 --- a/generated/google/apis/doubleclicksearch_v2.rb +++ b/generated/google/apis/doubleclicksearch_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/doubleclick-search/ module DoubleclicksearchV2 VERSION = 'V2' - REVISION = '20151230' + REVISION = '20160108' # View and manage your advertising data in DoubleClick Search AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch' diff --git a/generated/google/apis/games_configuration_v1configuration.rb b/generated/google/apis/games_configuration_v1configuration.rb index a61bafafc..72aef6374 100644 --- a/generated/google/apis/games_configuration_v1configuration.rb +++ b/generated/google/apis/games_configuration_v1configuration.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services module GamesConfigurationV1configuration VERSION = 'V1configuration' - REVISION = '20151215' + REVISION = '20160106' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/games_management_v1management.rb b/generated/google/apis/games_management_v1management.rb index 8fb898169..281b8aec6 100644 --- a/generated/google/apis/games_management_v1management.rb +++ b/generated/google/apis/games_management_v1management.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services module GamesManagementV1management VERSION = 'V1management' - REVISION = '20151215' + REVISION = '20160106' # Share your Google+ profile information and view and manage your game activity AUTH_GAMES = 'https://www.googleapis.com/auth/games' diff --git a/generated/google/apis/games_v1.rb b/generated/google/apis/games_v1.rb index c8b451fc3..c661a4761 100644 --- a/generated/google/apis/games_v1.rb +++ b/generated/google/apis/games_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services/ module GamesV1 VERSION = 'V1' - REVISION = '20151215' + REVISION = '20160106' # View and manage its own configuration data in your Google Drive AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata' diff --git a/generated/google/apis/genomics_v1.rb b/generated/google/apis/genomics_v1.rb index 5eb1a7021..7a1ca2ab3 100644 --- a/generated/google/apis/genomics_v1.rb +++ b/generated/google/apis/genomics_v1.rb @@ -28,7 +28,7 @@ module Google # @see module GenomicsV1 VERSION = 'V1' - REVISION = '20151219' + REVISION = '20160113' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/genomics_v1/service.rb b/generated/google/apis/genomics_v1/service.rb index 675c30843..c8642d00f 100644 --- a/generated/google/apis/genomics_v1/service.rb +++ b/generated/google/apis/genomics_v1/service.rb @@ -495,9 +495,9 @@ module Google # import - Tags will be converted to strings - tag types are not preserved - # Comments (`@CO`) in the input file header will not be preserved - Original # header order of references (`@SQ`) will not be preserved - Any reverse - # stranded unmapped reads will be reverse complemented, and their qualities (and - # "BQ" tag, if any) will be reversed - Unmapped reads will be stripped of - # positional information (reference name and position) + # stranded unmapped reads will be reverse complemented, and their qualities ( + # also the "BQ" and "OQ" tags, if any) will be reversed - Unmapped reads will be + # stripped of positional information (reference name and position) # @param [Google::Apis::GenomicsV1::ImportReadGroupSetsRequest] import_read_group_sets_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/groupssettings_v1/service.rb b/generated/google/apis/groupssettings_v1/service.rb index 943594d70..a9a2617e4 100644 --- a/generated/google/apis/groupssettings_v1/service.rb +++ b/generated/google/apis/groupssettings_v1/service.rb @@ -78,6 +78,7 @@ module Google # @raise [Google::Apis::AuthorizationError] Authorization is required def get_group(group_unique_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{groupUniqueId}', options) + command.query['alt'] = 'json' command.response_representation = Google::Apis::GroupssettingsV1::Groups::Representation command.response_class = Google::Apis::GroupssettingsV1::Groups command.params['groupUniqueId'] = group_unique_id unless group_unique_id.nil? @@ -116,6 +117,7 @@ module Google command = make_simple_command(:patch, '{groupUniqueId}', options) command.request_representation = Google::Apis::GroupssettingsV1::Groups::Representation command.request_object = groups_object + command.query['alt'] = 'json' command.response_representation = Google::Apis::GroupssettingsV1::Groups::Representation command.response_class = Google::Apis::GroupssettingsV1::Groups command.params['groupUniqueId'] = group_unique_id unless group_unique_id.nil? @@ -154,6 +156,7 @@ module Google command = make_simple_command(:put, '{groupUniqueId}', options) command.request_representation = Google::Apis::GroupssettingsV1::Groups::Representation command.request_object = groups_object + command.query['alt'] = 'json' command.response_representation = Google::Apis::GroupssettingsV1::Groups::Representation command.response_class = Google::Apis::GroupssettingsV1::Groups command.params['groupUniqueId'] = group_unique_id unless group_unique_id.nil? diff --git a/generated/google/apis/identitytoolkit_v3.rb b/generated/google/apis/identitytoolkit_v3.rb index b8a410304..a445e7d84 100644 --- a/generated/google/apis/identitytoolkit_v3.rb +++ b/generated/google/apis/identitytoolkit_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/identity-toolkit/v3/ module IdentitytoolkitV3 VERSION = 'V3' - REVISION = '20151109' + REVISION = '20160108' end end end diff --git a/generated/google/apis/identitytoolkit_v3/classes.rb b/generated/google/apis/identitytoolkit_v3/classes.rb index db6462adf..e94de5845 100644 --- a/generated/google/apis/identitytoolkit_v3/classes.rb +++ b/generated/google/apis/identitytoolkit_v3/classes.rb @@ -488,6 +488,11 @@ module Google # @return [String] attr_accessor :id_token + # Instance id token of the app. + # Corresponds to the JSON property `instanceId` + # @return [String] + attr_accessor :instance_id + # The local ID of the user. # Corresponds to the JSON property `localId` # @return [String] @@ -532,6 +537,7 @@ module Google @email = args[:email] unless args[:email].nil? @email_verified = args[:email_verified] unless args[:email_verified].nil? @id_token = args[:id_token] unless args[:id_token].nil? + @instance_id = args[:instance_id] unless args[:instance_id].nil? @local_id = args[:local_id] unless args[:local_id].nil? @oob_code = args[:oob_code] unless args[:oob_code].nil? @password = args[:password] unless args[:password].nil? @@ -541,6 +547,50 @@ module Google end end + # Request to sign out user. + class SignOutUserRequest + include Google::Apis::Core::Hashable + + # Instance id token of the app. + # Corresponds to the JSON property `instanceId` + # @return [String] + attr_accessor :instance_id + + # The local ID of the user. + # Corresponds to the JSON property `localId` + # @return [String] + attr_accessor :local_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instance_id = args[:instance_id] unless args[:instance_id].nil? + @local_id = args[:local_id] unless args[:local_id].nil? + end + end + + # Response of signing out user. + class SignOutUserResponse + include Google::Apis::Core::Hashable + + # The local ID of the user. + # Corresponds to the JSON property `localId` + # @return [String] + attr_accessor :local_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @local_id = args[:local_id] unless args[:local_id].nil? + end + end + # Request to upload user account in batch. class UploadAccountRequest include Google::Apis::Core::Hashable @@ -594,6 +644,11 @@ module Google class VerifyAssertionRequest include Google::Apis::Core::Hashable + # Instance id token of the app. + # Corresponds to the JSON property `instanceId` + # @return [String] + attr_accessor :instance_id + # The GITKit token for the non-trusted IDP pending to be confirmed by the user. # Corresponds to the JSON property `pendingIdToken` # @return [String] @@ -627,6 +682,7 @@ module Google # Update properties of this object def update!(**args) + @instance_id = args[:instance_id] unless args[:instance_id].nil? @pending_id_token = args[:pending_id_token] unless args[:pending_id_token].nil? @post_body = args[:post_body] unless args[:post_body].nil? @request_uri = args[:request_uri] unless args[:request_uri].nil? @@ -635,6 +691,31 @@ module Google end end + # Request to verify a custom token + class VerifyCustomTokenRequest + include Google::Apis::Core::Hashable + + # Instance id token of the app. + # Corresponds to the JSON property `instanceId` + # @return [String] + attr_accessor :instance_id + + # The custom token to verify + # Corresponds to the JSON property `token` + # @return [String] + attr_accessor :token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instance_id = args[:instance_id] unless args[:instance_id].nil? + @token = args[:token] unless args[:token].nil? + end + end + # Request to verify the password. class VerifyPasswordRequest include Google::Apis::Core::Hashable @@ -654,6 +735,11 @@ module Google # @return [String] attr_accessor :email + # Instance id token of the app. + # Corresponds to the JSON property `instanceId` + # @return [String] + attr_accessor :instance_id + # The password inputed by the user. # Corresponds to the JSON property `password` # @return [String] @@ -673,6 +759,7 @@ module Google @captcha_challenge = args[:captcha_challenge] unless args[:captcha_challenge].nil? @captcha_response = args[:captcha_response] unless args[:captcha_response].nil? @email = args[:email] unless args[:email].nil? + @instance_id = args[:instance_id] unless args[:instance_id].nil? @password = args[:password] unless args[:password].nil? @pending_id_token = args[:pending_id_token] unless args[:pending_id_token].nil? end @@ -1274,6 +1361,31 @@ module Google end end + # Response from verifying a custom token + class VerifyCustomTokenResponse + include Google::Apis::Core::Hashable + + # The GITKit token for authenticated user. + # Corresponds to the JSON property `idToken` + # @return [String] + attr_accessor :id_token + + # The fixed string "identitytoolkit#VerifyCustomTokenResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id_token = args[:id_token] unless args[:id_token].nil? + @kind = args[:kind] unless args[:kind].nil? + end + end + # Request of verifying the password. class VerifyPasswordResponse include Google::Apis::Core::Hashable diff --git a/generated/google/apis/identitytoolkit_v3/representations.rb b/generated/google/apis/identitytoolkit_v3/representations.rb index 5b143546a..a706684b1 100644 --- a/generated/google/apis/identitytoolkit_v3/representations.rb +++ b/generated/google/apis/identitytoolkit_v3/representations.rb @@ -74,6 +74,14 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation; end end + class SignOutUserRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + end + + class SignOutUserResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + end + class UploadAccountRequest class Representation < Google::Apis::Core::JsonRepresentation; end end @@ -82,6 +90,10 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation; end end + class VerifyCustomTokenRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + end + class VerifyPasswordRequest class Representation < Google::Apis::Core::JsonRepresentation; end end @@ -126,6 +138,10 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation; end end + class VerifyCustomTokenResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + end + class VerifyPasswordResponse class Representation < Google::Apis::Core::JsonRepresentation; end end @@ -258,6 +274,7 @@ module Google property :email, as: 'email' property :email_verified, as: 'emailVerified' property :id_token, as: 'idToken' + property :instance_id, as: 'instanceId' property :local_id, as: 'localId' property :oob_code, as: 'oobCode' property :password, as: 'password' @@ -267,6 +284,21 @@ module Google end end + class SignOutUserRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :instance_id, as: 'instanceId' + property :local_id, as: 'localId' + end + end + + class SignOutUserResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :local_id, as: 'localId' + end + end + class UploadAccountRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -283,6 +315,7 @@ module Google class VerifyAssertionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :instance_id, as: 'instanceId' property :pending_id_token, as: 'pendingIdToken' property :post_body, as: 'postBody' property :request_uri, as: 'requestUri' @@ -291,12 +324,21 @@ module Google end end + class VerifyCustomTokenRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :instance_id, as: 'instanceId' + property :token, as: 'token' + end + end + class VerifyPasswordRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :captcha_challenge, as: 'captchaChallenge' property :captcha_response, as: 'captchaResponse' property :email, as: 'email' + property :instance_id, as: 'instanceId' property :password, as: 'password' property :pending_id_token, as: 'pendingIdToken' end @@ -439,6 +481,14 @@ module Google end end + class VerifyCustomTokenResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id_token, as: 'idToken' + property :kind, as: 'kind' + end + end + class VerifyPasswordResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/identitytoolkit_v3/service.rb b/generated/google/apis/identitytoolkit_v3/service.rb index 986be21a4..67b13c11a 100644 --- a/generated/google/apis/identitytoolkit_v3/service.rb +++ b/generated/google/apis/identitytoolkit_v3/service.rb @@ -393,6 +393,41 @@ module Google execute_or_queue_command(command, &block) end + # Sign out user. + # @param [Google::Apis::IdentitytoolkitV3::SignOutUserRequest] sign_out_user_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. + # 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::IdentitytoolkitV3::SignOutUserResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IdentitytoolkitV3::SignOutUserResponse] + # + # @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 sign_out_user(sign_out_user_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'signOutUser', options) + command.request_representation = Google::Apis::IdentitytoolkitV3::SignOutUserRequest::Representation + command.request_object = sign_out_user_request_object + command.response_representation = Google::Apis::IdentitytoolkitV3::SignOutUserResponse::Representation + command.response_class = Google::Apis::IdentitytoolkitV3::SignOutUserResponse + 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 + # Batch upload existing user accounts. # @param [Google::Apis::IdentitytoolkitV3::UploadAccountRequest] upload_account_request_object # @param [String] fields @@ -463,6 +498,41 @@ module Google execute_or_queue_command(command, &block) end + # Verifies the developer asserted ID token. + # @param [Google::Apis::IdentitytoolkitV3::VerifyCustomTokenRequest] verify_custom_token_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. + # 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::IdentitytoolkitV3::VerifyCustomTokenResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IdentitytoolkitV3::VerifyCustomTokenResponse] + # + # @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 verify_custom_token(verify_custom_token_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'verifyCustomToken', options) + command.request_representation = Google::Apis::IdentitytoolkitV3::VerifyCustomTokenRequest::Representation + command.request_object = verify_custom_token_request_object + command.response_representation = Google::Apis::IdentitytoolkitV3::VerifyCustomTokenResponse::Representation + command.response_class = Google::Apis::IdentitytoolkitV3::VerifyCustomTokenResponse + 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 + # Verifies the user entered password. # @param [Google::Apis::IdentitytoolkitV3::VerifyPasswordRequest] verify_password_request_object # @param [String] fields diff --git a/generated/google/apis/licensing_v1/service.rb b/generated/google/apis/licensing_v1/service.rb index f37f8f8f4..d9610ad48 100644 --- a/generated/google/apis/licensing_v1/service.rb +++ b/generated/google/apis/licensing_v1/service.rb @@ -205,7 +205,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 list_license_assignment_for_product(product_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_license_assignments_for_product(product_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{productId}/users', options) command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation command.response_class = Google::Apis::LicensingV1::LicenseAssignmentList @@ -253,7 +253,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 list_license_assignment_for_product_and_sku(product_id, sku_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_license_assignments_for_product_and_sku(product_id, sku_id, customer_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{productId}/sku/{skuId}/users', options) command.response_representation = Google::Apis::LicensingV1::LicenseAssignmentList::Representation command.response_class = Google::Apis::LicensingV1::LicenseAssignmentList diff --git a/generated/google/apis/oauth2_v2.rb b/generated/google/apis/oauth2_v2.rb index 45eea3f7b..4ecf26699 100644 --- a/generated/google/apis/oauth2_v2.rb +++ b/generated/google/apis/oauth2_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/accounts/docs/OAuth2 module Oauth2V2 VERSION = 'V2' - REVISION = '20151107' + REVISION = '20151215' # Know your basic profile info and list of people in your circles. AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' diff --git a/generated/google/apis/plus_domains_v1.rb b/generated/google/apis/plus_domains_v1.rb index 552215b44..b187b77ea 100644 --- a/generated/google/apis/plus_domains_v1.rb +++ b/generated/google/apis/plus_domains_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/+/domains/ module PlusDomainsV1 VERSION = 'V1' - REVISION = '20160104' + REVISION = '20160112' # View your circles and the people and pages in them AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read' diff --git a/generated/google/apis/plus_v1.rb b/generated/google/apis/plus_v1.rb index 85b2bb8b2..ccd83c7e3 100644 --- a/generated/google/apis/plus_v1.rb +++ b/generated/google/apis/plus_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/+/api/ module PlusV1 VERSION = 'V1' - REVISION = '20160104' + REVISION = '20160112' # Know your basic profile info and list of people in your circles. AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' diff --git a/generated/google/apis/prediction_v1_6/classes.rb b/generated/google/apis/prediction_v1_6/classes.rb index 6f8167918..74e8ca954 100644 --- a/generated/google/apis/prediction_v1_6/classes.rb +++ b/generated/google/apis/prediction_v1_6/classes.rb @@ -674,7 +674,7 @@ module Google # The estimated regression value (Regression models only). # Corresponds to the JSON property `outputValue` - # @return [Float] + # @return [String] attr_accessor :output_value # A URL to re-request this resource. diff --git a/generated/google/apis/storage_v1.rb b/generated/google/apis/storage_v1.rb index 847745aa5..9d6cae0d7 100644 --- a/generated/google/apis/storage_v1.rb +++ b/generated/google/apis/storage_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/storage/docs/json_api/ module StorageV1 VERSION = 'V1' - REVISION = '20151214' + REVISION = '20151229' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'