google-api-client 0.9.18 → 0.9.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -1
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +3 -3
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -2
  5. data/generated/google/apis/adsense_v1_4.rb +1 -1
  6. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  7. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  8. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -0
  9. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  10. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  11. data/generated/google/apis/androidpublisher_v2/classes.rb +38 -0
  12. data/generated/google/apis/androidpublisher_v2/representations.rb +27 -0
  13. data/generated/google/apis/androidpublisher_v2/service.rb +55 -0
  14. data/generated/google/apis/appsactivity_v1.rb +1 -1
  15. data/generated/google/apis/calendar_v3.rb +1 -1
  16. data/generated/google/apis/civicinfo_v2.rb +1 -1
  17. data/generated/google/apis/civicinfo_v2/classes.rb +118 -1
  18. data/generated/google/apis/civicinfo_v2/representations.rb +83 -0
  19. data/generated/google/apis/civicinfo_v2/service.rb +20 -5
  20. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  21. data/generated/google/apis/compute_beta.rb +1 -1
  22. data/generated/google/apis/compute_beta/classes.rb +4 -5
  23. data/generated/google/apis/compute_beta/service.rb +3 -1
  24. data/generated/google/apis/compute_v1.rb +1 -1
  25. data/generated/google/apis/compute_v1/classes.rb +4 -5
  26. data/generated/google/apis/datastore_v1.rb +1 -1
  27. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  28. data/generated/google/apis/genomics_v1/classes.rb +25 -25
  29. data/generated/google/apis/genomics_v1/representations.rb +11 -11
  30. data/generated/google/apis/genomics_v1/service.rb +30 -30
  31. data/generated/google/apis/logging_v2beta1.rb +1 -1
  32. data/generated/google/apis/logging_v2beta1/classes.rb +46 -31
  33. data/generated/google/apis/logging_v2beta1/representations.rb +5 -3
  34. data/generated/google/apis/monitoring_v3.rb +1 -1
  35. data/generated/google/apis/plus_domains_v1.rb +1 -1
  36. data/generated/google/apis/plus_v1.rb +1 -1
  37. data/generated/google/apis/sheets_v4.rb +1 -1
  38. data/generated/google/apis/sheets_v4/classes.rb +89 -1
  39. data/generated/google/apis/sheets_v4/representations.rb +53 -0
  40. data/generated/google/apis/sheets_v4/service.rb +164 -89
  41. data/generated/google/apis/speech_v1beta1.rb +1 -1
  42. data/generated/google/apis/storage_v1.rb +1 -1
  43. data/generated/google/apis/storage_v1/classes.rb +21 -5
  44. data/generated/google/apis/storage_v1/representations.rb +2 -0
  45. data/lib/google/apis/version.rb +1 -1
  46. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4302651b757d6a66e494bbd2852bde19972140e2
4
- data.tar.gz: 2847e09d425daaec7dbc6268bae45cd09bb60d8d
3
+ metadata.gz: 4753a489f82aa11fbd3d23ed996d9839ddae9431
4
+ data.tar.gz: 38cb3b0b8518383659f05cf187fe4f9cc22db0aa
5
5
  SHA512:
6
- metadata.gz: f04dd247bb2d9a36c0fef8c355f3d4520ec91b5b7c6666345f6a325cee37a7cbd0a83370bd393f909d7900c7603c6fe137b04e01e78afdeaaa6cdf97cc620dd0
7
- data.tar.gz: c9ec8297b4ef0889c4917ff132788811307949e4810ebddb5acd90a5f9d65b1c207734fa5284dd020eae79332f4e90ac2fef0a81c92368569d15bffcdd77be96
6
+ metadata.gz: 13595f514c398f3655dd882fa4ffded5bdaf16f1b4f4c407edff2f5954cf8572074046466ba614ec25c1ba65300a2cc00cbda33f25bde85fc686f1f50a02a626
7
+ data.tar.gz: 00f24cb3f5854248aadd7f414faba7da8f5e00f54397e1ac902e35b1599c572d2b9027a28ad8ec319245d858681a3baa42569a387d890834aee14e44412b8950
@@ -1,3 +1,7 @@
1
+ # 0.9.19
2
+ * Regenerate APIs
3
+ * Add Adexchangebuyer2 api
4
+
1
5
  # 0.9.15
2
6
  * Add datastore v1
3
7
  * Regenerate APIs
@@ -11,7 +15,6 @@
11
15
  * Fix fetch_all to work correctly with the genomics API
12
16
  * Add speech & language APIs, regenerate APIs
13
17
 
14
-
15
18
  # 0.9.12
16
19
  * Regenerated APIs
17
20
 
@@ -20,13 +20,13 @@ module Google
20
20
  module Apis
21
21
  # Ad Exchange Buyer API II
