google-api-client 0.19.6 → 0.19.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/generated/google/apis/androiddeviceprovisioning_v1.rb +3 -3
  4. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +3 -3
  5. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  6. data/generated/google/apis/androidenterprise_v1/classes.rb +7 -0
  7. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  8. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  9. data/generated/google/apis/androidmanagement_v1/classes.rb +139 -142
  10. data/generated/google/apis/androidmanagement_v1/service.rb +24 -23
  11. data/generated/google/apis/bigquery_v2.rb +1 -1
  12. data/generated/google/apis/bigquery_v2/classes.rb +29 -3
  13. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  14. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  15. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -1
  16. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  17. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  18. data/generated/google/apis/cloudiot_v1.rb +1 -1
  19. data/generated/google/apis/cloudiot_v1/classes.rb +6 -0
  20. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  21. data/generated/google/apis/cloudkms_v1.rb +1 -1
  22. data/generated/google/apis/cloudkms_v1/classes.rb +1 -1
  23. data/generated/google/apis/dataproc_v1.rb +1 -1
  24. data/generated/google/apis/dataproc_v1/service.rb +5 -1
  25. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  26. data/generated/google/apis/dialogflow_v2beta1/classes.rb +6 -6
  27. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -1
  28. data/generated/google/apis/genomics_v1.rb +1 -1
  29. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  30. data/generated/google/apis/iam_v1.rb +1 -1
  31. data/generated/google/apis/iam_v1/classes.rb +133 -0
  32. data/generated/google/apis/iam_v1/representations.rb +32 -0
  33. data/generated/google/apis/manufacturers_v1.rb +1 -1
  34. data/generated/google/apis/manufacturers_v1/classes.rb +1 -1
  35. data/generated/google/apis/monitoring_v3.rb +1 -1
  36. data/generated/google/apis/monitoring_v3/classes.rb +3 -2
  37. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  38. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  39. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +50 -4
  40. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -0
  41. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  42. data/generated/google/apis/servicemanagement_v1/classes.rb +127 -67
  43. data/generated/google/apis/servicemanagement_v1/representations.rb +31 -19
  44. data/generated/google/apis/serviceuser_v1.rb +1 -1
  45. data/generated/google/apis/serviceuser_v1/classes.rb +4 -2
  46. data/generated/google/apis/slides_v1.rb +1 -1
  47. data/generated/google/apis/slides_v1/service.rb +2 -1
  48. data/generated/google/apis/testing_v1.rb +1 -1
  49. data/generated/google/apis/testing_v1/classes.rb +118 -0
  50. data/generated/google/apis/testing_v1/representations.rb +61 -0
  51. data/generated/google/apis/testing_v1/service.rb +30 -0
  52. data/generated/google/apis/webmasters_v3.rb +1 -1
  53. data/generated/google/apis/webmasters_v3/service.rb +4 -2
  54. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  55. data/generated/google/apis/youtube_v3.rb +1 -1
  56. data/generated/google/apis/youtube_v3/classes.rb +57 -0
  57. data/generated/google/apis/youtube_v3/representations.rb +31 -0
  58. data/lib/google/apis/version.rb +1 -1
  59. metadata +2 -2
@@ -88,6 +88,18 @@ module Google
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
+ class ApkDetail
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ApkManifest
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
91
103
  class CancelTestMatrixResponse
92
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
105
 
@@ -148,6 +160,12 @@ module Google
148
160
  include Google::Apis::Core::JsonObjectSupport
149
161
  end
150
162
 
163
+ class GetApkDetailsResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
151
169
  class GoogleAuto
152
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
171
 
@@ -160,6 +178,12 @@ module Google
160
178
  include Google::Apis::Core::JsonObjectSupport
161
179
  end
162
180
 
181
+ class IntentFilter
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
163
187
  class LauncherActivityIntent
164
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
189
 
@@ -413,6 +437,26 @@ module Google
413
437
  end
