google-api-client 0.46.2 → 0.47.0
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/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +370 -192
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +26 -12
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +3 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +16 -54
- data/generated/google/apis/apigee_v1/representations.rb +1 -18
- data/generated/google/apis/apigee_v1/service.rb +21 -13
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +72 -0
- data/generated/google/apis/bigquery_v2/representations.rb +33 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +52 -52
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +8 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +15 -8
- data/generated/google/apis/content_v2.rb +2 -3
- data/generated/google/apis/content_v2/classes.rb +508 -1216
- data/generated/google/apis/content_v2/service.rb +373 -646
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -3
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +15 -3
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +651 -374
- data/generated/google/apis/dialogflow_v2/representations.rb +284 -185
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +651 -374
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +288 -189
- data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +682 -374
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +303 -188
- data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +29 -29
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -2
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/eventarc_v1beta1/classes.rb +933 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +79 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +31 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +53 -11
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +7 -0
- data/generated/google/apis/localservices_v1/representations.rb +2 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +4 -5
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +238 -77
- data/generated/google/apis/ml_v1/representations.rb +17 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +11 -5
- data/generated/google/apis/monitoring_v3/service.rb +50 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +32 -2
- data/generated/google/apis/servicecontrol_v1/representations.rb +4 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +17 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +2 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +4 -3
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +78 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +29 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +12 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -18
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +29 -29
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +45 -33
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- metadata +12 -8
- data/generated/google/apis/safebrowsing_v4.rb +0 -35
- data/generated/google/apis/safebrowsing_v4/classes.rb +0 -909
- data/generated/google/apis/safebrowsing_v4/representations.rb +0 -445
- data/generated/google/apis/safebrowsing_v4/service.rb +0 -286
|
@@ -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 = '20201015'
|
|
29
29
|
|
|
30
30
|
# View and manage your data in Google BigQuery
|
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
|
@@ -1512,6 +1512,15 @@ module Google
|
|
|
1512
1512
|
# @return [String]
|
|
1513
1513
|
attr_accessor :role
|
|
1514
1514
|
|
|
1515
|
+
# [Pick one] A routine from a different dataset to grant access to. Queries
|
|
1516
|
+
# executed against that routine will have read access to views/tables/routines
|
|
1517
|
+
# in this dataset. Only UDF is supported for now. The role field is not required
|
|
1518
|
+
# when this field is set. If that routine is updated by any user, access to the
|
|
1519
|
+
# routine needs to be granted again via an update operation.
|
|
1520
|
+
# Corresponds to the JSON property `routine`
|
|
1521
|
+
# @return [Google::Apis::BigqueryV2::RoutineReference]
|
|
1522
|
+
attr_accessor :routine
|
|
1523
|
+
|
|
1515
1524
|
# [Pick one] A special group to grant access to. Possible values include:
|
|
1516
1525
|
# projectOwners: Owners of the enclosing project. projectReaders: Readers of the
|
|
1517
1526
|
# enclosing project. projectWriters: Writers of the enclosing project.
|
|
@@ -1546,6 +1555,7 @@ module Google
|
|
|
1546
1555
|
@group_by_email = args[:group_by_email] if args.key?(:group_by_email)
|
|
1547
1556
|
@iam_member = args[:iam_member] if args.key?(:iam_member)
|
|
1548
1557
|
@role = args[:role] if args.key?(:role)
|
|
1558
|
+
@routine = args[:routine] if args.key?(:routine)
|
|
1549
1559
|
@special_group = args[:special_group] if args.key?(:special_group)
|
|
1550
1560
|
@user_by_email = args[:user_by_email] if args.key?(:user_by_email)
|
|
1551
1561
|
@view = args[:view] if args.key?(:view)
|
|
@@ -2068,6 +2078,32 @@ module Google
|
|
|
2068
2078
|
end
|
|
2069
2079
|
end
|
|
2070
2080
|
|
|
2081
|
+
# Explanation for a single feature.
|
|
2082
|
+
class Explanation
|
|
2083
|
+
include Google::Apis::Core::Hashable
|
|
2084
|
+
|
|
2085
|
+
# Attribution of feature.
|
|
2086
|
+
# Corresponds to the JSON property `attribution`
|
|
2087
|
+
# @return [Float]
|
|
2088
|
+
attr_accessor :attribution
|
|
2089
|
+
|
|
2090
|
+
# Full name of the feature. For non-numerical features, will be formatted like ..
|
|
2091
|
+
# Overall size of feature name will always be truncated to first 120 characters.
|
|
2092
|
+
# Corresponds to the JSON property `featureName`
|
|
2093
|
+
# @return [String]
|
|
2094
|
+
attr_accessor :feature_name
|
|
2095
|
+
|
|
2096
|
+
def initialize(**args)
|
|
2097
|
+
update!(**args)
|
|
2098
|
+
end
|
|
2099
|
+
|
|
2100
|
+
# Update properties of this object
|
|
2101
|
+
def update!(**args)
|
|
2102
|
+
@attribution = args[:attribution] if args.key?(:attribution)
|
|
2103
|
+
@feature_name = args[:feature_name] if args.key?(:feature_name)
|
|
2104
|
+
end
|
|
2105
|
+
end
|
|
2106
|
+
|
|
2071
2107
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
2072
2108
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
2073
2109
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
@@ -2438,6 +2474,34 @@ module Google
|
|
|
2438
2474
|
end
|
|
2439
2475
|
end
|
|
2440
2476
|
|
|
2477
|
+
# Global explanations containing the top most important features after training.
|
|
2478
|
+
class GlobalExplanation
|
|
2479
|
+
include Google::Apis::Core::Hashable
|
|
2480
|
+
|
|
2481
|
+
# Class label for this set of global explanations. Will be empty/null for binary
|
|
2482
|
+
# logistic and linear regression models. Sorted alphabetically in descending
|
|
2483
|
+
# order.
|
|
2484
|
+
# Corresponds to the JSON property `classLabel`
|
|
2485
|
+
# @return [String]
|
|
2486
|
+
attr_accessor :class_label
|
|
2487
|
+
|
|
2488
|
+
# A list of the top global explanations. Sorted by absolute value of attribution
|
|
2489
|
+
# in descending order.
|
|
2490
|
+
# Corresponds to the JSON property `explanations`
|
|
2491
|
+
# @return [Array<Google::Apis::BigqueryV2::Explanation>]
|
|
2492
|
+
attr_accessor :explanations
|
|
2493
|
+
|
|
2494
|
+
def initialize(**args)
|
|
2495
|
+
update!(**args)
|
|
2496
|
+
end
|
|
2497
|
+
|
|
2498
|
+
# Update properties of this object
|
|
2499
|
+
def update!(**args)
|
|
2500
|
+
@class_label = args[:class_label] if args.key?(:class_label)
|
|
2501
|
+
@explanations = args[:explanations] if args.key?(:explanations)
|
|
2502
|
+
end
|
|
2503
|
+
end
|
|
2504
|
+
|
|
2441
2505
|
#
|
|
2442
2506
|
class GoogleSheetsOptions
|
|
2443
2507
|
include Google::Apis::Core::Hashable
|
|
@@ -6844,6 +6908,13 @@ module Google
|
|
|
6844
6908
|
# @return [Google::Apis::BigqueryV2::EvaluationMetrics]
|
|
6845
6909
|
attr_accessor :evaluation_metrics
|
|
6846
6910
|
|
|
6911
|
+
# Global explanations for important features of the model. For multi-class
|
|
6912
|
+
# models, there is one entry for each label class. For other models, there is
|
|
6913
|
+
# only one entry in the list.
|
|
6914
|
+
# Corresponds to the JSON property `globalExplanations`
|
|
6915
|
+
# @return [Array<Google::Apis::BigqueryV2::GlobalExplanation>]
|
|
6916
|
+
attr_accessor :global_explanations
|
|
6917
|
+
|
|
6847
6918
|
# Output of each iteration run, results.size() <= max_iterations.
|
|
6848
6919
|
# Corresponds to the JSON property `results`
|
|
6849
6920
|
# @return [Array<Google::Apis::BigqueryV2::IterationResult>]
|
|
@@ -6868,6 +6939,7 @@ module Google
|
|
|
6868
6939
|
def update!(**args)
|
|
6869
6940
|
@data_split_result = args[:data_split_result] if args.key?(:data_split_result)
|
|
6870
6941
|
@evaluation_metrics = args[:evaluation_metrics] if args.key?(:evaluation_metrics)
|
|
6942
|
+
@global_explanations = args[:global_explanations] if args.key?(:global_explanations)
|
|
6871
6943
|
@results = args[:results] if args.key?(:results)
|
|
6872
6944
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
6873
6945
|
@training_options = args[:training_options] if args.key?(:training_options)
|
|
@@ -280,6 +280,12 @@ module Google
|
|
|
280
280
|
include Google::Apis::Core::JsonObjectSupport
|
|
281
281
|
end
|
|
282
282
|
|
|
283
|
+
class Explanation
|
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
|
+
|
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
287
|
+
end
|
|
288
|
+
|
|
283
289
|
class Expr
|
|
284
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
291
|
|
|
@@ -322,6 +328,12 @@ module Google
|
|
|
322
328
|
include Google::Apis::Core::JsonObjectSupport
|
|
323
329
|
end
|
|
324
330
|
|
|
331
|
+
class GlobalExplanation
|
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
333
|
+
|
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
335
|
+
end
|
|
336
|
+
|
|
325
337
|
class GoogleSheetsOptions
|
|
326
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
339
|
|
|
@@ -1180,6 +1192,8 @@ module Google
|
|
|
1180
1192
|
property :group_by_email, as: 'groupByEmail'
|
|
1181
1193
|
property :iam_member, as: 'iamMember'
|
|
1182
1194
|
property :role, as: 'role'
|
|
1195
|
+
property :routine, as: 'routine', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
|
|
1196
|
+
|
|
1183
1197
|
property :special_group, as: 'specialGroup'
|
|
1184
1198
|
property :user_by_email, as: 'userByEmail'
|
|
1185
1199
|
property :view, as: 'view', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
|
@@ -1317,6 +1331,14 @@ module Google
|
|
|
1317
1331
|
end
|
|
1318
1332
|
end
|
|
1319
1333
|
|
|
1334
|
+
class Explanation
|
|
1335
|
+
# @private
|
|
1336
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1337
|
+
property :attribution, as: 'attribution'
|
|
1338
|
+
property :feature_name, as: 'featureName'
|
|
1339
|
+
end
|
|
1340
|
+
end
|
|
1341
|
+
|
|
1320
1342
|
class Expr
|
|
1321
1343
|
# @private
|
|
1322
1344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1405,6 +1427,15 @@ module Google
|
|
|
1405
1427
|
end
|
|
1406
1428
|
end
|
|
1407
1429
|
|
|
1430
|
+
class GlobalExplanation
|
|
1431
|
+
# @private
|
|
1432
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1433
|
+
property :class_label, as: 'classLabel'
|
|
1434
|
+
collection :explanations, as: 'explanations', class: Google::Apis::BigqueryV2::Explanation, decorator: Google::Apis::BigqueryV2::Explanation::Representation
|
|
1435
|
+
|
|
1436
|
+
end
|
|
1437
|
+
end
|
|
1438
|
+
|
|
1408
1439
|
class GoogleSheetsOptions
|
|
1409
1440
|
# @private
|
|
1410
1441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2473,6 +2504,8 @@ module Google
|
|
|
2473
2504
|
|
|
2474
2505
|
property :evaluation_metrics, as: 'evaluationMetrics', class: Google::Apis::BigqueryV2::EvaluationMetrics, decorator: Google::Apis::BigqueryV2::EvaluationMetrics::Representation
|
|
2475
2506
|
|
|
2507
|
+
collection :global_explanations, as: 'globalExplanations', class: Google::Apis::BigqueryV2::GlobalExplanation, decorator: Google::Apis::BigqueryV2::GlobalExplanation::Representation
|
|
2508
|
+
|
|
2476
2509
|
collection :results, as: 'results', class: Google::Apis::BigqueryV2::IterationResult, decorator: Google::Apis::BigqueryV2::IterationResult::Representation
|
|
2477
2510
|
|
|
2478
2511
|
property :start_time, as: 'startTime'
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/binary-authorization/
|
|
27
27
|
module BinaryauthorizationV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20201016'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -66,7 +66,7 @@ module Google
|
|
|
66
66
|
class AdmissionWhitelistPattern
|
|
67
67
|
include Google::Apis::Core::Hashable
|
|
68
68
|
|
|
69
|
-
# An image name pattern to
|
|
69
|
+
# An image name pattern to allowlist, in the form `registry/path/to/image`. This
|
|
70
70
|
# supports a trailing `*` as a wildcard, but this is allowed only in text after
|
|
71
71
|
# the `registry/` part.
|
|
72
72
|
# Corresponds to the JSON property `namePattern`
|
|
@@ -536,7 +536,7 @@ module Google
|
|
|
536
536
|
class Policy
|
|
537
537
|
include Google::Apis::Core::Hashable
|
|
538
538
|
|
|
539
|
-
# Optional. Admission policy
|
|
539
|
+
# Optional. Admission policy allowlisting. A matching admission request will
|
|
540
540
|
# always be permitted. This feature is typically used to exclude Google or third-
|
|
541
541
|
# party infrastructure images from Binary Authorization policies.
|
|
542
542
|
# Corresponds to the JSON property `admissionWhitelistPatterns`
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/binary-authorization/
|
|
27
27
|
module BinaryauthorizationV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20201016'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -66,7 +66,7 @@ module Google
|
|
|
66
66
|
class AdmissionWhitelistPattern
|
|
67
67
|
include Google::Apis::Core::Hashable
|
|
68
68
|
|
|
69
|
-
# An image name pattern to
|
|
69
|
+
# An image name pattern to allowlist, in the form `registry/path/to/image`. This
|
|
70
70
|
# supports a trailing `*` as a wildcard, but this is allowed only in text after
|
|
71
71
|
# the `registry/` part.
|
|
72
72
|
# Corresponds to the JSON property `namePattern`
|
|
@@ -536,7 +536,7 @@ module Google
|
|
|
536
536
|
class Policy
|
|
537
537
|
include Google::Apis::Core::Hashable
|
|
538
538
|
|
|
539
|
-
# Optional. Admission policy
|
|
539
|
+
# Optional. Admission policy allowlisting. A matching admission request will
|
|
540
540
|
# always be permitted. This feature is typically used to exclude Google or third-
|
|
541
541
|
# party infrastructure images from Binary Authorization policies.
|
|
542
542
|
# Corresponds to the JSON property `admissionWhitelistPatterns`
|
|
@@ -220,7 +220,7 @@ module Google
|
|
|
220
220
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
221
221
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
222
222
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
223
|
-
def delete_book(volume_id
|
|
223
|
+
def delete_book(volume_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
224
224
|
command = make_simple_command(:post, 'books/v1/cloudloading/deleteBook', options)
|
|
225
225
|
command.response_representation = Google::Apis::BooksV1::Empty::Representation
|
|
226
226
|
command.response_class = Google::Apis::BooksV1::Empty
|
|
@@ -280,7 +280,7 @@ module Google
|
|
|
280
280
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
281
281
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
282
282
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
283
|
-
def list_offline_metadata_dictionary(cpksver
|
|
283
|
+
def list_offline_metadata_dictionary(cpksver, fields: nil, quota_user: nil, options: nil, &block)
|
|
284
284
|
command = make_simple_command(:get, 'books/v1/dictionary/listOfflineMetadata', options)
|
|
285
285
|
command.response_representation = Google::Apis::BooksV1::Metadata::Representation
|
|
286
286
|
command.response_class = Google::Apis::BooksV1::Metadata
|
|
@@ -482,10 +482,10 @@ module Google
|
|
|
482
482
|
# The ID for the layer to get the annotations.
|
|
483
483
|
# @param [String] annotation_data_id
|
|
484
484
|
# The ID of the annotation data to retrieve.
|
|
485
|
-
# @param [Boolean] allow_web_definitions
|
|
486
|
-
# For the dictionary layer. Whether or not to allow web definitions.
|
|
487
485
|
# @param [String] content_version
|
|
488
486
|
# The content version for the volume you are trying to retrieve.
|
|
487
|
+
# @param [Boolean] allow_web_definitions
|
|
488
|
+
# For the dictionary layer. Whether or not to allow web definitions.
|
|
489
489
|
# @param [Fixnum] h
|
|
490
490
|
# The requested pixel height for any images. If height is provided width must
|
|
491
491
|
# also be provided.
|
|
@@ -516,7 +516,7 @@ module Google
|
|
|
516
516
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
517
517
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
518
518
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
519
|
-
def get_layer_annotation_data(volume_id, layer_id, annotation_data_id,
|
|
519
|
+
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, options: nil, &block)
|
|
520
520
|
command = make_simple_command(:get, 'books/v1/volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}', options)
|
|
521
521
|
command.response_representation = Google::Apis::BooksV1::DictionaryAnnotationdata::Representation
|
|
522
522
|
command.response_class = Google::Apis::BooksV1::DictionaryAnnotationdata
|
|
@@ -540,11 +540,11 @@ module Google
|
|
|
540
540
|
# The volume to retrieve annotation data for.
|
|
541
541
|
# @param [String] layer_id
|
|
542
542
|
# The ID for the layer to get the annotation data.
|
|
543
|
+
# @param [String] content_version
|
|
544
|
+
# The content version for the requested volume.
|
|
543
545
|
# @param [Array<String>, String] annotation_data_id
|
|
544
546
|
# The list of Annotation Data Ids to retrieve. Pagination is ignored if this is
|
|
545
547
|
# set.
|
|
546
|
-
# @param [String] content_version
|
|
547
|
-
# The content version for the requested volume.
|
|
548
548
|
# @param [Fixnum] h
|
|
549
549
|
# The requested pixel height for any images. If height is provided width must
|
|
550
550
|
# also be provided.
|
|
@@ -585,7 +585,7 @@ module Google
|
|
|
585
585
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
586
586
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
587
587
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
588
|
-
def list_layer_annotation_data(volume_id, layer_id,
|
|
588
|
+
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, options: nil, &block)
|
|
589
589
|
command = make_simple_command(:get, 'books/v1/volumes/{volumeId}/layers/{layerId}/data', options)
|
|
590
590
|
command.response_representation = Google::Apis::BooksV1::AnnotationsData::Representation
|
|
591
591
|
command.response_class = Google::Apis::BooksV1::AnnotationsData
|
|
@@ -702,7 +702,7 @@ module Google
|
|
|
702
702
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
703
703
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
704
704
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
705
|
-
def list_layer_volume_annotations(volume_id, layer_id, content_version
|
|
705
|
+
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, options: nil, &block)
|
|
706
706
|
command = make_simple_command(:get, 'books/v1/volumes/{volumeId}/layers/{layerId}', options)
|
|
707
707
|
command.response_representation = Google::Apis::BooksV1::Volumeannotations::Representation
|
|
708
708
|
command.response_class = Google::Apis::BooksV1::Volumeannotations
|
|
@@ -759,12 +759,12 @@ module Google
|
|
|
759
759
|
# Release downloaded content access restriction.
|
|
760
760
|
# @param [String] cpksver
|
|
761
761
|
# The device/version ID from which to release the restriction.
|
|
762
|
+
# @param [Array<String>, String] volume_ids
|
|
763
|
+
# The volume(s) to release restrictions for.
|
|
762
764
|
# @param [String] locale
|
|
763
765
|
# ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
|
|
764
766
|
# @param [String] source
|
|
765
767
|
# String to identify the originator of this request.
|
|
766
|
-
# @param [Array<String>, String] volume_ids
|
|
767
|
-
# The volume(s) to release restrictions for.
|
|
768
768
|
# @param [String] fields
|
|
769
769
|
# Selector specifying which fields to include in a partial response.
|
|
770
770
|
# @param [String] quota_user
|
|
@@ -782,7 +782,7 @@ module Google
|
|
|
782
782
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
783
783
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
784
784
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
785
|
-
def release_download_access(cpksver
|
|
785
|
+
def release_download_access(cpksver, volume_ids, locale: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
786
786
|
command = make_simple_command(:post, 'books/v1/myconfig/releaseDownloadAccess', options)
|
|
787
787
|
command.response_representation = Google::Apis::BooksV1::DownloadAccesses::Representation
|
|
788
788
|
command.response_class = Google::Apis::BooksV1::DownloadAccesses
|
|
@@ -798,16 +798,16 @@ module Google
|
|
|
798
798
|
# Request concurrent and download access restrictions.
|
|
799
799
|
# @param [String] cpksver
|
|
800
800
|
# The device/version ID from which to request the restrictions.
|
|
801
|
-
# @param [String] license_types
|
|
802
|
-
# The type of access license to request. If not specified, the default is BOTH.
|
|
803
|
-
# @param [String] locale
|
|
804
|
-
# ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
|
|
805
801
|
# @param [String] nonce
|
|
806
802
|
# The client nonce value.
|
|
807
803
|
# @param [String] source
|
|
808
804
|
# String to identify the originator of this request.
|
|
809
805
|
# @param [String] volume_id
|
|
810
806
|
# The volume to request concurrent/download restrictions for.
|
|
807
|
+
# @param [String] license_types
|
|
808
|
+
# The type of access license to request. If not specified, the default is BOTH.
|
|
809
|
+
# @param [String] locale
|
|
810
|
+
# ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
|
|
811
811
|
# @param [String] fields
|
|
812
812
|
# Selector specifying which fields to include in a partial response.
|
|
813
813
|
# @param [String] quota_user
|
|
@@ -825,7 +825,7 @@ module Google
|
|
|
825
825
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
826
826
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
827
827
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
828
|
-
def request_access(cpksver
|
|
828
|
+
def request_access(cpksver, nonce, source, volume_id, license_types: nil, locale: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
829
829
|
command = make_simple_command(:post, 'books/v1/myconfig/requestAccess', options)
|
|
830
830
|
command.response_representation = Google::Apis::BooksV1::RequestAccessData::Representation
|
|
831
831
|
command.response_class = Google::Apis::BooksV1::RequestAccessData
|
|
@@ -843,18 +843,18 @@ module Google
|
|
|
843
843
|
# Request downloaded content access for specified volumes on the My eBooks shelf.
|
|
844
844
|
# @param [String] cpksver
|
|
845
845
|
# The device/version ID from which to release the restriction.
|
|
846
|
+
# @param [String] nonce
|
|
847
|
+
# The client nonce value.
|
|
848
|
+
# @param [String] source
|
|
849
|
+
# String to identify the originator of this request.
|
|
846
850
|
# @param [Array<String>, String] features
|
|
847
851
|
# List of features supported by the client, i.e., 'RENTALS'
|
|
848
852
|
# @param [Boolean] include_non_comics_series
|
|
849
853
|
# Set to true to include non-comics series. Defaults to false.
|
|
850
854
|
# @param [String] locale
|
|
851
855
|
# ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
|
|
852
|
-
# @param [String] nonce
|
|
853
|
-
# The client nonce value.
|
|
854
856
|
# @param [Boolean] show_preorders
|
|
855
857
|
# Set to true to show pre-ordered books. Defaults to false.
|
|
856
|
-
# @param [String] source
|
|
857
|
-
# String to identify the originator of this request.
|
|
858
858
|
# @param [Array<String>, String] volume_ids
|
|
859
859
|
# The volume(s) to request download restrictions for.
|
|
860
860
|
# @param [String] fields
|
|
@@ -874,7 +874,7 @@ module Google
|
|
|
874
874
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
875
875
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
876
876
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
877
|
-
def sync_volume_licenses(cpksver
|
|
877
|
+
def sync_volume_licenses(cpksver, nonce, source, features: nil, include_non_comics_series: nil, locale: nil, show_preorders: nil, volume_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
878
878
|
command = make_simple_command(:post, 'books/v1/myconfig/syncVolumeLicenses', options)
|
|
879
879
|
command.response_representation = Google::Apis::BooksV1::Volumes::Representation
|
|
880
880
|
command.response_class = Google::Apis::BooksV1::Volumes
|
|
@@ -1081,7 +1081,7 @@ module Google
|
|
|
1081
1081
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1082
1082
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1083
1083
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1084
|
-
def summarize_my_library_annotation(layer_ids
|
|
1084
|
+
def summarize_my_library_annotation(layer_ids, volume_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1085
1085
|
command = make_simple_command(:post, 'books/v1/mylibrary/annotations/summary', options)
|
|
1086
1086
|
command.response_representation = Google::Apis::BooksV1::AnnotationsSummary::Representation
|
|
1087
1087
|
command.response_class = Google::Apis::BooksV1::AnnotationsSummary
|
|
@@ -1131,12 +1131,12 @@ module Google
|
|
|
1131
1131
|
# Adds a volume to a bookshelf.
|
|
1132
1132
|
# @param [String] shelf
|
|
1133
1133
|
# ID of bookshelf to which to add a volume.
|
|
1134
|
+
# @param [String] volume_id
|
|
1135
|
+
# ID of volume to add.
|
|
1134
1136
|
# @param [String] reason
|
|
1135
1137
|
# The reason for which the book is added to the library.
|
|
1136
1138
|
# @param [String] source
|
|
1137
1139
|
# String to identify the originator of this request.
|
|
1138
|
-
# @param [String] volume_id
|
|
1139
|
-
# ID of volume to add.
|
|
1140
1140
|
# @param [String] fields
|
|
1141
1141
|
# Selector specifying which fields to include in a partial response.
|
|
1142
1142
|
# @param [String] quota_user
|
|
@@ -1154,7 +1154,7 @@ module Google
|
|
|
1154
1154
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1155
1155
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1156
1156
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1157
|
-
def add_my_library_volume(shelf, reason: nil, source: nil,
|
|
1157
|
+
def add_my_library_volume(shelf, volume_id, reason: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1158
1158
|
command = make_simple_command(:post, 'books/v1/mylibrary/bookshelves/{shelf}/addVolume', options)
|
|
1159
1159
|
command.response_representation = Google::Apis::BooksV1::Empty::Representation
|
|
1160
1160
|
command.response_class = Google::Apis::BooksV1::Empty
|
|
@@ -1267,13 +1267,13 @@ module Google
|
|
|
1267
1267
|
# Moves a volume within a bookshelf.
|
|
1268
1268
|
# @param [String] shelf
|
|
1269
1269
|
# ID of bookshelf with the volume.
|
|
1270
|
-
# @param [String] source
|
|
1271
|
-
# String to identify the originator of this request.
|
|
1272
1270
|
# @param [String] volume_id
|
|
1273
1271
|
# ID of volume to move.
|
|
1274
1272
|
# @param [Fixnum] volume_position
|
|
1275
1273
|
# Position on shelf to move the item (0 puts the item before the current first
|
|
1276
1274
|
# item, 1 puts it between the first and the second and so on.)
|
|
1275
|
+
# @param [String] source
|
|
1276
|
+
# String to identify the originator of this request.
|
|
1277
1277
|
# @param [String] fields
|
|
1278
1278
|
# Selector specifying which fields to include in a partial response.
|
|
1279
1279
|
# @param [String] quota_user
|
|
@@ -1291,7 +1291,7 @@ module Google
|
|
|
1291
1291
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1292
1292
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1293
1293
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1294
|
-
def move_my_library_volume(shelf,
|
|
1294
|
+
def move_my_library_volume(shelf, volume_id, volume_position, source: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1295
1295
|
command = make_simple_command(:post, 'books/v1/mylibrary/bookshelves/{shelf}/moveVolume', options)
|
|
1296
1296
|
command.response_representation = Google::Apis::BooksV1::Empty::Representation
|
|
1297
1297
|
command.response_class = Google::Apis::BooksV1::Empty
|
|
@@ -1307,12 +1307,12 @@ module Google
|
|
|
1307
1307
|
# Removes a volume from a bookshelf.
|
|
1308
1308
|
# @param [String] shelf
|
|
1309
1309
|
# ID of bookshelf from which to remove a volume.
|
|
1310
|
+
# @param [String] volume_id
|
|
1311
|
+
# ID of volume to remove.
|
|
1310
1312
|
# @param [String] reason
|
|
1311
1313
|
# The reason for which the book is removed from the library.
|
|
1312
1314
|
# @param [String] source
|
|
1313
1315
|
# String to identify the originator of this request.
|
|
1314
|
-
# @param [String] volume_id
|
|
1315
|
-
# ID of volume to remove.
|
|
1316
1316
|
# @param [String] fields
|
|
1317
1317
|
# Selector specifying which fields to include in a partial response.
|
|
1318
1318
|
# @param [String] quota_user
|
|
@@ -1330,7 +1330,7 @@ module Google
|
|
|
1330
1330
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1331
1331
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1332
1332
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1333
|
-
def remove_my_library_volume(shelf, reason: nil, source: nil,
|
|
1333
|
+
def remove_my_library_volume(shelf, volume_id, reason: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1334
1334
|
command = make_simple_command(:post, 'books/v1/mylibrary/bookshelves/{shelf}/removeVolume', options)
|
|
1335
1335
|
command.response_representation = Google::Apis::BooksV1::Empty::Representation
|
|
1336
1336
|
command.response_class = Google::Apis::BooksV1::Empty
|
|
@@ -1433,18 +1433,18 @@ module Google
|
|
|
1433
1433
|
# Sets my reading position information for a volume.
|
|
1434
1434
|
# @param [String] volume_id
|
|
1435
1435
|
# ID of volume for which to update the reading position.
|
|
1436
|
+
# @param [String] position
|
|
1437
|
+
# Position string for the new volume reading position.
|
|
1438
|
+
# @param [String] timestamp
|
|
1439
|
+
# RFC 3339 UTC format timestamp associated with this reading position.
|
|
1436
1440
|
# @param [String] action
|
|
1437
1441
|
# Action that caused this reading position to be set.
|
|
1438
1442
|
# @param [String] content_version
|
|
1439
1443
|
# Volume content version for which this reading position applies.
|
|
1440
1444
|
# @param [String] device_cookie
|
|
1441
1445
|
# Random persistent device cookie optional on set position.
|
|
1442
|
-
# @param [String] position
|
|
1443
|
-
# Position string for the new volume reading position.
|
|
1444
1446
|
# @param [String] source
|
|
1445
1447
|
# String to identify the originator of this request.
|
|
1446
|
-
# @param [String] timestamp
|
|
1447
|
-
# RFC 3339 UTC format timestamp associated with this reading position.
|
|
1448
1448
|
# @param [String] fields
|
|
1449
1449
|
# Selector specifying which fields to include in a partial response.
|
|
1450
1450
|
# @param [String] quota_user
|
|
@@ -1462,7 +1462,7 @@ module Google
|
|
|
1462
1462
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1463
1463
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1464
1464
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1465
|
-
def set_my_library_reading_position(volume_id, action: nil, content_version: nil, device_cookie: nil,
|
|
1465
|
+
def set_my_library_reading_position(volume_id, position, timestamp, action: nil, content_version: nil, device_cookie: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1466
1466
|
command = make_simple_command(:post, 'books/v1/mylibrary/readingpositions/{volumeId}/setPosition', options)
|
|
1467
1467
|
command.response_representation = Google::Apis::BooksV1::Empty::Representation
|
|
1468
1468
|
command.response_class = Google::Apis::BooksV1::Empty
|
|
@@ -1479,11 +1479,11 @@ module Google
|
|
|
1479
1479
|
end
|
|
1480
1480
|
|
|
1481
1481
|
# Returns notification details for a given notification id.
|
|
1482
|
+
# @param [String] notification_id
|
|
1483
|
+
# String to identify the notification.
|
|
1482
1484
|
# @param [String] locale
|
|
1483
1485
|
# ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
|
|
1484
1486
|
# generating notification title and body.
|
|
1485
|
-
# @param [String] notification_id
|
|
1486
|
-
# String to identify the notification.
|
|
1487
1487
|
# @param [String] source
|
|
1488
1488
|
# String to identify the originator of this request.
|
|
1489
1489
|
# @param [String] fields
|
|
@@ -1503,7 +1503,7 @@ module Google
|
|
|
1503
1503
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1504
1504
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1505
1505
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1506
|
-
def get_notification(
|
|
1506
|
+
def get_notification(notification_id, locale: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1507
1507
|
command = make_simple_command(:get, 'books/v1/notification/get', options)
|
|
1508
1508
|
command.response_representation = Google::Apis::BooksV1::Notification::Representation
|
|
1509
1509
|
command.response_class = Google::Apis::BooksV1::Notification
|
|
@@ -1789,7 +1789,7 @@ module Google
|
|
|
1789
1789
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1790
1790
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1791
1791
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1792
|
-
def get_series(series_id
|
|
1792
|
+
def get_series(series_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1793
1793
|
command = make_simple_command(:get, 'books/v1/series/get', options)
|
|
1794
1794
|
command.response_representation = Google::Apis::BooksV1::Series::Representation
|
|
1795
1795
|
command.response_class = Google::Apis::BooksV1::Series
|
|
@@ -1800,12 +1800,12 @@ module Google
|
|
|
1800
1800
|
end
|
|
1801
1801
|
|
|
1802
1802
|
# Returns Series membership data given the series id.
|
|
1803
|
+
# @param [String] series_id
|
|
1804
|
+
# String that identifies the series
|
|
1803
1805
|
# @param [Fixnum] page_size
|
|
1804
1806
|
# Number of maximum results per page to be included in the response.
|
|
1805
1807
|
# @param [String] page_token
|
|
1806
1808
|
# The value of the nextToken from the previous page.
|
|
1807
|
-
# @param [String] series_id
|
|
1808
|
-
# String that identifies the series
|
|
1809
1809
|
# @param [String] fields
|
|
1810
1810
|
# Selector specifying which fields to include in a partial response.
|
|
1811
1811
|
# @param [String] quota_user
|
|
@@ -1823,7 +1823,7 @@ module Google
|
|
|
1823
1823
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1824
1824
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1825
1825
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1826
|
-
def get_series_membership(page_size: nil, page_token: nil,
|
|
1826
|
+
def get_series_membership(series_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1827
1827
|
command = make_simple_command(:get, 'books/v1/series/membership/get', options)
|
|
1828
1828
|
command.response_representation = Google::Apis::BooksV1::SeriesMembership::Representation
|
|
1829
1829
|
command.response_class = Google::Apis::BooksV1::SeriesMembership
|
|
@@ -1883,6 +1883,8 @@ module Google
|
|
|
1883
1883
|
end
|
|
1884
1884
|
|
|
1885
1885
|
# Performs a book search.
|
|
1886
|
+
# @param [String] q
|
|
1887
|
+
# Full-text search query string.
|
|
1886
1888
|
# @param [String] download
|
|
1887
1889
|
# Restrict to volumes by download availability.
|
|
1888
1890
|
# @param [String] filter
|
|
@@ -1904,8 +1906,6 @@ module Google
|
|
|
1904
1906
|
# Restrict to books or magazines.
|
|
1905
1907
|
# @param [String] projection
|
|
1906
1908
|
# Restrict information returned to a set of selected fields.
|
|
1907
|
-
# @param [String] q
|
|
1908
|
-
# Full-text search query string.
|
|
1909
1909
|
# @param [Boolean] show_preorders
|
|
1910
1910
|
# Set to true to show books available for preorder. Defaults to false.
|
|
1911
1911
|
# @param [String] source
|
|
@@ -1929,7 +1929,7 @@ module Google
|
|
|
1929
1929
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1930
1930
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1931
1931
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1932
|
-
def list_volumes(download: nil, filter: nil, lang_restrict: nil, library_restrict: nil, max_allowed_maturity_rating: nil, max_results: nil, order_by: nil, partner: nil, print_type: nil, projection: nil,
|
|
1932
|
+
def list_volumes(q, download: nil, filter: nil, lang_restrict: nil, library_restrict: nil, max_allowed_maturity_rating: 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, options: nil, &block)
|
|
1933
1933
|
command = make_simple_command(:get, 'books/v1/volumes', options)
|
|
1934
1934
|
command.response_representation = Google::Apis::BooksV1::Volumes::Representation
|
|
1935
1935
|
command.response_class = Google::Apis::BooksV1::Volumes
|
|
@@ -2085,15 +2085,15 @@ module Google
|
|
|
2085
2085
|
end
|
|
2086
2086
|
|
|
2087
2087
|
# Rate a recommended book for the current user.
|
|
2088
|
+
# @param [String] rating
|
|
2089
|
+
# Rating to be given to the volume.
|
|
2090
|
+
# @param [String] volume_id
|
|
2091
|
+
# ID of the source volume.
|
|
2088
2092
|
# @param [String] locale
|
|
2089
2093
|
# ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for
|
|
2090
2094
|
# generating recommendations.
|
|
2091
|
-
# @param [String] rating
|
|
2092
|
-
# Rating to be given to the volume.
|
|
2093
2095
|
# @param [String] source
|
|
2094
2096
|
# String to identify the originator of this request.
|
|
2095
|
-
# @param [String] volume_id
|
|
2096
|
-
# ID of the source volume.
|
|
2097
2097
|
# @param [String] fields
|
|
2098
2098
|
# Selector specifying which fields to include in a partial response.
|
|
2099
2099
|
# @param [String] quota_user
|
|
@@ -2111,7 +2111,7 @@ module Google
|
|
|
2111
2111
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2112
2112
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2113
2113
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2114
|
-
def rate_recommended_volume(
|
|
2114
|
+
def rate_recommended_volume(rating, volume_id, locale: nil, source: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2115
2115
|
command = make_simple_command(:post, 'books/v1/volumes/recommended/rate', options)
|
|
2116
2116
|
command.response_representation = Google::Apis::BooksV1::RateRecommendedVolumeResponse::Representation
|
|
2117
2117
|
command.response_class = Google::Apis::BooksV1::RateRecommendedVolumeResponse
|