google-api-client 0.9.9 → 0.9.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile +8 -0
- data/api_names.yaml +62 -55
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +534 -39
- data/generated/google/apis/androidenterprise_v1/representations.rb +222 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +595 -10
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +66 -6
- data/generated/google/apis/appengine_v1beta5/representations.rb +29 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +15 -1
- 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 +12 -4
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/books_v1.rb +2 -2
- data/generated/google/apis/books_v1/classes.rb +77 -0
- data/generated/google/apis/books_v1/representations.rb +34 -0
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +110 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +60 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +157 -3
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +33 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +60 -21
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +22 -5
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +61 -39
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +678 -17
- data/generated/google/apis/compute_beta/representations.rb +235 -0
- data/generated/google/apis/compute_beta/service.rb +1280 -600
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +34 -13
- data/generated/google/apis/compute_v1/representations.rb +14 -0
- data/generated/google/apis/compute_v1/service.rb +42 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +14 -0
- data/generated/google/apis/content_v2/representations.rb +2 -0
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1237 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +567 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +2 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +40 -50
- data/generated/google/apis/dfareporting_v2_5.rb +40 -0
- data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
- data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
- data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +2 -2
- data/generated/google/apis/fitness_v1/classes.rb +48 -5
- data/generated/google/apis/fitness_v1/representations.rb +18 -0
- data/generated/google/apis/fitness_v1/service.rb +15 -16
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +2 -4
- data/generated/google/apis/genomics_v1/classes.rb +35 -7
- data/generated/google/apis/genomics_v1/representations.rb +7 -3
- data/generated/google/apis/genomics_v1/service.rb +1 -3
- data/generated/google/apis/gmail_v1.rb +7 -1
- data/generated/google/apis/gmail_v1/classes.rb +543 -0
- data/generated/google/apis/gmail_v1/representations.rb +213 -0
- data/generated/google/apis/gmail_v1/service.rb +898 -1
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/mirror_v1.rb +2 -2
- data/generated/google/apis/mirror_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -6
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/replicapool_v1beta2.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -8
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +17 -9
- data/generated/google/apis/translate_v2.rb +2 -2
- data/generated/google/apis/translate_v2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +8 -2
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/core/base_service.rb +3 -2
- data/lib/google/apis/core/upload.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- data/sync.rb +71 -0
- metadata +11 -2
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
|
26
26
|
module AndroidpublisherV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160627'
|
|
29
29
|
|
|
30
30
|
# View and manage your Google Play Developer account
|
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
|
26
26
|
module AppengineV1beta5
|
|
27
27
|
VERSION = 'V1beta5'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160614'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1494,18 +1494,19 @@ module Google
|
|
|
1494
1494
|
# @return [String]
|
|
1495
1495
|
attr_accessor :availability
|
|
1496
1496
|
|
|
1497
|
-
# For VMEngines instances, the name of
|
|
1498
|
-
# OutputOnly
|
|
1497
|
+
# For VMEngines instances, the name of the Compute Engine VM where the instance
|
|
1498
|
+
# lives. @OutputOnly
|
|
1499
1499
|
# Corresponds to the JSON property `vmName`
|
|
1500
1500
|
# @return [String]
|
|
1501
1501
|
attr_accessor :vm_name
|
|
1502
1502
|
|
|
1503
|
-
# For VMEngines instances, the zone where the
|
|
1503
|
+
# For VMEngines instances, the zone where the Compute Engine VM is located. @
|
|
1504
|
+
# OutputOnly
|
|
1504
1505
|
# Corresponds to the JSON property `vmZoneName`
|
|
1505
1506
|
# @return [String]
|
|
1506
1507
|
attr_accessor :vm_zone_name
|
|
1507
1508
|
|
|
1508
|
-
# For VMEngines instances, the
|
|
1509
|
+
# For VMEngines instances, the Compute Engine VM ID of the instance. @OutputOnly
|
|
1509
1510
|
# Corresponds to the JSON property `vmId`
|
|
1510
1511
|
# @return [String]
|
|
1511
1512
|
attr_accessor :vm_id
|
|
@@ -1540,8 +1541,8 @@ module Google
|
|
|
1540
1541
|
# @return [String]
|
|
1541
1542
|
attr_accessor :memory_usage
|
|
1542
1543
|
|
|
1543
|
-
# For VMEngines instances, the status of
|
|
1544
|
-
# OutputOnly
|
|
1544
|
+
# For VMEngines instances, the status of the Compute Engine VM where the
|
|
1545
|
+
# instance lives. @OutputOnly
|
|
1545
1546
|
# Corresponds to the JSON property `vmStatus`
|
|
1546
1547
|
# @return [String]
|
|
1547
1548
|
attr_accessor :vm_status
|
|
@@ -1674,6 +1675,65 @@ module Google
|
|
|
1674
1675
|
@target = args[:target] if args.key?(:target)
|
|
1675
1676
|
end
|
|
1676
1677
|
end
|
|
1678
|
+
|
|
1679
|
+
# Metadata for the given google.longrunning.Operation.
|
|
1680
|
+
class OperationMetadataV1
|
|
1681
|
+
include Google::Apis::Core::Hashable
|
|
1682
|
+
|
|
1683
|
+
# API method name that initiated the operation. Example: "google.appengine.v1.
|
|
1684
|
+
# Version.CreateVersion". @OutputOnly
|
|
1685
|
+
# Corresponds to the JSON property `method`
|
|
1686
|
+
# @return [String]
|
|
1687
|
+
attr_accessor :method_prop
|
|
1688
|
+
|
|
1689
|
+
# Timestamp that this operation was received. @OutputOnly
|
|
1690
|
+
# Corresponds to the JSON property `insertTime`
|
|
1691
|
+
# @return [String]
|
|
1692
|
+
attr_accessor :insert_time
|
|
1693
|
+
|
|
1694
|
+
# Timestamp that this operation was completed. (Not present if the operation is
|
|
1695
|
+
# still in progress.) @OutputOnly
|
|
1696
|
+
# Corresponds to the JSON property `endTime`
|
|
1697
|
+
# @return [String]
|
|
1698
|
+
attr_accessor :end_time
|
|
1699
|
+
|
|
1700
|
+
# The user who requested this operation. @OutputOnly
|
|
1701
|
+
# Corresponds to the JSON property `user`
|
|
1702
|
+
# @return [String]
|
|
1703
|
+
attr_accessor :user
|
|
1704
|
+
|
|
1705
|
+
# Resource that this operation is acting on. Example: "apps/myapp/services/
|
|
1706
|
+
# default". @OutputOnly
|
|
1707
|
+
# Corresponds to the JSON property `target`
|
|
1708
|
+
# @return [String]
|
|
1709
|
+
attr_accessor :target
|
|
1710
|
+
|
|
1711
|
+
def initialize(**args)
|
|
1712
|
+
update!(**args)
|
|
1713
|
+
end
|
|
1714
|
+
|
|
1715
|
+
# Update properties of this object
|
|
1716
|
+
def update!(**args)
|
|
1717
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
1718
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
|
1719
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
|
1720
|
+
@user = args[:user] if args.key?(:user)
|
|
1721
|
+
@target = args[:target] if args.key?(:target)
|
|
1722
|
+
end
|
|
1723
|
+
end
|
|
1724
|
+
|
|
1725
|
+
# Metadata for the given google.cloud.location.Location.
|
|
1726
|
+
class LocationMetadata
|
|
1727
|
+
include Google::Apis::Core::Hashable
|
|
1728
|
+
|
|
1729
|
+
def initialize(**args)
|
|
1730
|
+
update!(**args)
|
|
1731
|
+
end
|
|
1732
|
+
|
|
1733
|
+
# Update properties of this object
|
|
1734
|
+
def update!(**args)
|
|
1735
|
+
end
|
|
1736
|
+
end
|
|
1677
1737
|
end
|
|
1678
1738
|
end
|
|
1679
1739
|
end
|
|
@@ -232,6 +232,18 @@ module Google
|
|
|
232
232
|
include Google::Apis::Core::JsonObjectSupport
|
|
233
233
|
end
|
|
234
234
|
|
|
235
|
+
class OperationMetadataV1
|
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
237
|
+
|
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
class LocationMetadata
|
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
243
|
+
|
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
245
|
+
end
|
|
246
|
+
|
|
235
247
|
class Operation
|
|
236
248
|
# @private
|
|
237
249
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -631,6 +643,23 @@ module Google
|
|
|
631
643
|
property :target, as: 'target'
|
|
632
644
|
end
|
|
633
645
|
end
|
|
646
|
+
|
|
647
|
+
class OperationMetadataV1
|
|
648
|
+
# @private
|
|
649
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
650
|
+
property :method_prop, as: 'method'
|
|
651
|
+
property :insert_time, as: 'insertTime'
|
|
652
|
+
property :end_time, as: 'endTime'
|
|
653
|
+
property :user, as: 'user'
|
|
654
|
+
property :target, as: 'target'
|
|
655
|
+
end
|
|
656
|
+
end
|
|
657
|
+
|
|
658
|
+
class LocationMetadata
|
|
659
|
+
# @private
|
|
660
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
661
|
+
end
|
|
662
|
+
end
|
|
634
663
|
end
|
|
635
664
|
end
|
|
636
665
|
end
|
|
@@ -465,7 +465,21 @@ module Google
|
|
|
465
465
|
execute_or_queue_command(command, &block)
|
|
466
466
|
end
|
|
467
467
|
|
|
468
|
-
# Updates
|
|
468
|
+
# Updates the specified Version resource. You can specify the following fields
|
|
469
|
+
# depending on the App Engine environment and type of scaling that the version
|
|
470
|
+
# resource uses: * [`serving_status`](/appengine/docs/admin-api/reference/rest/
|
|
471
|
+
# v1beta5/apps.services.versions#Version.FIELDS.serving_status): For Version
|
|
472
|
+
# resources that use basic scaling, manual scaling, or run in the App Engine
|
|
473
|
+
# flexible environment. * [`instance_class`](/appengine/docs/admin-api/reference/
|
|
474
|
+
# rest/v1beta5/apps.services.versions#Version.FIELDS.instance_class): For
|
|
475
|
+
# Version resources that run in the App Engine standard environment. * [`
|
|
476
|
+
# automatic_scaling.min_idle_instances`](/appengine/docs/admin-api/reference/
|
|
477
|
+
# rest/v1beta5/apps.services.versions#Version.FIELDS.automatic_scaling): For
|
|
478
|
+
# Version resources that use automatic scaling and run in the App Engine
|
|
479
|
+
# standard environment. * [`automatic_scaling.max_idle_instances`](/appengine/
|
|
480
|
+
# docs/admin-api/reference/rest/v1beta5/apps.services.versions#Version.FIELDS.
|
|
481
|
+
# automatic_scaling): For Version resources that use automatic scaling and run
|
|
482
|
+
# in the App Engine standard environment.
|
|
469
483
|
# @param [String] apps_id
|
|
470
484
|
# Part of `name`. Name of the resource to update. For example: "apps/myapp/
|
|
471
485
|
# services/default/versions/1".
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/games/services/web/api/states
|
|
26
26
|
module AppstateV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160628'
|
|
29
29
|
|
|
30
30
|
# View and manage your data for this application
|
|
31
31
|
AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
|
26
26
|
module BigqueryV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160629'
|
|
29
29
|
|
|
30
30
|
# View and manage your data in Google BigQuery
|
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
|
@@ -70,7 +70,7 @@ module Google
|
|
|
70
70
|
# [Optional] The type to convert the value in cells of this column. The values
|
|
71
71
|
# are expected to be encoded using HBase Bytes.toBytes function when using the
|
|
72
72
|
# BINARY encoding value. Following BigQuery types are allowed (case-sensitive) -
|
|
73
|
-
# BYTES STRING INTEGER FLOAT BOOLEAN
|
|
73
|
+
# BYTES STRING INTEGER FLOAT BOOLEAN Default type is BYTES. 'type' can also be
|
|
74
74
|
# set at the column family level. However, the setting at this level takes
|
|
75
75
|
# precedence if 'type' is set at both levels.
|
|
76
76
|
# Corresponds to the JSON property `type`
|
|
@@ -130,9 +130,9 @@ module Google
|
|
|
130
130
|
# [Optional] The type to convert the value in cells of this column family. The
|
|
131
131
|
# values are expected to be encoded using HBase Bytes.toBytes function when
|
|
132
132
|
# using the BINARY encoding value. Following BigQuery types are allowed (case-
|
|
133
|
-
# sensitive) - BYTES STRING INTEGER FLOAT BOOLEAN
|
|
134
|
-
# be overridden for a specific column by listing that column in 'columns'
|
|
135
|
-
# specifying a type for it.
|
|
133
|
+
# sensitive) - BYTES STRING INTEGER FLOAT BOOLEAN Default type is BYTES. This
|
|
134
|
+
# can be overridden for a specific column by listing that column in 'columns'
|
|
135
|
+
# and specifying a type for it.
|
|
136
136
|
# Corresponds to the JSON property `type`
|
|
137
137
|
# @return [String]
|
|
138
138
|
attr_accessor :type
|
|
@@ -1344,6 +1344,13 @@ module Google
|
|
|
1344
1344
|
# @return [Fixnum]
|
|
1345
1345
|
attr_accessor :maximum_billing_tier
|
|
1346
1346
|
|
|
1347
|
+
# [Optional] Limits the bytes billed for this job. Queries that will have bytes
|
|
1348
|
+
# billed beyond this limit will fail (without incurring a charge). If
|
|
1349
|
+
# unspecified, this will be set to your project default.
|
|
1350
|
+
# Corresponds to the JSON property `maximumBytesBilled`
|
|
1351
|
+
# @return [String]
|
|
1352
|
+
attr_accessor :maximum_bytes_billed
|
|
1353
|
+
|
|
1347
1354
|
# [Deprecated] This property is deprecated.
|
|
1348
1355
|
# Corresponds to the JSON property `preserveNulls`
|
|
1349
1356
|
# @return [Boolean]
|
|
@@ -1418,6 +1425,7 @@ module Google
|
|
|
1418
1425
|
@destination_table = args[:destination_table] if args.key?(:destination_table)
|
|
1419
1426
|
@flatten_results = args[:flatten_results] if args.key?(:flatten_results)
|
|
1420
1427
|
@maximum_billing_tier = args[:maximum_billing_tier] if args.key?(:maximum_billing_tier)
|
|
1428
|
+
@maximum_bytes_billed = args[:maximum_bytes_billed] if args.key?(:maximum_bytes_billed)
|
|
1421
1429
|
@preserve_nulls = args[:preserve_nulls] if args.key?(:preserve_nulls)
|
|
1422
1430
|
@priority = args[:priority] if args.key?(:priority)
|
|
1423
1431
|
@query = args[:query] if args.key?(:query)
|
|
@@ -622,6 +622,7 @@ module Google
|
|
|
622
622
|
|
|
623
623
|
property :flatten_results, as: 'flattenResults'
|
|
624
624
|
property :maximum_billing_tier, as: 'maximumBillingTier'
|
|
625
|
+
property :maximum_bytes_billed, as: 'maximumBytesBilled'
|
|
625
626
|
property :preserve_nulls, as: 'preserveNulls'
|
|
626
627
|
property :priority, as: 'priority'
|
|
627
628
|
property :query, as: 'query'
|
|
@@ -20,12 +20,12 @@ module Google
|
|
|
20
20
|
module Apis
|
|
21
21
|
# Books API
|
|
22
22
|
#
|
|
23
|
-
#
|
|
23
|
+
# Searches for books and manages your Google Books library.
|
|
24
24
|
#
|
|
25
25
|
# @see https://developers.google.com/books/docs/v1/getting_started
|
|
26
26
|
module BooksV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20160629'
|
|
29
29
|
|
|
30
30
|
# Manage your books
|
|
31
31
|
AUTH_BOOKS = 'https://www.googleapis.com/auth/books'
|
|
@@ -2568,6 +2568,11 @@ module Google
|
|
|
2568
2568
|
# @return [Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors]
|
|
2569
2569
|
attr_accessor :more_from_authors
|
|
2570
2570
|
|
|
2571
|
+
#
|
|
2572
|
+
# Corresponds to the JSON property `moreFromSeries`
|
|
2573
|
+
# @return [Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries]
|
|
2574
|
+
attr_accessor :more_from_series
|
|
2575
|
+
|
|
2571
2576
|
def initialize(**args)
|
|
2572
2577
|
update!(**args)
|
|
2573
2578
|
end
|
|
@@ -2575,6 +2580,7 @@ module Google
|
|
|
2575
2580
|
# Update properties of this object
|
|
2576
2581
|
def update!(**args)
|
|
2577
2582
|
@more_from_authors = args[:more_from_authors] if args.key?(:more_from_authors)
|
|
2583
|
+
@more_from_series = args[:more_from_series] if args.key?(:more_from_series)
|
|
2578
2584
|
end
|
|
2579
2585
|
|
|
2580
2586
|
#
|
|
@@ -2595,6 +2601,25 @@ module Google
|
|
|
2595
2601
|
@opted_state = args[:opted_state] if args.key?(:opted_state)
|
|
2596
2602
|
end
|
|
2597
2603
|
end
|
|
2604
|
+
|
|
2605
|
+
#
|
|
2606
|
+
class MoreFromSeries
|
|
2607
|
+
include Google::Apis::Core::Hashable
|
|
2608
|
+
|
|
2609
|
+
#
|
|
2610
|
+
# Corresponds to the JSON property `opted_state`
|
|
2611
|
+
# @return [String]
|
|
2612
|
+
attr_accessor :opted_state
|
|
2613
|
+
|
|
2614
|
+
def initialize(**args)
|
|
2615
|
+
update!(**args)
|
|
2616
|
+
end
|
|
2617
|
+
|
|
2618
|
+
# Update properties of this object
|
|
2619
|
+
def update!(**args)
|
|
2620
|
+
@opted_state = args[:opted_state] if args.key?(:opted_state)
|
|
2621
|
+
end
|
|
2622
|
+
end
|
|
2598
2623
|
end
|
|
2599
2624
|
end
|
|
2600
2625
|
|
|
@@ -3032,6 +3057,12 @@ module Google
|
|
|
3032
3057
|
# @return [Fixnum]
|
|
3033
3058
|
attr_accessor :finsky_offer_type
|
|
3034
3059
|
|
|
3060
|
+
# Indicates whether the offer is giftable.
|
|
3061
|
+
# Corresponds to the JSON property `giftable`
|
|
3062
|
+
# @return [Boolean]
|
|
3063
|
+
attr_accessor :giftable
|
|
3064
|
+
alias_method :giftable?, :giftable
|
|
3065
|
+
|
|
3035
3066
|
# Offer list (=undiscounted) price in Micros.
|
|
3036
3067
|
# Corresponds to the JSON property `listPrice`
|
|
3037
3068
|
# @return [Google::Apis::BooksV1::Volume::SaleInfo::Offer::ListPrice]
|
|
@@ -3054,6 +3085,7 @@ module Google
|
|
|
3054
3085
|
# Update properties of this object
|
|
3055
3086
|
def update!(**args)
|
|
3056
3087
|
@finsky_offer_type = args[:finsky_offer_type] if args.key?(:finsky_offer_type)
|
|
3088
|
+
@giftable = args[:giftable] if args.key?(:giftable)
|
|
3057
3089
|
@list_price = args[:list_price] if args.key?(:list_price)
|
|
3058
3090
|
@rental_duration = args[:rental_duration] if args.key?(:rental_duration)
|
|
3059
3091
|
@retail_price = args[:retail_price] if args.key?(:retail_price)
|
|
@@ -3529,6 +3561,11 @@ module Google
|
|
|
3529
3561
|
# @return [Fixnum]
|
|
3530
3562
|
attr_accessor :page_count
|
|
3531
3563
|
|
|
3564
|
+
# A top-level summary of the panelization info in this volume.
|
|
3565
|
+
# Corresponds to the JSON property `panelizationSummary`
|
|
3566
|
+
# @return [Google::Apis::BooksV1::Volume::VolumeInfo::PanelizationSummary]
|
|
3567
|
+
attr_accessor :panelization_summary
|
|
3568
|
+
|
|
3532
3569
|
# URL to preview this volume on the Google Books site.
|
|
3533
3570
|
# Corresponds to the JSON property `previewLink`
|
|
3534
3571
|
# @return [String]
|
|
@@ -3605,6 +3642,7 @@ module Google
|
|
|
3605
3642
|
@main_category = args[:main_category] if args.key?(:main_category)
|
|
3606
3643
|
@maturity_rating = args[:maturity_rating] if args.key?(:maturity_rating)
|
|
3607
3644
|
@page_count = args[:page_count] if args.key?(:page_count)
|
|
3645
|
+
@panelization_summary = args[:panelization_summary] if args.key?(:panelization_summary)
|
|
3608
3646
|
@preview_link = args[:preview_link] if args.key?(:preview_link)
|
|
3609
3647
|
@print_type = args[:print_type] if args.key?(:print_type)
|
|
3610
3648
|
@printed_page_count = args[:printed_page_count] if args.key?(:printed_page_count)
|
|
@@ -3723,6 +3761,45 @@ module Google
|
|
|
3723
3761
|
@type = args[:type] if args.key?(:type)
|
|
3724
3762
|
end
|
|
3725
3763
|
end
|
|
3764
|
+
|
|
3765
|
+
# A top-level summary of the panelization info in this volume.
|
|
3766
|
+
class PanelizationSummary
|
|
3767
|
+
include Google::Apis::Core::Hashable
|
|
3768
|
+
|
|
3769
|
+
#
|
|
3770
|
+
# Corresponds to the JSON property `containsEpubBubbles`
|
|
3771
|
+
# @return [Boolean]
|
|
3772
|
+
attr_accessor :contains_epub_bubbles
|
|
3773
|
+
alias_method :contains_epub_bubbles?, :contains_epub_bubbles
|
|
3774
|
+
|
|
3775
|
+
#
|
|
3776
|
+
# Corresponds to the JSON property `containsImageBubbles`
|
|
3777
|
+
# @return [Boolean]
|
|
3778
|
+
attr_accessor :contains_image_bubbles
|
|
3779
|
+
alias_method :contains_image_bubbles?, :contains_image_bubbles
|
|
3780
|
+
|
|
3781
|
+
#
|
|
3782
|
+
# Corresponds to the JSON property `epubBubbleVersion`
|
|
3783
|
+
# @return [String]
|
|
3784
|
+
attr_accessor :epub_bubble_version
|
|
3785
|
+
|
|
3786
|
+
#
|
|
3787
|
+
# Corresponds to the JSON property `imageBubbleVersion`
|
|
3788
|
+
# @return [String]
|
|
3789
|
+
attr_accessor :image_bubble_version
|
|
3790
|
+
|
|
3791
|
+
def initialize(**args)
|
|
3792
|
+
update!(**args)
|
|
3793
|
+
end
|
|
3794
|
+
|
|
3795
|
+
# Update properties of this object
|
|
3796
|
+
def update!(**args)
|
|
3797
|
+
@contains_epub_bubbles = args[:contains_epub_bubbles] if args.key?(:contains_epub_bubbles)
|
|
3798
|
+
@contains_image_bubbles = args[:contains_image_bubbles] if args.key?(:contains_image_bubbles)
|
|
3799
|
+
@epub_bubble_version = args[:epub_bubble_version] if args.key?(:epub_bubble_version)
|
|
3800
|
+
@image_bubble_version = args[:image_bubble_version] if args.key?(:image_bubble_version)
|
|
3801
|
+
end
|
|
3802
|
+
end
|
|
3726
3803
|
end
|
|
3727
3804
|
end
|
|
3728
3805
|
|
|
@@ -417,6 +417,12 @@ module Google
|
|
|
417
417
|
|
|
418
418
|
include Google::Apis::Core::JsonObjectSupport
|
|
419
419
|
end
|
|
420
|
+
|
|
421
|
+
class MoreFromSeries
|
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
423
|
+
|
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
425
|
+
end
|
|
420
426
|
|
|
421
427
|
include Google::Apis::Core::JsonObjectSupport
|
|
422
428
|
end
|
|
@@ -561,6 +567,12 @@ module Google
|
|
|
561
567
|
|
|
562
568
|
include Google::Apis::Core::JsonObjectSupport
|
|
563
569
|
end
|
|
570
|
+
|
|
571
|
+
class PanelizationSummary
|
|
572
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
573
|
+
|
|
574
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
575
|
+
end
|
|
564
576
|
|
|
565
577
|
include Google::Apis::Core::JsonObjectSupport
|
|
566
578
|
end
|
|
@@ -1353,6 +1365,8 @@ module Google
|
|
|
1353
1365
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1354
1366
|
property :more_from_authors, as: 'moreFromAuthors', class: Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors, decorator: Google::Apis::BooksV1::UserSettings::Notification::MoreFromAuthors::Representation
|
|
1355
1367
|
|
|
1368
|
+
property :more_from_series, as: 'moreFromSeries', class: Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries, decorator: Google::Apis::BooksV1::UserSettings::Notification::MoreFromSeries::Representation
|
|
1369
|
+
|
|
1356
1370
|
end
|
|
1357
1371
|
|
|
1358
1372
|
class MoreFromAuthors
|
|
@@ -1361,6 +1375,13 @@ module Google
|
|
|
1361
1375
|
property :opted_state, as: 'opted_state'
|
|
1362
1376
|
end
|
|
1363
1377
|
end
|
|
1378
|
+
|
|
1379
|
+
class MoreFromSeries
|
|
1380
|
+
# @private
|
|
1381
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1382
|
+
property :opted_state, as: 'opted_state'
|
|
1383
|
+
end
|
|
1384
|
+
end
|
|
1364
1385
|
end
|
|
1365
1386
|
end
|
|
1366
1387
|
|
|
@@ -1480,6 +1501,7 @@ module Google
|
|
|
1480
1501
|
# @private
|
|
1481
1502
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1482
1503
|
property :finsky_offer_type, as: 'finskyOfferType'
|
|
1504
|
+
property :giftable, as: 'giftable'
|
|
1483
1505
|
property :list_price, as: 'listPrice', class: Google::Apis::BooksV1::Volume::SaleInfo::Offer::ListPrice, decorator: Google::Apis::BooksV1::Volume::SaleInfo::Offer::ListPrice::Representation
|
|
1484
1506
|
|
|
1485
1507
|
property :rental_duration, as: 'rentalDuration', class: Google::Apis::BooksV1::Volume::SaleInfo::Offer::RentalDuration, decorator: Google::Apis::BooksV1::Volume::SaleInfo::Offer::RentalDuration::Representation
|
|
@@ -1618,6 +1640,8 @@ module Google
|
|
|
1618
1640
|
property :main_category, as: 'mainCategory'
|
|
1619
1641
|
property :maturity_rating, as: 'maturityRating'
|
|
1620
1642
|
property :page_count, as: 'pageCount'
|
|
1643
|
+
property :panelization_summary, as: 'panelizationSummary', class: Google::Apis::BooksV1::Volume::VolumeInfo::PanelizationSummary, decorator: Google::Apis::BooksV1::Volume::VolumeInfo::PanelizationSummary::Representation
|
|
1644
|
+
|
|
1621
1645
|
property :preview_link, as: 'previewLink'
|
|
1622
1646
|
property :print_type, as: 'printType'
|
|
1623
1647
|
property :printed_page_count, as: 'printedPageCount'
|
|
@@ -1660,6 +1684,16 @@ module Google
|
|
|
1660
1684
|
property :type, as: 'type'
|
|
1661
1685
|
end
|
|
1662
1686
|
end
|
|
1687
|
+
|
|
1688
|
+
class PanelizationSummary
|
|
1689
|
+
# @private
|
|
1690
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1691
|
+
property :contains_epub_bubbles, as: 'containsEpubBubbles'
|
|
1692
|
+
property :contains_image_bubbles, as: 'containsImageBubbles'
|
|
1693
|
+
property :epub_bubble_version, as: 'epubBubbleVersion'
|
|
1694
|
+
property :image_bubble_version, as: 'imageBubbleVersion'
|
|
1695
|
+
end
|
|
1696
|
+
end
|
|
1663
1697
|
end
|
|
1664
1698
|
end
|
|
1665
1699
|
|