google-api-client 0.9.pre5 → 0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +2 -2
  4. data/api_names.yaml +11 -3
  5. data/api_names_out.yaml +29 -5
  6. data/generated/google/apis/adsense_v1_4.rb +1 -1
  7. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  8. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  9. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  10. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  11. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  12. data/generated/google/apis/androidpublisher_v2/classes.rb +38 -1
  13. data/generated/google/apis/androidpublisher_v2/representations.rb +16 -0
  14. data/generated/google/apis/appsactivity_v1.rb +1 -1
  15. data/generated/google/apis/appstate_v1.rb +1 -1
  16. data/generated/google/apis/calendar_v3/service.rb +2 -2
  17. data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
  18. data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
  19. data/generated/google/apis/civicinfo_v2/service.rb +4 -4
  20. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  21. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  22. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +2 -1
  23. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +20 -20
  24. data/generated/google/apis/compute_beta.rb +1 -1
  25. data/generated/google/apis/compute_v1.rb +1 -1
  26. data/generated/google/apis/customsearch_v1.rb +1 -1
  27. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  28. data/generated/google/apis/deploymentmanager_v2/classes.rb +2 -1
  29. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  30. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  31. data/generated/google/apis/games_management_v1management.rb +1 -1
  32. data/generated/google/apis/games_v1.rb +1 -1
  33. data/generated/google/apis/genomics_v1.rb +1 -1
  34. data/generated/google/apis/genomics_v1/service.rb +3 -3
  35. data/generated/google/apis/groupssettings_v1/service.rb +3 -0
  36. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  37. data/generated/google/apis/identitytoolkit_v3/classes.rb +112 -0
  38. data/generated/google/apis/identitytoolkit_v3/representations.rb +50 -0
  39. data/generated/google/apis/identitytoolkit_v3/service.rb +70 -0
  40. data/generated/google/apis/licensing_v1/service.rb +2 -2
  41. data/generated/google/apis/oauth2_v2.rb +1 -1
  42. data/generated/google/apis/plus_domains_v1.rb +1 -1
  43. data/generated/google/apis/plus_v1.rb +1 -1
  44. data/generated/google/apis/prediction_v1_6/classes.rb +1 -1
  45. data/generated/google/apis/storage_v1.rb +1 -1
  46. data/lib/google/apis/generator/annotator.rb +5 -0
  47. data/lib/google/apis/generator/model.rb +3 -0
  48. data/lib/google/apis/generator/templates/_method.tmpl +3 -0
  49. data/lib/google/apis/version.rb +1 -1
  50. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5479c5485c36a9d00e4499cbf7a2779e66579e74
4
- data.tar.gz: 5496375315f3bb30f16570ad3299f829965fe415
3
+ metadata.gz: 25d66ac8bb8cb858640f330178dac074a0557c83
4
+ data.tar.gz: 2d390abd07f9f816f15cdce0a6d32093ff73f3b6
5
5
  SHA512:
6
- metadata.gz: f0f7c946ce0f7fe54ea55fb60c51808a12c99914494c3a1984b1232400d843cf511aed1b75f6804a69423c9404284e7eea2ee4e3ee3c9f467a2312d240a43a08
7
- data.tar.gz: fb094fcf015da44bd9c00e15a17255803b560342102f60c8026414cf73ee3b31084894ddc72f041bd4328722a66b0d685ec9acf0896c89af01b168de2f772460
6
+ metadata.gz: 9f99549ac0f0d0f55b9072f7d75f5c8fec3e010b573d3752e867e4130eb0a40f7cf8c5a9a2d28d6b8571421ee4a405aa902b31878d8bb09c7eec846566eff87a
7
+ data.tar.gz: 870eb46ddef10fae48cb27c1446937087d58864fe0c77c1b3aec7cc043467353b7c46d5af072d00a653d708ea6300eb82f61630b099bfcf3e25f430ad3588b82
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.9
2
+ * Force the use of alt=json for the groups settings API
3
+ * Small tweaks to some calendar API and licensing API method names
4
+
1
5
  # 0.9.0.pre5
