google-api-client 0.9.6 → 0.9.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/api_names.yaml +15 -0
  4. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  5. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +75 -12
  6. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +25 -5
  7. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +6 -2
  8. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +1 -1
  10. data/generated/google/apis/admin_directory_v1/representations.rb +1 -2
  11. data/generated/google/apis/adsense_v1_4.rb +1 -1
  12. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  13. data/generated/google/apis/analytics_v3.rb +1 -1
  14. data/generated/google/apis/analyticsreporting_v4.rb +37 -0
  15. data/generated/google/apis/analyticsreporting_v4/classes.rb +1385 -0
  16. data/generated/google/apis/analyticsreporting_v4/representations.rb +597 -0
  17. data/generated/google/apis/analyticsreporting_v4/service.rb +88 -0
  18. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  19. data/generated/google/apis/androidenterprise_v1/classes.rb +98 -2
  20. data/generated/google/apis/androidenterprise_v1/representations.rb +48 -0
  21. data/generated/google/apis/androidenterprise_v1/service.rb +63 -1
  22. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v2/classes.rb +268 -0
  24. data/generated/google/apis/androidpublisher_v2/representations.rb +142 -0
  25. data/generated/google/apis/androidpublisher_v2/service.rb +121 -0
  26. data/generated/google/apis/appstate_v1.rb +1 -1
  27. data/generated/google/apis/autoscaler_v1beta2.rb +1 -1
  28. data/generated/google/apis/autoscaler_v1beta2/classes.rb +10 -47
  29. data/generated/google/apis/autoscaler_v1beta2/representations.rb +1 -18
  30. data/generated/google/apis/autoscaler_v1beta2/service.rb +4 -4
  31. data/generated/google/apis/bigquery_v2.rb +1 -1
  32. data/generated/google/apis/bigquery_v2/classes.rb +97 -61
  33. data/generated/google/apis/bigquery_v2/representations.rb +23 -18
  34. data/generated/google/apis/calendar_v3.rb +1 -1
  35. data/generated/google/apis/classroom_v1.rb +23 -2
  36. data/generated/google/apis/classroom_v1/classes.rb +920 -6
  37. data/generated/google/apis/classroom_v1/representations.rb +419 -0
  38. data/generated/google/apis/classroom_v1/service.rb +507 -1
  39. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1/classes.rb +30 -23
  41. data/generated/google/apis/cloudbuild_v1/representations.rb +4 -3
  42. data/generated/google/apis/cloudbuild_v1/service.rb +25 -25
  43. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  44. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  45. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +55 -0
  47. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +40 -0
  48. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +35 -0
  49. data/generated/google/apis/cloudtrace_v1.rb +11 -3
  50. data/generated/google/apis/cloudtrace_v1/classes.rb +5 -5
  51. data/generated/google/apis/cloudtrace_v1/service.rb +8 -6
  52. data/generated/google/apis/compute_beta.rb +2 -2
  53. data/generated/google/apis/compute_beta/classes.rb +162 -32
  54. data/generated/google/apis/compute_beta/representations.rb +58 -0
  55. data/generated/google/apis/compute_beta/service.rb +392 -267
  56. data/generated/google/apis/compute_v1.rb +2 -2
  57. data/generated/google/apis/compute_v1/classes.rb +21 -9
  58. data/generated/google/apis/compute_v1/representations.rb +1 -0
  59. data/generated/google/apis/compute_v1/service.rb +291 -253
  60. data/generated/google/apis/container_v1.rb +1 -1
  61. data/generated/google/apis/container_v1/classes.rb +148 -0
  62. data/generated/google/apis/container_v1/representations.rb +55 -0
  63. data/generated/google/apis/container_v1/service.rb +161 -0
  64. data/generated/google/apis/content_v2.rb +1 -1
  65. data/generated/google/apis/content_v2/classes.rb +18 -6
  66. data/generated/google/apis/content_v2/representations.rb +1 -0
  67. data/generated/google/apis/customsearch_v1.rb +1 -1
  68. data/generated/google/apis/dataproc_v1.rb +2 -11
  69. data/generated/google/apis/dataproc_v1/classes.rb +0 -19
  70. data/generated/google/apis/dataproc_v1/representations.rb +0 -13
  71. data/generated/google/apis/dataproc_v1/service.rb +8 -87
  72. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  73. data/generated/google/apis/dfareporting_v2_3.rb +1 -1
  74. data/generated/google/apis/dfareporting_v2_3/classes.rb +41 -32
  75. data/generated/google/apis/discovery_v1.rb +2 -2
  76. data/generated/google/apis/discovery_v1/service.rb +2 -2
  77. data/generated/google/apis/dns_v1.rb +2 -3
  78. data/generated/google/apis/dns_v1/service.rb +1 -2
  79. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  80. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  81. data/generated/google/apis/drive_v2.rb +3 -2
  82. data/generated/google/apis/drive_v2/service.rb +2 -1
  83. data/generated/google/apis/drive_v3.rb +3 -2
  84. data/generated/google/apis/drive_v3/service.rb +2 -1
  85. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  86. data/generated/google/apis/games_management_v1management.rb +1 -1
  87. data/generated/google/apis/games_management_v1management/classes.rb +34 -0
  88. data/generated/google/apis/games_management_v1management/representations.rb +16 -0
  89. data/generated/google/apis/games_v1.rb +1 -1
  90. data/generated/google/apis/games_v1/classes.rb +34 -0
  91. data/generated/google/apis/games_v1/representations.rb +16 -0
  92. data/generated/google/apis/games_v1/service.rb +212 -53
  93. data/generated/google/apis/genomics_v1.rb +1 -1
  94. data/generated/google/apis/genomics_v1/classes.rb +18 -0
  95. data/generated/google/apis/genomics_v1/representations.rb +3 -0
  96. data/generated/google/apis/genomics_v1/service.rb +2 -2
  97. data/generated/google/apis/gmail_v1.rb +1 -1
  98. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  99. data/generated/google/apis/identitytoolkit_v3/classes.rb +19 -7
  100. data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -1
  101. data/generated/google/apis/mybusiness_v3.rb +32 -0
  102. data/generated/google/apis/mybusiness_v3/classes.rb +1864 -0
  103. data/generated/google/apis/mybusiness_v3/representations.rb +741 -0
  104. data/generated/google/apis/mybusiness_v3/service.rb +960 -0
  105. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  106. data/generated/google/apis/plus_domains_v1.rb +2 -2
  107. data/generated/google/apis/plus_domains_v1/service.rb +1 -1
  108. data/generated/google/apis/plus_v1.rb +2 -2
  109. data/generated/google/apis/plus_v1/service.rb +1 -1
  110. data/generated/google/apis/prediction_v1_6.rb +4 -1
  111. data/generated/google/apis/proximitybeacon_v1beta1.rb +5 -2
  112. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +169 -22
  113. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +36 -1
  114. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +254 -39
  115. data/generated/google/apis/replicapool_v1beta2.rb +3 -3
  116. data/generated/google/apis/replicapool_v1beta2/service.rb +2 -2
  117. data/generated/google/apis/resourceviews_v1beta2.rb +1 -1
  118. data/generated/google/apis/script_v1.rb +6 -3
  119. data/generated/google/apis/script_v1/service.rb +2 -2
  120. data/generated/google/apis/sheets_v4.rb +43 -0
  121. data/generated/google/apis/sheets_v4/classes.rb +5425 -0
  122. data/generated/google/apis/sheets_v4/representations.rb +2070 -0
  123. data/generated/google/apis/sheets_v4/service.rb +402 -0
  124. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  125. data/generated/google/apis/sqladmin_v1beta4/classes.rb +19 -4
  126. data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
  127. data/generated/google/apis/storage_v1.rb +1 -1
  128. data/generated/google/apis/storage_v1/classes.rb +2 -1
  129. data/generated/google/apis/taskqueue_v1beta2.rb +2 -2
  130. data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -1
  131. data/generated/google/apis/vision_v1.rb +4 -5
  132. data/generated/google/apis/vision_v1/classes.rb +69 -68
  133. data/generated/google/apis/vision_v1/representations.rb +13 -13
  134. data/generated/google/apis/vision_v1/service.rb +3 -4
  135. data/generated/google/apis/youtube_analytics_v1.rb +2 -2
  136. data/generated/google/apis/youtube_analytics_v1/service.rb +1 -1
  137. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  138. data/generated/google/apis/youtube_partner_v1/classes.rb +121 -0
  139. data/generated/google/apis/youtube_partner_v1/representations.rb +50 -0
  140. data/generated/google/apis/youtube_partner_v1/service.rb +40 -0
  141. data/generated/google/apis/youtube_v3.rb +1 -1
  142. data/generated/google/apis/youtube_v3/classes.rb +24 -0
  143. data/generated/google/apis/youtube_v3/representations.rb +4 -0
  144. data/generated/google/apis/youtubereporting_v1.rb +3 -3
  145. data/generated/google/apis/youtubereporting_v1/classes.rb +19 -0
  146. data/generated/google/apis/youtubereporting_v1/representations.rb +3 -0
  147. data/generated/google/apis/youtubereporting_v1/service.rb +3 -4
  148. data/lib/google/apis/version.rb +1 -1
  149. metadata +14 -2
