google-api-client 0.42.1 → 0.42.2

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.
Files changed (201) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +76 -0
  3. data/generated/google/apis/admob_v1.rb +1 -1
  4. data/generated/google/apis/admob_v1/classes.rb +3 -1
  5. data/generated/google/apis/apigee_v1.rb +1 -1
  6. data/generated/google/apis/apigee_v1/classes.rb +6 -12
  7. data/generated/google/apis/apigee_v1/representations.rb +1 -2
  8. data/generated/google/apis/apigee_v1/service.rb +18 -5
  9. data/generated/google/apis/appengine_v1.rb +1 -1
  10. data/generated/google/apis/appengine_v1/service.rb +6 -3
  11. data/generated/google/apis/appengine_v1beta.rb +1 -1
  12. data/generated/google/apis/appengine_v1beta/service.rb +6 -2
  13. data/generated/google/apis/appsmarket_v2.rb +1 -1
  14. data/generated/google/apis/bigquery_v2.rb +1 -1
  15. data/generated/google/apis/bigquery_v2/classes.rb +198 -3
  16. data/generated/google/apis/bigquery_v2/representations.rb +70 -0
  17. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  18. data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
  19. data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
  20. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  21. data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
  22. data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
  23. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  24. data/generated/google/apis/books_v1.rb +1 -1
  25. data/generated/google/apis/books_v1/classes.rb +140 -159
  26. data/generated/google/apis/books_v1/service.rb +47 -49
  27. data/generated/google/apis/chat_v1.rb +1 -1
  28. data/generated/google/apis/chat_v1/classes.rb +19 -0
  29. data/generated/google/apis/chat_v1/representations.rb +13 -0
  30. data/generated/google/apis/chat_v1/service.rb +39 -0
  31. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  32. data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
  33. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  34. data/generated/google/apis/{cloudfunctions_v1beta2.rb → cloudasset_v1p5beta1.rb} +9 -9
  35. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
  36. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  37. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
  38. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  39. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  40. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  41. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  42. data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
  43. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
  44. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  45. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  46. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  47. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  48. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  49. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  50. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  51. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  52. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  53. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  55. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  56. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  57. data/generated/google/apis/cloudscheduler_v1/classes.rb +11 -0
  58. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  59. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +11 -0
  61. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  62. data/generated/google/apis/cloudshell_v1.rb +1 -1
  63. data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
  64. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  65. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
  66. data/generated/google/apis/content_v2.rb +1 -1
  67. data/generated/google/apis/content_v2/classes.rb +6 -0
  68. data/generated/google/apis/content_v2/representations.rb +1 -0
  69. data/generated/google/apis/content_v2_1.rb +1 -1
  70. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  71. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  72. data/generated/google/apis/customsearch_v1.rb +1 -1
  73. data/generated/google/apis/customsearch_v1/classes.rb +14 -10
  74. data/generated/google/apis/customsearch_v1/service.rb +6 -6
  75. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  76. data/generated/google/apis/datacatalog_v1beta1/classes.rb +380 -569
  77. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  78. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  79. data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
  80. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  81. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  82. data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
  83. data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
  84. data/generated/google/apis/dialogflow_v2.rb +1 -1
  85. data/generated/google/apis/dialogflow_v2/classes.rb +148 -35
  86. data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
  87. data/generated/google/apis/dialogflow_v2/service.rb +4 -0
  88. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  89. data/generated/google/apis/dialogflow_v2beta1/classes.rb +164 -36
  90. data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
  91. data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -0
  92. data/generated/google/apis/displayvideo_v1.rb +7 -1
  93. data/generated/google/apis/displayvideo_v1/classes.rb +1666 -1726
  94. data/generated/google/apis/displayvideo_v1/representations.rb +264 -0
  95. data/generated/google/apis/displayvideo_v1/service.rb +1173 -926
  96. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  97. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  98. data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
  99. data/generated/google/apis/fcm_v1.rb +1 -1
  100. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  101. data/generated/google/apis/fcm_v1/service.rb +5 -6
  102. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  103. data/generated/google/apis/firebase_v1beta1/classes.rb +10 -16
  104. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  105. data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
  106. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  107. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  108. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  109. data/generated/google/apis/games_management_v1management.rb +1 -1
  110. data/generated/google/apis/games_management_v1management/service.rb +2 -2
  111. data/generated/google/apis/games_v1.rb +1 -1
  112. data/generated/google/apis/games_v1/classes.rb +1 -1
  113. data/generated/google/apis/games_v1/service.rb +2 -2
  114. data/generated/google/apis/gmail_v1.rb +1 -1
  115. data/generated/google/apis/gmail_v1/classes.rb +2 -2
  116. data/generated/google/apis/gmail_v1/service.rb +2 -1
  117. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
  118. data/generated/google/apis/monitoring_v1.rb +1 -1
  119. data/generated/google/apis/monitoring_v1/classes.rb +2 -1
  120. data/generated/google/apis/monitoring_v3.rb +1 -1
  121. data/generated/google/apis/monitoring_v3/classes.rb +5 -4
  122. data/generated/google/apis/monitoring_v3/service.rb +5 -4
  123. data/generated/google/apis/osconfig_v1.rb +1 -1
  124. data/generated/google/apis/osconfig_v1/classes.rb +75 -0
  125. data/generated/google/apis/osconfig_v1/representations.rb +35 -0
  126. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  127. data/generated/google/apis/osconfig_v1beta/classes.rb +75 -0
  128. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  129. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  130. data/generated/google/apis/people_v1.rb +1 -1
  131. data/generated/google/apis/people_v1/classes.rb +243 -397
  132. data/generated/google/apis/people_v1/service.rb +156 -384
  133. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  134. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +0 -73
  135. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
  136. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +0 -477
  137. data/generated/google/apis/pubsub_v1.rb +1 -1
  138. data/generated/google/apis/pubsub_v1/classes.rb +21 -0
  139. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  140. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  141. data/generated/google/apis/redis_v1.rb +1 -1
  142. data/generated/google/apis/redis_v1/classes.rb +397 -0
  143. data/generated/google/apis/redis_v1/representations.rb +139 -0
  144. data/generated/google/apis/redis_v1beta1.rb +1 -1
  145. data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
  146. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  147. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  148. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  149. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  150. data/generated/google/apis/run_v1.rb +1 -1
  151. data/generated/google/apis/run_v1/classes.rb +835 -1248
  152. data/generated/google/apis/run_v1/service.rb +195 -245
  153. data/generated/google/apis/run_v1alpha1.rb +1 -1
  154. data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
  155. data/generated/google/apis/run_v1alpha1/service.rb +321 -377
  156. data/generated/google/apis/run_v1beta1.rb +1 -1
  157. data/generated/google/apis/run_v1beta1/classes.rb +209 -276
  158. data/generated/google/apis/run_v1beta1/service.rb +16 -18
  159. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  160. data/generated/google/apis/sasportal_v1alpha1/classes.rb +0 -73
  161. data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
  162. data/generated/google/apis/sasportal_v1alpha1/service.rb +0 -477
  163. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  164. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -2
  165. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
  166. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  167. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1 -1
  168. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  169. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
  170. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  171. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
  172. data/generated/google/apis/serviceusage_v1.rb +1 -1
  173. data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
  174. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  175. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
  176. data/generated/google/apis/spanner_v1.rb +1 -1
  177. data/generated/google/apis/sql_v1beta4.rb +1 -1
  178. data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
  179. data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
  180. data/generated/google/apis/sql_v1beta4/service.rb +2 -2
  181. data/generated/google/apis/testing_v1.rb +1 -1
  182. data/generated/google/apis/testing_v1/classes.rb +63 -0
  183. data/generated/google/apis/testing_v1/representations.rb +32 -0
  184. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  185. data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
  186. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  187. data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
  188. data/generated/google/apis/webfonts_v1.rb +1 -1
  189. data/generated/google/apis/webfonts_v1/service.rb +2 -2
  190. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  191. data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
  192. data/generated/google/apis/youtube_partner_v1/service.rb +511 -651
  193. data/generated/google/apis/youtube_v3.rb +1 -1
  194. data/generated/google/apis/youtube_v3/classes.rb +6 -0
  195. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  196. data/generated/google/apis/youtube_v3/service.rb +32 -32
  197. data/lib/google/apis/version.rb +1 -1
  198. metadata +7 -7
  199. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
  200. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +0 -346
  201. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