2
6
  * Change the default HTTP adapter to HTTPClient due to broken connections with long running uploads with Net::HTTP
3
7
  * No longer breaks Object#hash behavior, restores compatibility with Padrino
data/README.md CHANGED
@@ -15,7 +15,7 @@ migrate to the latest version.
15
15
  Add this line to your application's Gemfile:
16
16
 
17
17
  ```ruby
18
- gem 'google-api-client', '0.9.pre5'
18
+ gem 'google-api-client', '0.9'
19
19
 
20
20
  ```
21
21
 
@@ -25,7 +25,7 @@ And then execute:
25
25
 
26
26
  Or install it yourself as:
27
27
 
28
- $ gem install google-api-client --pre
28
+ $ gem install google-api-client
29
29
 
30
30
  ## Usage
31
31
 
data/api_names.yaml CHANGED
@@ -334,7 +334,9 @@
334
334
  "/calendar:v3/CalendarNotification/method": delivery_method
335
335
  "/calendar:v3/Event/gadget/display": display_mode
336
336
  "/calendar:v3/EventReminder/method": reminder_method
337
- "/civicinfo:v2/DivisionSearchResponse": search_division_response
337
+ "/calendar:v3/calendar.events.instances": list_event_instances
338
+ "/calendar:v3/calendar.events.quickAdd": quick_add_event
339
+ /civicinfo:v2/DivisionSearchResponse": search_division_response
338
340
  "/civicinfo:v2/ElectionsQueryResponse": query_elections_response
339
341
  "/civicinfo:v2/civicinfo.divisions.search": search_divisions
340
342
  "/civicinfo:v2/civicinfo.elections.electionQuery": query_election
@@ -783,6 +785,7 @@
783
785
  "/genomics:v1/genomics.variantsets.search": search_variant_sets
784
786
  "/genomics:v1/genomics.referencesets.search": search_reference_sets
785
787
  "/gmail:v1/gmail.users.getProfile": get_user_profile
788
+ "/groupssettings:v1?force_alt_json" : true
786
789
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest": create_auth_uri_request
787
790
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest": delete_account_request
788
791
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest": download_account_request
@@ -807,8 +810,13 @@
807
810
  "/identitytoolkit:v3/identitytoolkit.relyingparty.verifyAssertion": verify_assertion
808
811
  "/identitytoolkit:v3/identitytoolkit.relyingparty.verifyPassword": verify_password
809
812
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse": get_project_config_response
810
- "/licensing:v1/licensing.licenseAssignments.listForProduct": list_license_assignment_for_product
811
- "/licensing:v1/licensing.licenseAssignments.listForProductAndSku": list_license_assignment_for_product_and_sku
813
+ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest": sign_out_user_request
814
+ "/identitytoolkit:v3/identitytoolkit.relyingparty.signOutUser": sign_out_user
815
+ "/identitytoolkit:v3/identitytoolkit.relyingparty.verifyCustomToken": verify_custom_token
816
+ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserResponse": sign_out_user_response
817
+ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest": verify_custom_token_request
818
+ "/licensing:v1/licensing.licenseAssignments.listForProduct": list_license_assignments_for_product
819
+ "/licensing:v1/licensing.licenseAssignments.listForProductAndSku": list_license_assignments_for_product_and_sku
812
820
  "/logging:v1beta3/logging.projects.logServices.indexes.list": list_log_service_indexes
813
821
  "/logging:v1beta3/logging.projects.logServices.list": list_log_services
814
822
  "/logging:v1beta3/logging.projects.logServices.sinks.create": create_log_service_sink
data/api_names_out.yaml CHANGED
@@ -334,7 +334,9 @@
334
334
  "/calendar:v3/CalendarNotification/method": delivery_method
335
335
  "/calendar:v3/Event/gadget/display": display_mode
