google-api-client 0.39.0 → 0.39.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +566 -0
- data/generated/google/apis/bigquery_v2/representations.rb +147 -0
- data/generated/google/apis/bigquery_v2/service.rb +120 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +26 -10
- data/generated/google/apis/books_v1.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +435 -289
- data/generated/google/apis/books_v1/representations.rb +124 -91
- data/generated/google/apis/books_v1/service.rb +354 -484
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +15 -0
- data/generated/google/apis/chat_v1/representations.rb +2 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +24 -12
- data/generated/google/apis/cloudfunctions_v1/service.rb +3 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +26 -10
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +26 -10
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +26 -10
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +45 -32
- data/generated/google/apis/logging_v2/service.rb +9 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -5
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +26 -14
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +9 -6
- data/generated/google/apis/osconfig_v1beta.rb +35 -0
- data/generated/google/apis/osconfig_v1beta/classes.rb +2365 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +36 -11
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1/service.rb +15 -6
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +23 -10
- data/generated/google/apis/pubsub_v1beta2/service.rb +10 -4
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -10
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +61 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/service.rb +1 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +4 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -3
@@ -20,12 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Books API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# The Google Books API allows clients to access the Google Books repository.
|
24
24
|
#
|
25
|
-
# @see https://
|
25
|
+
# @see https://code.google.com/apis/books/docs/v1/getting_started.html
|
26
26
|
module BooksV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200506'
|
29
29
|
|
30
30
|
# Manage your books
|
31
31
|
AUTH_BOOKS = 'https://www.googleapis.com/auth/books'
|
@@ -26,14 +26,14 @@ module Google
|
|
26
26
|
class Annotation
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# Anchor text after excerpt. For requests, if the user bookmarked a screen
|
30
|
-
# has no flowing text on it, then this field should be empty.
|
29
|
+
# Anchor text after excerpt. For requests, if the user bookmarked a screen
|
30
|
+
# that has no flowing text on it, then this field should be empty.
|
31
31
|
# Corresponds to the JSON property `afterSelectedText`
|
32
32
|
# @return [String]
|
33
33
|
attr_accessor :after_selected_text
|
34
34
|
|
35
|
-
# Anchor text before excerpt. For requests, if the user bookmarked a screen
|
36
|
-
# has no flowing text on it, then this field should be empty.
|
35
|
+
# Anchor text before excerpt. For requests, if the user bookmarked a screen
|
36
|
+
# that has no flowing text on it, then this field should be empty.
|
37
37
|
# Corresponds to the JSON property `beforeSelectedText`
|
38
38
|
# @return [String]
|
39
39
|
attr_accessor :before_selected_text
|
@@ -45,7 +45,7 @@ module Google
|
|
45
45
|
|
46
46
|
# Timestamp for the created time of this annotation.
|
47
47
|
# Corresponds to the JSON property `created`
|
48
|
-
# @return [
|
48
|
+
# @return [String]
|
49
49
|
attr_accessor :created
|
50
50
|
|
51
51
|
# Selection ranges for the most recent content version.
|
@@ -106,7 +106,7 @@ module Google
|
|
106
106
|
|
107
107
|
# Timestamp for the last time this annotation was modified.
|
108
108
|
# Corresponds to the JSON property `updated`
|
109
|
-
# @return [
|
109
|
+
# @return [String]
|
110
110
|
attr_accessor :updated
|
111
111
|
|
112
112
|
# The volume that this annotation belongs to.
|
@@ -229,7 +229,8 @@ module Google
|
|
229
229
|
class LayerSummary
|
230
230
|
include Google::Apis::Core::Hashable
|
231
231
|
|
232
|
-
# Maximum allowed characters on this layer, especially for the "copy"
|
232
|
+
# Maximum allowed characters on this layer, especially for the "copy"
|
233
|
+
# layer.
|
233
234
|
# Corresponds to the JSON property `allowedCharacterCount`
|
234
235
|
# @return [Fixnum]
|
235
236
|
attr_accessor :allowed_character_count
|
@@ -240,7 +241,8 @@ module Google
|
|
240
241
|
# @return [String]
|
241
242
|
attr_accessor :limit_type
|
242
243
|
|
243
|
-
# Remaining allowed characters on this layer, especially for the "copy"
|
244
|
+
# Remaining allowed characters on this layer, especially for the "copy"
|
245
|
+
# layer.
|
244
246
|
# Corresponds to the JSON property `remainingCharacterCount`
|
245
247
|
# @return [Fixnum]
|
246
248
|
attr_accessor :remaining_character_count
|
@@ -258,75 +260,6 @@ module Google
|
|
258
260
|
end
|
259
261
|
end
|
260
262
|
|
261
|
-
#
|
262
|
-
class AnnotationData
|
263
|
-
include Google::Apis::Core::Hashable
|
264
|
-
|
265
|
-
# The type of annotation this data is for.
|
266
|
-
# Corresponds to the JSON property `annotationType`
|
267
|
-
# @return [String]
|
268
|
-
attr_accessor :annotation_type
|
269
|
-
|
270
|
-
#
|
271
|
-
# Corresponds to the JSON property `data`
|
272
|
-
# @return [Object]
|
273
|
-
attr_accessor :data
|
274
|
-
|
275
|
-
# Base64 encoded data for this annotation data.
|
276
|
-
# Corresponds to the JSON property `encoded_data`
|
277
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
278
|
-
# @return [String]
|
279
|
-
attr_accessor :encoded_data
|
280
|
-
|
281
|
-
# Unique id for this annotation data.
|
282
|
-
# Corresponds to the JSON property `id`
|
283
|
-
# @return [String]
|
284
|
-
attr_accessor :id
|
285
|
-
|
286
|
-
# Resource Type
|
287
|
-
# Corresponds to the JSON property `kind`
|
288
|
-
# @return [String]
|
289
|
-
attr_accessor :kind
|
290
|
-
|
291
|
-
# The Layer id for this data. *
|
292
|
-
# Corresponds to the JSON property `layerId`
|
293
|
-
# @return [String]
|
294
|
-
attr_accessor :layer_id
|
295
|
-
|
296
|
-
# URL for this resource. *
|
297
|
-
# Corresponds to the JSON property `selfLink`
|
298
|
-
# @return [String]
|
299
|
-
attr_accessor :self_link
|
300
|
-
|
301
|
-
# Timestamp for the last time this data was updated. (RFC 3339 UTC date-time
|
302
|
-
# format).
|
303
|
-
# Corresponds to the JSON property `updated`
|
304
|
-
# @return [DateTime]
|
305
|
-
attr_accessor :updated
|
306
|
-
|
307
|
-
# The volume id for this data. *
|
308
|
-
# Corresponds to the JSON property `volumeId`
|
309
|
-
# @return [String]
|
310
|
-
attr_accessor :volume_id
|
311
|
-
|
312
|
-
def initialize(**args)
|
313
|
-
update!(**args)
|
314
|
-
end
|
315
|
-
|
316
|
-
# Update properties of this object
|
317
|
-
def update!(**args)
|
318
|
-
@annotation_type = args[:annotation_type] if args.key?(:annotation_type)
|
319
|
-
@data = args[:data] if args.key?(:data)
|
320
|
-
@encoded_data = args[:encoded_data] if args.key?(:encoded_data)
|
321
|
-
@id = args[:id] if args.key?(:id)
|
322
|
-
@kind = args[:kind] if args.key?(:kind)
|
323
|
-
@layer_id = args[:layer_id] if args.key?(:layer_id)
|
324
|
-
@self_link = args[:self_link] if args.key?(:self_link)
|
325
|
-
@updated = args[:updated] if args.key?(:updated)
|
326
|
-
@volume_id = args[:volume_id] if args.key?(:volume_id)
|
327
|
-
end
|
328
|
-
end
|
329
|
-
|
330
263
|
#
|
331
264
|
class Annotations
|
332
265
|
include Google::Apis::Core::Hashable
|
@@ -341,8 +274,8 @@ module Google
|
|
341
274
|
# @return [String]
|
342
275
|
attr_accessor :kind
|
343
276
|
|
344
|
-
# Token to pass in for pagination for the next page. This will not be present
|
345
|
-
# this request does not have more results.
|
277
|
+
# Token to pass in for pagination for the next page. This will not be present
|
278
|
+
# if this request does not have more results.
|
346
279
|
# Corresponds to the JSON property `nextPageToken`
|
347
280
|
# @return [String]
|
348
281
|
attr_accessor :next_page_token
|
@@ -416,7 +349,7 @@ module Google
|
|
416
349
|
|
417
350
|
#
|
418
351
|
# Corresponds to the JSON property `updated`
|
419
|
-
# @return [
|
352
|
+
# @return [String]
|
420
353
|
attr_accessor :updated
|
421
354
|
|
422
355
|
def initialize(**args)
|
@@ -440,7 +373,7 @@ module Google
|
|
440
373
|
|
441
374
|
# A list of Annotation Data.
|
442
375
|
# Corresponds to the JSON property `items`
|
443
|
-
# @return [Array<Google::Apis::BooksV1::
|
376
|
+
# @return [Array<Google::Apis::BooksV1::GeoAnnotationdata>]
|
444
377
|
attr_accessor :items
|
445
378
|
|
446
379
|
# Resource type
|
@@ -448,8 +381,8 @@ module Google
|
|
448
381
|
# @return [String]
|
449
382
|
attr_accessor :kind
|
450
383
|
|
451
|
-
# Token to pass in for pagination for the next page. This will not be present
|
452
|
-
# this request does not have more results.
|
384
|
+
# Token to pass in for pagination for the next page. This will not be present
|
385
|
+
# if this request does not have more results.
|
453
386
|
# Corresponds to the JSON property `nextPageToken`
|
454
387
|
# @return [String]
|
455
388
|
attr_accessor :next_page_token
|
@@ -546,43 +479,6 @@ module Google
|
|
546
479
|
end
|
547
480
|
end
|
548
481
|
|
549
|
-
#
|
550
|
-
class BooksSubscriptionReleaseInfo
|
551
|
-
include Google::Apis::Core::Hashable
|
552
|
-
|
553
|
-
# Amount in micros of the specified currency code.
|
554
|
-
# Corresponds to the JSON property `amountInMicros`
|
555
|
-
# @return [Fixnum]
|
556
|
-
attr_accessor :amount_in_micros
|
557
|
-
|
558
|
-
# Currency code of the amount.
|
559
|
-
# Corresponds to the JSON property `currencyCode`
|
560
|
-
# @return [String]
|
561
|
-
attr_accessor :currency_code
|
562
|
-
|
563
|
-
# The release number of this issue/volume/book.
|
564
|
-
# Corresponds to the JSON property `releaseNumber`
|
565
|
-
# @return [String]
|
566
|
-
attr_accessor :release_number
|
567
|
-
|
568
|
-
# The release date.
|
569
|
-
# Corresponds to the JSON property `releaseTimestampUs`
|
570
|
-
# @return [Fixnum]
|
571
|
-
attr_accessor :release_timestamp_us
|
572
|
-
|
573
|
-
def initialize(**args)
|
574
|
-
update!(**args)
|
575
|
-
end
|
576
|
-
|
577
|
-
# Update properties of this object
|
578
|
-
def update!(**args)
|
579
|
-
@amount_in_micros = args[:amount_in_micros] if args.key?(:amount_in_micros)
|
580
|
-
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
581
|
-
@release_number = args[:release_number] if args.key?(:release_number)
|
582
|
-
@release_timestamp_us = args[:release_timestamp_us] if args.key?(:release_timestamp_us)
|
583
|
-
end
|
584
|
-
end
|
585
|
-
|
586
482
|
#
|
587
483
|
class RateRecommendedVolumeResponse
|
588
484
|
include Google::Apis::Core::Hashable
|
@@ -614,7 +510,7 @@ module Google
|
|
614
510
|
# Created time for this bookshelf (formatted UTC timestamp with millisecond
|
615
511
|
# resolution).
|
616
512
|
# Corresponds to the JSON property `created`
|
617
|
-
# @return [
|
513
|
+
# @return [String]
|
618
514
|
attr_accessor :created
|
619
515
|
|
620
516
|
# Description of this bookshelf.
|
@@ -642,10 +538,10 @@ module Google
|
|
642
538
|
# @return [String]
|
643
539
|
attr_accessor :title
|
644
540
|
|
645
|
-
# Last modified time of this bookshelf (formatted UTC timestamp with
|
646
|
-
# resolution).
|
541
|
+
# Last modified time of this bookshelf (formatted UTC timestamp with
|
542
|
+
# millisecond resolution).
|
647
543
|
# Corresponds to the JSON property `updated`
|
648
|
-
# @return [
|
544
|
+
# @return [String]
|
649
545
|
attr_accessor :updated
|
650
546
|
|
651
547
|
# Number of volumes in this bookshelf.
|
@@ -656,7 +552,7 @@ module Google
|
|
656
552
|
# Last time a volume was added or removed from this bookshelf (formatted UTC
|
657
553
|
# timestamp with millisecond resolution).
|
658
554
|
# Corresponds to the JSON property `volumesLastUpdated`
|
659
|
-
# @return [
|
555
|
+
# @return [String]
|
660
556
|
attr_accessor :volumes_last_updated
|
661
557
|
|
662
558
|
def initialize(**args)
|
@@ -805,8 +701,8 @@ module Google
|
|
805
701
|
# @return [String]
|
806
702
|
attr_accessor :signature
|
807
703
|
|
808
|
-
# Client app identifier for verification. Download access and
|
809
|
-
# only.
|
704
|
+
# Client app identifier for verification. Download access and
|
705
|
+
# client-validation only.
|
810
706
|
# Corresponds to the JSON property `source`
|
811
707
|
# @return [String]
|
812
708
|
attr_accessor :source
|
@@ -841,6 +737,77 @@ module Google
|
|
841
737
|
end
|
842
738
|
end
|
843
739
|
|
740
|
+
#
|
741
|
+
class DictionaryAnnotationdata
|
742
|
+
include Google::Apis::Core::Hashable
|
743
|
+
|
744
|
+
# The type of annotation this data is for.
|
745
|
+
# Corresponds to the JSON property `annotationType`
|
746
|
+
# @return [String]
|
747
|
+
attr_accessor :annotation_type
|
748
|
+
|
749
|
+
# JSON encoded data for this dictionary annotation data.
|
750
|
+
# Emitted with name 'data' in JSON output. Either this or geo_data will
|
751
|
+
# be populated.
|
752
|
+
# Corresponds to the JSON property `data`
|
753
|
+
# @return [Google::Apis::BooksV1::DictLayerData]
|
754
|
+
attr_accessor :data
|
755
|
+
|
756
|
+
# Base64 encoded data for this annotation data.
|
757
|
+
# Corresponds to the JSON property `encodedData`
|
758
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
759
|
+
# @return [String]
|
760
|
+
attr_accessor :encoded_data
|
761
|
+
|
762
|
+
# Unique id for this annotation data.
|
763
|
+
# Corresponds to the JSON property `id`
|
764
|
+
# @return [String]
|
765
|
+
attr_accessor :id
|
766
|
+
|
767
|
+
# Resource Type
|
768
|
+
# Corresponds to the JSON property `kind`
|
769
|
+
# @return [String]
|
770
|
+
attr_accessor :kind
|
771
|
+
|
772
|
+
# The Layer id for this data. *
|
773
|
+
# Corresponds to the JSON property `layerId`
|
774
|
+
# @return [String]
|
775
|
+
attr_accessor :layer_id
|
776
|
+
|
777
|
+
# URL for this resource. *
|
778
|
+
# Corresponds to the JSON property `selfLink`
|
779
|
+
# @return [String]
|
780
|
+
attr_accessor :self_link
|
781
|
+
|
782
|
+
# Timestamp for the last time this data was updated. (RFC 3339 UTC date-time
|
783
|
+
# format).
|
784
|
+
# Corresponds to the JSON property `updated`
|
785
|
+
# @return [String]
|
786
|
+
attr_accessor :updated
|
787
|
+
|
788
|
+
# The volume id for this data. *
|
789
|
+
# Corresponds to the JSON property `volumeId`
|
790
|
+
# @return [String]
|
791
|
+
attr_accessor :volume_id
|
792
|
+
|
793
|
+
def initialize(**args)
|
794
|
+
update!(**args)
|
795
|
+
end
|
796
|
+
|
797
|
+
# Update properties of this object
|
798
|
+
def update!(**args)
|
799
|
+
@annotation_type = args[:annotation_type] if args.key?(:annotation_type)
|
800
|
+
@data = args[:data] if args.key?(:data)
|
801
|
+
@encoded_data = args[:encoded_data] if args.key?(:encoded_data)
|
802
|
+
@id = args[:id] if args.key?(:id)
|
803
|
+
@kind = args[:kind] if args.key?(:kind)
|
804
|
+
@layer_id = args[:layer_id] if args.key?(:layer_id)
|
805
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
806
|
+
@updated = args[:updated] if args.key?(:updated)
|
807
|
+
@volume_id = args[:volume_id] if args.key?(:volume_id)
|
808
|
+
end
|
809
|
+
end
|
810
|
+
|
844
811
|
#
|
845
812
|
class DictLayerData
|
846
813
|
include Google::Apis::Core::Hashable
|
@@ -875,8 +842,8 @@ module Google
|
|
875
842
|
class Common
|
876
843
|
include Google::Apis::Core::Hashable
|
877
844
|
|
878
|
-
# The display title and localized canonical name to use when searching for
|
879
|
-
# entity on Google search.
|
845
|
+
# The display title and localized canonical name to use when searching for
|
846
|
+
# this entity on Google search.
|
880
847
|
# Corresponds to the JSON property `title`
|
881
848
|
# @return [String]
|
882
849
|
attr_accessor :title
|
@@ -959,8 +926,8 @@ module Google
|
|
959
926
|
# @return [Array<Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense>]
|
960
927
|
attr_accessor :senses
|
961
928
|
|
962
|
-
# The words with different meanings but not related words, e.g. "go"
|
963
|
-
# go" (verb).
|
929
|
+
# The words with different meanings but not related words, e.g. "go"
|
930
|
+
# (game) and "go" (verb).
|
964
931
|
# Corresponds to the JSON property `source`
|
965
932
|
# @return [Google::Apis::BooksV1::DictLayerData::Dict::Word::Source]
|
966
933
|
attr_accessor :source
|
@@ -1313,8 +1280,8 @@ module Google
|
|
1313
1280
|
end
|
1314
1281
|
end
|
1315
1282
|
|
1316
|
-
# The words with different meanings but not related words, e.g. "go"
|
1317
|
-
# go" (verb).
|
1283
|
+
# The words with different meanings but not related words, e.g. "go"
|
1284
|
+
# (game) and "go" (verb).
|
1318
1285
|
class Source
|
1319
1286
|
include Google::Apis::Core::Hashable
|
1320
1287
|
|
@@ -1481,8 +1448,8 @@ module Google
|
|
1481
1448
|
attr_accessor :device_allowed
|
1482
1449
|
alias_method :device_allowed?, :device_allowed
|
1483
1450
|
|
1484
|
-
# If restricted, the number of content download licenses already acquired
|
1485
|
-
# including the requesting client, if licensed).
|
1451
|
+
# If restricted, the number of content download licenses already acquired
|
1452
|
+
# (including the requesting client, if licensed).
|
1486
1453
|
# Corresponds to the JSON property `downloadsAcquired`
|
1487
1454
|
# @return [Fixnum]
|
1488
1455
|
attr_accessor :downloads_acquired
|
@@ -1498,7 +1465,8 @@ module Google
|
|
1498
1465
|
# @return [String]
|
1499
1466
|
attr_accessor :kind
|
1500
1467
|
|
1501
|
-
# If restricted, the maximum number of content download licenses for this
|
1468
|
+
# If restricted, the maximum number of content download licenses for this
|
1469
|
+
# volume.
|
1502
1470
|
# Corresponds to the JSON property `maxDownloadDevices`
|
1503
1471
|
# @return [Fixnum]
|
1504
1472
|
attr_accessor :max_download_devices
|
@@ -1513,8 +1481,8 @@ module Google
|
|
1513
1481
|
# @return [String]
|
1514
1482
|
attr_accessor :nonce
|
1515
1483
|
|
1516
|
-
# Error/warning reason code.
|
1517
|
-
# 100
|
1484
|
+
# Error/warning reason code. Additional codes may be added in the future. 0
|
1485
|
+
# OK 100 ACCESS_DENIED_PUBLISHER_LIMIT 101 ACCESS_DENIED_LIMIT 200
|
1518
1486
|
# WARNING_USED_LAST_ACCESS
|
1519
1487
|
# Corresponds to the JSON property `reasonCode`
|
1520
1488
|
# @return [String]
|
@@ -1531,8 +1499,8 @@ module Google
|
|
1531
1499
|
# @return [String]
|
1532
1500
|
attr_accessor :signature
|
1533
1501
|
|
1534
|
-
# Client app identifier for verification. Download access and
|
1535
|
-
# only.
|
1502
|
+
# Client app identifier for verification. Download access and
|
1503
|
+
# client-validation only.
|
1536
1504
|
# Corresponds to the JSON property `source`
|
1537
1505
|
# @return [String]
|
1538
1506
|
attr_accessor :source
|
@@ -1588,6 +1556,25 @@ module Google
|
|
1588
1556
|
end
|
1589
1557
|
end
|
1590
1558
|
|
1559
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
1560
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
1561
|
+
# or the response type of an API method. For instance:
|
1562
|
+
# service Foo `
|
1563
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
1564
|
+
# `
|
1565
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
1566
|
+
class Empty
|
1567
|
+
include Google::Apis::Core::Hashable
|
1568
|
+
|
1569
|
+
def initialize(**args)
|
1570
|
+
update!(**args)
|
1571
|
+
end
|
1572
|
+
|
1573
|
+
# Update properties of this object
|
1574
|
+
def update!(**args)
|
1575
|
+
end
|
1576
|
+
end
|
1577
|
+
|
1591
1578
|
#
|
1592
1579
|
class FamilyInfo
|
1593
1580
|
include Google::Apis::Core::Hashable
|
@@ -1657,6 +1644,77 @@ module Google
|
|
1657
1644
|
end
|
1658
1645
|
end
|
1659
1646
|
|
1647
|
+
#
|
1648
|
+
class GeoAnnotationdata
|
1649
|
+
include Google::Apis::Core::Hashable
|
1650
|
+
|
1651
|
+
# The type of annotation this data is for.
|
1652
|
+
# Corresponds to the JSON property `annotationType`
|
1653
|
+
# @return [String]
|
1654
|
+
attr_accessor :annotation_type
|
1655
|
+
|
1656
|
+
# JSON encoded data for this geo annotation data.
|
1657
|
+
# Emitted with name 'data' in JSON output. Either this or dict_data will
|
1658
|
+
# be populated.
|
1659
|
+
# Corresponds to the JSON property `data`
|
1660
|
+
# @return [Google::Apis::BooksV1::GeoLayerData]
|
1661
|
+
attr_accessor :data
|
1662
|
+
|
1663
|
+
# Base64 encoded data for this annotation data.
|
1664
|
+
# Corresponds to the JSON property `encodedData`
|
1665
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1666
|
+
# @return [String]
|
1667
|
+
attr_accessor :encoded_data
|
1668
|
+
|
1669
|
+
# Unique id for this annotation data.
|
1670
|
+
# Corresponds to the JSON property `id`
|
1671
|
+
# @return [String]
|
1672
|
+
attr_accessor :id
|
1673
|
+
|
1674
|
+
# Resource Type
|
1675
|
+
# Corresponds to the JSON property `kind`
|
1676
|
+
# @return [String]
|
1677
|
+
attr_accessor :kind
|
1678
|
+
|
1679
|
+
# The Layer id for this data. *
|
1680
|
+
# Corresponds to the JSON property `layerId`
|
1681
|
+
# @return [String]
|
1682
|
+
attr_accessor :layer_id
|
1683
|
+
|
1684
|
+
# URL for this resource. *
|
1685
|
+
# Corresponds to the JSON property `selfLink`
|
1686
|
+
# @return [String]
|
1687
|
+
attr_accessor :self_link
|
1688
|
+
|
1689
|
+
# Timestamp for the last time this data was updated. (RFC 3339 UTC date-time
|
1690
|
+
# format).
|
1691
|
+
# Corresponds to the JSON property `updated`
|
1692
|
+
# @return [String]
|
1693
|
+
attr_accessor :updated
|
1694
|
+
|
1695
|
+
# The volume id for this data. *
|
1696
|
+
# Corresponds to the JSON property `volumeId`
|
1697
|
+
# @return [String]
|
1698
|
+
attr_accessor :volume_id
|
1699
|
+
|
1700
|
+
def initialize(**args)
|
1701
|
+
update!(**args)
|
1702
|
+
end
|
1703
|
+
|
1704
|
+
# Update properties of this object
|
1705
|
+
def update!(**args)
|
1706
|
+
@annotation_type = args[:annotation_type] if args.key?(:annotation_type)
|
1707
|
+
@data = args[:data] if args.key?(:data)
|
1708
|
+
@encoded_data = args[:encoded_data] if args.key?(:encoded_data)
|
1709
|
+
@id = args[:id] if args.key?(:id)
|
1710
|
+
@kind = args[:kind] if args.key?(:kind)
|
1711
|
+
@layer_id = args[:layer_id] if args.key?(:layer_id)
|
1712
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
1713
|
+
@updated = args[:updated] if args.key?(:updated)
|
1714
|
+
@volume_id = args[:volume_id] if args.key?(:volume_id)
|
1715
|
+
end
|
1716
|
+
end
|
1717
|
+
|
1660
1718
|
#
|
1661
1719
|
class GeoLayerData
|
1662
1720
|
include Google::Apis::Core::Hashable
|
@@ -1711,8 +1769,8 @@ module Google
|
|
1711
1769
|
# @return [String]
|
1712
1770
|
attr_accessor :snippet_url
|
1713
1771
|
|
1714
|
-
# The display title and localized canonical name to use when searching for
|
1715
|
-
# entity on Google search.
|
1772
|
+
# The display title and localized canonical name to use when searching for
|
1773
|
+
# this entity on Google search.
|
1716
1774
|
# Corresponds to the JSON property `title`
|
1717
1775
|
# @return [String]
|
1718
1776
|
attr_accessor :title
|
@@ -1735,13 +1793,14 @@ module Google
|
|
1735
1793
|
class Geo
|
1736
1794
|
include Google::Apis::Core::Hashable
|
1737
1795
|
|
1738
|
-
# The boundary of the location as a set of loops containing pairs of
|
1739
|
-
# longitude coordinates.
|
1796
|
+
# The boundary of the location as a set of loops containing pairs of
|
1797
|
+
# latitude, longitude coordinates.
|
1740
1798
|
# Corresponds to the JSON property `boundary`
|
1741
|
-
# @return [Array<
|
1799
|
+
# @return [Array<String>]
|
1742
1800
|
attr_accessor :boundary
|
1743
1801
|
|
1744
|
-
# The cache policy active for this data. EX: UNRESTRICTED, RESTRICTED,
|
1802
|
+
# The cache policy active for this data. EX: UNRESTRICTED, RESTRICTED,
|
1803
|
+
# NEVER
|
1745
1804
|
# Corresponds to the JSON property `cachePolicy`
|
1746
1805
|
# @return [String]
|
1747
1806
|
attr_accessor :cache_policy
|
@@ -1761,8 +1820,8 @@ module Google
|
|
1761
1820
|
# @return [Float]
|
1762
1821
|
attr_accessor :longitude
|
1763
1822
|
|
1764
|
-
# The type of map that should be used for this location. EX: HYBRID,
|
1765
|
-
# SATELLITE, TERRAIN
|
1823
|
+
# The type of map that should be used for this location. EX: HYBRID,
|
1824
|
+
# ROADMAP, SATELLITE, TERRAIN
|
1766
1825
|
# Corresponds to the JSON property `mapType`
|
1767
1826
|
# @return [String]
|
1768
1827
|
attr_accessor :map_type
|
@@ -1775,8 +1834,8 @@ module Google
|
|
1775
1834
|
|
1776
1835
|
# The Zoom level to use for the map. Zoom levels between 0 (the lowest zoom
|
1777
1836
|
# level, in which the entire world can be seen on one map) to 21+ (down to
|
1778
|
-
# individual buildings). See: https
|
1779
|
-
# staticmaps/#Zoomlevels
|
1837
|
+
# individual buildings). See: https:
|
1838
|
+
# //developers.google.com/maps/documentation/staticmaps/#Zoomlevels
|
1780
1839
|
# Corresponds to the JSON property `zoom`
|
1781
1840
|
# @return [Fixnum]
|
1782
1841
|
attr_accessor :zoom
|
@@ -1797,31 +1856,6 @@ module Google
|
|
1797
1856
|
@zoom = args[:zoom] if args.key?(:zoom)
|
1798
1857
|
end
|
1799
1858
|
|
1800
|
-
#
|
1801
|
-
class Boundary
|
1802
|
-
include Google::Apis::Core::Hashable
|
1803
|
-
|
1804
|
-
#
|
1805
|
-
# Corresponds to the JSON property `latitude`
|
1806
|
-
# @return [Fixnum]
|
1807
|
-
attr_accessor :latitude
|
1808
|
-
|
1809
|
-
#
|
1810
|
-
# Corresponds to the JSON property `longitude`
|
1811
|
-
# @return [Fixnum]
|
1812
|
-
attr_accessor :longitude
|
1813
|
-
|
1814
|
-
def initialize(**args)
|
1815
|
-
update!(**args)
|
1816
|
-
end
|
1817
|
-
|
1818
|
-
# Update properties of this object
|
1819
|
-
def update!(**args)
|
1820
|
-
@latitude = args[:latitude] if args.key?(:latitude)
|
1821
|
-
@longitude = args[:longitude] if args.key?(:longitude)
|
1822
|
-
end
|
1823
|
-
end
|
1824
|
-
|
1825
1859
|
# The viewport for showing this location. This is a latitude, longitude
|
1826
1860
|
# rectangle.
|
1827
1861
|
class Viewport
|
@@ -1985,15 +2019,15 @@ module Google
|
|
1985
2019
|
# @return [String]
|
1986
2020
|
attr_accessor :self_link
|
1987
2021
|
|
1988
|
-
# Timestamp for the last time an item in this layer was updated. (RFC 3339
|
1989
|
-
# date-time format).
|
2022
|
+
# Timestamp for the last time an item in this layer was updated. (RFC 3339
|
2023
|
+
# UTC date-time format).
|
1990
2024
|
# Corresponds to the JSON property `updated`
|
1991
|
-
# @return [
|
2025
|
+
# @return [String]
|
1992
2026
|
attr_accessor :updated
|
1993
2027
|
|
1994
|
-
# The current version of this layer's volume annotations. Note that this
|
1995
|
-
# applies only to the data in the books.layers.volumeAnnotations.*
|
1996
|
-
# The actual annotation data is versioned separately.
|
2028
|
+
# The current version of this layer's volume annotations. Note that this
|
2029
|
+
# version applies only to the data in the books.layers.volumeAnnotations.*
|
2030
|
+
# responses. The actual annotation data is versioned separately.
|
1997
2031
|
# Corresponds to the JSON property `volumeAnnotationsVersion`
|
1998
2032
|
# @return [String]
|
1999
2033
|
attr_accessor :volume_annotations_version
|
@@ -2345,10 +2379,10 @@ module Google
|
|
2345
2379
|
# @return [String]
|
2346
2380
|
attr_accessor :pdf_position
|
2347
2381
|
|
2348
|
-
# Timestamp when this reading position was last updated (formatted UTC
|
2349
|
-
# with millisecond resolution).
|
2382
|
+
# Timestamp when this reading position was last updated (formatted UTC
|
2383
|
+
# timestamp with millisecond resolution).
|
2350
2384
|
# Corresponds to the JSON property `updated`
|
2351
|
-
# @return [
|
2385
|
+
# @return [String]
|
2352
2386
|
attr_accessor :updated
|
2353
2387
|
|
2354
2388
|
# Volume id associated with this reading position.
|
@@ -2373,7 +2407,7 @@ module Google
|
|
2373
2407
|
end
|
2374
2408
|
|
2375
2409
|
#
|
2376
|
-
class
|
2410
|
+
class RequestAccessData
|
2377
2411
|
include Google::Apis::Core::Hashable
|
2378
2412
|
|
2379
2413
|
# A concurrent access response.
|
@@ -2432,14 +2466,14 @@ module Google
|
|
2432
2466
|
# @return [String]
|
2433
2467
|
attr_accessor :kind
|
2434
2468
|
|
2435
|
-
# Star rating for this review. Possible values are ONE, TWO, THREE, FOUR,
|
2436
|
-
# or NOT_RATED.
|
2469
|
+
# Star rating for this review. Possible values are ONE, TWO, THREE, FOUR,
|
2470
|
+
# FIVE or NOT_RATED.
|
2437
2471
|
# Corresponds to the JSON property `rating`
|
2438
2472
|
# @return [String]
|
2439
2473
|
attr_accessor :rating
|
2440
2474
|
|
2441
|
-
# Information regarding the source of this review, when the review is not
|
2442
|
-
# Google Books user.
|
2475
|
+
# Information regarding the source of this review, when the review is not
|
2476
|
+
# from a Google Books user.
|
2443
2477
|
# Corresponds to the JSON property `source`
|
2444
2478
|
# @return [Google::Apis::BooksV1::Review::Source]
|
2445
2479
|
attr_accessor :source
|
@@ -2497,8 +2531,8 @@ module Google
|
|
2497
2531
|
end
|
2498
2532
|
end
|
2499
2533
|
|
2500
|
-
# Information regarding the source of this review, when the review is not
|
2501
|
-
# Google Books user.
|
2534
|
+
# Information regarding the source of this review, when the review is not
|
2535
|
+
# from a Google Books user.
|
2502
2536
|
class Source
|
2503
2537
|
include Google::Apis::Core::Hashable
|
2504
2538
|
|
@@ -2632,22 +2666,22 @@ module Google
|
|
2632
2666
|
class SeriesSubscriptionReleaseInfo
|
2633
2667
|
include Google::Apis::Core::Hashable
|
2634
2668
|
|
2635
|
-
#
|
2636
|
-
# Corresponds to the JSON property `
|
2637
|
-
# @return [
|
2638
|
-
attr_accessor :
|
2669
|
+
#
|
2670
|
+
# Corresponds to the JSON property `cancelTime`
|
2671
|
+
# @return [String]
|
2672
|
+
attr_accessor :cancel_time
|
2639
2673
|
|
2640
|
-
#
|
2674
|
+
#
|
2641
2675
|
# Corresponds to the JSON property `currentReleaseInfo`
|
2642
|
-
# @return [Google::Apis::BooksV1::
|
2676
|
+
# @return [Google::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo::CurrentReleaseInfo]
|
2643
2677
|
attr_accessor :current_release_info
|
2644
2678
|
|
2645
|
-
#
|
2679
|
+
#
|
2646
2680
|
# Corresponds to the JSON property `nextReleaseInfo`
|
2647
|
-
# @return [Google::Apis::BooksV1::
|
2681
|
+
# @return [Google::Apis::BooksV1::Series::Series::SeriesSubscriptionReleaseInfo::NextReleaseInfo]
|
2648
2682
|
attr_accessor :next_release_info
|
2649
2683
|
|
2650
|
-
#
|
2684
|
+
#
|
2651
2685
|
# Corresponds to the JSON property `seriesSubscriptionType`
|
2652
2686
|
# @return [String]
|
2653
2687
|
attr_accessor :series_subscription_type
|
@@ -2658,11 +2692,85 @@ module Google
|
|
2658
2692
|
|
2659
2693
|
# Update properties of this object
|
2660
2694
|
def update!(**args)
|
2661
|
-
@
|
2695
|
+
@cancel_time = args[:cancel_time] if args.key?(:cancel_time)
|
2662
2696
|
@current_release_info = args[:current_release_info] if args.key?(:current_release_info)
|
2663
2697
|
@next_release_info = args[:next_release_info] if args.key?(:next_release_info)
|
2664
2698
|
@series_subscription_type = args[:series_subscription_type] if args.key?(:series_subscription_type)
|
2665
2699
|
end
|
2700
|
+
|
2701
|
+
#
|
2702
|
+
class CurrentReleaseInfo
|
2703
|
+
include Google::Apis::Core::Hashable
|
2704
|
+
|
2705
|
+
#
|
2706
|
+
# Corresponds to the JSON property `amountInMicros`
|
2707
|
+
# @return [Float]
|
2708
|
+
attr_accessor :amount_in_micros
|
2709
|
+
|
2710
|
+
#
|
2711
|
+
# Corresponds to the JSON property `currencyCode`
|
2712
|
+
# @return [String]
|
2713
|
+
attr_accessor :currency_code
|
2714
|
+
|
2715
|
+
#
|
2716
|
+
# Corresponds to the JSON property `releaseNumber`
|
2717
|
+
# @return [String]
|
2718
|
+
attr_accessor :release_number
|
2719
|
+
|
2720
|
+
#
|
2721
|
+
# Corresponds to the JSON property `releaseTime`
|
2722
|
+
# @return [String]
|
2723
|
+
attr_accessor :release_time
|
2724
|
+
|
2725
|
+
def initialize(**args)
|
2726
|
+
update!(**args)
|
2727
|
+
end
|
2728
|
+
|
2729
|
+
# Update properties of this object
|
2730
|
+
def update!(**args)
|
2731
|
+
@amount_in_micros = args[:amount_in_micros] if args.key?(:amount_in_micros)
|
2732
|
+
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
2733
|
+
@release_number = args[:release_number] if args.key?(:release_number)
|
2734
|
+
@release_time = args[:release_time] if args.key?(:release_time)
|
2735
|
+
end
|
2736
|
+
end
|
2737
|
+
|
2738
|
+
#
|
2739
|
+
class NextReleaseInfo
|
2740
|
+
include Google::Apis::Core::Hashable
|
2741
|
+
|
2742
|
+
#
|
2743
|
+
# Corresponds to the JSON property `amountInMicros`
|
2744
|
+
# @return [Float]
|
2745
|
+
attr_accessor :amount_in_micros
|
2746
|
+
|
2747
|
+
#
|
2748
|
+
# Corresponds to the JSON property `currencyCode`
|
2749
|
+
# @return [String]
|
2750
|
+
attr_accessor :currency_code
|
2751
|
+
|
2752
|
+
#
|
2753
|
+
# Corresponds to the JSON property `releaseNumber`
|
2754
|
+
# @return [String]
|
2755
|
+
attr_accessor :release_number
|
2756
|
+
|
2757
|
+
#
|
2758
|
+
# Corresponds to the JSON property `releaseTime`
|
2759
|
+
# @return [String]
|
2760
|
+
attr_accessor :release_time
|
2761
|
+
|
2762
|
+
def initialize(**args)
|
2763
|
+
update!(**args)
|
2764
|
+
end
|
2765
|
+
|
2766
|
+
# Update properties of this object
|
2767
|
+
def update!(**args)
|
2768
|
+
@amount_in_micros = args[:amount_in_micros] if args.key?(:amount_in_micros)
|
2769
|
+
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
2770
|
+
@release_number = args[:release_number] if args.key?(:release_number)
|
2771
|
+
@release_time = args[:release_time] if args.key?(:release_time)
|
2772
|
+
end
|
2773
|
+
end
|
2666
2774
|
end
|
2667
2775
|
end
|
2668
2776
|
end
|
@@ -2931,8 +3039,9 @@ module Google
|
|
2931
3039
|
attr_accessor :recommended_info
|
2932
3040
|
|
2933
3041
|
# Any information about a volume related to the eBookstore and/or
|
2934
|
-
# purchaseability. This information can depend on the country where the
|
2935
|
-
# originates from (i.e. books may not be for sale in certain
|
3042
|
+
# purchaseability. This information can depend on the country where the
|
3043
|
+
# request originates from (i.e. books may not be for sale in certain
|
3044
|
+
# countries).
|
2936
3045
|
# Corresponds to the JSON property `saleInfo`
|
2937
3046
|
# @return [Google::Apis::BooksV1::Volume::SaleInfo]
|
2938
3047
|
attr_accessor :sale_info
|
@@ -2983,15 +3092,15 @@ module Google
|
|
2983
3092
|
class AccessInfo
|
2984
3093
|
include Google::Apis::Core::Hashable
|
2985
3094
|
|
2986
|
-
# Combines the access and viewability of this volume into a single status
|
2987
|
-
# for this user. Values can be FULL_PURCHASED, FULL_PUBLIC_DOMAIN,
|
2988
|
-
# NONE. (In LITE projection.)
|
3095
|
+
# Combines the access and viewability of this volume into a single status
|
3096
|
+
# field for this user. Values can be FULL_PURCHASED, FULL_PUBLIC_DOMAIN,
|
3097
|
+
# SAMPLE or NONE. (In LITE projection.)
|
2989
3098
|
# Corresponds to the JSON property `accessViewStatus`
|
2990
3099
|
# @return [String]
|
2991
3100
|
attr_accessor :access_view_status
|
2992
3101
|
|
2993
|
-
# The two-letter ISO_3166-1 country code for which this access information
|
2994
|
-
# valid. (In LITE projection.)
|
3102
|
+
# The two-letter ISO_3166-1 country code for which this access information
|
3103
|
+
# is valid. (In LITE projection.)
|
2995
3104
|
# Corresponds to the JSON property `country`
|
2996
3105
|
# @return [String]
|
2997
3106
|
attr_accessor :country
|
@@ -3007,8 +3116,8 @@ module Google
|
|
3007
3116
|
# @return [String]
|
3008
3117
|
attr_accessor :drive_imported_content_link
|
3009
3118
|
|
3010
|
-
# Whether this volume can be embedded in a viewport using the Embedded
|
3011
|
-
# API.
|
3119
|
+
# Whether this volume can be embedded in a viewport using the Embedded
|
3120
|
+
# Viewer API.
|
3012
3121
|
# Corresponds to the JSON property `embeddable`
|
3013
3122
|
# @return [Boolean]
|
3014
3123
|
attr_accessor :embeddable
|
@@ -3044,29 +3153,30 @@ module Google
|
|
3044
3153
|
attr_accessor :quote_sharing_allowed
|
3045
3154
|
alias_method :quote_sharing_allowed?, :quote_sharing_allowed
|
3046
3155
|
|
3047
|
-
# Whether text-to-speech is permitted for this volume. Values can be
|
3048
|
-
# ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.
|
3156
|
+
# Whether text-to-speech is permitted for this volume. Values can be
|
3157
|
+
# ALLOWED, ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.
|
3049
3158
|
# Corresponds to the JSON property `textToSpeechPermission`
|
3050
3159
|
# @return [String]
|
3051
3160
|
attr_accessor :text_to_speech_permission
|
3052
3161
|
|
3053
|
-
# For ordered but not yet processed orders, we give a URL that can be used
|
3054
|
-
# to the appropriate Google Wallet page.
|
3162
|
+
# For ordered but not yet processed orders, we give a URL that can be used
|
3163
|
+
# to go to the appropriate Google Wallet page.
|
3055
3164
|
# Corresponds to the JSON property `viewOrderUrl`
|
3056
3165
|
# @return [String]
|
3057
3166
|
attr_accessor :view_order_url
|
3058
3167
|
|
3059
|
-
# The read access of a volume. Possible values are PARTIAL, ALL_PAGES,
|
3060
|
-
# or UNKNOWN. This value depends on the country listed above. A
|
3061
|
-
# means that the publisher has allowed some portion of the
|
3062
|
-
# publicly, without purchase. This can apply to eBooks
|
3063
|
-
# Public domain books will always have a value of
|
3168
|
+
# The read access of a volume. Possible values are PARTIAL, ALL_PAGES,
|
3169
|
+
# NO_PAGES or UNKNOWN. This value depends on the country listed above. A
|
3170
|
+
# value of PARTIAL means that the publisher has allowed some portion of the
|
3171
|
+
# volume to be viewed publicly, without purchase. This can apply to eBooks
|
3172
|
+
# as well as non-eBooks. Public domain books will always have a value of
|
3173
|
+
# ALL_PAGES.
|
3064
3174
|
# Corresponds to the JSON property `viewability`
|
3065
3175
|
# @return [String]
|
3066
3176
|
attr_accessor :viewability
|
3067
3177
|
|
3068
|
-
# URL to read this volume on the Google Books site. Link will not allow
|
3069
|
-
# read non-viewable volumes.
|
3178
|
+
# URL to read this volume on the Google Books site. Link will not allow
|
3179
|
+
# users to read non-viewable volumes.
|
3070
3180
|
# Corresponds to the JSON property `webReaderLink`
|
3071
3181
|
# @return [String]
|
3072
3182
|
attr_accessor :web_reader_link
|
@@ -3107,8 +3217,8 @@ module Google
|
|
3107
3217
|
# @return [String]
|
3108
3218
|
attr_accessor :download_link
|
3109
3219
|
|
3110
|
-
# Is a flowing text epub available either as public domain or for
|
3111
|
-
# LITE projection.)
|
3220
|
+
# Is a flowing text epub available either as public domain or for
|
3221
|
+
# purchase. (In LITE projection.)
|
3112
3222
|
# Corresponds to the JSON property `isAvailable`
|
3113
3223
|
# @return [Boolean]
|
3114
3224
|
attr_accessor :is_available
|
@@ -3140,8 +3250,8 @@ module Google
|
|
3140
3250
|
# @return [String]
|
3141
3251
|
attr_accessor :download_link
|
3142
3252
|
|
3143
|
-
# Is a scanned image pdf available either as public domain or for
|
3144
|
-
# LITE projection.)
|
3253
|
+
# Is a scanned image pdf available either as public domain or for
|
3254
|
+
# purchase. (In LITE projection.)
|
3145
3255
|
# Corresponds to the JSON property `isAvailable`
|
3146
3256
|
# @return [Boolean]
|
3147
3257
|
attr_accessor :is_available
|
@@ -3187,9 +3297,10 @@ module Google
|
|
3187
3297
|
# @return [String]
|
3188
3298
|
attr_accessor :layer_id
|
3189
3299
|
|
3190
|
-
# The current version of this layer's volume annotations. Note that this
|
3191
|
-
# applies only to the data in the
|
3192
|
-
# The actual annotation data
|
3300
|
+
# The current version of this layer's volume annotations. Note that this
|
3301
|
+
# version applies only to the data in the
|
3302
|
+
# books.layers.volumeAnnotations.* responses. The actual annotation data
|
3303
|
+
# is versioned separately.
|
3193
3304
|
# Corresponds to the JSON property `volumeAnnotationsVersion`
|
3194
3305
|
# @return [String]
|
3195
3306
|
attr_accessor :volume_annotations_version
|
@@ -3226,12 +3337,14 @@ module Google
|
|
3226
3337
|
end
|
3227
3338
|
|
3228
3339
|
# Any information about a volume related to the eBookstore and/or
|
3229
|
-
# purchaseability. This information can depend on the country where the
|
3230
|
-
# originates from (i.e. books may not be for sale in certain
|
3340
|
+
# purchaseability. This information can depend on the country where the
|
3341
|
+
# request originates from (i.e. books may not be for sale in certain
|
3342
|
+
# countries).
|
3231
3343
|
class SaleInfo
|
3232
3344
|
include Google::Apis::Core::Hashable
|
3233
3345
|
|
3234
|
-
# URL to purchase this volume on the Google Books site. (In LITE
|
3346
|
+
# URL to purchase this volume on the Google Books site. (In LITE
|
3347
|
+
# projection)
|
3235
3348
|
# Corresponds to the JSON property `buyLink`
|
3236
3349
|
# @return [String]
|
3237
3350
|
attr_accessor :buy_link
|
@@ -3242,7 +3355,8 @@ module Google
|
|
3242
3355
|
# @return [String]
|
3243
3356
|
attr_accessor :country
|
3244
3357
|
|
3245
|
-
# Whether or not this volume is an eBook (can be added to the My eBooks
|
3358
|
+
# Whether or not this volume is an eBook (can be added to the My eBooks
|
3359
|
+
# shelf).
|
3246
3360
|
# Corresponds to the JSON property `isEbook`
|
3247
3361
|
# @return [Boolean]
|
3248
3362
|
attr_accessor :is_ebook
|
@@ -3260,19 +3374,20 @@ module Google
|
|
3260
3374
|
|
3261
3375
|
# The date on which this book is available for sale.
|
3262
3376
|
# Corresponds to the JSON property `onSaleDate`
|
3263
|
-
# @return [
|
3377
|
+
# @return [String]
|
3264
3378
|
attr_accessor :on_sale_date
|
3265
3379
|
|
3266
|
-
# The actual selling price of the book. This is the same as the suggested
|
3267
|
-
# or list price unless there are offers or discounts on this volume.
|
3268
|
-
# projection.)
|
3380
|
+
# The actual selling price of the book. This is the same as the suggested
|
3381
|
+
# retail or list price unless there are offers or discounts on this volume.
|
3382
|
+
# (In LITE projection.)
|
3269
3383
|
# Corresponds to the JSON property `retailPrice`
|
3270
3384
|
# @return [Google::Apis::BooksV1::Volume::SaleInfo::RetailPrice]
|
3271
3385
|
attr_accessor :retail_price
|
3272
3386
|
|
3273
3387
|
# Whether or not this book is available for sale or offered for free in the
|
3274
|
-
# Google eBookstore for the country listed above. Possible values are
|
3275
|
-
# FOR_RENTAL_ONLY, FOR_SALE_AND_RENTAL, FREE, NOT_FOR_SALE, or
|
3388
|
+
# Google eBookstore for the country listed above. Possible values are
|
3389
|
+
# FOR_SALE, FOR_RENTAL_ONLY, FOR_SALE_AND_RENTAL, FREE, NOT_FOR_SALE, or
|
3390
|
+
# FOR_PREORDER.
|
3276
3391
|
# Corresponds to the JSON property `saleability`
|
3277
3392
|
# @return [String]
|
3278
3393
|
attr_accessor :saleability
|
@@ -3437,9 +3552,9 @@ module Google
|
|
3437
3552
|
end
|
3438
3553
|
end
|
3439
3554
|
|
3440
|
-
# The actual selling price of the book. This is the same as the suggested
|
3441
|
-
# or list price unless there are offers or discounts on this volume.
|
3442
|
-
# projection.)
|
3555
|
+
# The actual selling price of the book. This is the same as the suggested
|
3556
|
+
# retail or list price unless there are offers or discounts on this volume.
|
3557
|
+
# (In LITE projection.)
|
3443
3558
|
class RetailPrice
|
3444
3559
|
include Google::Apis::Core::Hashable
|
3445
3560
|
|
@@ -3489,11 +3604,11 @@ module Google
|
|
3489
3604
|
class UserInfo
|
3490
3605
|
include Google::Apis::Core::Hashable
|
3491
3606
|
|
3492
|
-
# Timestamp when this volume was acquired by the user. (RFC 3339 UTC
|
3493
|
-
# format) Acquiring includes purchase, user upload, receiving
|
3494
|
-
# etc.
|
3607
|
+
# Timestamp when this volume was acquired by the user. (RFC 3339 UTC
|
3608
|
+
# date-time format) Acquiring includes purchase, user upload, receiving
|
3609
|
+
# family sharing, etc.
|
3495
3610
|
# Corresponds to the JSON property `acquiredTime`
|
3496
|
-
# @return [
|
3611
|
+
# @return [String]
|
3497
3612
|
attr_accessor :acquired_time
|
3498
3613
|
|
3499
3614
|
# How this volume was acquired.
|
@@ -3546,15 +3661,15 @@ module Google
|
|
3546
3661
|
attr_accessor :is_in_my_books
|
3547
3662
|
alias_method :is_in_my_books?, :is_in_my_books
|
3548
3663
|
|
3549
|
-
# Whether or not this volume was pre-ordered by the authenticated user
|
3550
|
-
# the request. (In LITE projection.)
|
3664
|
+
# Whether or not this volume was pre-ordered by the authenticated user
|
3665
|
+
# making the request. (In LITE projection.)
|
3551
3666
|
# Corresponds to the JSON property `isPreordered`
|
3552
3667
|
# @return [Boolean]
|
3553
3668
|
attr_accessor :is_preordered
|
3554
3669
|
alias_method :is_preordered?, :is_preordered
|
3555
3670
|
|
3556
|
-
# Whether or not this volume was purchased by the authenticated user making
|
3557
|
-
# request. (In LITE projection.)
|
3671
|
+
# Whether or not this volume was purchased by the authenticated user making
|
3672
|
+
# the request. (In LITE projection.)
|
3558
3673
|
# Corresponds to the JSON property `isPurchased`
|
3559
3674
|
# @return [Boolean]
|
3560
3675
|
attr_accessor :is_purchased
|
@@ -3566,8 +3681,8 @@ module Google
|
|
3566
3681
|
attr_accessor :is_uploaded
|
3567
3682
|
alias_method :is_uploaded?, :is_uploaded
|
3568
3683
|
|
3569
|
-
# The user's current reading position in the volume, if one is available.
|
3570
|
-
# LITE projection.)
|
3684
|
+
# The user's current reading position in the volume, if one is available.
|
3685
|
+
# (In LITE projection.)
|
3571
3686
|
# Corresponds to the JSON property `readingPosition`
|
3572
3687
|
# @return [Google::Apis::BooksV1::ReadingPosition]
|
3573
3688
|
attr_accessor :reading_position
|
@@ -3588,10 +3703,10 @@ module Google
|
|
3588
3703
|
attr_accessor :review
|
3589
3704
|
|
3590
3705
|
# Timestamp when this volume was last modified by a user action, such as a
|
3591
|
-
# reading position update, volume purchase or writing a review. (RFC 3339
|
3592
|
-
# date-time format).
|
3706
|
+
# reading position update, volume purchase or writing a review. (RFC 3339
|
3707
|
+
# UTC date-time format).
|
3593
3708
|
# Corresponds to the JSON property `updated`
|
3594
|
-
# @return [
|
3709
|
+
# @return [String]
|
3595
3710
|
attr_accessor :updated
|
3596
3711
|
|
3597
3712
|
#
|
@@ -3647,7 +3762,7 @@ module Google
|
|
3647
3762
|
|
3648
3763
|
#
|
3649
3764
|
# Corresponds to the JSON property `updated`
|
3650
|
-
# @return [
|
3765
|
+
# @return [String]
|
3651
3766
|
attr_accessor :updated
|
3652
3767
|
|
3653
3768
|
def initialize(**args)
|
@@ -3672,16 +3787,16 @@ module Google
|
|
3672
3787
|
# @return [String]
|
3673
3788
|
attr_accessor :family_role
|
3674
3789
|
|
3675
|
-
# Whether or not this volume can be shared with the family by the user.
|
3676
|
-
# includes sharing eligibility of both the volume and the user. If
|
3677
|
-
# true, the user can initiate a family sharing action.
|
3790
|
+
# Whether or not this volume can be shared with the family by the user.
|
3791
|
+
# This includes sharing eligibility of both the volume and the user. If
|
3792
|
+
# the value is true, the user can initiate a family sharing action.
|
3678
3793
|
# Corresponds to the JSON property `isSharingAllowed`
|
3679
3794
|
# @return [Boolean]
|
3680
3795
|
attr_accessor :is_sharing_allowed
|
3681
3796
|
alias_method :is_sharing_allowed?, :is_sharing_allowed
|
3682
3797
|
|
3683
|
-
# Whether or not sharing this volume is temporarily disabled due to
|
3684
|
-
# the Family Wallet.
|
3798
|
+
# Whether or not sharing this volume is temporarily disabled due to
|
3799
|
+
# issues with the Family Wallet.
|
3685
3800
|
# Corresponds to the JSON property `isSharingDisabledByFop`
|
3686
3801
|
# @return [Boolean]
|
3687
3802
|
attr_accessor :is_sharing_disabled_by_fop
|
@@ -3754,7 +3869,8 @@ module Google
|
|
3754
3869
|
attr_accessor :allow_anon_logging
|
3755
3870
|
alias_method :allow_anon_logging?, :allow_anon_logging
|
3756
3871
|
|
3757
|
-
# The names of the authors and/or editors for this volume. (In LITE
|
3872
|
+
# The names of the authors and/or editors for this volume. (In LITE
|
3873
|
+
# projection)
|
3758
3874
|
# Corresponds to the JSON property `authors`
|
3759
3875
|
# @return [Array<String>]
|
3760
3876
|
attr_accessor :authors
|
@@ -3780,15 +3896,15 @@ module Google
|
|
3780
3896
|
attr_accessor :comics_content
|
3781
3897
|
alias_method :comics_content?, :comics_content
|
3782
3898
|
|
3783
|
-
# An identifier for the version of the volume content (text & images). (In
|
3784
|
-
# projection)
|
3899
|
+
# An identifier for the version of the volume content (text & images). (In
|
3900
|
+
# LITE projection)
|
3785
3901
|
# Corresponds to the JSON property `contentVersion`
|
3786
3902
|
# @return [String]
|
3787
3903
|
attr_accessor :content_version
|
3788
3904
|
|
3789
|
-
# A synopsis of the volume. The text of the description is formatted in
|
3790
|
-
# includes simple formatting elements, such as b, i, and br tags.
|
3791
|
-
# projection.)
|
3905
|
+
# A synopsis of the volume. The text of the description is formatted in
|
3906
|
+
# HTML and includes simple formatting elements, such as b, i, and br tags.
|
3907
|
+
# (In LITE projection.)
|
3792
3908
|
# Corresponds to the JSON property `description`
|
3793
3909
|
# @return [String]
|
3794
3910
|
attr_accessor :description
|
@@ -3809,20 +3925,20 @@ module Google
|
|
3809
3925
|
# @return [Array<Google::Apis::BooksV1::Volume::VolumeInfo::IndustryIdentifier>]
|
3810
3926
|
attr_accessor :industry_identifiers
|
3811
3927
|
|
3812
|
-
# URL to view information about this volume on the Google Books site. (In
|
3813
|
-
# projection)
|
3928
|
+
# URL to view information about this volume on the Google Books site. (In
|
3929
|
+
# LITE projection)
|
3814
3930
|
# Corresponds to the JSON property `infoLink`
|
3815
3931
|
# @return [String]
|
3816
3932
|
attr_accessor :info_link
|
3817
3933
|
|
3818
|
-
# Best language for this volume (based on content). It is the two-letter
|
3819
|
-
# 1 code such as 'fr', 'en', etc.
|
3934
|
+
# Best language for this volume (based on content). It is the two-letter
|
3935
|
+
# ISO 639-1 code such as 'fr', 'en', etc.
|
3820
3936
|
# Corresponds to the JSON property `language`
|
3821
3937
|
# @return [String]
|
3822
3938
|
attr_accessor :language
|
3823
3939
|
|
3824
|
-
# The main category to which this volume belongs. It will be the category
|
3825
|
-
# the categories list returned below that has the highest weight.
|
3940
|
+
# The main category to which this volume belongs. It will be the category
|
3941
|
+
# from the categories list returned below that has the highest weight.
|
3826
3942
|
# Corresponds to the JSON property `mainCategory`
|
3827
3943
|
# @return [String]
|
3828
3944
|
attr_accessor :main_category
|
@@ -3874,7 +3990,7 @@ module Google
|
|
3874
3990
|
|
3875
3991
|
# The reading modes available for this volume.
|
3876
3992
|
# Corresponds to the JSON property `readingModes`
|
3877
|
-
# @return [
|
3993
|
+
# @return [Google::Apis::BooksV1::Volume::VolumeInfo::ReadingModes]
|
3878
3994
|
attr_accessor :reading_modes
|
3879
3995
|
|
3880
3996
|
# Total number of sample pages as per publisher metadata.
|
@@ -3969,7 +4085,8 @@ module Google
|
|
3969
4085
|
class ImageLinks
|
3970
4086
|
include Google::Apis::Core::Hashable
|
3971
4087
|
|
3972
|
-
# Image link for extra large size (width of ~1280 pixels). (In LITE
|
4088
|
+
# Image link for extra large size (width of ~1280 pixels). (In LITE
|
4089
|
+
# projection)
|
3973
4090
|
# Corresponds to the JSON property `extraLarge`
|
3974
4091
|
# @return [String]
|
3975
4092
|
attr_accessor :extra_large
|
@@ -3989,12 +4106,14 @@ module Google
|
|
3989
4106
|
# @return [String]
|
3990
4107
|
attr_accessor :small
|
3991
4108
|
|
3992
|
-
# Image link for small thumbnail size (width of ~80 pixels). (In LITE
|
4109
|
+
# Image link for small thumbnail size (width of ~80 pixels). (In LITE
|
4110
|
+
# projection)
|
3993
4111
|
# Corresponds to the JSON property `smallThumbnail`
|
3994
4112
|
# @return [String]
|
3995
4113
|
attr_accessor :small_thumbnail
|
3996
4114
|
|
3997
|
-
# Image link for thumbnail size (width of ~128 pixels). (In LITE
|
4115
|
+
# Image link for thumbnail size (width of ~128 pixels). (In LITE
|
4116
|
+
# projection)
|
3998
4117
|
# Corresponds to the JSON property `thumbnail`
|
3999
4118
|
# @return [String]
|
4000
4119
|
attr_accessor :thumbnail
|
@@ -4077,6 +4196,33 @@ module Google
|
|
4077
4196
|
@image_bubble_version = args[:image_bubble_version] if args.key?(:image_bubble_version)
|
4078
4197
|
end
|
4079
4198
|
end
|
4199
|
+
|
4200
|
+
# The reading modes available for this volume.
|
4201
|
+
class ReadingModes
|
4202
|
+
include Google::Apis::Core::Hashable
|
4203
|
+
|
4204
|
+
#
|
4205
|
+
# Corresponds to the JSON property `image`
|
4206
|
+
# @return [Boolean]
|
4207
|
+
attr_accessor :image
|
4208
|
+
alias_method :image?, :image
|
4209
|
+
|
4210
|
+
#
|
4211
|
+
# Corresponds to the JSON property `text`
|
4212
|
+
# @return [Boolean]
|
4213
|
+
attr_accessor :text
|
4214
|
+
alias_method :text?, :text
|
4215
|
+
|
4216
|
+
def initialize(**args)
|
4217
|
+
update!(**args)
|
4218
|
+
end
|
4219
|
+
|
4220
|
+
# Update properties of this object
|
4221
|
+
def update!(**args)
|
4222
|
+
@image = args[:image] if args.key?(:image)
|
4223
|
+
@text = args[:text] if args.key?(:text)
|
4224
|
+
end
|
4225
|
+
end
|
4080
4226
|
end
|
4081
4227
|
end
|
4082
4228
|
|
@@ -4176,10 +4322,10 @@ module Google
|
|
4176
4322
|
# @return [String]
|
4177
4323
|
attr_accessor :self_link
|
4178
4324
|
|
4179
|
-
# Timestamp for the last time this anntoation was updated. (RFC 3339 UTC
|
4180
|
-
# time format).
|
4325
|
+
# Timestamp for the last time this anntoation was updated. (RFC 3339 UTC
|
4326
|
+
# date-time format).
|
4181
4327
|
# Corresponds to the JSON property `updated`
|
4182
|
-
# @return [
|
4328
|
+
# @return [String]
|
4183
4329
|
attr_accessor :updated
|
4184
4330
|
|
4185
4331
|
# The Volume this annotation is for.
|
@@ -4261,8 +4407,8 @@ module Google
|
|
4261
4407
|
# @return [String]
|
4262
4408
|
attr_accessor :kind
|
4263
4409
|
|
4264
|
-
# Token to pass in for pagination for the next page. This will not be present
|
4265
|
-
# this request does not have more results.
|
4410
|
+
# Token to pass in for pagination for the next page. This will not be present
|
4411
|
+
# if this request does not have more results.
|
4266
4412
|
# Corresponds to the JSON property `nextPageToken`
|
4267
4413
|
# @return [String]
|
4268
4414
|
attr_accessor :next_page_token
|
@@ -4272,10 +4418,10 @@ module Google
|
|
4272
4418
|
# @return [Fixnum]
|
4273
4419
|
attr_accessor :total_items
|
4274
4420
|
|
4275
|
-
# The version string for all of the volume annotations in this layer (not
|
4276
|
-
# the ones in this response). Note: the version string
|
4277
|
-
# annotation data, just the information in this response
|
4278
|
-
# annotations in the book).
|
4421
|
+
# The version string for all of the volume annotations in this layer (not
|
4422
|
+
# just the ones in this response). Note: the version string
|
4423
|
+
# doesn't apply to the annotation data, just the information in this response
|
4424
|
+
# (e.g. the location of annotations in the book).
|
4279
4425
|
# Corresponds to the JSON property `version`
|
4280
4426
|
# @return [String]
|
4281
4427
|
attr_accessor :version
|
@@ -4330,8 +4476,8 @@ module Google
|
|
4330
4476
|
class Volumeseriesinfo
|
4331
4477
|
include Google::Apis::Core::Hashable
|
4332
4478
|
|
4333
|
-
# The display number string. This should be used only for display purposes
|
4334
|
-
# the actual sequence should be inferred from the below orderNumber.
|
4479
|
+
# The display number string. This should be used only for display purposes
|
4480
|
+
# and the actual sequence should be inferred from the below orderNumber.
|
4335
4481
|
# Corresponds to the JSON property `bookDisplayNumber`
|
4336
4482
|
# @return [String]
|
4337
4483
|
attr_accessor :book_display_number
|
@@ -4377,8 +4523,8 @@ module Google
|
|
4377
4523
|
# @return [Fixnum]
|
4378
4524
|
attr_accessor :order_number
|
4379
4525
|
|
4380
|
-
# The book type in the context of series. Examples - Single Issue,
|
4381
|
-
# Edition, etc.
|
4526
|
+
# The book type in the context of series. Examples - Single Issue,
|
4527
|
+
# Collection Edition, etc.
|
4382
4528
|
# Corresponds to the JSON property `seriesBookType`
|
4383
4529
|
# @return [String]
|
4384
4530
|
attr_accessor :series_book_type
|