22
22
  #
23
- # Accesses the latest features for managing Ad Exchange accounts and Real-Time
24
- # Bidding configurations and auction metrics.
23
+ # Accesses the latest features for managing Ad Exchange accounts, Real-Time
24
+ # Bidding configurations and auction metrics, and Marketplace programmatic deals.
25
25
  #
26
26
  # @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/
27
27
  module Adexchangebuyer2V2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20161012'
29
+ REVISION = '20161019'
30
30
 
31
31
  # Manage your Ad Exchange buyer account configuration
32
32
  AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
@@ -22,8 +22,8 @@ module Google
22
22
  module Adexchangebuyer2V2beta1
23
23
  # Ad Exchange Buyer API II
24
24
  #
25
- # Accesses the latest features for managing Ad Exchange accounts and Real-Time
26
- # Bidding configurations and auction metrics.
25
+ # Accesses the latest features for managing Ad Exchange accounts, Real-Time
26
+ # Bidding configurations and auction metrics, and Marketplace programmatic deals.
27
27
  #
28
28
  # @example
29
29
  # require 'google/apis/adexchangebuyer2_v2beta1'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/adsense/management/
26
26
  module AdsenseV1_4
27
27
  VERSION = 'V1_4'
28
- REVISION = '20161011'
28
+ REVISION = '20161019'
29
29
 
30
30
  # View and manage your AdSense data
31
31
  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 = '20161011'
29
+ REVISION = '20161019'
30
30
 
31
31
  # View and manage your AdSense host data and associated accounts
32
32
  AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android/work/play/emm-api
26
26
  module AndroidenterpriseV1
27
27
  VERSION = 'V1'
28
- REVISION = '20161005'
28
+ REVISION = '20161011'
29
29
 
30
30
  # Manage corporate Android devices
31
31
  AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
@@ -1715,6 +1715,15 @@ module Google
1715
1715
  # @return [Array<String>]
1716
1716
  attr_accessor :product_id
1717
1717
 
1718
+ # The interpretation of this product set. "unknown" should never be sent and
1719
+ # ignored if received. "whitelist" means that this product set constitutes a
1720
+ # whitelist. "includeAll" means that all products are accessible (the value of
1721
+ # the productId field is therefore ignored). If a value is not supplied, it is
1722
+ # interpreted to be "whitelist" for backwards compatibility.
1723
+ # Corresponds to the JSON property `productSetBehavior`
1724
+ # @return [String]
1725
+ attr_accessor :product_set_behavior
1726
+
1718
1727
  def initialize(**args)
1719
1728
  update!(**args)
1720
1729
  end
@@ -1723,6 +1732,7 @@ module Google
1723
1732
  def update!(**args)
1724
1733
  @kind = args[:kind] if args.key?(:kind)
1725
1734
  @product_id = args[:product_id] if args.key?(:product_id)
1735
+ @product_set_behavior = args[:product_set_behavior] if args.key?(:product_set_behavior)
1726
1736
  end
1727
1737
  end
1728
1738
 
@@ -837,6 +837,7 @@ module Google
837
837
  class Representation < Google::Apis::Core::JsonRepresentation
838
838
  property :kind, as: 'kind'
839
839
  collection :product_id, as: 'productId'
840
+ property :product_set_behavior, as: 'productSetBehavior'
840
841
  end
841
842
  end
842
843
 
@@ -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 = '20161004'
28
+ REVISION = '20161017'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -277,6 +277,44 @@ module Google
277
277
  end
278
278
  end
279
279
 
280
+ # Represents a deobfuscation file.
281
+ class DeobfuscationFile
282
+ include Google::Apis::Core::Hashable
283
+
284
+ # The type of the deobfuscation file.
285
+ # Corresponds to the JSON property `symbolType`
286
+ # @return [String]
287
+ attr_accessor :symbol_type
288
+
289
+ def initialize(**args)
290
+ update!(**args)
291
+ end
292
+
293
+ # Update properties of this object
294
+ def update!(**args)
295
+ @symbol_type = args[:symbol_type] if args.key?(:symbol_type)
296
+ end
297
+ end
298
+
299
+ #
300
+ class DeobfuscationFilesUploadResponse
301
+ include Google::Apis::Core::Hashable
302
+
303
+ # Represents a deobfuscation file.
304
+ # Corresponds to the JSON property `deobfuscationFile`
305
+ # @return [Google::Apis::AndroidpublisherV2::DeobfuscationFile]
306
+ attr_accessor :deobfuscation_file
307
+
308
+ def initialize(**args)
309
+ update!(**args)
310
+ end
311
+
312
+ # Update properties of this object
313
+ def update!(**args)
314
+ @deobfuscation_file = args[:deobfuscation_file] if args.key?(:deobfuscation_file)
315
+ end
316
+ end
317
+
280
318
  #
