Skip to content

Commit

Permalink
Regen APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
sqrrrl committed Jan 14, 2016
1 parent 2533098 commit 99a70f8
Show file tree
Hide file tree
Showing 42 changed files with 397 additions and 68 deletions.
14 changes: 11 additions & 3 deletions api_names.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
34 changes: 29 additions & 5 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -20209,28 +20222,36 @@
"/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
"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/provider": provider
"/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
"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/saltSeparator": salt_separator
"/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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/adsense_v1_4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @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'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/adsensehost_v4_1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @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'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/androidenterprise_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @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'
Expand Down
6 changes: 6 additions & 0 deletions generated/google/apis/androidenterprise_v1/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,11 @@ class Product
# @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`
Expand Down Expand Up @@ -1010,6 +1015,7 @@ def update!(**args)
@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?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
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'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/androidpublisher_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @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'
Expand Down
39 changes: 38 additions & 1 deletion generated/google/apis/androidpublisher_v2/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,8 @@ class InAppProduct
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
Expand Down Expand Up @@ -1130,6 +1131,34 @@ def update!(**args)
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
Expand All @@ -1139,6 +1168,13 @@ class Season
# @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<Google::Apis::AndroidpublisherV2::Prorate>]
attr_accessor :prorations

# Inclusive start date of the recurrence period.
# Corresponds to the JSON property `start`
# @return [Google::Apis::AndroidpublisherV2::MonthDay]
Expand All @@ -1151,6 +1187,7 @@ def initialize(**args)
# 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
Expand Down
16 changes: 16 additions & 0 deletions generated/google/apis/androidpublisher_v2/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ class ProductPurchase
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
Expand Down Expand Up @@ -549,11 +553,23 @@ class Representation < Google::Apis::Core::JsonRepresentation
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
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/appsactivity_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @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'
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/appstate_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Apis
# @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'
Expand Down
Loading

0 comments on commit 99a70f8

Please sign in to comment.