336
336
  "/calendar:v3/EventReminder/method": reminder_method
337
- "/civicinfo:v2/DivisionSearchResponse": search_division_response
337
+ "/calendar:v3/calendar.events.instances": list_event_instances
338
+ "/calendar:v3/calendar.events.quickAdd": quick_add_event
339
+ /civicinfo:v2/DivisionSearchResponse": search_division_response
338
340
  "/civicinfo:v2/ElectionsQueryResponse": query_elections_response
339
341
  "/civicinfo:v2/civicinfo.divisions.search": search_divisions
340
342
  "/civicinfo:v2/civicinfo.elections.electionQuery": query_election
@@ -759,6 +761,7 @@
759
761
  "/genomics:v1/genomics.variantsets.search": search_variant_sets
760
762
  "/genomics:v1/genomics.referencesets.search": search_reference_sets
761
763
  "/gmail:v1/gmail.users.getProfile": get_user_profile
764
+ "/groupssettings:v1?force_alt_json": true
762
765
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest": create_auth_uri_request
763
766
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest": delete_account_request
764
767
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest": download_account_request
@@ -783,8 +786,13 @@
783
786
  "/identitytoolkit:v3/identitytoolkit.relyingparty.verifyAssertion": verify_assertion
784
787
  "/identitytoolkit:v3/identitytoolkit.relyingparty.verifyPassword": verify_password
785
788
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse": get_project_config_response
786
- "/licensing:v1/licensing.licenseAssignments.listForProduct": list_license_assignment_for_product
787
- "/licensing:v1/licensing.licenseAssignments.listForProductAndSku": list_license_assignment_for_product_and_sku
789
+ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest": sign_out_user_request
790
+ "/identitytoolkit:v3/identitytoolkit.relyingparty.signOutUser": sign_out_user
791
+ "/identitytoolkit:v3/identitytoolkit.relyingparty.verifyCustomToken": verify_custom_token
792
+ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserResponse": sign_out_user_response
793
+ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest": verify_custom_token_request
794
+ "/licensing:v1/licensing.licenseAssignments.listForProduct": list_license_assignments_for_product
795
+ "/licensing:v1/licensing.licenseAssignments.listForProductAndSku": list_license_assignments_for_product_and_sku
788
796
  "/logging:v1beta3/logging.projects.logServices.indexes.list": list_log_service_indexes
789
797
  "/logging:v1beta3/logging.projects.logServices.list": list_log_services
790
798
  "/logging:v1beta3/logging.projects.logServices.sinks.create": create_log_service_sink
@@ -6084,6 +6092,7 @@
6084
6092
  "/androidenterprise:v1/Product/iconUrl": icon_url
6085
6093
  "/androidenterprise:v1/Product/kind": kind
6086
6094
  "/androidenterprise:v1/Product/productId": product_id
6095
+ "/androidenterprise:v1/Product/productPricing": product_pricing
6087
6096
  "/androidenterprise:v1/Product/requiresContainerApp": requires_container_app
6088
6097
  "/androidenterprise:v1/Product/title": title
6089
6098
  "/androidenterprise:v1/Product/workDetailsUrl": work_details_url
@@ -6430,8 +6439,13 @@
6430
6439
  "/androidpublisher:v2/ProductPurchase/kind": kind
6431
6440
  "/androidpublisher:v2/ProductPurchase/purchaseState": purchase_state
6432
6441
  "/androidpublisher:v2/ProductPurchase/purchaseTimeMillis": purchase_time_millis
6442
+ "/androidpublisher:v2/Prorate": prorate
6443
+ "/androidpublisher:v2/Prorate/defaultPrice": default_price
6444
+ "/androidpublisher:v2/Prorate/start": start
6433
6445
  "/androidpublisher:v2/Season": season
6434
6446
  "/androidpublisher:v2/Season/end": end
6447
+ "/androidpublisher:v2/Season/prorations": prorations
6448
+ "/androidpublisher:v2/Season/prorations/proration": proration
6435
6449
  "/androidpublisher:v2/Season/start": start