@@ -20,12 +20,12 @@ module Google
20
20
  module Apis
21
21
  # YouTube Analytics API
22
22
  #
23
- # Retrieves your YouTube Analytics reports.
23
+ # Retrieves your YouTube Analytics data.
24
24
  #
25
25
  # @see http://developers.google.com/youtube/analytics/
26
26
  module YoutubeAnalyticsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20160301'
28
+ REVISION = '20160513'
29
29
 
30
30
  # Manage your YouTube account
31
31
  AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
@@ -22,7 +22,7 @@ module Google
22
22
  module YoutubeAnalyticsV1
23
23
  # YouTube Analytics API
24
24
  #
25
- # Retrieves your YouTube Analytics reports.
25
+ # Retrieves your YouTube Analytics data.
26
26
  #
27
27
  # @example
28
28
  # require 'google/apis/youtube_analytics_v1'
@@ -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 = '20160405'
28
+ REVISION = '20160510'
29
29
 
30
30
  # View and manage your assets and associated content on YouTube
31
31
  AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
@@ -3461,6 +3461,127 @@ module Google
3461
3461
  end
3462
3462
  end
3463
3463
 
3464
+ #
3465
+ class ValidateError
3466
+ include Google::Apis::Core::Hashable
3467
+
3468
+ # The column name where the error occurred.
3469
+ # Corresponds to the JSON property `columnName`
3470
+ # @return [String]
3471
+ attr_accessor :column_name
3472
+
3473
+ # The column number where the error occurred (1-based).
3474
+ # Corresponds to the JSON property `columnNumber`
3475
+ # @return [Fixnum]
3476
+ attr_accessor :column_number
3477
+
3478
+ # The line number where the error occurred (1-based).
3479
+ # Corresponds to the JSON property `lineNumber`
3480
+ # @return [Fixnum]
3481
+ attr_accessor :line_number
3482
+
3483
+ # The error message.
3484
+ # Corresponds to the JSON property `message`
3485
+ # @return [String]
3486
+ attr_accessor :message
3487
+
3488
+ # The code for the error message (if one exists).
3489
+ # Corresponds to the JSON property `messageCode`
3490
+ # @return [Fixnum]
3491
+ attr_accessor :message_code
3492
+
3493
+ # The error severity.
3494
+ # Corresponds to the JSON property `severity`
3495
+ # @return [String]
3496
+ attr_accessor :severity
3497
+
3498
+ def initialize(**args)
3499
+ update!(**args)
3500
+ end
3501
+
3502
+ # Update properties of this object
3503
+ def update!(**args)
3504
+ @column_name = args[:column_name] if args.key?(:column_name)
3505
+ @column_number = args[:column_number] if args.key?(:column_number)
3506
+ @line_number = args[:line_number] if args.key?(:line_number)
3507
+ @message = args[:message] if args.key?(:message)
3508
+ @message_code = args[:message_code] if args.key?(:message_code)
3509
+ @severity = args[:severity] if args.key?(:severity)
3510
+ end
3511
+ end
3512
+
3513
+ #
3514
+ class ValidateRequest
3515
+ include Google::Apis::Core::Hashable
3516
+
3517
+ # The metadata file contents.
3518
+ # Corresponds to the JSON property `content`
3519
+ # @return [String]
3520
+ attr_accessor :content
3521
+
3522
+ # The type of the API resource. For this operation, the value is youtubePartner#
3523
+ # validateRequest.
3524
+ # Corresponds to the JSON property `kind`
3525
+ # @return [String]
3526
+ attr_accessor :kind
3527
+
3528
+ # The desired locale of the error messages as defined in BCP 47 (http://tools.
3529
+ # ietf.org/html/bcp47). For example, "en-US" or "de". If not specified we will
3530
+ # return the error messages in English ("en").
3531
+ # Corresponds to the JSON property `locale`
3532
+ # @return [String]
3533
+ attr_accessor :locale
3534
+
3535
+ # The uploader name.
3536
+ # Corresponds to the JSON property `uploaderName`
3537
+ # @return [String]
3538
+ attr_accessor :uploader_name
3539
+
3540
+ def initialize(**args)
3541
+ update!(**args)
3542
+ end
3543
+
3544
+ # Update properties of this object
3545
+ def update!(**args)
3546
+ @content = args[:content] if args.key?(:content)
3547
+ @kind = args[:kind] if args.key?(:kind)
3548
+ @locale = args[:locale] if args.key?(:locale)
3549
+ @uploader_name = args[:uploader_name] if args.key?(:uploader_name)
3550
+ end
3551
+ end
3552
+
3553
+ #
3554
+ class ValidateResponse
3555
+ include Google::Apis::Core::Hashable
3556
+
3557
+ # The list of errors and/or warnings.
3558
+ # Corresponds to the JSON property `errors`
3559
+ # @return [Array<Google::Apis::YoutubePartnerV1::ValidateError>]
3560
+ attr_accessor :errors
3561
+
3562
+ # The type of the API resource. For this operation, the value is youtubePartner#
3563
+ # validateResponse.
3564
+ # Corresponds to the JSON property `kind`
3565
+ # @return [String]
3566
+ attr_accessor :kind
3567
+
3568
+ # The validation status.
3569
+ # Corresponds to the JSON property `status`
3570
+ # @return [String]
3571
+ attr_accessor :status
3572
+
3573
+ def initialize(**args)
3574
+ update!(**args)
3575
+ end
3576
+
3577
+ # Update properties of this object
3578
+ def update!(**args)
3579
+ @errors = args[:errors] if args.key?(:errors)
3580
+ @kind = args[:kind] if args.key?(:kind)
3581
+ @status = args[:status] if args.key?(:status)
3582
+ end
3583
+ end
3584
+
3464
3585
  #