281
319
  class DeveloperComment
282
320
  include Google::Apis::Core::Hashable
@@ -82,6 +82,18 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class DeobfuscationFile
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DeobfuscationFilesUploadResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
85
97
  class DeveloperComment
86
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
99
 
@@ -438,6 +450,21 @@ module Google
438
450
  end
439
451
  end
440
452
 
453
+ class DeobfuscationFile
454
+ # @private
455
+ class Representation < Google::Apis::Core::JsonRepresentation
456
+ property :symbol_type, as: 'symbolType'
457
+ end
458
+ end
459
+
460
+ class DeobfuscationFilesUploadResponse
461
+ # @private
462
+ class Representation < Google::Apis::Core::JsonRepresentation
463
+ property :deobfuscation_file, as: 'deobfuscationFile', class: Google::Apis::AndroidpublisherV2::DeobfuscationFile, decorator: Google::Apis::AndroidpublisherV2::DeobfuscationFile::Representation
464
+
465
+ end
466
+ end
467
+
441
468
  class DeveloperComment
442
469
  # @private
443
470
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -660,6 +660,61 @@ module Google
660
660
  execute_or_queue_command(command, &block)
661
661
  end
662
662
 
663
+ # Uploads the deobfuscation file of the specified APK. If a deobfuscation file
664
+ # already exists, it will be replaced.
665
+ # @param [String] package_name
666
+ # Unique identifier of the Android app for which the deobfuscatiuon files are
667
+ # being uploaded; for example, "com.spiffygame".
668
+ # @param [String] edit_id
669
+ # Unique identifier for this edit.
670
+ # @param [Fixnum] apk_version_code
671
+ # The version code of the APK whose deobfuscation file is being uploaded.
672
+ # @param [String] deobfuscation_file_type
673
+ # @param [String] fields
674
+ # Selector specifying which fields to include in a partial response.
675
+ # @param [String] quota_user
676
+ # Available to use for quota purposes for server-side applications. Can be any
677
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
678
+ # Overrides userIp if both are provided.
679
+ # @param [String] user_ip
680
+ # IP address of the site where the request originates. Use this if you want to
681
+ # enforce per-user limits.
682
+ # @param [IO, String] upload_source
683
+ # IO stream or filename containing content to upload
684
+ # @param [String] content_type
685
+ # Content type of the uploaded content.
686
+ # @param [Google::Apis::RequestOptions] options
687
+ # Request-specific options
688
+ #
689
+ # @yield [result, err] Result & error if block supplied
690
+ # @yieldparam result [Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse] parsed result object
691
+ # @yieldparam err [StandardError] error object if request failed
692
+ #
693
+ # @return [Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse]
694
+ #
695
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
696
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
697
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
698
+ def upload_edit_deobfuscationfile(package_name, edit_id, apk_version_code, deobfuscation_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
699
+ if upload_source.nil?
700
+ command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
701
+ else
702
+ command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
703
+ command.upload_source = upload_source
704
+ command.upload_content_type = content_type
705
+ end
706
+ command.response_representation = Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse::Representation
707
+ command.response_class = Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse
708
+ command.params['packageName'] = package_name unless package_name.nil?
709
+ command.params['editId'] = edit_id unless edit_id.nil?
710
+ command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
711
+ command.params['deobfuscationFileType'] = deobfuscation_file_type unless deobfuscation_file_type.nil?
712
+ command.query['fields'] = fields unless fields.nil?
713
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
714
+ command.query['userIp'] = user_ip unless user_ip.nil?
715
+ execute_or_queue_command(command, &block)
716
+ end
717
+
663
718
  # Fetches app details for this edit. This includes the default language and
664
719
  # developer support contact information.
665
720
  # @param [String] package_name
@@ -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 = '20160916'
28
+ REVISION = '20161013'
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/google-apps/calendar/firstapp
26
26
  module CalendarV3
27
27
  VERSION = 'V3'
28
- REVISION = '20161004'
28
+ REVISION = '20161016'
29
29
 
30
30
  # Manage your calendars
31
31
  AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/civic-information
27
27
  module CivicinfoV2
28
28
  VERSION = 'V2'
29
- REVISION = '20160823'
29
+ REVISION = '20161017'
30
30
  end
31
31
  end
32
32
  end
@@ -191,7 +191,9 @@ module Google
191
191
  # @return [String]
192
192
  attr_accessor :email
193
193
 
194
- # The candidate's name.
194
+ # The candidate's name. If this is a joint ticket it will indicate the name of
195
+ # the candidate at the top of a ticket followed by a / and that name of
196
+ # candidate at the bottom of the ticket. e.g. "Mitt Romney / Paul Ryan"
195
197
  # Corresponds to the JSON property `name`
196
198
  # @return [String]
197
199
  attr_accessor :name
@@ -441,6 +443,63 @@ module Google
441
443
  end
442
444
  end
443
445
 
446
+ #
447
+ class ContextParams
448
+ include Google::Apis::Core::Hashable
449
+
450
+ #
451
+ # Corresponds to the JSON property `clientProfile`
452
+ # @return [String]
453
+ attr_accessor :client_profile
454
+
455
+ def initialize(**args)
456
+ update!(**args)
457
+ end
458
+
459
+ # Update properties of this object
460
+ def update!(**args)
461
+ @client_profile = args[:client_profile] if args.key?(:client_profile)
462
+ end
463
+ end
464
+
465
+ # A request to look up representative information for a single division.
466
+ class DivisionRepresentativeInfoRequest
467
+ include Google::Apis::Core::Hashable
468
+
469
+ #
470
+ # Corresponds to the JSON property `contextParams`
471
+ # @return [Google::Apis::CivicinfoV2::ContextParams]
472
+ attr_accessor :context_params
473
+
474
+ def initialize(**args)
475
+ update!(**args)
476
+ end
477
+
478
+ # Update properties of this object
479
+ def update!(**args)
480
+ @context_params = args[:context_params] if args.key?(:context_params)
481
+ end
482
+ end
483
+
484
+ # A search request for political geographies.
485
+ class DivisionSearchRequest
486
+ include Google::Apis::Core::Hashable
487
+
488
+ #
489
+ # Corresponds to the JSON property `contextParams`
490
+ # @return [Google::Apis::CivicinfoV2::ContextParams]
491
+ attr_accessor :context_params
492
+
493
+ def initialize(**args)
494
+ update!(**args)
495
+ end
496
+
497
+ # Update properties of this object
498
+ def update!(**args)
499
+ @context_params = args[:context_params] if args.key?(:context_params)
500
+ end
501
+ end
502
+
444
503
  # The result of a division search query.
445
504
  class DivisionSearchResponse
446
505
  include Google::Apis::Core::Hashable
@@ -585,6 +644,25 @@ module Google
585
644
  end
586
645
  end
587
646
 
647
+ #
648
+ class ElectionsQueryRequest
649
+ include Google::Apis::Core::Hashable
650
+
651
+ #
652
+ # Corresponds to the JSON property `contextParams`
653
+ # @return [Google::Apis::CivicinfoV2::ContextParams]
654
+ attr_accessor :context_params
655
+
656
+ def initialize(**args)
657
+ update!(**args)
658
+ end
659
+
660
+ # Update properties of this object
661
+ def update!(**args)
662
+ @context_params = args[:context_params] if args.key?(:context_params)
663
+ end
664
+ end
665
+
588
666
  # The list of elections available for this version of the API.
589
667
  class QueryElectionsResponse
590
668
  include Google::Apis::Core::Hashable
@@ -920,6 +998,26 @@ module Google
920
998
  end
921
999
  end
922
1000
 
1001
+ # A request for political geography and representative information for an
1002
+ # address.
1003
+ class RepresentativeInfoRequest
1004
+ include Google::Apis::Core::Hashable
1005
+
1006
+ #
1007
+ # Corresponds to the JSON property `contextParams`
1008
+ # @return [Google::Apis::CivicinfoV2::ContextParams]
1009
+ attr_accessor :context_params
1010
+
1011
+ def initialize(**args)
1012
+ update!(**args)
1013
+ end
1014
+
1015
+ # Update properties of this object
1016
+ def update!(**args)
1017
+ @context_params = args[:context_params] if args.key?(:context_params)
1018
+ end
1019
+ end
1020
+
923
1021
  # The result of a representative info lookup query.
924
1022
  class RepresentativeInfoResponse
925
1023
  include Google::Apis::Core::Hashable
@@ -1047,6 +1145,25 @@ module Google
1047
1145
  end
1048
1146
  end
1049
1147
 
1148
+ # A request for information about a voter.
1149
+ class VoterInfoRequest
1150
+ include Google::Apis::Core::Hashable
1151
+
1152
+ #
1153
+ # Corresponds to the JSON property `contextParams`
1154
+ # @return [Google::Apis::CivicinfoV2::ContextParams]
1155
+ attr_accessor :context_params
1156
+
1157
+ def initialize(**args)
1158
+ update!(**args)
1159
+ end
1160
+
1161
+ # Update properties of this object
1162
+ def update!(**args)
1163
+ @context_params = args[:context_params] if args.key?(:context_params)
1164
+ end
1165
+ end
1166
+
1050
1167
  # The result of a voter info lookup query.
1051
1168
  class VoterInfoResponse
1052
1169
  include Google::Apis::Core::Hashable