6436
6450
  "/androidpublisher:v2/SubscriptionDeferralInfo": subscription_deferral_info
6437
6451
  "/androidpublisher:v2/SubscriptionDeferralInfo/desiredExpiryTimeMillis": desired_expiry_time_millis
@@ -8250,7 +8264,6 @@
8250
8264
  "/calendar:v3/calendar.events.insert/maxAttendees": max_attendees
8251
8265
  "/calendar:v3/calendar.events.insert/sendNotifications": send_notifications
8252
8266
  "/calendar:v3/calendar.events.insert/supportsAttachments": supports_attachments
8253
- "/calendar:v3/calendar.events.instances": instances_event
8254
8267
  "/calendar:v3/calendar.events.instances/alwaysIncludeEmail": always_include_email
8255
8268
  "/calendar:v3/calendar.events.instances/calendarId": calendar_id
8256
8269
  "/calendar:v3/calendar.events.instances/eventId": event_id
@@ -8293,7 +8306,6 @@
8293
8306
  "/calendar:v3/calendar.events.patch/maxAttendees": max_attendees
8294
8307
  "/calendar:v3/calendar.events.patch/sendNotifications": send_notifications
8295
8308
  "/calendar:v3/calendar.events.patch/supportsAttachments": supports_attachments
8296
- "/calendar:v3/calendar.events.quickAdd": quick_event_add
8297
8309
  "/calendar:v3/calendar.events.quickAdd/calendarId": calendar_id
8298
8310
  "/calendar:v3/calendar.events.quickAdd/sendNotifications": send_notifications
8299
8311
  "/calendar:v3/calendar.events.quickAdd/text": text
@@ -8641,6 +8653,7 @@
8641
8653
  "/civicinfo:v2/Contest/sources/source": source
8642
8654
  "/civicinfo:v2/Contest/special": special
8643
8655
  "/civicinfo:v2/Contest/type": type
8656
+ "/civicinfo:v2/DivisionSearchResponse": division_search_response
8644
8657
  "/civicinfo:v2/DivisionSearchResponse/kind": kind
8645
8658
  "/civicinfo:v2/DivisionSearchResponse/results": results
8646
8659
  "/civicinfo:v2/DivisionSearchResponse/results/result": result
@@ -20209,6 +20222,7 @@
20209
20222
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/email": email
20210
20223
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/emailVerified": email_verified
20211
20224
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/idToken": id_token
20225
+ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/instanceId": instance_id
20212
20226
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/localId": local_id
20213
20227
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/oobCode": oob_code
20214
20228
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/password": password
@@ -20216,6 +20230,9 @@
20216
20230
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/provider/provider": provider
20217
20231
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/upgradeToFederatedLogin": upgrade_to_federated_login
20218
20232
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/validSince": valid_since
20233
+ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest/instanceId": instance_id
20234
+ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest/localId": local_id
20235
+ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserResponse/localId": local_id
20219
20236
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/hashAlgorithm": hash_algorithm
20220
20237
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/memoryCost": memory_cost
20221
20238
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/rounds": rounds
@@ -20223,14 +20240,18 @@
20223
20240
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/signerKey": signer_key
20224
20241
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/users": users
20225
20242
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/users/user": user
20243
+ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/instanceId": instance_id
20226
20244
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/pendingIdToken": pending_id_token
20227
20245
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/postBody": post_body
20228
20246
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/requestUri": request_uri
20229
20247
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/returnRefreshToken": return_refresh_token
20230
20248
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/sessionId": session_id
20249
+ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/instanceId": instance_id
20250
+ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/token": token
20231
20251
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/captchaChallenge": captcha_challenge
20232
20252
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/captchaResponse": captcha_response
20233
20253
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/email": email
20254
+ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/instanceId": instance_id
20234
20255
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/password": password
20235
20256
  "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/pendingIdToken": pending_id_token
