google-api-client 0.9.pre2 → 0.9.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +1 -1
- data/api_names_out.yaml +68 -5
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +34 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +5 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +10 -10
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +19 -19
- data/generated/google/apis/analytics_v3/service.rb +35 -35
- data/generated/google/apis/androidenterprise_v1/service.rb +6 -6
- 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 +16 -6
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2/service.rb +4 -4
- data/generated/google/apis/blogger_v3/service.rb +7 -7
- data/generated/google/apis/books_v1/service.rb +47 -47
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +43 -27
- data/generated/google/apis/calendar_v3/service.rb +20 -10
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +372 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +155 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +109 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +21 -18
- data/generated/google/apis/compute_v1/representations.rb +0 -1
- data/generated/google/apis/compute_v1/service.rb +459 -819
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +25 -15
- data/generated/google/apis/content_v2/representations.rb +2 -0
- data/generated/google/apis/content_v2/service.rb +2 -1
- data/generated/google/apis/coordinate_v1/service.rb +11 -11
- data/generated/google/apis/customsearch_v1/service.rb +3 -3
- data/generated/google/apis/deploymentmanager_v2beta2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +50 -90
- data/generated/google/apis/dfareporting_v2_1.rb +1 -1
- data/generated/google/apis/dfareporting_v2_1/classes.rb +4 -4
- data/generated/google/apis/dfareporting_v2_1/service.rb +65 -62
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +11 -11
- data/generated/google/apis/drive_v2.rb +4 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -2
- data/generated/google/apis/drive_v2/service.rb +15 -9
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +44 -31
- data/generated/google/apis/fitness_v1/representations.rb +0 -2
- data/generated/google/apis/fitness_v1/service.rb +5 -1
- data/generated/google/apis/fusiontables_v2/service.rb +9 -9
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +18 -18
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +56 -53
- data/generated/google/apis/genomics_v1/service.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/mapsengine_v1/service.rb +8 -8
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +3 -3
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +6 -6
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +21 -20
- data/generated/google/apis/pubsub_v1beta2/service.rb +13 -13
- data/generated/google/apis/replicapool_v1beta2/service.rb +3 -3
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +8 -1
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +1 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -5
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +2 -2
- data/generated/google/apis/sqladmin_v1beta4/service.rb +4 -4
- data/generated/google/apis/storage_v1/service.rb +6 -6
- data/generated/google/apis/taskqueue_v1beta2/service.rb +9 -9
- data/generated/google/apis/translate_v2/service.rb +6 -6
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +11 -11
- data/generated/google/apis/webmasters_v3/service.rb +3 -3
- data/generated/google/apis/youtube_analytics_v1/service.rb +25 -25
- data/generated/google/apis/youtube_v3/service.rb +305 -305
- data/lib/google/apis/generator/model.rb +10 -0
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -165,7 +165,7 @@ module Google
|
|
165
165
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
166
166
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
167
167
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
168
|
-
def get_blog_by_url(url
|
168
|
+
def get_blog_by_url(url, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
169
169
|
path = 'blogs/byurl'
|
170
170
|
command = make_simple_command(:get, path, options)
|
171
171
|
command.response_representation = Google::Apis::BloggerV3::Blog::Representation
|
@@ -1157,10 +1157,10 @@ module Google
|
|
1157
1157
|
# Retrieve a Post by Path.
|
1158
1158
|
# @param [String] blog_id
|
1159
1159
|
# ID of the blog to fetch the post from.
|
1160
|
-
# @param [Fixnum] max_comments
|
1161
|
-
# Maximum number of comments to pull back on a post.
|
1162
1160
|
# @param [String] path
|
1163
1161
|
# Path of the Post to retrieve.
|
1162
|
+
# @param [Fixnum] max_comments
|
1163
|
+
# Maximum number of comments to pull back on a post.
|
1164
1164
|
# @param [String] view
|
1165
1165
|
# Access level with which to view the returned result. Note that some fields
|
1166
1166
|
# require elevated access.
|
@@ -1185,7 +1185,7 @@ module Google
|
|
1185
1185
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1186
1186
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1187
1187
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1188
|
-
def get_post_by_path(blog_id,
|
1188
|
+
def get_post_by_path(blog_id, path, max_comments: nil, view: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1189
1189
|
path = 'blogs/{blogId}/posts/bypath'
|
1190
1190
|
command = make_simple_command(:get, path, options)
|
1191
1191
|
command.response_representation = Google::Apis::BloggerV3::Post::Representation
|
@@ -1467,13 +1467,13 @@ module Google
|
|
1467
1467
|
# Search for a post.
|
1468
1468
|
# @param [String] blog_id
|
1469
1469
|
# ID of the blog to fetch the post from.
|
1470
|
+
# @param [String] q
|
1471
|
+
# Query terms to search this blog for matching posts.
|
1470
1472
|
# @param [Boolean] fetch_bodies
|
1471
1473
|
# Whether the body content of posts is included (default: true). This should be
|
1472
1474
|
# set to false when the post bodies are not required, to help minimize traffic.
|
1473
1475
|
# @param [String] order_by
|
1474
1476
|
# Sort search results
|
1475
|
-
# @param [String] q
|
1476
|
-
# Query terms to search this blog for matching posts.
|
1477
1477
|
# @param [String] fields
|
1478
1478
|
# Selector specifying which fields to include in a partial response.
|
1479
1479
|
# @param [String] quota_user
|
@@ -1495,7 +1495,7 @@ module Google
|
|
1495
1495
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1496
1496
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1497
1497
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1498
|
-
def search_posts(blog_id, fetch_bodies: nil, order_by: nil,
|
1498
|
+
def search_posts(blog_id, q, fetch_bodies: nil, order_by: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1499
1499
|
path = 'blogs/{blogId}/posts/search'
|
1500
1500
|
command = make_simple_command(:get, path, options)
|
1501
1501
|
command.response_representation = Google::Apis::BloggerV3::PostList::Representation
|
@@ -252,7 +252,7 @@ module Google
|
|
252
252
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
253
253
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
254
254
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
255
|
-
def delete_book(volume_id
|
255
|
+
def delete_book(volume_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
256
256
|
path = 'cloudloading/deleteBook'
|
257
257
|
command = make_simple_command(:post, path, options)
|
258
258
|
command.query['volumeId'] = volume_id unless volume_id.nil?
|
@@ -322,7 +322,7 @@ module Google
|
|
322
322
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
323
323
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
324
324
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
325
|
-
def list_offline_metadata_dictionary(cpksver
|
325
|
+
def list_offline_metadata_dictionary(cpksver, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
326
326
|
path = 'dictionary/listOfflineMetadata'
|
327
327
|
command = make_simple_command(:get, path, options)
|
328
328
|
command.response_representation = Google::Apis::BooksV1::Metadata::Representation
|
@@ -434,10 +434,10 @@ module Google
|
|
434
434
|
# The ID for the layer to get the annotations.
|
435
435
|
# @param [String] annotation_data_id
|
436
436
|
# The ID of the annotation data to retrieve.
|
437
|
-
# @param [Boolean] allow_web_definitions
|
438
|
-
# For the dictionary layer. Whether or not to allow web definitions.
|
439
437
|
# @param [String] content_version
|
440
438
|
# The content version for the volume you are trying to retrieve.
|
439
|
+
# @param [Boolean] allow_web_definitions
|
440
|
+
# For the dictionary layer. Whether or not to allow web definitions.
|
441
441
|
# @param [Fixnum] h
|
442
442
|
# The requested pixel height for any images. If height is provided width must
|
443
443
|
# also be provided.
|
@@ -472,7 +472,7 @@ module Google
|
|
472
472
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
473
473
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
474
474
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
475
|
-
def get_layer_annotation_data(volume_id, layer_id, annotation_data_id,
|
475
|
+
def get_layer_annotation_data(volume_id, layer_id, annotation_data_id, content_version, allow_web_definitions: nil, h: nil, locale: nil, scale: nil, source: nil, w: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
476
476
|
path = 'volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}'
|
477
477
|
command = make_simple_command(:get, path, options)
|
478
478
|
command.response_representation = Google::Apis::BooksV1::AnnotationData::Representation
|
@@ -498,11 +498,11 @@ module Google
|
|
498
498
|
# The volume to retrieve annotation data for.
|
499
499
|
# @param [String] layer_id
|
500
500
|
# The ID for the layer to get the annotation data.
|
501
|
+
# @param [String] content_version
|
502
|
+
# The content version for the requested volume.
|
501
503
|
# @param [Array<String>, String] annotation_data_id
|
502
504
|
# The list of Annotation Data Ids to retrieve. Pagination is ignored if this is
|
503
505
|
# set.
|
504
|
-
# @param [String] content_version
|
505
|
-
# The content version for the requested volume.
|
506
506
|
# @param [Fixnum] h
|
507
507
|
# The requested pixel height for any images. If height is provided width must
|
508
508
|
# also be provided.
|
@@ -547,7 +547,7 @@ module Google
|
|
547
547
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
548
548
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
549
549
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
550
|
-
def list_layer_annotation_data(volume_id, layer_id,
|
550
|
+
def list_layer_annotation_data(volume_id, layer_id, content_version, annotation_data_id: nil, h: nil, locale: nil, max_results: nil, page_token: nil, scale: nil, source: nil, updated_max: nil, updated_min: nil, w: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
551
551
|
path = 'volumes/{volumeId}/layers/{layerId}/data'
|
552
552
|
command = make_simple_command(:get, path, options)
|
553
553
|
command.response_representation = Google::Apis::BooksV1::AnnotationsData::Representation
|
@@ -676,7 +676,7 @@ module Google
|
|
676
676
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
677
677
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
678
678
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
679
|
-
def list_layer_volume_annotations(volume_id, layer_id, content_version
|
679
|
+
def list_layer_volume_annotations(volume_id, layer_id, content_version, end_offset: nil, end_position: nil, locale: nil, max_results: nil, page_token: nil, show_deleted: nil, source: nil, start_offset: nil, start_position: nil, updated_max: nil, updated_min: nil, volume_annotations_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
680
680
|
path = 'volumes/{volumeId}/layers/{layerId}'
|
681
681
|
command = make_simple_command(:get, path, options)
|
682
682
|
command.response_representation = Google::Apis::BooksV1::Volumeannotations::Representation
|
@@ -736,14 +736,14 @@ module Google
|
|
736
736
|
end
|
737
737
|
|
738
738
|
# Release downloaded content access restriction.
|
739
|
+
# @param [Array<String>, String] volume_ids
|
740
|
+
# The volume(s) to release restrictions for.
|
739
741
|
# @param [String] cpksver
|
740
742
|
# The device/version ID from which to release the restriction.
|
741
743
|
# @param [String] locale
|
742
744
|
# ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
|
743
745
|
# @param [String] source
|
744
746
|
# String to identify the originator of this request.
|
745
|
-
# @param [Array<String>, String] volume_ids
|
746
|
-
# The volume(s) to release restrictions for.
|
747
747
|
# @param [String] fields
|
748
748
|
# Selector specifying which fields to include in a partial response.
|
749
749
|
# @param [String] quota_user
|
@@ -765,7 +765,7 @@ module Google
|
|
765
765
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
766
766
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
767
767
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
768
|
-
def release_download_access(cpksver
|
768
|
+
def release_download_access(volume_ids, cpksver, locale: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
769
769
|
path = 'myconfig/releaseDownloadAccess'
|
770
770
|
command = make_simple_command(:post, path, options)
|
771
771
|
command.response_representation = Google::Apis::BooksV1::DownloadAccesses::Representation
|
@@ -781,18 +781,18 @@ module Google
|
|
781
781
|
end
|
782
782
|
|
783
783
|
# Request concurrent and download access restrictions.
|
784
|
+
# @param [String] source
|
785
|
+
# String to identify the originator of this request.
|
786
|
+
# @param [String] volume_id
|
787
|
+
# The volume to request concurrent/download restrictions for.
|
788
|
+
# @param [String] nonce
|
789
|
+
# The client nonce value.
|
784
790
|
# @param [String] cpksver
|
785
791
|
# The device/version ID from which to request the restrictions.
|
786
792
|
# @param [String] license_types
|
787
793
|
# The type of access license to request. If not specified, the default is BOTH.
|
788
794
|
# @param [String] locale
|
789
795
|
# ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
|
790
|
-
# @param [String] nonce
|
791
|
-
# The client nonce value.
|
792
|
-
# @param [String] source
|
793
|
-
# String to identify the originator of this request.
|
794
|
-
# @param [String] volume_id
|
795
|
-
# The volume to request concurrent/download restrictions for.
|
796
796
|
# @param [String] fields
|
797
797
|
# Selector specifying which fields to include in a partial response.
|
798
798
|
# @param [String] quota_user
|
@@ -814,7 +814,7 @@ module Google
|
|
814
814
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
815
815
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
816
816
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
817
|
-
def request_access(
|
817
|
+
def request_access(source, volume_id, nonce, cpksver, license_types: nil, locale: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
818
818
|
path = 'myconfig/requestAccess'
|
819
819
|
command = make_simple_command(:post, path, options)
|
820
820
|
command.response_representation = Google::Apis::BooksV1::RequestAccess::Representation
|
@@ -832,18 +832,18 @@ module Google
|
|
832
832
|
end
|
833
833
|
|
834
834
|
# Request downloaded content access for specified volumes on the My eBooks shelf.
|
835
|
+
# @param [String] source
|
836
|
+
# String to identify the originator of this request.
|
837
|
+
# @param [String] nonce
|
838
|
+
# The client nonce value.
|
835
839
|
# @param [String] cpksver
|
836
840
|
# The device/version ID from which to release the restriction.
|
837
841
|
# @param [Array<String>, String] features
|
838
842
|
# List of features supported by the client, i.e., 'RENTALS'
|
839
843
|
# @param [String] locale
|
840
844
|
# ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
|
841
|
-
# @param [String] nonce
|
842
|
-
# The client nonce value.
|
843
845
|
# @param [Boolean] show_preorders
|
844
846
|
# Set to true to show pre-ordered books. Defaults to false.
|
845
|
-
# @param [String] source
|
846
|
-
# String to identify the originator of this request.
|
847
847
|
# @param [Array<String>, String] volume_ids
|
848
848
|
# The volume(s) to request download restrictions for.
|
849
849
|
# @param [String] fields
|
@@ -867,7 +867,7 @@ module Google
|
|
867
867
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
868
868
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
869
869
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
870
|
-
def sync_volume_licenses(
|
870
|
+
def sync_volume_licenses(source, nonce, cpksver, features: nil, locale: nil, show_preorders: nil, volume_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
871
871
|
path = 'myconfig/syncVolumeLicenses'
|
872
872
|
command = make_simple_command(:post, path, options)
|
873
873
|
command.response_representation = Google::Apis::BooksV1::Volumes::Representation
|
@@ -1098,7 +1098,7 @@ module Google
|
|
1098
1098
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1099
1099
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1100
1100
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1101
|
-
def summarize_my_library_annotation(layer_ids
|
1101
|
+
def summarize_my_library_annotation(layer_ids, volume_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1102
1102
|
path = 'mylibrary/annotations/summary'
|
1103
1103
|
command = make_simple_command(:post, path, options)
|
1104
1104
|
command.response_representation = Google::Apis::BooksV1::AnnotationsSummary::Representation
|
@@ -1156,12 +1156,12 @@ module Google
|
|
1156
1156
|
# Adds a volume to a bookshelf.
|
1157
1157
|
# @param [String] shelf
|
1158
1158
|
# ID of bookshelf to which to add a volume.
|
1159
|
+
# @param [String] volume_id
|
1160
|
+
# ID of volume to add.
|
1159
1161
|
# @param [String] reason
|
1160
1162
|
# The reason for which the book is added to the library.
|
1161
1163
|
# @param [String] source
|
1162
1164
|
# String to identify the originator of this request.
|
1163
|
-
# @param [String] volume_id
|
1164
|
-
# ID of volume to add.
|
1165
1165
|
# @param [String] fields
|
1166
1166
|
# Selector specifying which fields to include in a partial response.
|
1167
1167
|
# @param [String] quota_user
|
@@ -1183,7 +1183,7 @@ module Google
|
|
1183
1183
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1184
1184
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1185
1185
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1186
|
-
def add_my_library_volume(shelf, reason: nil, source: nil,
|
1186
|
+
def add_my_library_volume(shelf, volume_id, reason: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1187
1187
|
path = 'mylibrary/bookshelves/{shelf}/addVolume'
|
1188
1188
|
command = make_simple_command(:post, path, options)
|
1189
1189
|
command.params['shelf'] = shelf unless shelf.nil?
|
@@ -1312,13 +1312,13 @@ module Google
|
|
1312
1312
|
# Moves a volume within a bookshelf.
|
1313
1313
|
# @param [String] shelf
|
1314
1314
|
# ID of bookshelf with the volume.
|
1315
|
-
# @param [String] source
|
1316
|
-
# String to identify the originator of this request.
|
1317
1315
|
# @param [String] volume_id
|
1318
1316
|
# ID of volume to move.
|
1319
1317
|
# @param [Fixnum] volume_position
|
1320
1318
|
# Position on shelf to move the item (0 puts the item before the current first
|
1321
1319
|
# item, 1 puts it between the first and the second and so on.)
|
1320
|
+
# @param [String] source
|
1321
|
+
# String to identify the originator of this request.
|
1322
1322
|
# @param [String] fields
|
1323
1323
|
# Selector specifying which fields to include in a partial response.
|
1324
1324
|
# @param [String] quota_user
|
@@ -1340,7 +1340,7 @@ module Google
|
|
1340
1340
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1341
1341
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1342
1342
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1343
|
-
def move_my_library_volume(shelf,
|
1343
|
+
def move_my_library_volume(shelf, volume_id, volume_position, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1344
1344
|
path = 'mylibrary/bookshelves/{shelf}/moveVolume'
|
1345
1345
|
command = make_simple_command(:post, path, options)
|
1346
1346
|
command.params['shelf'] = shelf unless shelf.nil?
|
@@ -1356,12 +1356,12 @@ module Google
|
|
1356
1356
|
# Removes a volume from a bookshelf.
|
1357
1357
|
# @param [String] shelf
|
1358
1358
|
# ID of bookshelf from which to remove a volume.
|
1359
|
+
# @param [String] volume_id
|
1360
|
+
# ID of volume to remove.
|
1359
1361
|
# @param [String] reason
|
1360
1362
|
# The reason for which the book is removed from the library.
|
1361
1363
|
# @param [String] source
|
1362
1364
|
# String to identify the originator of this request.
|
1363
|
-
# @param [String] volume_id
|
1364
|
-
# ID of volume to remove.
|
1365
1365
|
# @param [String] fields
|
1366
1366
|
# Selector specifying which fields to include in a partial response.
|
1367
1367
|
# @param [String] quota_user
|
@@ -1383,7 +1383,7 @@ module Google
|
|
1383
1383
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1384
1384
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1385
1385
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1386
|
-
def remove_my_library_volume(shelf, reason: nil, source: nil,
|
1386
|
+
def remove_my_library_volume(shelf, volume_id, reason: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1387
1387
|
path = 'mylibrary/bookshelves/{shelf}/removeVolume'
|
1388
1388
|
command = make_simple_command(:post, path, options)
|
1389
1389
|
command.params['shelf'] = shelf unless shelf.nil?
|
@@ -1498,18 +1498,18 @@ module Google
|
|
1498
1498
|
# Sets my reading position information for a volume.
|
1499
1499
|
# @param [String] volume_id
|
1500
1500
|
# ID of volume for which to update the reading position.
|
1501
|
+
# @param [String] timestamp
|
1502
|
+
# RFC 3339 UTC format timestamp associated with this reading position.
|
1503
|
+
# @param [String] position
|
1504
|
+
# Position string for the new volume reading position.
|
1501
1505
|
# @param [String] action
|
1502
1506
|
# Action that caused this reading position to be set.
|
1503
1507
|
# @param [String] content_version
|
1504
1508
|
# Volume content version for which this reading position applies.
|
1505
1509
|
# @param [String] device_cookie
|
1506
1510
|
# Random persistent device cookie optional on set position.
|
1507
|
-
# @param [String] position
|
1508
|
-
# Position string for the new volume reading position.
|
1509
1511
|
# @param [String] source
|
1510
1512
|
# String to identify the originator of this request.
|
1511
|
-
# @param [String] timestamp
|
1512
|
-
# RFC 3339 UTC format timestamp associated with this reading position.
|
1513
1513
|
# @param [String] fields
|
1514
1514
|
# Selector specifying which fields to include in a partial response.
|
1515
1515
|
# @param [String] quota_user
|
@@ -1531,7 +1531,7 @@ module Google
|
|
1531
1531
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1532
1532
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1533
1533
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1534
|
-
def set_my_library_reading_position(volume_id, action: nil, content_version: nil, device_cookie: nil,
|
1534
|
+
def set_my_library_reading_position(volume_id, timestamp, position, action: nil, content_version: nil, device_cookie: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1535
1535
|
path = 'mylibrary/readingpositions/{volumeId}/setPosition'
|
1536
1536
|
command = make_simple_command(:post, path, options)
|
1537
1537
|
command.params['volumeId'] = volume_id unless volume_id.nil?
|
@@ -1840,6 +1840,8 @@ module Google
|
|
1840
1840
|
end
|
1841
1841
|
|
1842
1842
|
# Performs a book search.
|
1843
|
+
# @param [String] q
|
1844
|
+
# Full-text search query string.
|
1843
1845
|
# @param [String] download
|
1844
1846
|
# Restrict to volumes by download availability.
|
1845
1847
|
# @param [String] filter
|
@@ -1858,8 +1860,6 @@ module Google
|
|
1858
1860
|
# Restrict to books or magazines.
|
1859
1861
|
# @param [String] projection
|
1860
1862
|
# Restrict information returned to a set of selected fields.
|
1861
|
-
# @param [String] q
|
1862
|
-
# Full-text search query string.
|
1863
1863
|
# @param [Boolean] show_preorders
|
1864
1864
|
# Set to true to show books available for preorder. Defaults to false.
|
1865
1865
|
# @param [String] source
|
@@ -1887,7 +1887,7 @@ module Google
|
|
1887
1887
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1888
1888
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1889
1889
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1890
|
-
def list_volumes(download: nil, filter: nil, lang_restrict: nil, library_restrict: nil, max_results: nil, order_by: nil, partner: nil, print_type: nil, projection: nil,
|
1890
|
+
def list_volumes(q, download: nil, filter: nil, lang_restrict: nil, library_restrict: nil, max_results: nil, order_by: nil, partner: nil, print_type: nil, projection: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1891
1891
|
path = 'volumes'
|
1892
1892
|
command = make_simple_command(:get, path, options)
|
1893
1893
|
command.response_representation = Google::Apis::BooksV1::Volumes::Representation
|
@@ -2059,15 +2059,15 @@ module Google
|
|
2059
2059
|
end
|
2060
2060
|
|
2061
2061
|
# Rate a recommended book for the current user.
|
2062
|
+
# @param [String] rating
|
2063
|
+
# Rating to be given to the volume.
|
2064
|
+
# @param [String] volume_id
|
2065
|
+
# ID of the source volume.
|
2062
2066
|
# @param [String] locale
|
2063
2067
|
# ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
|
2064
2068
|
# generating recommendations.
|
2065
|
-
# @param [String] rating
|
2066
|
-
# Rating to be given to the volume.
|
2067
2069
|
# @param [String] source
|
2068
2070
|
# String to identify the originator of this request.
|
2069
|
-
# @param [String] volume_id
|
2070
|
-
# ID of the source volume.
|
2071
2071
|
# @param [String] fields
|
2072
2072
|
# Selector specifying which fields to include in a partial response.
|
2073
2073
|
# @param [String] quota_user
|
@@ -2089,7 +2089,7 @@ module Google
|
|
2089
2089
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2090
2090
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2091
2091
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2092
|
-
def rate_recommended_volume(
|
2092
|
+
def rate_recommended_volume(rating, volume_id, locale: nil, source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
2093
2093
|
path = 'volumes/recommended/rate'
|
2094
2094
|
command = make_simple_command(:post, path, options)
|
2095
2095
|
command.response_representation = Google::Apis::BooksV1::RateRecommendedVolumeResponse::Representation
|
@@ -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 = '
|
28
|
+
REVISION = '20150720'
|
29
29
|
|
30
30
|
# Manage your calendars
|
31
31
|
AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
|
@@ -272,13 +272,17 @@ module Google
|
|
272
272
|
attr_accessor :access_role
|
273
273
|
|
274
274
|
# The main color of the calendar in the hexadecimal format "#0088aa". This
|
275
|
-
# property supersedes the index-based colorId property.
|
275
|
+
# property supersedes the index-based colorId property. To set or change this
|
276
|
+
# property, you need to specify colorRgbFormat=true in the parameters of the
|
277
|
+
# insert, update and patch methods. Optional.
|
276
278
|
# Corresponds to the JSON property `backgroundColor`
|
277
279
|
# @return [String]
|
278
280
|
attr_accessor :background_color
|
279
281
|
|
280
282
|
# The color of the calendar. This is an ID referring to an entry in the calendar
|
281
|
-
# section of the colors definition (see the colors endpoint).
|
283
|
+
# section of the colors definition (see the colors endpoint). This property is
|
284
|
+
# superseded by the backgroundColor and foregroundColor properties and can be
|
285
|
+
# ignored when using these properties. Optional.
|
282
286
|
# Corresponds to the JSON property `colorId`
|
283
287
|
# @return [String]
|
284
288
|
attr_accessor :color_id
|
@@ -306,7 +310,9 @@ module Google
|
|
306
310
|
attr_accessor :etag
|
307
311
|
|
308
312
|
# The foreground color of the calendar in the hexadecimal format "#ffffff". This
|
309
|
-
# property supersedes the index-based colorId property.
|
313
|
+
# property supersedes the index-based colorId property. To set or change this
|
314
|
+
# property, you need to specify colorRgbFormat=true in the parameters of the
|
315
|
+
# insert, update and patch methods. Optional.
|
310
316
|
# Corresponds to the JSON property `foregroundColor`
|
311
317
|
# @return [String]
|
312
318
|
attr_accessor :foreground_color
|
@@ -420,7 +426,8 @@ module Google
|
|
420
426
|
# The method used to deliver the notification. Possible values are:
|
421
427
|
# - "email" - Reminders are sent via email.
|
422
428
|
# - "sms" - Reminders are sent via SMS. This value is read-only and is ignored
|
423
|
-
# on inserts and updates.
|
429
|
+
# on inserts and updates. SMS reminders are only available for Google Apps for
|
430
|
+
# Work, Education, and Government customers.
|
424
431
|
# Corresponds to the JSON property `method`
|
425
432
|
# @return [String]
|
426
433
|
attr_accessor :delivery_method
|
@@ -554,15 +561,16 @@ module Google
|
|
554
561
|
class Colors
|
555
562
|
include Google::Apis::Core::Hashable
|
556
563
|
|
557
|
-
#
|
558
|
-
# calendarListEntry resource refers to one of these color IDs in
|
559
|
-
# Read-only.
|
564
|
+
# A global palette of calendar colors, mapping from the color ID to its
|
565
|
+
# definition. A calendarListEntry resource refers to one of these color IDs in
|
566
|
+
# its color field. Read-only.
|
560
567
|
# Corresponds to the JSON property `calendar`
|
561
568
|
# @return [Hash<String,Google::Apis::CalendarV3::ColorDefinition>]
|
562
569
|
attr_accessor :calendar
|
563
570
|
|
564
|
-
#
|
565
|
-
# resource may refer to one of these color IDs in its color field. Read-
|
571
|
+
# A global palette of event colors, mapping from the color ID to its definition.
|
572
|
+
# An event resource may refer to one of these color IDs in its color field. Read-
|
573
|
+
# only.
|
566
574
|
# Corresponds to the JSON property `event`
|
567
575
|
# @return [Hash<String,Google::Apis::CalendarV3::ColorDefinition>]
|
568
576
|
attr_accessor :event
|
@@ -644,7 +652,8 @@ module Google
|
|
644
652
|
# @return [Array<Google::Apis::CalendarV3::EventAttachment>]
|
645
653
|
attr_accessor :attachments
|
646
654
|
|
647
|
-
# The attendees of the event.
|
655
|
+
# The attendees of the event. See the Events with attendees guide for more
|
656
|
+
# information on scheduling events with other calendar users.
|
648
657
|
# Corresponds to the JSON property `attendees`
|
649
658
|
# @return [Array<Google::Apis::CalendarV3::EventAttendee>]
|
650
659
|
attr_accessor :attendees
|
@@ -797,8 +806,11 @@ module Google
|
|
797
806
|
attr_accessor :private_copy
|
798
807
|
alias_method :private_copy?, :private_copy
|
799
808
|
|
800
|
-
# List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event
|
801
|
-
#
|
809
|
+
# List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event, as
|
810
|
+
# specified in RFC5545. Note that DTSTART and DTEND lines are not allowed in
|
811
|
+
# this field; event start and end times are specified in the start and end
|
812
|
+
# fields. This field is omitted for single events or instances of recurring
|
813
|
+
# events.
|
802
814
|
# Corresponds to the JSON property `recurrence`
|
803
815
|
# @return [Array<String>]
|
804
816
|
attr_accessor :recurrence
|
@@ -819,9 +831,9 @@ module Google
|
|
819
831
|
# @return [Fixnum]
|
820
832
|
attr_accessor :sequence
|
821
833
|
|
822
|
-
# Source
|
823
|
-
# message or any document identifiable by an URL
|
824
|
-
#
|
834
|
+
# Source from which the event was created. For example, a web page, an email
|
835
|
+
# message or any document identifiable by an URL with HTTP or HTTPS scheme. Can
|
836
|
+
# only be seen or modified by the creator of the event.
|
825
837
|
# Corresponds to the JSON property `source`
|
826
838
|
# @return [Google::Apis::CalendarV3::Event::Source]
|
827
839
|
attr_accessor :source
|
@@ -992,17 +1004,18 @@ module Google
|
|
992
1004
|
# @return [String]
|
993
1005
|
attr_accessor :display_mode
|
994
1006
|
|
995
|
-
# The gadget's height in pixels.
|
1007
|
+
# The gadget's height in pixels. The height must be an integer greater than 0.
|
1008
|
+
# Optional.
|
996
1009
|
# Corresponds to the JSON property `height`
|
997
1010
|
# @return [Fixnum]
|
998
1011
|
attr_accessor :height
|
999
1012
|
|
1000
|
-
# The gadget's icon URL.
|
1013
|
+
# The gadget's icon URL. The URL scheme must be HTTPS.
|
1001
1014
|
# Corresponds to the JSON property `iconLink`
|
1002
1015
|
# @return [String]
|
1003
1016
|
attr_accessor :icon_link
|
1004
1017
|
|
1005
|
-
# The gadget's URL.
|
1018
|
+
# The gadget's URL. The URL scheme must be HTTPS.
|
1006
1019
|
# Corresponds to the JSON property `link`
|
1007
1020
|
# @return [String]
|
1008
1021
|
attr_accessor :link
|
@@ -1022,7 +1035,8 @@ module Google
|
|
1022
1035
|
# @return [String]
|
1023
1036
|
attr_accessor :type
|
1024
1037
|
|
1025
|
-
# The gadget's width in pixels.
|
1038
|
+
# The gadget's width in pixels. The width must be an integer greater than 0.
|
1039
|
+
# Optional.
|
1026
1040
|
# Corresponds to the JSON property `width`
|
1027
1041
|
# @return [Fixnum]
|
1028
1042
|
attr_accessor :width
|
@@ -1092,7 +1106,7 @@ module Google
|
|
1092
1106
|
|
1093
1107
|
# If the event doesn't use the default reminders, this lists the reminders
|
1094
1108
|
# specific to the event, or, if not set, indicates that no reminders are set for
|
1095
|
-
# this event.
|
1109
|
+
# this event. The maximum number of override reminders is 5.
|
1096
1110
|
# Corresponds to the JSON property `overrides`
|
1097
1111
|
# @return [Array<Google::Apis::CalendarV3::EventReminder>]
|
1098
1112
|
attr_accessor :overrides
|
@@ -1114,9 +1128,9 @@ module Google
|
|
1114
1128
|
end
|
1115
1129
|
end
|
1116
1130
|
|
1117
|
-
# Source
|
1118
|
-
# message or any document identifiable by an URL
|
1119
|
-
#
|
1131
|
+
# Source from which the event was created. For example, a web page, an email
|
1132
|
+
# message or any document identifiable by an URL with HTTP or HTTPS scheme. Can
|
1133
|
+
# only be seen or modified by the creator of the event.
|
1120
1134
|
class Source
|
1121
1135
|
include Google::Apis::Core::Hashable
|
1122
1136
|
|
@@ -1125,7 +1139,7 @@ module Google
|
|
1125
1139
|
# @return [String]
|
1126
1140
|
attr_accessor :title
|
1127
1141
|
|
1128
|
-
# URL of the source pointing to a resource. URL
|
1142
|
+
# URL of the source pointing to a resource. The URL scheme must be HTTP or HTTPS.
|
1129
1143
|
# Corresponds to the JSON property `url`
|
1130
1144
|
# @return [String]
|
1131
1145
|
attr_accessor :url
|
@@ -1147,7 +1161,7 @@ module Google
|
|
1147
1161
|
include Google::Apis::Core::Hashable
|
1148
1162
|
|
1149
1163
|
# ID of the attached file. Read-only.
|
1150
|
-
#
|
1164
|
+
# For Google Drive files, this is the ID of the corresponding Files resource
|
1151
1165
|
# entry in the Drive API.
|
1152
1166
|
# Corresponds to the JSON property `fileId`
|
1153
1167
|
# @return [String]
|
@@ -1316,14 +1330,16 @@ module Google
|
|
1316
1330
|
|
1317
1331
|
# The method used by this reminder. Possible values are:
|
1318
1332
|
# - "email" - Reminders are sent via email.
|
1319
|
-
# - "sms" - Reminders are sent via SMS.
|
1333
|
+
# - "sms" - Reminders are sent via SMS. These are only available for Google Apps
|
1334
|
+
# for Work, Education, and Government customers. Requests to set SMS reminders
|
1335
|
+
# for other account types are ignored.
|
1320
1336
|
# - "popup" - Reminders are sent via a UI popup.
|
1321
1337
|
# Corresponds to the JSON property `method`
|
1322
1338
|
# @return [String]
|
1323
1339
|
attr_accessor :reminder_method
|
1324
1340
|
|
1325
1341
|
# Number of minutes before the start of the event when the reminder should
|
1326
|
-
# trigger.
|
1342
|
+
# trigger. Valid values are between 0 and 40320 (4 weeks in minutes).
|
1327
1343
|
# Corresponds to the JSON property `minutes`
|
1328
1344
|
# @return [Fixnum]
|
1329
1345
|
attr_accessor :minutes
|