414
438
  end
415
439
 
440
+ class ApkDetail
441
+ # @private
442
+ class Representation < Google::Apis::Core::JsonRepresentation
443
+ property :apk_manifest, as: 'apkManifest', class: Google::Apis::TestingV1::ApkManifest, decorator: Google::Apis::TestingV1::ApkManifest::Representation
444
+
445
+ end
446
+ end
447
+
448
+ class ApkManifest
449
+ # @private
450
+ class Representation < Google::Apis::Core::JsonRepresentation
451
+ property :application_label, as: 'applicationLabel'
452
+ collection :intent_filters, as: 'intentFilters', class: Google::Apis::TestingV1::IntentFilter, decorator: Google::Apis::TestingV1::IntentFilter::Representation
453
+
454
+ property :max_sdk_version, as: 'maxSdkVersion'
455
+ property :min_sdk_version, as: 'minSdkVersion'
456
+ property :package_name, as: 'packageName'
457
+ end
458
+ end
459
+
416
460
  class CancelTestMatrixResponse
417
461
  # @private
418
462
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -495,6 +539,14 @@ module Google
495
539
  end
496
540
  end
497
541
 
542
+ class GetApkDetailsResponse
543
+ # @private
544
+ class Representation < Google::Apis::Core::JsonRepresentation
545
+ property :apk_detail, as: 'apkDetail', class: Google::Apis::TestingV1::ApkDetail, decorator: Google::Apis::TestingV1::ApkDetail::Representation
546
+
547
+ end
548
+ end
549
+
498
550
  class GoogleAuto
499
551
  # @private
500
552
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -508,6 +560,15 @@ module Google
508
560
  end
509
561
  end
510
562
 
563
+ class IntentFilter
564
+ # @private
565
+ class Representation < Google::Apis::Core::JsonRepresentation
566
+ collection :action_names, as: 'actionNames'
567
+ collection :category_names, as: 'categoryNames'
568
+ property :mime_type, as: 'mimeType'
569
+ end
570
+ end
571
+
511
572
  class LauncherActivityIntent
512
573
  # @private
513
574
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -48,6 +48,36 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
+ # Request the details of an Android application APK.
52
+ # @param [Google::Apis::TestingV1::FileReference] file_reference_object
53
+ # @param [String] fields
54
+ # Selector specifying which fields to include in a partial response.
55
+ # @param [String] quota_user
56
+ # Available to use for quota purposes for server-side applications. Can be any
57
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
58
+ # @param [Google::Apis::RequestOptions] options
59
+ # Request-specific options
60
+ #
61
+ # @yield [result, err] Result & error if block supplied
62
+ # @yieldparam result [Google::Apis::TestingV1::GetApkDetailsResponse] parsed result object
63
+ # @yieldparam err [StandardError] error object if request failed
64
+ #
65
+ # @return [Google::Apis::TestingV1::GetApkDetailsResponse]
66
+ #
67
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
68
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
69
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
70
+ def get_application_detail_service_apk_details(file_reference_object = nil, fields: nil, quota_user: nil, options: nil, &block)
71
+ command = make_simple_command(:post, 'v1/applicationDetailService/getApkDetails', options)
72
+ command.request_representation = Google::Apis::TestingV1::FileReference::Representation
73
+ command.request_object = file_reference_object
74
+ command.response_representation = Google::Apis::TestingV1::GetApkDetailsResponse::Representation
75
+ command.response_class = Google::Apis::TestingV1::GetApkDetailsResponse
76
+ command.query['fields'] = fields unless fields.nil?
77
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
78
+ execute_or_queue_command(command, &block)
79
+ end
80
+
51
81
  # Cancels unfinished test executions in a test matrix.
52
82
  # This call returns immediately and cancellation proceeds asychronously.
53
83
  # If the matrix is already final, this operation will have no effect.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/webmaster-tools/
26
26
  module WebmastersV3
27
27
  VERSION = 'V3'