20236
20257
  "/identitytoolkit:v3/IdpConfig": idp_config
@@ -20318,6 +20339,9 @@
20318
20339
  "/identitytoolkit:v3/VerifyAssertionResponse/timeZone": time_zone
20319
20340
  "/identitytoolkit:v3/VerifyAssertionResponse/verifiedProvider": verified_provider
20320
20341
  "/identitytoolkit:v3/VerifyAssertionResponse/verifiedProvider/verified_provider": verified_provider
20342
+ "/identitytoolkit:v3/VerifyCustomTokenResponse": verify_custom_token_response
20343
+ "/identitytoolkit:v3/VerifyCustomTokenResponse/idToken": id_token
20344
+ "/identitytoolkit:v3/VerifyCustomTokenResponse/kind": kind
20321
20345
  "/identitytoolkit:v3/VerifyPasswordResponse": verify_password_response
20322
20346
  "/identitytoolkit:v3/VerifyPasswordResponse/displayName": display_name
20323
20347
  "/identitytoolkit:v3/VerifyPasswordResponse/email": email
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/adsense/management/
27
27
  module AdsenseV1_4
28
28
  VERSION = 'V1_4'
29
- REVISION = '20151206'
29
+ REVISION = '20160112'
30
30
 
31
31
  # View and manage your AdSense data
32
32
  AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/adsense/host/
27
27
  module AdsensehostV4_1
28
28
  VERSION = 'V4_1'
29
- REVISION = '20151206'
29
+ REVISION = '20160112'
30
30
 
31
31
  # View and manage your AdSense host data and associated accounts
32
32
  AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/android/work/play/emm-api
27
27
  module AndroidenterpriseV1
28
28
  VERSION = 'V1'
29
- REVISION = '20151215'
29
+ REVISION = '20160106'
30
30
 
31
31
  # Manage corporate Android devices
32
32
  AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
@@ -979,6 +979,11 @@ module Google
979
979
  # @return [String]
980
980
  attr_accessor :product_id
981
981
 
982
+ # Whether this product is free, free with in-app purchases, or paid.
983
+ # Corresponds to the JSON property `productPricing`
984
+ # @return [String]
985
+ attr_accessor :product_pricing
986
+
982
987
  # Whether this app can only be installed on devices using the Android for Work
983
988
  # container app.
984
989
  # Corresponds to the JSON property `requiresContainerApp`
@@ -1010,6 +1015,7 @@ module Google
1010
1015
  @icon_url = args[:icon_url] unless args[:icon_url].nil?
1011
1016
  @kind = args[:kind] unless args[:kind].nil?
1012
1017
  @product_id = args[:product_id] unless args[:product_id].nil?
1018
+ @product_pricing = args[:product_pricing] unless args[:product_pricing].nil?
1013
1019
  @requires_container_app = args[:requires_container_app] unless args[:requires_container_app].nil?
1014
1020
  @title = args[:title] unless args[:title].nil?
1015
1021
  @work_details_url = args[:work_details_url] unless args[:work_details_url].nil?
@@ -410,6 +410,7 @@ module Google
410
410
  property :icon_url, as: 'iconUrl'
411
411
  property :kind, as: 'kind'
412
412
  property :product_id, as: 'productId'
413
+ property :product_pricing, as: 'productPricing'
413
414
  property :requires_container_app, as: 'requiresContainerApp'
414
415
  property :title, as: 'title'
415
416
  property :work_details_url, as: 'workDetailsUrl'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV2
27
27
  VERSION = 'V2'
28
- REVISION = '20150910'
28
+ REVISION = '20160111'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -644,7 +644,8 @@ module Google
644
644
  attr_accessor :status
645
645
 
646
646
  # Subscription period, specified in ISO 8601 format. Acceptable values are "P1W"
647
- # (one week), "P1M" (one month) and "P1Y" (one year).
647
+ # (one week), "P1M" (one month), "P3M" (three months), "P6M" (six months), and "
648
+ # P1Y" (one year).
648
649
  # Corresponds to the JSON property `subscriptionPeriod`
