google-api-client 0.9.19 → 0.9.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/api_names.yaml +2 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +20 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +2 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +9 -7
- data/generated/google/apis/androidenterprise_v1/service.rb +7 -1
- data/generated/google/apis/appengine_v1beta5.rb +7 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +86 -25
- data/generated/google/apis/appengine_v1beta5/representations.rb +31 -12
- data/generated/google/apis/appengine_v1beta5/service.rb +33 -33
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +27 -18
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +243 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +64 -0
- data/generated/google/apis/classroom_v1/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +443 -13
- data/generated/google/apis/compute_beta/representations.rb +155 -0
- data/generated/google/apis/compute_beta/service.rb +383 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +43 -13
- data/generated/google/apis/compute_v1/representations.rb +13 -0
- data/generated/google/apis/compute_v1/service.rb +89 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +48 -0
- data/generated/google/apis/content_v2/representations.rb +18 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +44 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +18 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +367 -7
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +213 -68
- data/generated/google/apis/dataproc_v1/representations.rb +38 -0
- data/generated/google/apis/dataproc_v1/service.rb +78 -48
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +3 -3
- data/generated/google/apis/deploymentmanager_v2/service.rb +55 -5
- data/generated/google/apis/dfareporting_v2_6.rb +1 -1
- data/generated/google/apis/dfareporting_v2_6/classes.rb +4 -3
- data/generated/google/apis/dfareporting_v2_6/service.rb +48 -29
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +7 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +7 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +9 -2
- data/generated/google/apis/genomics_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -1
- data/generated/google/apis/gmail_v1.rb +4 -1
- data/generated/google/apis/gmail_v1/classes.rb +8 -10
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +39 -6
- data/generated/google/apis/identitytoolkit_v3/representations.rb +6 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +3 -2
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +22 -18
- data/generated/google/apis/logging_v2beta1/service.rb +17 -3
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +26 -24
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +771 -75
- data/generated/google/apis/sheets_v4/representations.rb +125 -10
- data/generated/google/apis/sheets_v4/service.rb +39 -2
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +3926 -0
- data/generated/google/apis/slides_v1/representations.rb +1722 -0
- data/generated/google/apis/slides_v1/service.rb +202 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/service.rb +25 -25
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +20 -19
- data/generated/google/apis/youtube_v3/representations.rb +3 -4
- data/generated/google/apis/youtube_v3/service.rb +35 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -1375,7 +1375,6 @@ module Google
|
|
1375
1375
|
class ChannelContentDetails
|
1376
1376
|
# @private
|
1377
1377
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1378
|
-
property :google_plus_user_id, as: 'googlePlusUserId'
|
1379
1378
|
property :related_playlists, as: 'relatedPlaylists', class: Google::Apis::YoutubeV3::ChannelContentDetails::RelatedPlaylists, decorator: Google::Apis::YoutubeV3::ChannelContentDetails::RelatedPlaylists::Representation
|
1380
1379
|
|
1381
1380
|
end
|
@@ -1618,7 +1617,6 @@ module Google
|
|
1618
1617
|
property :author_channel_id, as: 'authorChannelId'
|
1619
1618
|
property :author_channel_url, as: 'authorChannelUrl'
|
1620
1619
|
property :author_display_name, as: 'authorDisplayName'
|
1621
|
-
property :author_googleplus_profile_url, as: 'authorGoogleplusProfileUrl'
|
1622
1620
|
property :author_profile_image_url, as: 'authorProfileImageUrl'
|
1623
1621
|
property :can_rate, as: 'canRate'
|
1624
1622
|
property :channel_id, as: 'channelId'
|
@@ -3006,6 +3004,7 @@ module Google
|
|
3006
3004
|
property :definition, as: 'definition'
|
3007
3005
|
property :dimension, as: 'dimension'
|
3008
3006
|
property :duration, as: 'duration'
|
3007
|
+
property :has_custom_thumbnail, as: 'hasCustomThumbnail'
|
3009
3008
|
property :licensed_content, as: 'licensedContent'
|
3010
3009
|
property :projection, as: 'projection'
|
3011
3010
|
property :region_restriction, as: 'regionRestriction', class: Google::Apis::YoutubeV3::VideoContentDetailsRegionRestriction, decorator: Google::Apis::YoutubeV3::VideoContentDetailsRegionRestriction::Representation
|
@@ -3033,8 +3032,6 @@ module Google
|
|
3033
3032
|
property :file_name, as: 'fileName'
|
3034
3033
|
property :file_size, as: 'fileSize'
|
3035
3034
|
property :file_type, as: 'fileType'
|
3036
|
-
property :recording_location, as: 'recordingLocation', class: Google::Apis::YoutubeV3::GeoPoint, decorator: Google::Apis::YoutubeV3::GeoPoint::Representation
|
3037
|
-
|
3038
3035
|
collection :video_streams, as: 'videoStreams', class: Google::Apis::YoutubeV3::VideoFileDetailsVideoStream, decorator: Google::Apis::YoutubeV3::VideoFileDetailsVideoStream::Representation
|
3039
3036
|
|
3040
3037
|
end
|
@@ -3129,7 +3126,9 @@ module Google
|
|
3129
3126
|
class VideoPlayer
|
3130
3127
|
# @private
|
3131
3128
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3129
|
+
property :embed_height, as: 'embedHeight'
|
3132
3130
|
property :embed_html, as: 'embedHtml'
|
3131
|
+
property :embed_width, as: 'embedWidth'
|
3133
3132
|
end
|
3134
3133
|
end
|
3135
3134
|
|
@@ -2776,6 +2776,16 @@ module Google
|
|
2776
2776
|
# The id parameter specifies the YouTube playlist item ID for the playlist item
|
2777
2777
|
# that is being deleted. In a playlistItem resource, the id property specifies
|
2778
2778
|
# the playlist item's ID.
|
2779
|
+
# @param [String] on_behalf_of_content_owner
|
2780
|
+
# Note: This parameter is intended exclusively for YouTube content partners.
|
2781
|
+
# The onBehalfOfContentOwner parameter indicates that the request's
|
2782
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
2783
|
+
# of the content owner specified in the parameter value. This parameter is
|
2784
|
+
# intended for YouTube content partners that own and manage many different
|
2785
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
2786
|
+
# to all their video and channel data, without having to provide authentication
|
2787
|
+
# credentials for each individual channel. The CMS account that the user
|
2788
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
2779
2789
|
# @param [String] fields
|
2780
2790
|
# Selector specifying which fields to include in a partial response.
|
2781
2791
|
# @param [String] quota_user
|
@@ -2797,9 +2807,10 @@ module Google
|
|
2797
2807
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2798
2808
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2799
2809
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2800
|
-
def delete_playlist_item(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2810
|
+
def delete_playlist_item(id, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2801
2811
|
command = make_simple_command(:delete, 'playlistItems', options)
|
2802
2812
|
command.query['id'] = id unless id.nil?
|
2813
|
+
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
2803
2814
|
command.query['fields'] = fields unless fields.nil?
|
2804
2815
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2805
2816
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -2952,6 +2963,16 @@ module Google
|
|
2952
2963
|
# specify values, the existing start and end times will be removed and replaced
|
2953
2964
|
# with the default settings.
|
2954
2965
|
# @param [Google::Apis::YoutubeV3::PlaylistItem] playlist_item_object
|
2966
|
+
# @param [String] on_behalf_of_content_owner
|
2967
|
+
# Note: This parameter is intended exclusively for YouTube content partners.
|
2968
|
+
# The onBehalfOfContentOwner parameter indicates that the request's
|
2969
|
+
# authorization credentials identify a YouTube CMS user who is acting on behalf
|
2970
|
+
# of the content owner specified in the parameter value. This parameter is
|
2971
|
+
# intended for YouTube content partners that own and manage many different
|
2972
|
+
# YouTube channels. It allows content owners to authenticate once and get access
|
2973
|
+
# to all their video and channel data, without having to provide authentication
|
2974
|
+
# credentials for each individual channel. The CMS account that the user
|
2975
|
+
# authenticates with must be linked to the specified YouTube content owner.
|
2955
2976
|
# @param [String] fields
|
2956
2977
|
# Selector specifying which fields to include in a partial response.
|
2957
2978
|
# @param [String] quota_user
|
@@ -2973,12 +2994,13 @@ module Google
|
|
2973
2994
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2974
2995
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2975
2996
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2976
|
-
def update_playlist_item(part, playlist_item_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2997
|
+
def update_playlist_item(part, playlist_item_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2977
2998
|
command = make_simple_command(:put, 'playlistItems', options)
|
2978
2999
|
command.request_representation = Google::Apis::YoutubeV3::PlaylistItem::Representation
|
2979
3000
|
command.request_object = playlist_item_object
|
2980
3001
|
command.response_representation = Google::Apis::YoutubeV3::PlaylistItem::Representation
|
2981
3002
|
command.response_class = Google::Apis::YoutubeV3::PlaylistItem
|
3003
|
+
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
2982
3004
|
command.query['part'] = part unless part.nil?
|
2983
3005
|
command.query['fields'] = fields unless fields.nil?
|
2984
3006
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -4069,12 +4091,20 @@ module Google
|
|
4069
4091
|
# property specifies the video's ID.
|
4070
4092
|
# @param [String] locale
|
4071
4093
|
# DEPRECATED
|
4094
|
+
# @param [Fixnum] max_height
|
4095
|
+
# The maxHeight parameter specifies a maximum height of the embedded player. If
|
4096
|
+
# maxWidth is provided, maxHeight may not be reached in order to not violate the
|
4097
|
+
# width request.
|
4072
4098
|
# @param [Fixnum] max_results
|
4073
4099
|
# The maxResults parameter specifies the maximum number of items that should be
|
4074
4100
|
# returned in the result set.
|
4075
4101
|
# Note: This parameter is supported for use in conjunction with the myRating
|
4076
4102
|
# parameter, but it is not supported for use in conjunction with the id
|
4077
4103
|
# parameter.
|
4104
|
+
# @param [Fixnum] max_width
|
4105
|
+
# The maxWidth parameter specifies a maximum width of the embedded player. If
|
4106
|
+
# maxHeight is provided, maxWidth may not be reached in order to not violate the
|
4107
|
+
# height request.
|
4078
4108
|
# @param [String] my_rating
|
4079
4109
|
# Set this parameter's value to like or dislike to instruct the API to only
|
4080
4110
|
# return videos liked or disliked by the authenticated user.
|
@@ -4125,7 +4155,7 @@ module Google
|
|
4125
4155
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4126
4156
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4127
4157
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4128
|
-
def list_videos(part, chart: nil, hl: nil, id: nil, locale: nil, max_results: nil, my_rating: nil, on_behalf_of_content_owner: nil, page_token: nil, region_code: nil, video_category_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4158
|
+
def list_videos(part, chart: nil, hl: nil, id: nil, locale: nil, max_height: nil, max_results: nil, max_width: nil, my_rating: nil, on_behalf_of_content_owner: nil, page_token: nil, region_code: nil, video_category_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4129
4159
|
command = make_simple_command(:get, 'videos', options)
|
4130
4160
|
command.response_representation = Google::Apis::YoutubeV3::ListVideosResponse::Representation
|
4131
4161
|
command.response_class = Google::Apis::YoutubeV3::ListVideosResponse
|
@@ -4133,7 +4163,9 @@ module Google
|
|
4133
4163
|
command.query['hl'] = hl unless hl.nil?
|
4134
4164
|
command.query['id'] = id unless id.nil?
|
4135
4165
|
command.query['locale'] = locale unless locale.nil?
|
4166
|
+
command.query['maxHeight'] = max_height unless max_height.nil?
|
4136
4167
|
command.query['maxResults'] = max_results unless max_results.nil?
|
4168
|
+
command.query['maxWidth'] = max_width unless max_width.nil?
|
4137
4169
|
command.query['myRating'] = my_rating unless my_rating.nil?
|
4138
4170
|
command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
|
4139
4171
|
command.query['pageToken'] = page_token unless page_token.nil?
|
data/lib/google/apis/version.rb
CHANGED
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.9.
|
4
|
+
version: 0.9.20
|
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: 2016-
|
14
|
+
date: 2016-11-08 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: representable
|
@@ -554,6 +554,10 @@ files:
|
|
554
554
|
- generated/google/apis/site_verification_v1/classes.rb
|
555
555
|
- generated/google/apis/site_verification_v1/representations.rb
|
556
556
|
- generated/google/apis/site_verification_v1/service.rb
|
557
|
+
- generated/google/apis/slides_v1.rb
|
558
|
+
- generated/google/apis/slides_v1/classes.rb
|
559
|
+
- generated/google/apis/slides_v1/representations.rb
|
560
|
+
- generated/google/apis/slides_v1/service.rb
|
557
561
|
- generated/google/apis/speech_v1beta1.rb
|
558
562
|
- generated/google/apis/speech_v1beta1/classes.rb
|
559
563
|
- generated/google/apis/speech_v1beta1/representations.rb
|