3465
3586
  class VideoAdvertisingOption
3466
3587
  include Google::Apis::Core::Hashable
@@ -466,6 +466,24 @@ module Google
466
466
  include Google::Apis::Core::JsonObjectSupport
467
467
  end
468
468
 
469
+ class ValidateError
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class ValidateRequest
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class ValidateResponse
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
469
487
  class VideoAdvertisingOption
470
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
489
 
@@ -1398,6 +1416,38 @@ module Google
1398
1416
  end
1399
1417
  end
1400
1418
 
1419
+ class ValidateError
1420
+ # @private
1421
+ class Representation < Google::Apis::Core::JsonRepresentation
1422
+ property :column_name, as: 'columnName'
1423
+ property :column_number, as: 'columnNumber'
1424
+ property :line_number, as: 'lineNumber'
1425
+ property :message, as: 'message'
1426
+ property :message_code, as: 'messageCode'
1427
+ property :severity, as: 'severity'
1428
+ end
1429
+ end
1430
+
1431
+ class ValidateRequest
1432
+ # @private
1433
+ class Representation < Google::Apis::Core::JsonRepresentation
1434
+ property :content, as: 'content'
1435
+ property :kind, as: 'kind'
1436
+ property :locale, as: 'locale'
1437
+ property :uploader_name, as: 'uploaderName'
1438
+ end
1439
+ end
1440
+
1441
+ class ValidateResponse
1442
+ # @private
1443
+ class Representation < Google::Apis::Core::JsonRepresentation
1444
+ collection :errors, as: 'errors', class: Google::Apis::YoutubePartnerV1::ValidateError, decorator: Google::Apis::YoutubePartnerV1::ValidateError::Representation
1445
+
1446
+ property :kind, as: 'kind'
1447
+ property :status, as: 'status'
1448
+ end
1449
+ end
1450
+
1401
1451
  class VideoAdvertisingOption