649
650
  # @return [String]
650
651
  attr_accessor :subscription_period
@@ -1130,6 +1131,34 @@ module Google
1130
1131
  end
1131
1132
  end
1132
1133
 
1134
+ #
1135
+ class Prorate
1136
+ include Google::Apis::Core::Hashable
1137
+
1138
+ # Default price cannot be zero and must be less than the full subscription price.
1139
+ # Default price is always in the developer's Checkout merchant currency.
1140
+ # Targeted countries have their prices set automatically based on the
1141
+ # default_price.
1142
+ # Corresponds to the JSON property `defaultPrice`
1143
+ # @return [Google::Apis::AndroidpublisherV2::Price]
1144
+ attr_accessor :default_price
1145
+
1146
+ # Defines the first day on which the price takes effect.
1147
+ # Corresponds to the JSON property `start`
1148
+ # @return [Google::Apis::AndroidpublisherV2::MonthDay]
1149
+ attr_accessor :start
1150
+
1151
+ def initialize(**args)
1152
+ update!(**args)
1153
+ end
1154
+
1155
+ # Update properties of this object
1156
+ def update!(**args)
1157
+ @default_price = args[:default_price] unless args[:default_price].nil?
1158
+ @start = args[:start] unless args[:start].nil?
1159
+ end
1160
+ end
1161
+
1133
1162
  #
1134
1163
  class Season
1135
1164
  include Google::Apis::Core::Hashable
@@ -1139,6 +1168,13 @@ module Google
1139
1168
  # @return [Google::Apis::AndroidpublisherV2::MonthDay]
1140
1169
  attr_accessor :end
1141
1170
 
1171
+ # Optionally present list of prorations for the season. Each proration is a one-
1172
+ # off discounted entry into a subscription. Each proration contains the first
1173
+ # date on which the discount is available and the new pricing information.
1174
+ # Corresponds to the JSON property `prorations`
1175
+ # @return [Array<Google::Apis::AndroidpublisherV2::Prorate>]
1176
+ attr_accessor :prorations
1177
+
1142
1178
  # Inclusive start date of the recurrence period.
1143
1179
  # Corresponds to the JSON property `start`
1144
1180
  # @return [Google::Apis::AndroidpublisherV2::MonthDay]
@@ -1151,6 +1187,7 @@ module Google
1151
1187
  # Update properties of this object
1152
1188
  def update!(**args)
1153
1189
  @end = args[:end] unless args[:end].nil?
1190
+ @prorations = args[:prorations] unless args[:prorations].nil?
1154
1191
  @start = args[:start] unless args[:start].nil?
1155
1192
  end
1156
1193
  end
@@ -166,6 +166,10 @@ module Google
166
166
  class Representation < Google::Apis::Core::JsonRepresentation; end
167
167
  end
168
168
 
169
+ class Prorate
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+ end
172
+
169
173
  class Season
170
174
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
175
  end
@@ -549,11 +553,23 @@ module Google
549
553
  end
550
554
  end
551
555
 
556
+ class Prorate
557
+ # @private
558
+ class Representation < Google::Apis::Core::JsonRepresentation
559
+ property :default_price, as: 'defaultPrice', class: Google::Apis::AndroidpublisherV2::Price, decorator: Google::Apis::AndroidpublisherV2::Price::Representation
560
+
561
+ property :start, as: 'start', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation
562
+
563
+ end
564
+ end
565
+
552
566
  class Season
553
567
  # @private
554
568
  class Representation < Google::Apis::Core::JsonRepresentation
555
569
  property :end, as: 'end', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation
556
570
 
571
+ collection :prorations, as: 'prorations', class: Google::Apis::AndroidpublisherV2::Prorate, decorator: Google::Apis::AndroidpublisherV2::Prorate::Representation
572
+
557
573
  property :start, as: 'start', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation
558
574
 
559
575
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/activity/
26
26
  module AppsactivityV1
27
27
  VERSION = 'V1'
28
- REVISION = '20150417'
28
+ REVISION = '20150723'
29
29
 
30
30
  # View the activity history of your Google Apps
31
31
  AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/games/services/web/api/states
26
26
  module AppstateV1
27
27
  VERSION = 'V1'
28
- REVISION = '20151214'
28
+ REVISION = '20160107'
29
29
 
30
30
  # View and manage your data for this application
31
31
  AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
@@ -1267,7 +1267,7 @@ module Google
1267
1267
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1268
1268
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1269
1269
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1270
- 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)
1270
+ 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)
1271
1271
  command = make_simple_command(:get, 'calendars/{calendarId}/events/{eventId}/instances', options)
1272
1272
  command.response_representation = Google::Apis::CalendarV3::Events::Representation
1273
1273
  command.response_class = Google::Apis::CalendarV3::Events
@@ -1566,7 +1566,7 @@ module Google
1566
1566
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1567
1567
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1568
1568
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1569
- def quick_event_add(calendar_id, text, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1569
+ def quick_add_event(calendar_id, text, send_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1570
1570
  command = make_simple_command(:post, 'calendars/{calendarId}/events/quickAdd', options)
1571
1571
  command.response_representation = Google::Apis::CalendarV3::Event::Representation
1572
1572
  command.response_class = Google::Apis::CalendarV3::Event
@@ -436,7 +436,7 @@ module Google
436
436
  end
437
437
 
438
438
  # The result of a division search query.
439
- class SearchDivisionResponse
439
+ class DivisionSearchResponse
440
440
  include Google::Apis::Core::Hashable
441
441
 
442
442
  # Identifies what kind of resource this is. Value: the fixed string "civicinfo#
@@ -42,7 +42,7 @@ module Google
42
42
  class Representation < Google::Apis::Core::JsonRepresentation; end
43
43
  end
44
44
 
45
- class SearchDivisionResponse
45
+ class DivisionSearchResponse
46
46
  class Representation < Google::Apis::Core::JsonRepresentation; end
47
47
  end
48
48
 
@@ -194,7 +194,7 @@ module Google
194
194
  end
195
195
  end
196
196
 
197
- class SearchDivisionResponse
197
+ class DivisionSearchResponse
198
198
  # @private
199
199
  class Representation < Google::Apis::Core::JsonRepresentation
200
200
  property :kind, as: 'kind'
@@ -71,18 +71,18 @@ module Google
71
71
  # Request-specific options
72
72
  #
73
73
  # @yield [result, err] Result & error if block supplied
74
- # @yieldparam result [Google::Apis::CivicinfoV2::SearchDivisionResponse] parsed result object
74
+ # @yieldparam result [Google::Apis::CivicinfoV2::DivisionSearchResponse] parsed result object
75
75
  # @yieldparam err [StandardError] error object if request failed
76
76
  #
77
- # @return [Google::Apis::CivicinfoV2::SearchDivisionResponse]
77
+ # @return [Google::Apis::CivicinfoV2::DivisionSearchResponse]
78
78
  #
79
79
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
80
80
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
81
81
  # @raise [Google::Apis::AuthorizationError] Authorization is required
82
82
  def search_divisions(query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
83
83
  command = make_simple_command(:get, 'divisions', options)
84
- command.response_representation = Google::Apis::CivicinfoV2::SearchDivisionResponse::Representation
85
- command.response_class = Google::Apis::CivicinfoV2::SearchDivisionResponse
84
+ command.response_representation = Google::Apis::CivicinfoV2::DivisionSearchResponse::Representation
85
+ command.response_class = Google::Apis::CivicinfoV2::DivisionSearchResponse
86
86
  command.query['query'] = query unless query.nil?
87
87
  command.query['fields'] = fields unless fields.nil?
88
88
  command.query['quotaUser'] = quota_user unless quota_user.nil?