@@ -879,6 +879,121 @@ module Google
879
879
  execute_or_queue_command(command, &block)
880
880
  end
881
881
 
882
+ # Starts creating a new Cloud Bigtable Backup. The returned backup
883
+ # long-running operation can be used to
884
+ # track creation of the backup. The
885
+ # metadata field type is
886
+ # CreateBackupMetadata. The
887
+ # response field type is
888
+ # Backup, if successful. Cancelling the returned operation will stop the
889
+ # creation and delete the backup.
890
+ # @param [String] parent
891
+ # Required. This must be one of the clusters in the instance in which this
892
+ # table is located. The backup will be stored in this cluster. Values are
893
+ # of the form `projects/`project`/instances/`instance`/clusters/`cluster``.
894
+ # @param [Google::Apis::BigtableadminV2::Backup] backup_object
895
+ # @param [String] backup_id
896
+ # Required. The id of the backup to be created. The `backup_id` along with
897
+ # the parent `parent` are combined as `parent`/backups/`backup_id` to create
898
+ # the full backup name, of the form:
899
+ # `projects/`project`/instances/`instance`/clusters/`cluster`/backups/`backup_id`
900
+ # `.
901
+ # This string must be between 1 and 50 characters in length and match the
902
+ # regex _a-zA-Z0-9*.
903
+ # @param [String] fields
904
+ # Selector specifying which fields to include in a partial response.
905
+ # @param [String] quota_user
906
+ # Available to use for quota purposes for server-side applications. Can be any
907
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
908
+ # @param [Google::Apis::RequestOptions] options
909
+ # Request-specific options
910
+ #
911
+ # @yield [result, err] Result & error if block supplied
912
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
913
+ # @yieldparam err [StandardError] error object if request failed
914
+ #
915
+ # @return [Google::Apis::BigtableadminV2::Operation]
916
+ #
917
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
918
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
919
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
920
+ def create_project_instance_cluster_backup(parent, backup_object = nil, backup_id: nil, fields: nil, quota_user: nil, options: nil, &block)
921
+ command = make_simple_command(:post, 'v2/{+parent}/backups', options)
922
+ command.request_representation = Google::Apis::BigtableadminV2::Backup::Representation
923
+ command.request_object = backup_object
924
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
925
+ command.response_class = Google::Apis::BigtableadminV2::Operation
926
+ command.params['parent'] = parent unless parent.nil?
927
+ command.query['backupId'] = backup_id unless backup_id.nil?
928
+ command.query['fields'] = fields unless fields.nil?
929
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
930
+ execute_or_queue_command(command, &block)
931
+ end
932
+
933
+ # Deletes a pending or completed Cloud Bigtable backup.
934
+ # @param [String] name
935
+ # Required. Name of the backup to delete.
936
+ # Values are of the form
937
+ # `projects/`project`/instances/`instance`/clusters/`cluster`/backups/`backup``.
938
+ # @param [String] fields
939
+ # Selector specifying which fields to include in a partial response.
940
+ # @param [String] quota_user
941
+ # Available to use for quota purposes for server-side applications. Can be any
942
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
943
+ # @param [Google::Apis::RequestOptions] options
944
+ # Request-specific options
945
+ #
946
+ # @yield [result, err] Result & error if block supplied
947
+ # @yieldparam result [Google::Apis::BigtableadminV2::Empty] parsed result object
948
+ # @yieldparam err [StandardError] error object if request failed
949
+ #
950
+ # @return [Google::Apis::BigtableadminV2::Empty]
951
+ #
952
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
953
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
954
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
955
+ def delete_project_instance_cluster_backup(name, fields: nil, quota_user: nil, options: nil, &block)
956
+ command = make_simple_command(:delete, 'v2/{+name}', options)
957
+ command.response_representation = Google::Apis::BigtableadminV2::Empty::Representation
958
+ command.response_class = Google::Apis::BigtableadminV2::Empty
959
+ command.params['name'] = name unless name.nil?
960
+ command.query['fields'] = fields unless fields.nil?
961
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
962
+ execute_or_queue_command(command, &block)
963
+ end
964
+
965
+ # Gets metadata on a pending or completed Cloud Bigtable Backup.
966
+ # @param [String] name
967
+ # Required. Name of the backup.
968
+ # Values are of the form
969
+ # `projects/`project`/instances/`instance`/clusters/`cluster`/backups/`backup``.
970
+ # @param [String] fields
971
+ # Selector specifying which fields to include in a partial response.
972
+ # @param [String] quota_user
973
+ # Available to use for quota purposes for server-side applications. Can be any
974
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
975
+ # @param [Google::Apis::RequestOptions] options
976
+ # Request-specific options
977
+ #
978
+ # @yield [result, err] Result & error if block supplied
979
+ # @yieldparam result [Google::Apis::BigtableadminV2::Backup] parsed result object
980
+ # @yieldparam err [StandardError] error object if request failed
981
+ #
982
+ # @return [Google::Apis::BigtableadminV2::Backup]
983
+ #
984
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
985
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
986
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
987
+ def get_project_instance_cluster_backup(name, fields: nil, quota_user: nil, options: nil, &block)
988
+ command = make_simple_command(:get, 'v2/{+name}', options)
989
+ command.response_representation = Google::Apis::BigtableadminV2::Backup::Representation
990
+ command.response_class = Google::Apis::BigtableadminV2::Backup
991
+ command.params['name'] = name unless name.nil?
992
+ command.query['fields'] = fields unless fields.nil?
993
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
994
+ execute_or_queue_command(command, &block)
995
+ end
996
+
882
997
  # Gets the access control policy for a Table resource.