1402
1452
  # @private
1403
1453
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2811,6 +2811,46 @@ module Google
2811
2811
  execute_or_queue_command(command, &block)
2812
2812
  end
2813
2813
 
2814
+ # Validate a metadata file.
2815
+ # @param [Google::Apis::YoutubePartnerV1::ValidateRequest] validate_request_object
2816
+ # @param [String] on_behalf_of_content_owner
2817
+ # The onBehalfOfContentOwner parameter identifies the content owner that the
2818
+ # user is acting on behalf of. This parameter supports users whose accounts are
2819
+ # associated with multiple content owners.
2820
+ # @param [String] fields
2821
+ # Selector specifying which fields to include in a partial response.
2822
+ # @param [String] quota_user
2823
+ # Available to use for quota purposes for server-side applications. Can be any
2824
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2825
+ # Overrides userIp if both are provided.
2826
+ # @param [String] user_ip
2827
+ # IP address of the site where the request originates. Use this if you want to
2828
+ # enforce per-user limits.
2829
+ # @param [Google::Apis::RequestOptions] options
2830
+ # Request-specific options
2831
+ #
2832
+ # @yield [result, err] Result & error if block supplied
2833
+ # @yieldparam result [Google::Apis::YoutubePartnerV1::ValidateResponse] parsed result object
2834
+ # @yieldparam err [StandardError] error object if request failed
2835
+ #
2836
+ # @return [Google::Apis::YoutubePartnerV1::ValidateResponse]
2837
+ #
2838
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2839
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2840
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2841
+ def validate_validator(validate_request_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2842
+ command = make_simple_command(:post, 'validator', options)
2843
+ command.request_representation = Google::Apis::YoutubePartnerV1::ValidateRequest::Representation
2844
+ command.request_object = validate_request_object
2845
+ command.response_representation = Google::Apis::YoutubePartnerV1::ValidateResponse::Representation
2846
+ command.response_class = Google::Apis::YoutubePartnerV1::ValidateResponse
2847
+ command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
2848
+ command.query['fields'] = fields unless fields.nil?
2849
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2850
+ command.query['userIp'] = user_ip unless user_ip.nil?
2851
+ execute_or_queue_command(command, &block)
2852
+ end
2853
+
2814
2854
  # Retrieves advertising settings for the specified video.
2815
2855
  # @param [String] video_id
2816
2856
  # The videoId parameter specifies the YouTube video ID of the video for which
@@ -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 = '20160406'
29
+ REVISION = '20160509'
30
30
 
31
31
  # Manage your YouTube account
32
32
  AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
@@ -843,6 +843,11 @@ module Google
843
843
  # @return [String]
844
844
  attr_accessor :format
845
845
 
846
+ # The frame rate of the inbound video data.
847
+ # Corresponds to the JSON property `frameRate`
848
+ # @return [String]
849
+ attr_accessor :frame_rate
850
+
846
851
  # Describes information necessary for ingesting an RTMP or an HTTP stream.
847
852
  # Corresponds to the JSON property `ingestionInfo`
848
853
  # @return [Google::Apis::YoutubeV3::IngestionInfo]
@@ -853,6 +858,11 @@ module Google
853
858
  # @return [String]
854
859
  attr_accessor :ingestion_type
855
860
 
861
+ # The resolution of the inbound video data.
862
+ # Corresponds to the JSON property `resolution`
863
+ # @return [String]
864
+ attr_accessor :resolution
865
+
856
866
  def initialize(**args)
857
867
  update!(**args)
858
868
  end
@@ -860,8 +870,10 @@ module Google
860
870
  # Update properties of this object
861
871
  def update!(**args)
862
872
  @format = args[:format] if args.key?(:format)
873
+ @frame_rate = args[:frame_rate] if args.key?(:frame_rate)
863
874
  @ingestion_info = args[:ingestion_info] if args.key?(:ingestion_info)
864
875
  @ingestion_type = args[:ingestion_type] if args.key?(:ingestion_type)
876
+ @resolution = args[:resolution] if args.key?(:resolution)
865
877
  end
866
878
  end
867
879
 
@@ -3770,6 +3782,11 @@ module Google
3770
3782
  # @return [Google::Apis::YoutubeV3::MonitorStreamInfo]
3771
3783
  attr_accessor :monitor_stream
3772
3784
 
3785
+ # The projection format of this broadcast. This defaults to rectangular.
3786
+ # Corresponds to the JSON property `projection`
3787
+ # @return [String]
3788
+ attr_accessor :projection
3789
+
3773
3790
  # Automatically start recording after the event goes live. The default value for
3774
3791
  # this property is true.
3775
3792
  # Important: You must also set the enableDvr property's value to true if you
@@ -3807,6 +3824,7 @@ module Google
3807
3824
  @enable_embed = args[:enable_embed] if args.key?(:enable_embed)
3808
3825
  @enable_low_latency = args[:enable_low_latency] if args.key?(:enable_low_latency)
3809
3826
  @monitor_stream = args[:monitor_stream] if args.key?(:monitor_stream)
3827
+ @projection = args[:projection] if args.key?(:projection)
3810
3828
  @record_from_start = args[:record_from_start] if args.key?(:record_from_start)
3811
3829
  @start_with_slate = args[:start_with_slate] if args.key?(:start_with_slate)
3812
3830
  end
@@ -7139,6 +7157,11 @@ module Google
7139
7157
  attr_accessor :licensed_content
7140
7158
  alias_method :licensed_content?, :licensed_content
7141
7159
 
7160
+ # Specifies the projection format of the video.
7161
+ # Corresponds to the JSON property `projection`
7162
+ # @return [String]
7163
+ attr_accessor :projection
7164
+
7142
7165
  # DEPRECATED Region restriction of the video.
7143
7166
  # Corresponds to the JSON property `regionRestriction`
7144
7167
  # @return [Google::Apis::YoutubeV3::VideoContentDetailsRegionRestriction]
@@ -7157,6 +7180,7 @@ module Google
7157
7180
  @dimension = args[:dimension] if args.key?(:dimension)
7158
7181
  @duration = args[:duration] if args.key?(:duration)
7159
7182
  @licensed_content = args[:licensed_content] if args.key?(:licensed_content)
7183
+ @projection = args[:projection] if args.key?(:projection)
7160
7184
  @region_restriction = args[:region_restriction] if args.key?(:region_restriction)
7161
7185
  end
7162
7186
  end
@@ -1270,9 +1270,11 @@ module Google
1270
1270
  # @private
1271
1271
  class Representation < Google::Apis::Core::JsonRepresentation
1272
1272
  property :format, as: 'format'
1273
+ property :frame_rate, as: 'frameRate'
1273
1274
  property :ingestion_info, as: 'ingestionInfo', class: Google::Apis::YoutubeV3::IngestionInfo, decorator: Google::Apis::YoutubeV3::IngestionInfo::Representation
1274
1275
 
1275
1276
  property :ingestion_type, as: 'ingestionType'
1277
+ property :resolution, as: 'resolution'
1276
1278
  end
1277
1279
  end
1278
1280
 
@@ -2003,6 +2005,7 @@ module Google
2003
2005
  property :enable_low_latency, as: 'enableLowLatency'
2004
2006
  property :monitor_stream, as: 'monitorStream', class: Google::Apis::YoutubeV3::MonitorStreamInfo, decorator: Google::Apis::YoutubeV3::MonitorStreamInfo::Representation
2005
2007
 
2008
+ property :projection, as: 'projection'
2006
2009
  property :record_from_start, as: 'recordFromStart'
2007
2010
  property :start_with_slate, as: 'startWithSlate'
2008
2011
  end
@@ -2922,6 +2925,7 @@ module Google
2922
2925
  property :dimension, as: 'dimension'
2923
2926
  property :duration, as: 'duration'
2924
2927
  property :licensed_content, as: 'licensedContent'
2928
+ property :projection, as: 'projection'
2925
2929
  property :region_restriction, as: 'regionRestriction', class: Google::Apis::YoutubeV3::VideoContentDetailsRegionRestriction, decorator: Google::Apis::YoutubeV3::VideoContentDetailsRegionRestriction::Representation
2926
2930
 
2927
2931
  end
@@ -20,13 +20,13 @@ module Google
20
20
  module Apis
21
21
  # YouTube Reporting API
22
22
  #
23
- # Schedules reporting jobs and downloads the resulting bulk data reports about
24
- # YouTube channels, videos, etc. in the form of CSV files.
23
+ # Schedules reporting jobs containing your YouTube Analytics data and downloads
24
+ # the resulting bulk data reports in the form of CSV files.
25
25
  #
26
26
  # @see https://developers.google.com/youtube/reporting/v1/reports/
27
27
  module YoutubereportingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20160315'
29
+ REVISION = '20160517'
30
30
 
31
31
  # View monetary and non-monetary YouTube Analytics reports for your YouTube content
32
32
  AUTH_YT_ANALYTICS_MONETARY_READONLY = 'https://www.googleapis.com/auth/yt-analytics-monetary.readonly'
@@ -82,6 +82,11 @@ module Google
82
82
  # @return [String]
83
83
  attr_accessor :name
84
84
 
85
+ # The date/time when this report type was/will be deprecated.
86
+ # Corresponds to the JSON property `deprecateTime`
87
+ # @return [String]
88
+ attr_accessor :deprecate_time
89
+
85
90
  # True if this a system-managed report type; otherwise false. Reporting jobs for
86
91
  # system-managed report types are created automatically and can thus not be used
87
92
  # in the `CreateJob` method.
@@ -98,6 +103,7 @@ module Google
98
103
  def update!(**args)
99
104
  @id = args[:id] if args.key?(:id)
100
105
  @name = args[:name] if args.key?(:name)
106
+ @deprecate_time = args[:deprecate_time] if args.key?(:deprecate_time)
101
107
  @system_managed = args[:system_managed] if args.key?(:system_managed)
102
108
  end
103
109
  end
@@ -126,6 +132,12 @@ module Google
126
132
  # @return [String]
127
133
  attr_accessor :create_time
128
134
 
135
+ # The date/time when this job will expire/expired. After a job expired, no new
136
+ # reports are generated.
137
+ # Corresponds to the JSON property `expireTime`
138
+ # @return [String]
139
+ attr_accessor :expire_time
140
+
129
141
  # True if this a system-managed job that cannot be modified by the user;
130
142
  # otherwise false.
131
143
  # Corresponds to the JSON property `systemManaged`
@@ -143,6 +155,7 @@ module Google
143
155
  @report_type_id = args[:report_type_id] if args.key?(:report_type_id)
144
156
  @name = args[:name] if args.key?(:name)
145
157
  @create_time = args[:create_time] if args.key?(:create_time)
158
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
146
159
  @system_managed = args[:system_managed] if args.key?(:system_managed)
147
160
  end
148
161
  end
@@ -233,6 +246,11 @@ module Google
233
246
  # @return [String]
234
247
  attr_accessor :job_id
235
248
 
249
+ # The date/time when the job this report belongs to will expire/expired.
250
+ # Corresponds to the JSON property `jobExpireTime`
251
+ # @return [String]
252
+ attr_accessor :job_expire_time
253
+
236
254
  # The start of the time period that the report instance covers. The value is
237
255
  # inclusive.
238
256
  # Corresponds to the JSON property `startTime`
@@ -263,6 +281,7 @@ module Google
263
281
  def update!(**args)
264
282
  @id = args[:id] if args.key?(:id)
265
283
  @job_id = args[:job_id] if args.key?(:job_id)
284
+ @job_expire_time = args[:job_expire_time] if args.key?(:job_expire_time)
266
285
  @start_time = args[:start_time] if args.key?(:start_time)
267
286
  @end_time = args[:end_time] if args.key?(:end_time)
268
287
  @create_time = args[:create_time] if args.key?(:create_time)