28
- REVISION = '20170528'
28
+ REVISION = '20180125'
29
29
 
30
30
  # View and manage Search Console data for your verified sites
31
31
  AUTH_WEBMASTERS = 'https://www.googleapis.com/auth/webmasters'
@@ -283,7 +283,8 @@ module Google
283
283
  # Removes a site from the set of the user's Search Console sites.
284
284
  # @param [String] site_url
285
285
  # The URI of the property as defined in Search Console. Examples: http://www.
286
- # example.com/ or android-app://com.example/
286
+ # example.com/ or android-app://com.example/ Note: for property-sets, use the
287
+ # URI that starts with sc-set: which is used in Search Console URLs.
287
288
  # @param [String] fields
288
289
  # Selector specifying which fields to include in a partial response.
289
290
  # @param [String] quota_user
@@ -317,7 +318,8 @@ module Google
317
318
  # Retrieves information about specific site.
318
319
  # @param [String] site_url
319
320
  # The URI of the property as defined in Search Console. Examples: http://www.
320
- # example.com/ or android-app://com.example/
321
+ # example.com/ or android-app://com.example/ Note: for property-sets, use the
322
+ # URI that starts with sc-set: which is used in Search Console URLs.
321
323
  # @param [String] fields
322
324
  # Selector specifying which fields to include in a partial response.
323
325
  # @param [String] quota_user
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/youtube/partner/
26
26
  module YoutubePartnerV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180129'
28
+ REVISION = '20180205'
29
29
 
30
30
  # View and manage your assets and associated content on YouTube
31
31
  AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/youtube/v3
27
27
  module YoutubeV3
28
28
  VERSION = 'V3'
29
- REVISION = '20180125'
29
+ REVISION = '20180205'
30
30
 
31
31
  # Manage your YouTube account
32
32
  AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
@@ -5329,6 +5329,50 @@ module Google
5329
5329
  end
5330
5330
  end
5331
5331
 
5332
+ # Nonprofit information.
5333
+ class Nonprofit
5334
+ include Google::Apis::Core::Hashable
5335
+
5336
+ # Id of the nonprofit.
5337
+ # Corresponds to the JSON property `nonprofitId`
5338
+ # @return [Google::Apis::YoutubeV3::NonprofitId]
5339
+ attr_accessor :nonprofit_id
5340
+
5341
+ # Legal name of the nonprofit.
5342
+ # Corresponds to the JSON property `nonprofitLegalName`
5343
+ # @return [String]
5344
+ attr_accessor :nonprofit_legal_name
5345
+
5346
+ def initialize(**args)
5347
+ update!(**args)
5348
+ end
5349
+
5350
+ # Update properties of this object
5351
+ def update!(**args)
5352
+ @nonprofit_id = args[:nonprofit_id] if args.key?(:nonprofit_id)
5353
+ @nonprofit_legal_name = args[:nonprofit_legal_name] if args.key?(:nonprofit_legal_name)
5354
+ end
5355
+ end
5356
+
5357
+ #
5358
+ class NonprofitId
5359
+ include Google::Apis::Core::Hashable
5360
+
5361
+ #
5362
+ # Corresponds to the JSON property `value`
5363
+ # @return [String]
5364
+ attr_accessor :value
5365
+
5366
+ def initialize(**args)
5367
+ update!(**args)
5368
+ end
5369
+
5370
+ # Update properties of this object
5371
+ def update!(**args)
5372
+ @value = args[:value] if args.key?(:value)
5373
+ end
5374
+ end
5375
+
5332
5376
  # Paging details for lists of resources, including total number of items
5333
5377
  # available and number of resources returned in a single page.
5334
5378
  class PageInfo
@@ -6798,12 +6842,23 @@ module Google
6798
6842
  # @return [String]
6799
6843
  attr_accessor :display_string
6800
6844
 
