google-apis-area120tables_v1alpha1 0.1.0 → 0.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6954586a6fbc5ca0ee79652560b04c599ac61d2d39df8c4b5edd80e75f44cd76
4
- data.tar.gz: dacfa44ad4d271be82f398b038447780324c96f8d3d4c391bcec9f1c2a6dfd55
3
+ metadata.gz: efc4948217135ef41600a8a467cf1fd3dd0182304940a602b65ce50edbdc2ec1
4
+ data.tar.gz: 0d0ab20ccccad16f69f4c840c855012a8f3653e6599676e38b238daeff505086
5
5
  SHA512:
6
- metadata.gz: beccc89a5c6d045f451b7d033e5359c0b68050dbfebeb959812e39e0ce2949e71b1891eba7a41dd2323b6adb8bf3e9bc7994d778808b1835469cd3710c92daa7
7
- data.tar.gz: 5d3f3004465b47000dd530dd12adcb0d39f1b3fed236be21ab7aaf7b140a96bd415c5fb55488a99434f07bd8d7a7f169589b9911d1db229dfa9dd18139406d6c
6
+ metadata.gz: ef3752656d12eef206b3860aaee01b0d0a232e94a9254d5ff8cd1c39964cc47619ebb656d74c6628bf2e62fe6788266999687a2298db273339a99b06320487fb
7
+ data.tar.gz: 0c160c2d23e9d0e991d8d34edeee0268b82c458fd914828a713d5694027c21ba8b9a7aae79b5857e5058203499821cccf04c79fb6db231ae906e2c057c9c155a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-area120tables_v1alpha1
2
2
 
3
+ ### v0.6.0 (2021-03-23)
4
+
5
+ * Regenerated from discovery document revision 20210319
6
+
7
+ ### v0.5.0 (2021-03-12)
8
+
9
+ * Regenerated from discovery document revision 20210310
10
+ * Regenerated using generator version 0.2.0
11
+
12
+ ### v0.4.0 (2021-03-04)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.3.0 (2021-02-19)
17
+
18
+ * Regenerated from discovery document revision 20210217
19
+ * Regenerated using generator version 0.1.2
20
+
21
+ ### v0.2.0 (2021-01-15)
22
+
23
+ * Regenerated from discovery document revision 20210113
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated using generator version 0.1.1
data/OVERVIEW.md CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
79
79
 
80
80
  **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
81
81
 
82
- The [product documentation](https://tables.area120.google.com) may provide guidance regarding the preferred client library to use.
82
+ The [product documentation](https://support.google.com/area120-tables/answer/10011390) may provide guidance regarding the preferred client library to use.
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
@@ -23,7 +23,7 @@ module Google
23
23
  #
24
24
  #
25
25
  #
26
- # @see https://tables.area120.google.com
26
+ # @see https://support.google.com/area120-tables/answer/10011390
27
27
  module Area120tablesV1alpha1
28
28
  # Version of the Area120 Tables API this client connects to.
29
29
  # This is NOT the gem version.
@@ -32,7 +32,7 @@ module Google
32
32
  # See, edit, create, and delete all of your Google Drive files
33
33
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
34
34
 
35
- # View and manage Google Drive files and folders that you have opened or created with this app
35
+ # See, edit, create, and delete only the specific Google Drive files you use with this app
36
36
  AUTH_DRIVE_FILE = 'https://www.googleapis.com/auth/drive.file'
37
37
 
38
38
  # See and download all your Google Drive files
@@ -61,6 +61,27 @@ module Google
61
61
  end
62
62
  end
63
63
 
64
+ # Request message for TablesService.BatchDeleteRows
65
+ class BatchDeleteRowsRequest
66
+ include Google::Apis::Core::Hashable
67
+
68
+ # Required. The names of the rows to delete. All rows must belong to the parent
69
+ # table or else the entire batch will fail. A maximum of 500 rows can be deleted
70
+ # in a batch. Format: tables/`table`/rows/`row`
71
+ # Corresponds to the JSON property `names`
72
+ # @return [Array<String>]
73
+ attr_accessor :names
74
+
75
+ def initialize(**args)
76
+ update!(**args)
77
+ end
78
+
79
+ # Update properties of this object
80
+ def update!(**args)
81
+ @names = args[:names] if args.key?(:names)
82
+ end
83
+ end
84
+
64
85
  # Request message for TablesService.BatchUpdateRows.
65
86
  class BatchUpdateRowsRequest
66
87
  include Google::Apis::Core::Hashable
@@ -358,12 +379,22 @@ module Google
358
379
  class Row
359
380
  include Google::Apis::Core::Hashable
360
381
 
382
+ # Time when the row was created.
383
+ # Corresponds to the JSON property `createTime`
384
+ # @return [String]
385
+ attr_accessor :create_time
386
+
361
387
  # The resource name of the row. Row names have the form `tables/`table`/rows/`
362
388
  # row``. The name is ignored when creating a row.
363
389
  # Corresponds to the JSON property `name`
364
390
  # @return [String]
365
391
  attr_accessor :name
366
392
 
393
+ # Time when the row was last updated.
394
+ # Corresponds to the JSON property `updateTime`
395
+ # @return [String]
396
+ attr_accessor :update_time
397
+
367
398
  # The values of the row. This is a map of column key to value. Key is user
368
399
  # entered name(default) or the internal column id based on the view in the
369
400
  # request.
@@ -377,7 +408,9 @@ module Google
377
408
 
378
409
  # Update properties of this object
379
410
  def update!(**args)
411
+ @create_time = args[:create_time] if args.key?(:create_time)
380
412
  @name = args[:name] if args.key?(:name)
413
+ @update_time = args[:update_time] if args.key?(:update_time)
381
414
  @values = args[:values] if args.key?(:values)
382
415
  end
383
416
  end
@@ -391,6 +424,11 @@ module Google
391
424
  # @return [Array<Google::Apis::Area120tablesV1alpha1::ColumnDescription>]
392
425
  attr_accessor :columns
393
426
 
427
+ # Time when the table was created.
428
+ # Corresponds to the JSON property `createTime`
429
+ # @return [String]
430
+ attr_accessor :create_time
431
+
394
432
  # The human readable title of the table.
395
433
  # Corresponds to the JSON property `displayName`
396
434
  # @return [String]
@@ -401,6 +439,11 @@ module Google
401
439
  # @return [String]
402
440
  attr_accessor :name
403
441
 
442
+ # Time when the table was last updated excluding updates to individual rows
443
+ # Corresponds to the JSON property `updateTime`
444
+ # @return [String]
445
+ attr_accessor :update_time
446
+
404
447
  def initialize(**args)
405
448
  update!(**args)
406
449
  end
@@ -408,8 +451,10 @@ module Google
408
451
  # Update properties of this object
409
452
  def update!(**args)
410
453
  @columns = args[:columns] if args.key?(:columns)
454
+ @create_time = args[:create_time] if args.key?(:create_time)
411
455
  @display_name = args[:display_name] if args.key?(:display_name)
412
456
  @name = args[:name] if args.key?(:name)
457
+ @update_time = args[:update_time] if args.key?(:update_time)
413
458
  end
414
459
  end
415
460
 
@@ -449,6 +494,11 @@ module Google
449
494
  class Workspace
450
495
  include Google::Apis::Core::Hashable
451
496
 
497
+ # Time when the workspace was created.
498
+ # Corresponds to the JSON property `createTime`
499
+ # @return [String]
500
+ attr_accessor :create_time
501
+
452
502
  # The human readable title of the workspace.
453
503
  # Corresponds to the JSON property `displayName`
454
504
  # @return [String]
@@ -465,15 +515,22 @@ module Google
465
515
  # @return [Array<Google::Apis::Area120tablesV1alpha1::Table>]
466
516
  attr_accessor :tables
467
517
 
518
+ # Time when the workspace was last updated.
519
+ # Corresponds to the JSON property `updateTime`
520
+ # @return [String]
521
+ attr_accessor :update_time
522
+
468
523
  def initialize(**args)
469
524
  update!(**args)
470
525
  end
471
526
 
472
527
  # Update properties of this object
473
528
  def update!(**args)
529
+ @create_time = args[:create_time] if args.key?(:create_time)
474
530
  @display_name = args[:display_name] if args.key?(:display_name)
475
531
  @name = args[:name] if args.key?(:name)
476
532
  @tables = args[:tables] if args.key?(:tables)
533
+ @update_time = args[:update_time] if args.key?(:update_time)
477
534
  end
478
535
  end
479
536
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module Area120tablesV1alpha1
18
18
  # Version of the google-apis-area120tables_v1alpha1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201201"
25
+ REVISION = "20210319"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class BatchDeleteRowsRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class BatchUpdateRowsRequest
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -140,6 +146,13 @@ module Google
140
146
  end
141
147
  end
142
148
 
149
+ class BatchDeleteRowsRequest
150
+ # @private
151
+ class Representation < Google::Apis::Core::JsonRepresentation
152
+ collection :names, as: 'names'
153
+ end
154
+ end
155
+
143
156
  class BatchUpdateRowsRequest
144
157
  # @private
145
158
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -240,7 +253,9 @@ module Google
240
253
  class Row
241
254
  # @private
242
255
  class Representation < Google::Apis::Core::JsonRepresentation
256
+ property :create_time, as: 'createTime'
243
257
  property :name, as: 'name'
258
+ property :update_time, as: 'updateTime'
244
259
  hash :values, as: 'values'
245
260
  end
246
261
  end
@@ -250,8 +265,10 @@ module Google
250
265
  class Representation < Google::Apis::Core::JsonRepresentation
251
266
  collection :columns, as: 'columns', class: Google::Apis::Area120tablesV1alpha1::ColumnDescription, decorator: Google::Apis::Area120tablesV1alpha1::ColumnDescription::Representation
252
267
 
268
+ property :create_time, as: 'createTime'
253
269
  property :display_name, as: 'displayName'
254
270
  property :name, as: 'name'
271
+ property :update_time, as: 'updateTime'
255
272
  end
256
273
  end
257
274
 
@@ -268,10 +285,12 @@ module Google
268
285
  class Workspace
269
286
  # @private
270
287
  class Representation < Google::Apis::Core::JsonRepresentation
288
+ property :create_time, as: 'createTime'
271
289
  property :display_name, as: 'displayName'
272
290
  property :name, as: 'name'
273
291
  collection :tables, as: 'tables', class: Google::Apis::Area120tablesV1alpha1::Table, decorator: Google::Apis::Area120tablesV1alpha1::Table::Representation
274
292
 
293
+ property :update_time, as: 'updateTime'
275
294
  end
276
295
  end
277
296
  end
@@ -30,7 +30,7 @@ module Google
30
30
  # Area120tables = Google::Apis::Area120tablesV1alpha1 # Alias the module
31
31
  # service = Area120tables::Area120TablesService.new
32
32
  #
33
- # @see https://tables.area120.google.com
33
+ # @see https://support.google.com/area120-tables/answer/10011390
34
34
  class Area120TablesService < Google::Apis::Core::BaseService
35
35
  # @return [String]
36
36
  # API key. Your API key identifies your project and provides you with API access,
@@ -150,6 +150,40 @@ module Google
150
150
  execute_or_queue_command(command, &block)
151
151
  end
152
152
 
153
+ # Deletes multiple rows.
154
+ # @param [String] parent
155
+ # Required. The parent table shared by all rows being deleted. Format: tables/`
156
+ # table`
157
+ # @param [Google::Apis::Area120tablesV1alpha1::BatchDeleteRowsRequest] batch_delete_rows_request_object
158
+ # @param [String] fields
159
+ # Selector specifying which fields to include in a partial response.
160
+ # @param [String] quota_user
161
+ # Available to use for quota purposes for server-side applications. Can be any
162
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
163
+ # @param [Google::Apis::RequestOptions] options
164
+ # Request-specific options
165
+ #
166
+ # @yield [result, err] Result & error if block supplied
167
+ # @yieldparam result [Google::Apis::Area120tablesV1alpha1::Empty] parsed result object
168
+ # @yieldparam err [StandardError] error object if request failed
169
+ #
170
+ # @return [Google::Apis::Area120tablesV1alpha1::Empty]
171
+ #
172
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
173
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
174
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
175
+ def batch_delete_rows(parent, batch_delete_rows_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
176
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/rows:batchDelete', options)
177
+ command.request_representation = Google::Apis::Area120tablesV1alpha1::BatchDeleteRowsRequest::Representation
178
+ command.request_object = batch_delete_rows_request_object
179
+ command.response_representation = Google::Apis::Area120tablesV1alpha1::Empty::Representation
180
+ command.response_class = Google::Apis::Area120tablesV1alpha1::Empty
181
+ command.params['parent'] = parent unless parent.nil?
182
+ command.query['fields'] = fields unless fields.nil?
183
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
184
+ execute_or_queue_command(command, &block)
185
+ end
186
+
153
187
  # Updates multiple rows.
154
188
  # @param [String] parent
155
189
  # Required. The parent table shared by all rows being updated. Format: tables/`
@@ -289,6 +323,10 @@ module Google
289
323
  # Lists rows in a table. Returns NOT_FOUND if the table does not exist.
290
324
  # @param [String] parent
291
325
  # Required. The parent table. Format: tables/`table`
326
+ # @param [String] filter
327
+ # Optional. Filter to only include resources matching the requirements. For more
328
+ # information, see [Filtering list results](https://support.google.com/area120-
329
+ # tables/answer/10503371).
292
330
  # @param [Fixnum] page_size
293
331
  # The maximum number of rows to return. The service may return fewer than this
294
332
  # value. If unspecified, at most 50 rows are returned. The maximum value is 1,
@@ -317,11 +355,12 @@ module Google
317
355
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
318
356
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
319
357
  # @raise [Google::Apis::AuthorizationError] Authorization is required
320
- def list_table_rows(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
358
+ def list_table_rows(parent, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
321
359
  command = make_simple_command(:get, 'v1alpha1/{+parent}/rows', options)
322
360
  command.response_representation = Google::Apis::Area120tablesV1alpha1::ListRowsResponse::Representation
323
361
  command.response_class = Google::Apis::Area120tablesV1alpha1::ListRowsResponse
324
362
  command.params['parent'] = parent unless parent.nil?
363
+ command.query['filter'] = filter unless filter.nil?
325
364
  command.query['pageSize'] = page_size unless page_size.nil?
326
365
  command.query['pageToken'] = page_token unless page_token.nil?
327
366
  command.query['view'] = view unless view.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-area120tables_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-area120tables_v1alpha1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-area120tables_v1alpha1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-area120tables_v1alpha1/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-area120tables_v1alpha1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.13
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Area120 Tables API V1alpha1