883
998
  # Returns an empty policy if the resource exists but does not have a policy
884
999
  # set.
@@ -915,6 +1030,147 @@ module Google
915
1030
  execute_or_queue_command(command, &block)
916
1031
  end
917
1032
 
1033
+ # Lists Cloud Bigtable backups. Returns both completed and pending
1034
+ # backups.
1035
+ # @param [String] parent
1036
+ # Required. The cluster to list backups from. Values are of the
1037
+ # form `projects/`project`/instances/`instance`/clusters/`cluster``.
1038
+ # Use ``cluster` = '-'` to list backups for all clusters in an instance,
1039
+ # e.g., `projects/`project`/instances/`instance`/clusters/-`.
1040
+ # @param [String] filter
1041
+ # A filter expression that filters backups listed in the response.
1042
+ # The expression must specify the field name, a comparison operator,
1043
+ # and the value that you want to use for filtering. The value must be a
1044
+ # string, a number, or a boolean. The comparison operator must be
1045
+ # <, >, <=, >=, !=, =, or :. Colon ‘:’ represents a HAS operator which is
1046
+ # roughly synonymous with equality. Filter rules are case insensitive.
1047
+ # The fields eligible for filtering are:
1048
+ # * `name`
1049
+ # * `source_table`
1050
+ # * `state`
1051
+ # * `start_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
1052
+ # * `end_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
1053
+ # * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
1054
+ # * `size_bytes`
1055
+ # To filter on multiple expressions, provide each separate expression within
1056
+ # parentheses. By default, each expression is an AND expression. However,
1057
+ # you can include AND, OR, and NOT expressions explicitly.
1058
+ # Some examples of using filters are:
1059
+ # * `name:"exact"` --> The backup's name is the string "exact".
1060
+ # * `name:howl` --> The backup's name contains the string "howl".
1061
+ # * `source_table:prod`
1062
+ # --> The source_table's name contains the string "prod".
1063
+ # * `state:CREATING` --> The backup is pending creation.
1064
+ # * `state:READY` --> The backup is fully created and ready for use.
1065
+ # * `(name:howl) AND (start_time < \"2018-03-28T14:50:00Z\")`
1066
+ # --> The backup name contains the string "howl" and start_time
1067
+ # of the backup is before 2018-03-28T14:50:00Z.
1068
+ # * `size_bytes > 10000000000` --> The backup's size is greater than 10GB
1069
+ # @param [String] order_by
1070
+ # An expression for specifying the sort order of the results of the request.
1071
+ # The string value should specify one or more fields in Backup. The full
1072
+ # syntax is described at https://aip.dev/132#ordering.
1073
+ # Fields supported are:
1074
+ # * name
1075
+ # * source_table
1076
+ # * expire_time
1077
+ # * start_time
1078
+ # * end_time
1079
+ # * size_bytes
1080
+ # * state
1081
+ # For example, "start_time". The default sorting order is ascending.
1082
+ # To specify descending order for the field, a suffix " desc" should
1083
+ # be appended to the field name. For example, "start_time desc".
1084
+ # Redundant space characters in the syntax are insigificant.
1085
+ # If order_by is empty, results will be sorted by `start_time` in descending
1086
+ # order starting from the most recently created backup.
1087
+ # @param [Fixnum] page_size
1088
+ # Number of backups to be returned in the response. If 0 or
1089
+ # less, defaults to the server's maximum allowed page size.
1090
+ # @param [String] page_token
1091
+ # If non-empty, `page_token` should contain a
1092
+ # next_page_token from a
1093
+ # previous ListBackupsResponse to the same `parent` and with the same
1094
+ # `filter`.
1095
+ # @param [String] fields
1096
+ # Selector specifying which fields to include in a partial response.
1097
+ # @param [String] quota_user
1098
+ # Available to use for quota purposes for server-side applications. Can be any
1099
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1100
+ # @param [Google::Apis::RequestOptions] options
1101
+ # Request-specific options
1102
+ #
1103
+ # @yield [result, err] Result & error if block supplied
1104
+ # @yieldparam result [Google::Apis::BigtableadminV2::ListBackupsResponse] parsed result object
1105
+ # @yieldparam err [StandardError] error object if request failed
1106
+ #
1107
+ # @return [Google::Apis::BigtableadminV2::ListBackupsResponse]
1108
+ #
1109
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1110
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1111
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1112
+ def list_project_instance_cluster_backups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1113
+ command = make_simple_command(:get, 'v2/{+parent}/backups', options)
1114
+ command.response_representation = Google::Apis::BigtableadminV2::ListBackupsResponse::Representation
1115
+ command.response_class = Google::Apis::BigtableadminV2::ListBackupsResponse
1116
+ command.params['parent'] = parent unless parent.nil?
1117
+ command.query['filter'] = filter unless filter.nil?
1118
+ command.query['orderBy'] = order_by unless order_by.nil?
1119
+ command.query['pageSize'] = page_size unless page_size.nil?
1120
+ command.query['pageToken'] = page_token unless page_token.nil?
1121
+ command.query['fields'] = fields unless fields.nil?
1122
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1123
+ execute_or_queue_command(command, &block)
1124
+ end
1125
+
1126
+ # Updates a pending or completed Cloud Bigtable Backup.
1127
+ # @param [String] name
1128
+ # A globally unique identifier for the backup which cannot be
1129
+ # changed. Values are of the form
1130
+ # `projects/`project`/instances/`instance`/clusters/`cluster`/
1131
+ # backups/_a-zA-Z0-9*`
1132
+ # The final segment of the name must be between 1 and 50 characters
1133
+ # in length.
1134
+ # The backup is stored in the cluster identified by the prefix of the backup
1135
+ # name of the form
1136
+ # `projects/`project`/instances/`instance`/clusters/`cluster``.
1137
+ # @param [Google::Apis::BigtableadminV2::Backup] backup_object
1138
+ # @param [String] update_mask
1139
+ # Required. A mask specifying which fields (e.g. `expire_time`) in the
1140
+ # Backup resource should be updated. This mask is relative to the Backup
1141
+ # resource, not to the request message. The field mask must always be
1142
+ # specified; this prevents any future fields from being erased accidentally
1143
+ # by clients that do not know about them.
1144
+ # @param [String] fields
1145
+ # Selector specifying which fields to include in a partial response.
1146
+ # @param [String] quota_user
1147
+ # Available to use for quota purposes for server-side applications. Can be any
1148
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1149
+ # @param [Google::Apis::RequestOptions] options
1150
+ # Request-specific options
1151
+ #
1152
+ # @yield [result, err] Result & error if block supplied
1153
+ # @yieldparam result [Google::Apis::BigtableadminV2::Backup] parsed result object
1154
+ # @yieldparam err [StandardError] error object if request failed
1155
+ #
1156
+ # @return [Google::Apis::BigtableadminV2::Backup]
1157
+ #
1158
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1159
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1160
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1161
+ def patch_project_instance_cluster_backup(name, backup_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1162
+ command = make_simple_command(:patch, 'v2/{+name}', options)
1163
+ command.request_representation = Google::Apis::BigtableadminV2::Backup::Representation
1164
+ command.request_object = backup_object
1165
+ command.response_representation = Google::Apis::BigtableadminV2::Backup::Representation
1166
+ command.response_class = Google::Apis::BigtableadminV2::Backup
1167
+ command.params['name'] = name unless name.nil?
1168
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1169
+ command.query['fields'] = fields unless fields.nil?
1170
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1171
+ execute_or_queue_command(command, &block)
1172
+ end
1173
+
918
1174
  # Sets the access control policy on a Table resource.
919
1175
  # Replaces any existing policy.
920
1176
  # @param [String] resource
@@ -1322,6 +1578,48 @@ module Google
1322
1578
  execute_or_queue_command(command, &block)
1323
1579
  end
1324
1580
 
1581
+ # Create a new table by restoring from a completed backup. The new table
1582
+ # must be in the same instance as the instance containing the backup. The
1583
+ # returned table long-running operation can
1584
+ # be used to track the progress of the operation, and to cancel it. The
1585
+ # metadata field type is
1586
+ # RestoreTableMetadata. The
1587
+ # response type is
1588
+ # Table, if successful.
1589
+ # @param [String] parent
1590
+ # Required. The name of the instance in which to create the restored
1591
+ # table. This instance must be the parent of the source backup. Values are
1592
+ # of the form `projects/<project>/instances/<instance>`.
1593
+ # @param [Google::Apis::BigtableadminV2::RestoreTableRequest] restore_table_request_object
1594
+ # @param [String] fields
1595
+ # Selector specifying which fields to include in a partial response.
1596
+ # @param [String] quota_user
1597
+ # Available to use for quota purposes for server-side applications. Can be any
1598
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1599
+ # @param [Google::Apis::RequestOptions] options
1600
+ # Request-specific options
1601
+ #
1602
+ # @yield [result, err] Result & error if block supplied
1603
+ # @yieldparam result [Google::Apis::BigtableadminV2::Operation] parsed result object
1604
+ # @yieldparam err [StandardError] error object if request failed
1605
+ #
1606
+ # @return [Google::Apis::BigtableadminV2::Operation]
1607
+ #
1608
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1609
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1610
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1611
+ def restore_table(parent, restore_table_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1612
+ command = make_simple_command(:post, 'v2/{+parent}/tables:restore', options)
1613
+ command.request_representation = Google::Apis::BigtableadminV2::RestoreTableRequest::Representation
1614
+ command.request_object = restore_table_request_object
1615
+ command.response_representation = Google::Apis::BigtableadminV2::Operation::Representation
1616
+ command.response_class = Google::Apis::BigtableadminV2::Operation
1617
+ command.params['parent'] = parent unless parent.nil?
1618
+ command.query['fields'] = fields unless fields.nil?
1619
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1620
+ execute_or_queue_command(command, &block)
1621
+ end
1622
+
1325
1623
  # Sets the access control policy on a Table resource.
1326
1624
  # Replaces any existing policy.
1327
1625
  # @param [String] resource
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://code.google.com/apis/books/docs/v1/getting_started.html
26
26
  module BooksV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200617'
28
+ REVISION = '20200717'
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
- # that 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 that
30
+ # 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
- # that 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 that
36
+ # 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
@@ -229,8 +229,7 @@ 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"
233
- # layer.
232
+ # Maximum allowed characters on this layer, especially for the "copy" layer.
234
233
  # Corresponds to the JSON property `allowedCharacterCount`
235
234
  # @return [Fixnum]
236
235
  attr_accessor :allowed_character_count
@@ -241,8 +240,7 @@ module Google
241
240
  # @return [String]
242
241
  attr_accessor :limit_type
243
242
 
244
- # Remaining allowed characters on this layer, especially for the "copy"
245
- # layer.
243
+ # Remaining allowed characters on this layer, especially for the "copy" layer.
246
244
  # Corresponds to the JSON property `remainingCharacterCount`
247
245
  # @return [Fixnum]
248
246
  attr_accessor :remaining_character_count
@@ -274,8 +272,8 @@ module Google
274
272
  # @return [String]
275
273
  attr_accessor :kind
276
274
 
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.
275
+ # Token to pass in for pagination for the next page. This will not be present if
276
+ # this request does not have more results.
279
277
  # Corresponds to the JSON property `nextPageToken`
280
278
  # @return [String]
281
279
  attr_accessor :next_page_token
@@ -381,8 +379,8 @@ module Google
381
379
  # @return [String]
382
380
  attr_accessor :kind
383
381
 
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.
382
+ # Token to pass in for pagination for the next page. This will not be present if
383
+ # this request does not have more results.
386
384
  # Corresponds to the JSON property `nextPageToken`
387
385
  # @return [String]
388
386
  attr_accessor :next_page_token
@@ -538,8 +536,8 @@ module Google
538
536
  # @return [String]
539
537
  attr_accessor :title
540
538
 
541
- # Last modified time of this bookshelf (formatted UTC timestamp with
542
- # millisecond resolution).
539
+ # Last modified time of this bookshelf (formatted UTC timestamp with millisecond
540
+ # resolution).
543
541
  # Corresponds to the JSON property `updated`
544
542
  # @return [String]
545
543
  attr_accessor :updated
@@ -701,8 +699,8 @@ module Google
701
699
  # @return [String]
702
700
  attr_accessor :signature
703
701
 
704
- # Client app identifier for verification. Download access and
705
- # client-validation only.
702
+ # Client app identifier for verification. Download access and client-validation
703
+ # only.
706
704
  # Corresponds to the JSON property `source`
707
705
  # @return [String]
708
706
  attr_accessor :source
@@ -746,9 +744,8 @@ module Google
746
744
  # @return [String]
747
745
  attr_accessor :annotation_type
748
746
 
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.
747
+ # JSON encoded data for this dictionary annotation data. Emitted with name 'data'
748
+ # in JSON output. Either this or geo_data will be populated.
752
749
  # Corresponds to the JSON property `data`
753
750
  # @return [Google::Apis::BooksV1::DictLayerData]
754
751
  attr_accessor :data
@@ -842,8 +839,8 @@ module Google
842
839
  class Common
843
840
  include Google::Apis::Core::Hashable
844
841
 
845
- # The display title and localized canonical name to use when searching for
846
- # this entity on Google search.
842
+ # The display title and localized canonical name to use when searching for this
843
+ # entity on Google search.
847
844
  # Corresponds to the JSON property `title`
848
845
  # @return [String]
849
846
  attr_accessor :title
@@ -926,8 +923,8 @@ module Google
926
923
  # @return [Array<Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense>]
927
924
  attr_accessor :senses
928
925
 
929
- # The words with different meanings but not related words, e.g. "go"
930
- # (game) and "go" (verb).
926
+ # The words with different meanings but not related words, e.g. "go" (game) and "
927
+ # go" (verb).
931
928
  # Corresponds to the JSON property `source`
932
929
  # @return [Google::Apis::BooksV1::DictLayerData::Dict::Word::Source]
933
930
  attr_accessor :source
@@ -1280,8 +1277,8 @@ module Google
1280
1277
  end
1281
1278
  end
1282
1279
 
1283
- # The words with different meanings but not related words, e.g. "go"
1284
- # (game) and "go" (verb).
1280
+ # The words with different meanings but not related words, e.g. "go" (game) and "
1281
+ # go" (verb).
1285
1282
  class Source
1286
1283
  include Google::Apis::Core::Hashable
1287
1284
 
@@ -1448,8 +1445,8 @@ module Google
1448
1445
  attr_accessor :device_allowed
1449
1446
  alias_method :device_allowed?, :device_allowed
1450
1447
 
1451
- # If restricted, the number of content download licenses already acquired
1452
- # (including the requesting client, if licensed).
1448
+ # If restricted, the number of content download licenses already acquired (
1449
+ # including the requesting client, if licensed).
1453
1450
  # Corresponds to the JSON property `downloadsAcquired`
1454
1451
  # @return [Fixnum]
1455
1452
  attr_accessor :downloads_acquired
@@ -1465,8 +1462,7 @@ module Google
1465
1462
  # @return [String]
1466
1463
  attr_accessor :kind
1467
1464
 
1468
- # If restricted, the maximum number of content download licenses for this
1469
- # volume.
1465
+ # If restricted, the maximum number of content download licenses for this volume.
1470
1466
  # Corresponds to the JSON property `maxDownloadDevices`
1471
1467
  # @return [Fixnum]
1472
1468
  attr_accessor :max_download_devices
@@ -1481,8 +1477,8 @@ module Google
1481
1477
  # @return [String]
1482
1478
  attr_accessor :nonce
1483
1479
 
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
1480
+ # Error/warning reason code. Additional codes may be added in the future. 0 OK
1481
+ # 100 ACCESS_DENIED_PUBLISHER_LIMIT 101 ACCESS_DENIED_LIMIT 200
1486
1482
  # WARNING_USED_LAST_ACCESS
1487
1483
  # Corresponds to the JSON property `reasonCode`
1488
1484
  # @return [String]
@@ -1499,8 +1495,8 @@ module Google
1499
1495
  # @return [String]
1500
1496
  attr_accessor :signature
1501
1497
 
1502
- # Client app identifier for verification. Download access and
1503
- # client-validation only.
1498
+ # Client app identifier for verification. Download access and client-validation
1499
+ # only.
1504
1500
  # Corresponds to the JSON property `source`
1505
1501
  # @return [String]
1506
1502
  attr_accessor :source
@@ -1556,13 +1552,11 @@ module Google
1556
1552
  end
1557
1553
  end
1558
1554
 
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 ````.
1555
+ # A generic empty message that you can re-use to avoid defining duplicated empty
1556
+ # messages in your APIs. A typical example is to use it as the request or the
1557
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
1558
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1559
+ # `Empty` is empty JSON object ````.
1566
1560
  class Empty
1567
1561
  include Google::Apis::Core::Hashable
1568
1562
 
@@ -1653,9 +1647,8 @@ module Google
1653
1647
  # @return [String]
1654
1648
  attr_accessor :annotation_type
1655
1649
 
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.
1650
+ # JSON encoded data for this geo annotation data. Emitted with name 'data' in
1651
+ # JSON output. Either this or dict_data will be populated.
1659
1652
  # Corresponds to the JSON property `data`
1660
1653
  # @return [Google::Apis::BooksV1::GeoLayerData]
1661
1654
  attr_accessor :data
@@ -1769,8 +1762,8 @@ module Google
1769
1762
  # @return [String]
1770
1763
  attr_accessor :snippet_url
1771
1764
 
1772
- # The display title and localized canonical name to use when searching for
1773
- # this entity on Google search.
1765
+ # The display title and localized canonical name to use when searching for this
1766
+ # entity on Google search.
1774
1767
  # Corresponds to the JSON property `title`
1775
1768
  # @return [String]
1776
1769
  attr_accessor :title
@@ -1793,14 +1786,13 @@ module Google
1793
1786
  class Geo
1794
1787
  include Google::Apis::Core::Hashable
1795
1788
 
1796
- # The boundary of the location as a set of loops containing pairs of
1797
- # latitude, longitude coordinates.
1789
+ # The boundary of the location as a set of loops containing pairs of latitude,
1790
+ # longitude coordinates.
1798
1791
  # Corresponds to the JSON property `boundary`
1799
1792
  # @return [Array<String>]
1800
1793
  attr_accessor :boundary
1801
1794
 
1802
- # The cache policy active for this data. EX: UNRESTRICTED, RESTRICTED,
1803
- # NEVER
1795
+ # The cache policy active for this data. EX: UNRESTRICTED, RESTRICTED, NEVER
1804
1796
  # Corresponds to the JSON property `cachePolicy`
1805
1797
  # @return [String]
1806
1798
  attr_accessor :cache_policy
@@ -1820,8 +1812,8 @@ module Google
1820
1812
  # @return [Float]
1821
1813
  attr_accessor :longitude
1822
1814
 
1823
- # The type of map that should be used for this location. EX: HYBRID,
1824
- # ROADMAP, SATELLITE, TERRAIN
1815
+ # The type of map that should be used for this location. EX: HYBRID, ROADMAP,
1816
+ # SATELLITE, TERRAIN
1825
1817
  # Corresponds to the JSON property `mapType`
1826
1818
  # @return [String]
1827
1819
  attr_accessor :map_type
@@ -1834,8 +1826,8 @@ module Google
1834
1826
 
1835
1827
  # The Zoom level to use for the map. Zoom levels between 0 (the lowest zoom
1836
1828
  # level, in which the entire world can be seen on one map) to 21+ (down to
1837
- # individual buildings). See: https:
1838
- # //developers.google.com/maps/documentation/staticmaps/#Zoomlevels
1829
+ # individual buildings). See: https: //developers.google.com/maps/documentation/
1830
+ # staticmaps/#Zoomlevels
1839
1831
  # Corresponds to the JSON property `zoom`
1840
1832
  # @return [Fixnum]
1841
1833
  attr_accessor :zoom
@@ -2019,15 +2011,15 @@ module Google
2019
2011
  # @return [String]
2020
2012
  attr_accessor :self_link
2021
2013
 
2022
- # Timestamp for the last time an item in this layer was updated. (RFC 3339
2023
- # UTC date-time format).
2014
+ # Timestamp for the last time an item in this layer was updated. (RFC 3339 UTC
2015
+ # date-time format).
2024
2016
  # Corresponds to the JSON property `updated`
2025
2017
  # @return [String]
2026
2018
  attr_accessor :updated
2027
2019
 
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.
2020
+ # The current version of this layer's volume annotations. Note that this version
2021
+ # applies only to the data in the books.layers.volumeAnnotations.* responses.
2022
+ # The actual annotation data is versioned separately.
2031
2023
  # Corresponds to the JSON property `volumeAnnotationsVersion`
2032
2024
  # @return [String]
2033
2025
  attr_accessor :volume_annotations_version
@@ -2379,8 +2371,8 @@ module Google
2379
2371
  # @return [String]
2380
2372
  attr_accessor :pdf_position
2381
2373
 
2382
- # Timestamp when this reading position was last updated (formatted UTC
2383
- # timestamp with millisecond resolution).
2374
+ # Timestamp when this reading position was last updated (formatted UTC timestamp
2375
+ # with millisecond resolution).
2384
2376
  # Corresponds to the JSON property `updated`
2385
2377
  # @return [String]
2386
2378
  attr_accessor :updated
@@ -2466,14 +2458,14 @@ module Google
2466
2458
  # @return [String]
2467
2459
  attr_accessor :kind
2468
2460
 
2469
- # Star rating for this review. Possible values are ONE, TWO, THREE, FOUR,
2470
- # FIVE or NOT_RATED.
2461
+ # Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE
2462
+ # or NOT_RATED.
2471
2463
  # Corresponds to the JSON property `rating`
2472
2464
  # @return [String]
2473
2465
  attr_accessor :rating
2474
2466
 
2475
- # Information regarding the source of this review, when the review is not
2476
- # from a Google Books user.
2467
+ # Information regarding the source of this review, when the review is not from a
2468
+ # Google Books user.
2477
2469
  # Corresponds to the JSON property `source`
2478
2470
  # @return [Google::Apis::BooksV1::Review::Source]
2479
2471
  attr_accessor :source
@@ -2531,8 +2523,8 @@ module Google
2531
2523
  end
2532
2524
  end
2533
2525
 
2534
- # Information regarding the source of this review, when the review is not
2535
- # from a Google Books user.
2526
+ # Information regarding the source of this review, when the review is not from a
2527
+ # Google Books user.
2536
2528
  class Source
2537
2529
  include Google::Apis::Core::Hashable
2538
2530
 
@@ -3039,9 +3031,8 @@ module Google
3039
3031
  attr_accessor :recommended_info
3040
3032
 
3041
3033
  # Any information about a volume related to the eBookstore and/or
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).
3034
+ # purchaseability. This information can depend on the country where the request
3035
+ # originates from (i.e. books may not be for sale in certain countries).
3045
3036
  # Corresponds to the JSON property `saleInfo`
3046
3037
  # @return [Google::Apis::BooksV1::Volume::SaleInfo]
3047
3038
  attr_accessor :sale_info
@@ -3092,15 +3083,15 @@ module Google
3092
3083
  class AccessInfo
3093
3084
  include Google::Apis::Core::Hashable
3094
3085
 
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.)
3086
+ # Combines the access and viewability of this volume into a single status field
3087
+ # for this user. Values can be FULL_PURCHASED, FULL_PUBLIC_DOMAIN, SAMPLE or
3088
+ # NONE. (In LITE projection.)
3098
3089
  # Corresponds to the JSON property `accessViewStatus`
3099
3090
  # @return [String]
3100
3091
  attr_accessor :access_view_status
3101
3092
 
3102
- # The two-letter ISO_3166-1 country code for which this access information
3103
- # is valid. (In LITE projection.)
3093
+ # The two-letter ISO_3166-1 country code for which this access information is
3094
+ # valid. (In LITE projection.)
3104
3095
  # Corresponds to the JSON property `country`
3105
3096
  # @return [String]
3106
3097
  attr_accessor :country
@@ -3116,8 +3107,8 @@ module Google
3116
3107
  # @return [String]
3117
3108
  attr_accessor :drive_imported_content_link
3118
3109
 
3119
- # Whether this volume can be embedded in a viewport using the Embedded
3120
- # Viewer API.
3110
+ # Whether this volume can be embedded in a viewport using the Embedded Viewer
3111
+ # API.
3121
3112
  # Corresponds to the JSON property `embeddable`
3122
3113
  # @return [Boolean]
3123
3114
  attr_accessor :embeddable
@@ -3153,30 +3144,29 @@ module Google
3153
3144
  attr_accessor :quote_sharing_allowed
3154
3145
  alias_method :quote_sharing_allowed?, :quote_sharing_allowed
3155
3146
 
3156
- # Whether text-to-speech is permitted for this volume. Values can be
3157
- # ALLOWED, ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.
3147
+ # Whether text-to-speech is permitted for this volume. Values can be ALLOWED,
3148
+ # ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.
3158
3149
  # Corresponds to the JSON property `textToSpeechPermission`
3159
3150
  # @return [String]
3160
3151
  attr_accessor :text_to_speech_permission
3161
3152
 
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.
3153
+ # For ordered but not yet processed orders, we give a URL that can be used to go
3154
+ # to the appropriate Google Wallet page.
3164
3155
  # Corresponds to the JSON property `viewOrderUrl`
3165
3156
  # @return [String]
3166
3157
  attr_accessor :view_order_url
3167
3158
 
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.
3159
+ # The read access of a volume. Possible values are PARTIAL, ALL_PAGES, NO_PAGES
3160
+ # or UNKNOWN. This value depends on the country listed above. A value of PARTIAL
3161
+ # means that the publisher has allowed some portion of the volume to be viewed
3162
+ # publicly, without purchase. This can apply to eBooks as well as non-eBooks.
3163
+ # Public domain books will always have a value of ALL_PAGES.
3174
3164
  # Corresponds to the JSON property `viewability`
3175
3165
  # @return [String]
3176
3166
  attr_accessor :viewability
3177
3167
 
3178
- # URL to read this volume on the Google Books site. Link will not allow
3179
- # users to read non-viewable volumes.
3168
+ # URL to read this volume on the Google Books site. Link will not allow users to
3169
+ # read non-viewable volumes.
3180
3170
  # Corresponds to the JSON property `webReaderLink`
3181
3171
  # @return [String]
3182
3172
  attr_accessor :web_reader_link
@@ -3217,8 +3207,8 @@ module Google
3217
3207
  # @return [String]
3218
3208
  attr_accessor :download_link
3219
3209
 
3220
- # Is a flowing text epub available either as public domain or for
3221
- # purchase. (In LITE projection.)
3210
+ # Is a flowing text epub available either as public domain or for purchase. (In
3211
+ # LITE projection.)
3222
3212
  # Corresponds to the JSON property `isAvailable`
3223
3213
  # @return [Boolean]
3224
3214
  attr_accessor :is_available
@@ -3250,8 +3240,8 @@ module Google
3250
3240
  # @return [String]
3251
3241
  attr_accessor :download_link
3252
3242
 
3253
- # Is a scanned image pdf available either as public domain or for
3254
- # purchase. (In LITE projection.)
3243
+ # Is a scanned image pdf available either as public domain or for purchase. (In
3244
+ # LITE projection.)
3255
3245
  # Corresponds to the JSON property `isAvailable`
3256
3246
  # @return [Boolean]
3257
3247
  attr_accessor :is_available
@@ -3297,10 +3287,9 @@ module Google
3297
3287
  # @return [String]
3298
3288
  attr_accessor :layer_id
3299
3289
 
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.
3290
+ # The current version of this layer's volume annotations. Note that this version
3291
+ # applies only to the data in the books.layers.volumeAnnotations.* responses.
3292
+ # The actual annotation data is versioned separately.
3304
3293
  # Corresponds to the JSON property `volumeAnnotationsVersion`
3305
3294
  # @return [String]
3306
3295
  attr_accessor :volume_annotations_version
@@ -3337,14 +3326,12 @@ module Google
3337
3326
  end
3338
3327
 
3339
3328
  # Any information about a volume related to the eBookstore and/or
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).
3329
+ # purchaseability. This information can depend on the country where the request
3330
+ # originates from (i.e. books may not be for sale in certain countries).
3343
3331
  class SaleInfo
3344
3332
  include Google::Apis::Core::Hashable
3345
3333
 
3346
- # URL to purchase this volume on the Google Books site. (In LITE
3347
- # projection)
3334
+ # URL to purchase this volume on the Google Books site. (In LITE projection)
3348
3335
  # Corresponds to the JSON property `buyLink`
3349
3336
  # @return [String]
3350
3337
  attr_accessor :buy_link
@@ -3355,8 +3342,7 @@ module Google
3355
3342
  # @return [String]
3356
3343
  attr_accessor :country
3357
3344
 
3358
- # Whether or not this volume is an eBook (can be added to the My eBooks
3359
- # shelf).
3345
+ # Whether or not this volume is an eBook (can be added to the My eBooks shelf).
3360
3346
  # Corresponds to the JSON property `isEbook`
3361
3347
  # @return [Boolean]
3362
3348
  attr_accessor :is_ebook
@@ -3377,17 +3363,16 @@ module Google
3377
3363
  # @return [String]
3378
3364
  attr_accessor :on_sale_date
3379
3365
 
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.)
3366
+ # The actual selling price of the book. This is the same as the suggested retail
3367
+ # or list price unless there are offers or discounts on this volume. (In LITE
3368
+ # projection.)
3383
3369
  # Corresponds to the JSON property `retailPrice`
3384
3370
  # @return [Google::Apis::BooksV1::Volume::SaleInfo::RetailPrice]
3385
3371
  attr_accessor :retail_price
3386
3372
 
3387
3373
  # Whether or not this book is available for sale or offered for free in the
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.
3374
+ # Google eBookstore for the country listed above. Possible values are FOR_SALE,
3375
+ # FOR_RENTAL_ONLY, FOR_SALE_AND_RENTAL, FREE, NOT_FOR_SALE, or FOR_PREORDER.
3391
3376
  # Corresponds to the JSON property `saleability`
3392
3377
  # @return [String]
3393
3378
  attr_accessor :saleability
@@ -3552,9 +3537,9 @@ module Google
3552
3537
  end
3553
3538
  end
3554
3539
 
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.)
3540
+ # The actual selling price of the book. This is the same as the suggested retail
3541
+ # or list price unless there are offers or discounts on this volume. (In LITE
3542
+ # projection.)
3558
3543
  class RetailPrice
3559
3544
  include Google::Apis::Core::Hashable
3560
3545
 
@@ -3604,9 +3589,9 @@ module Google
3604
3589
  class UserInfo
3605
3590
  include Google::Apis::Core::Hashable
3606
3591
 
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.
3592
+ # Timestamp when this volume was acquired by the user. (RFC 3339 UTC date-time
3593
+ # format) Acquiring includes purchase, user upload, receiving family sharing,
3594
+ # etc.
3610
3595
  # Corresponds to the JSON property `acquiredTime`
3611
3596
  # @return [String]
3612
3597
  attr_accessor :acquired_time
@@ -3661,15 +3646,15 @@ module Google
3661
3646
  attr_accessor :is_in_my_books
3662
3647
  alias_method :is_in_my_books?, :is_in_my_books
3663
3648
 
3664
- # Whether or not this volume was pre-ordered by the authenticated user
3665
- # making the request. (In LITE projection.)
3649
+ # Whether or not this volume was pre-ordered by the authenticated user making
3650
+ # the request. (In LITE projection.)
3666
3651
  # Corresponds to the JSON property `isPreordered`
3667
3652
  # @return [Boolean]
3668
3653
  attr_accessor :is_preordered
3669
3654
  alias_method :is_preordered?, :is_preordered
3670
3655
 
3671
- # Whether or not this volume was purchased by the authenticated user making
3672
- # the request. (In LITE projection.)
3656
+ # Whether or not this volume was purchased by the authenticated user making the
3657
+ # request. (In LITE projection.)
3673
3658
  # Corresponds to the JSON property `isPurchased`
3674
3659
  # @return [Boolean]
3675
3660
  attr_accessor :is_purchased
@@ -3681,8 +3666,8 @@ module Google
3681
3666
  attr_accessor :is_uploaded
3682
3667
  alias_method :is_uploaded?, :is_uploaded
3683
3668
 
3684
- # The user's current reading position in the volume, if one is available.
3685
- # (In LITE projection.)
3669
+ # The user's current reading position in the volume, if one is available. (In
3670
+ # LITE projection.)
3686
3671
  # Corresponds to the JSON property `readingPosition`
3687
3672
  # @return [Google::Apis::BooksV1::ReadingPosition]
3688
3673
  attr_accessor :reading_position
@@ -3703,8 +3688,8 @@ module Google
3703
3688
  attr_accessor :review
3704
3689
 
3705
3690
  # Timestamp when this volume was last modified by a user action, such as a
3706
- # reading position update, volume purchase or writing a review. (RFC 3339
3707
- # UTC date-time format).
3691
+ # reading position update, volume purchase or writing a review. (RFC 3339 UTC
3692
+ # date-time format).
3708
3693
  # Corresponds to the JSON property `updated`
3709
3694
  # @return [String]
3710
3695
  attr_accessor :updated
@@ -3787,16 +3772,16 @@ module Google
3787
3772
  # @return [String]
3788
3773
  attr_accessor :family_role
3789
3774
 
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.
3775
+ # Whether or not this volume can be shared with the family by the user. This
3776
+ # includes sharing eligibility of both the volume and the user. If the value is
3777
+ # true, the user can initiate a family sharing action.
3793
3778
  # Corresponds to the JSON property `isSharingAllowed`
3794
3779
  # @return [Boolean]
3795
3780
  attr_accessor :is_sharing_allowed
3796
3781
  alias_method :is_sharing_allowed?, :is_sharing_allowed
3797
3782
 
3798
- # Whether or not sharing this volume is temporarily disabled due to
3799
- # issues with the Family Wallet.
3783
+ # Whether or not sharing this volume is temporarily disabled due to issues with
3784
+ # the Family Wallet.
3800
3785
  # Corresponds to the JSON property `isSharingDisabledByFop`
3801
3786
  # @return [Boolean]
3802
3787
  attr_accessor :is_sharing_disabled_by_fop
@@ -3869,8 +3854,7 @@ module Google
3869
3854
  attr_accessor :allow_anon_logging
3870
3855
  alias_method :allow_anon_logging?, :allow_anon_logging
3871
3856
 
3872
- # The names of the authors and/or editors for this volume. (In LITE
3873
- # projection)
3857
+ # The names of the authors and/or editors for this volume. (In LITE projection)
3874
3858
  # Corresponds to the JSON property `authors`
3875
3859
  # @return [Array<String>]
3876
3860
  attr_accessor :authors
@@ -3896,15 +3880,15 @@ module Google
3896
3880
  attr_accessor :comics_content
3897
3881
  alias_method :comics_content?, :comics_content
3898
3882
 
3899
- # An identifier for the version of the volume content (text & images). (In
3900
- # LITE projection)
3883
+ # An identifier for the version of the volume content (text & images). (In LITE
3884
+ # projection)
3901
3885
  # Corresponds to the JSON property `contentVersion`
3902
3886
  # @return [String]
3903
3887
  attr_accessor :content_version
3904
3888
 
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.)
3889
+ # A synopsis of the volume. The text of the description is formatted in HTML and
3890
+ # includes simple formatting elements, such as b, i, and br tags. (In LITE
3891
+ # projection.)
3908
3892
  # Corresponds to the JSON property `description`
3909
3893
  # @return [String]
3910
3894
  attr_accessor :description
@@ -3925,20 +3909,20 @@ module Google
3925
3909
  # @return [Array<Google::Apis::BooksV1::Volume::VolumeInfo::IndustryIdentifier>]
3926
3910
  attr_accessor :industry_identifiers
3927
3911
 
3928
- # URL to view information about this volume on the Google Books site. (In
3929
- # LITE projection)
3912
+ # URL to view information about this volume on the Google Books site. (In LITE
3913
+ # projection)
3930
3914
  # Corresponds to the JSON property `infoLink`
3931
3915
  # @return [String]
3932
3916
  attr_accessor :info_link
3933
3917
 
3934
- # Best language for this volume (based on content). It is the two-letter
3935
- # ISO 639-1 code such as 'fr', 'en', etc.
3918
+ # Best language for this volume (based on content). It is the two-letter ISO 639-
3919
+ # 1 code such as 'fr', 'en', etc.
3936
3920
  # Corresponds to the JSON property `language`
3937
3921
  # @return [String]
3938
3922
  attr_accessor :language
3939
3923
 
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.
3924
+ # The main category to which this volume belongs. It will be the category from
3925
+ # the categories list returned below that has the highest weight.
3942
3926
  # Corresponds to the JSON property `mainCategory`
3943
3927
  # @return [String]
3944
3928
  attr_accessor :main_category
@@ -4085,8 +4069,7 @@ module Google
4085
4069
  class ImageLinks
4086
4070
  include Google::Apis::Core::Hashable
4087
4071
 
4088
- # Image link for extra large size (width of ~1280 pixels). (In LITE
4089
- # projection)
4072
+ # Image link for extra large size (width of ~1280 pixels). (In LITE projection)
4090
4073
  # Corresponds to the JSON property `extraLarge`
4091
4074
  # @return [String]
4092
4075
  attr_accessor :extra_large
@@ -4106,14 +4089,12 @@ module Google
4106
4089
  # @return [String]
4107
4090
  attr_accessor :small
4108
4091
 
4109
- # Image link for small thumbnail size (width of ~80 pixels). (In LITE
4110
- # projection)
4092
+ # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
4111
4093
  # Corresponds to the JSON property `smallThumbnail`
4112
4094
  # @return [String]
4113
4095
  attr_accessor :small_thumbnail
4114
4096
 
4115
- # Image link for thumbnail size (width of ~128 pixels). (In LITE
4116
- # projection)
4097
+ # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
4117
4098
  # Corresponds to the JSON property `thumbnail`
4118
4099
  # @return [String]
4119
4100
  attr_accessor :thumbnail
@@ -4322,8 +4303,8 @@ module Google
4322
4303
  # @return [String]
4323
4304
  attr_accessor :self_link
4324
4305
 
4325
- # Timestamp for the last time this anntoation was updated. (RFC 3339 UTC
4326
- # date-time format).
4306
+ # Timestamp for the last time this anntoation was updated. (RFC 3339 UTC date-
4307
+ # time format).
4327
4308
  # Corresponds to the JSON property `updated`
4328
4309
  # @return [String]
4329
4310
  attr_accessor :updated
@@ -4407,8 +4388,8 @@ module Google
4407
4388
  # @return [String]
4408
4389
  attr_accessor :kind
4409
4390
 
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.
4391
+ # Token to pass in for pagination for the next page. This will not be present if
4392
+ # this request does not have more results.
4412
4393
  # Corresponds to the JSON property `nextPageToken`
4413
4394
  # @return [String]
4414
4395
  attr_accessor :next_page_token
@@ -4418,10 +4399,10 @@ module Google
4418
4399
  # @return [Fixnum]
4419
4400
  attr_accessor :total_items
4420
4401
 
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).
4402
+ # The version string for all of the volume annotations in this layer (not just
4403
+ # the ones in this response). Note: the version string doesn't apply to the
4404
+ # annotation data, just the information in this response (e.g. the location of
4405
+ # annotations in the book).
4425
4406
  # Corresponds to the JSON property `version`
4426
4407
  # @return [String]
4427
4408
  attr_accessor :version
@@ -4476,8 +4457,8 @@ module Google
4476
4457
  class Volumeseriesinfo
4477
4458
  include Google::Apis::Core::Hashable
4478
4459
 
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.
4460
+ # The display number string. This should be used only for display purposes and
4461
+ # the actual sequence should be inferred from the below orderNumber.
4481
4462
  # Corresponds to the JSON property `bookDisplayNumber`
4482
4463
  # @return [String]
4483
4464
  attr_accessor :book_display_number
@@ -4523,8 +4504,8 @@ module Google
4523
4504
  # @return [Fixnum]
4524
4505
  attr_accessor :order_number
4525
4506
 
4526
- # The book type in the context of series. Examples - Single Issue,
4527
- # Collection Edition, etc.
4507
+ # The book type in the context of series. Examples - Single Issue, Collection
4508
+ # Edition, etc.
4528
4509
  # Corresponds to the JSON property `seriesBookType`
4529
4510
  # @return [String]
4530
4511
  attr_accessor :series_book_type