6845
+ # True if this event is a Super Chat for Good purchase.
6846
+ # Corresponds to the JSON property `isSuperChatForGood`
6847
+ # @return [Boolean]
6848
+ attr_accessor :is_super_chat_for_good
6849
+ alias_method :is_super_chat_for_good?, :is_super_chat_for_good
6850
+
6801
6851
  # The tier for the paid message, which is based on the amount of money spent to
6802
6852
  # purchase the message.
6803
6853
  # Corresponds to the JSON property `messageType`
6804
6854
  # @return [Fixnum]
6805
6855
  attr_accessor :message_type
6806
6856
 
6857
+ # Nonprofit information.
6858
+ # Corresponds to the JSON property `nonprofit`
6859
+ # @return [Google::Apis::YoutubeV3::Nonprofit]
6860
+ attr_accessor :nonprofit
6861
+
6807
6862
  # Details about the supporter.
6808
6863
  # Corresponds to the JSON property `supporterDetails`
6809
6864
  # @return [Google::Apis::YoutubeV3::ChannelProfileDetails]
@@ -6821,7 +6876,9 @@ module Google
6821
6876
  @created_at = args[:created_at] if args.key?(:created_at)
6822
6877
  @currency = args[:currency] if args.key?(:currency)
6823
6878
  @display_string = args[:display_string] if args.key?(:display_string)
6879
+ @is_super_chat_for_good = args[:is_super_chat_for_good] if args.key?(:is_super_chat_for_good)
6824
6880
  @message_type = args[:message_type] if args.key?(:message_type)
6881
+ @nonprofit = args[:nonprofit] if args.key?(:nonprofit)
6825
6882
  @supporter_details = args[:supporter_details] if args.key?(:supporter_details)
6826
6883
  end
6827
6884
  end
@@ -664,6 +664,18 @@ module Google
664
664
  include Google::Apis::Core::JsonObjectSupport
665
665
  end
666
666
 
667
+ class Nonprofit
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
673
+ class NonprofitId
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
667
679
  class PageInfo
668
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
669
681
 
@@ -2457,6 +2469,22 @@ module Google
2457
2469
  end
2458
2470
  end
2459
2471
 
2472
+ class Nonprofit
2473
+ # @private
2474
+ class Representation < Google::Apis::Core::JsonRepresentation
2475
+ property :nonprofit_id, as: 'nonprofitId', class: Google::Apis::YoutubeV3::NonprofitId, decorator: Google::Apis::YoutubeV3::NonprofitId::Representation
2476
+
2477
+ property :nonprofit_legal_name, as: 'nonprofitLegalName'
2478
+ end
2479
+ end
2480
+
2481
+ class NonprofitId
2482
+ # @private
2483
+ class Representation < Google::Apis::Core::JsonRepresentation
2484
+ property :value, as: 'value'
2485
+ end
2486
+ end
2487
+
2460
2488
  class PageInfo
2461
2489
  # @private
2462
2490
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2851,7 +2879,10 @@ module Google
2851
2879
 
2852
2880
  property :currency, as: 'currency'
2853
2881
  property :display_string, as: 'displayString'
2882
+ property :is_super_chat_for_good, as: 'isSuperChatForGood'
2854
2883
  property :message_type, as: 'messageType'
2884
+ property :nonprofit, as: 'nonprofit', class: Google::Apis::YoutubeV3::Nonprofit, decorator: Google::Apis::YoutubeV3::Nonprofit::Representation
2885
+
2855
2886
  property :supporter_details, as: 'supporterDetails', class: Google::Apis::YoutubeV3::ChannelProfileDetails, decorator: Google::Apis::YoutubeV3::ChannelProfileDetails::Representation
2856
2887
 
2857
2888
  end
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  # Client library version
18
- VERSION = '0.19.6'
18
+ VERSION = '0.19.7'
19
19
 
20
20
  # Current operating system
21
21
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.6
4
+ version: 0.19.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2018-02-05 00:00:00.000000000 Z
14
+ date: 2018-02-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable