google-apis-area120tables_v1alpha1 0.2.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/area120tables_v1alpha1.rb +1 -1
- data/lib/google/apis/area120tables_v1alpha1/classes.rb +76 -1
- data/lib/google/apis/area120tables_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/area120tables_v1alpha1/representations.rb +23 -0
- data/lib/google/apis/area120tables_v1alpha1/service.rb +13 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65af3d86648fc28d7dd5345f8fb04dec3e38cf892406dcb488ef32e481a606a5
|
4
|
+
data.tar.gz: 4d50264d6f6db69aeca07bea0b9678b9a71709b90d042a793ec7bd3fcec8a7a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edb11d80c67da7468f97009271589d76a6045aef4a9e4d17e4032776ef8708afa44bb439cb51276bc4f08c125414104c15b66b04cb0b61ae87a211f22e68e7ca
|
7
|
+
data.tar.gz: 1d4bec61cce6d9f4a69fc109802c7bf359627b8a460f78d032dbbd545a82311940aaec71236325ccbb0763771541b82dbaab30adf5a67c79a860fa07014865aa
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-area120tables_v1alpha1
|
2
2
|
|
3
|
+
### v0.7.0 (2021-04-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210414
|
6
|
+
|
7
|
+
### v0.6.0 (2021-03-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210319
|
10
|
+
|
11
|
+
### v0.5.0 (2021-03-12)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210310
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.4.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.3.0 (2021-02-19)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210217
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.2.0 (2021-01-15)
|
4
26
|
|
5
27
|
* Regenerated from discovery document revision 20210113
|
@@ -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
|
-
#
|
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
|
@@ -152,6 +152,13 @@ module Google
|
|
152
152
|
# @return [Google::Apis::Area120tablesV1alpha1::LookupDetails]
|
153
153
|
attr_accessor :lookup_details
|
154
154
|
|
155
|
+
# Optional. Indicates whether or not multiple values are allowed for array types
|
156
|
+
# where such a restriction is possible.
|
157
|
+
# Corresponds to the JSON property `multipleValuesDisallowed`
|
158
|
+
# @return [Boolean]
|
159
|
+
attr_accessor :multiple_values_disallowed
|
160
|
+
alias_method :multiple_values_disallowed?, :multiple_values_disallowed
|
161
|
+
|
155
162
|
# column name
|
156
163
|
# Corresponds to the JSON property `name`
|
157
164
|
# @return [String]
|
@@ -172,6 +179,7 @@ module Google
|
|
172
179
|
@id = args[:id] if args.key?(:id)
|
173
180
|
@labels = args[:labels] if args.key?(:labels)
|
174
181
|
@lookup_details = args[:lookup_details] if args.key?(:lookup_details)
|
182
|
+
@multiple_values_disallowed = args[:multiple_values_disallowed] if args.key?(:multiple_values_disallowed)
|
175
183
|
@name = args[:name] if args.key?(:name)
|
176
184
|
@relationship_details = args[:relationship_details] if args.key?(:relationship_details)
|
177
185
|
end
|
@@ -379,12 +387,22 @@ module Google
|
|
379
387
|
class Row
|
380
388
|
include Google::Apis::Core::Hashable
|
381
389
|
|
390
|
+
# Time when the row was created.
|
391
|
+
# Corresponds to the JSON property `createTime`
|
392
|
+
# @return [String]
|
393
|
+
attr_accessor :create_time
|
394
|
+
|
382
395
|
# The resource name of the row. Row names have the form `tables/`table`/rows/`
|
383
396
|
# row``. The name is ignored when creating a row.
|
384
397
|
# Corresponds to the JSON property `name`
|
385
398
|
# @return [String]
|
386
399
|
attr_accessor :name
|
387
400
|
|
401
|
+
# Time when the row was last updated.
|
402
|
+
# Corresponds to the JSON property `updateTime`
|
403
|
+
# @return [String]
|
404
|
+
attr_accessor :update_time
|
405
|
+
|
388
406
|
# The values of the row. This is a map of column key to value. Key is user
|
389
407
|
# entered name(default) or the internal column id based on the view in the
|
390
408
|
# request.
|
@@ -398,12 +416,39 @@ module Google
|
|
398
416
|
|
399
417
|
# Update properties of this object
|
400
418
|
def update!(**args)
|
419
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
401
420
|
@name = args[:name] if args.key?(:name)
|
421
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
402
422
|
@values = args[:values] if args.key?(:values)
|
403
423
|
end
|
404
424
|
end
|
405
425
|
|
406
|
-
# A
|
426
|
+
# A saved view of a table. NextId: 3
|
427
|
+
class SavedView
|
428
|
+
include Google::Apis::Core::Hashable
|
429
|
+
|
430
|
+
# Internal id associated with the saved view.
|
431
|
+
# Corresponds to the JSON property `id`
|
432
|
+
# @return [String]
|
433
|
+
attr_accessor :id
|
434
|
+
|
435
|
+
# Display name of the saved view.
|
436
|
+
# Corresponds to the JSON property `name`
|
437
|
+
# @return [String]
|
438
|
+
attr_accessor :name
|
439
|
+
|
440
|
+
def initialize(**args)
|
441
|
+
update!(**args)
|
442
|
+
end
|
443
|
+
|
444
|
+
# Update properties of this object
|
445
|
+
def update!(**args)
|
446
|
+
@id = args[:id] if args.key?(:id)
|
447
|
+
@name = args[:name] if args.key?(:name)
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
451
|
+
# A single table. NextId: 7
|
407
452
|
class Table
|
408
453
|
include Google::Apis::Core::Hashable
|
409
454
|
|
@@ -412,6 +457,11 @@ module Google
|
|
412
457
|
# @return [Array<Google::Apis::Area120tablesV1alpha1::ColumnDescription>]
|
413
458
|
attr_accessor :columns
|
414
459
|
|
460
|
+
# Time when the table was created.
|
461
|
+
# Corresponds to the JSON property `createTime`
|
462
|
+
# @return [String]
|
463
|
+
attr_accessor :create_time
|
464
|
+
|
415
465
|
# The human readable title of the table.
|
416
466
|
# Corresponds to the JSON property `displayName`
|
417
467
|
# @return [String]
|
@@ -422,6 +472,16 @@ module Google
|
|
422
472
|
# @return [String]
|
423
473
|
attr_accessor :name
|
424
474
|
|
475
|
+
# Saved views for this table.
|
476
|
+
# Corresponds to the JSON property `savedViews`
|
477
|
+
# @return [Array<Google::Apis::Area120tablesV1alpha1::SavedView>]
|
478
|
+
attr_accessor :saved_views
|
479
|
+
|
480
|
+
# Time when the table was last updated excluding updates to individual rows
|
481
|
+
# Corresponds to the JSON property `updateTime`
|
482
|
+
# @return [String]
|
483
|
+
attr_accessor :update_time
|
484
|
+
|
425
485
|
def initialize(**args)
|
426
486
|
update!(**args)
|
427
487
|
end
|
@@ -429,8 +489,11 @@ module Google
|
|
429
489
|
# Update properties of this object
|
430
490
|
def update!(**args)
|
431
491
|
@columns = args[:columns] if args.key?(:columns)
|
492
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
432
493
|
@display_name = args[:display_name] if args.key?(:display_name)
|
433
494
|
@name = args[:name] if args.key?(:name)
|
495
|
+
@saved_views = args[:saved_views] if args.key?(:saved_views)
|
496
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
434
497
|
end
|
435
498
|
end
|
436
499
|
|
@@ -470,6 +533,11 @@ module Google
|
|
470
533
|
class Workspace
|
471
534
|
include Google::Apis::Core::Hashable
|
472
535
|
|
536
|
+
# Time when the workspace was created.
|
537
|
+
# Corresponds to the JSON property `createTime`
|
538
|
+
# @return [String]
|
539
|
+
attr_accessor :create_time
|
540
|
+
|
473
541
|
# The human readable title of the workspace.
|
474
542
|
# Corresponds to the JSON property `displayName`
|
475
543
|
# @return [String]
|
@@ -486,15 +554,22 @@ module Google
|
|
486
554
|
# @return [Array<Google::Apis::Area120tablesV1alpha1::Table>]
|
487
555
|
attr_accessor :tables
|
488
556
|
|
557
|
+
# Time when the workspace was last updated.
|
558
|
+
# Corresponds to the JSON property `updateTime`
|
559
|
+
# @return [String]
|
560
|
+
attr_accessor :update_time
|
561
|
+
|
489
562
|
def initialize(**args)
|
490
563
|
update!(**args)
|
491
564
|
end
|
492
565
|
|
493
566
|
# Update properties of this object
|
494
567
|
def update!(**args)
|
568
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
495
569
|
@display_name = args[:display_name] if args.key?(:display_name)
|
496
570
|
@name = args[:name] if args.key?(:name)
|
497
571
|
@tables = args[:tables] if args.key?(:tables)
|
572
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
498
573
|
end
|
499
574
|
end
|
500
575
|
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.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210414"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -112,6 +112,12 @@ module Google
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
+
class SavedView
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
115
121
|
class Table
|
116
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
123
|
|
@@ -178,6 +184,7 @@ module Google
|
|
178
184
|
|
179
185
|
property :lookup_details, as: 'lookupDetails', class: Google::Apis::Area120tablesV1alpha1::LookupDetails, decorator: Google::Apis::Area120tablesV1alpha1::LookupDetails::Representation
|
180
186
|
|
187
|
+
property :multiple_values_disallowed, as: 'multipleValuesDisallowed'
|
181
188
|
property :name, as: 'name'
|
182
189
|
property :relationship_details, as: 'relationshipDetails', class: Google::Apis::Area120tablesV1alpha1::RelationshipDetails, decorator: Google::Apis::Area120tablesV1alpha1::RelationshipDetails::Representation
|
183
190
|
|
@@ -253,18 +260,32 @@ module Google
|
|
253
260
|
class Row
|
254
261
|
# @private
|
255
262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
263
|
+
property :create_time, as: 'createTime'
|
256
264
|
property :name, as: 'name'
|
265
|
+
property :update_time, as: 'updateTime'
|
257
266
|
hash :values, as: 'values'
|
258
267
|
end
|
259
268
|
end
|
260
269
|
|
270
|
+
class SavedView
|
271
|
+
# @private
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
273
|
+
property :id, as: 'id'
|
274
|
+
property :name, as: 'name'
|
275
|
+
end
|
276
|
+
end
|
277
|
+
|
261
278
|
class Table
|
262
279
|
# @private
|
263
280
|
class Representation < Google::Apis::Core::JsonRepresentation
|
264
281
|
collection :columns, as: 'columns', class: Google::Apis::Area120tablesV1alpha1::ColumnDescription, decorator: Google::Apis::Area120tablesV1alpha1::ColumnDescription::Representation
|
265
282
|
|
283
|
+
property :create_time, as: 'createTime'
|
266
284
|
property :display_name, as: 'displayName'
|
267
285
|
property :name, as: 'name'
|
286
|
+
collection :saved_views, as: 'savedViews', class: Google::Apis::Area120tablesV1alpha1::SavedView, decorator: Google::Apis::Area120tablesV1alpha1::SavedView::Representation
|
287
|
+
|
288
|
+
property :update_time, as: 'updateTime'
|
268
289
|
end
|
269
290
|
end
|
270
291
|
|
@@ -281,10 +302,12 @@ module Google
|
|
281
302
|
class Workspace
|
282
303
|
# @private
|
283
304
|
class Representation < Google::Apis::Core::JsonRepresentation
|
305
|
+
property :create_time, as: 'createTime'
|
284
306
|
property :display_name, as: 'displayName'
|
285
307
|
property :name, as: 'name'
|
286
308
|
collection :tables, as: 'tables', class: Google::Apis::Area120tablesV1alpha1::Table, decorator: Google::Apis::Area120tablesV1alpha1::Table::Representation
|
287
309
|
|
310
|
+
property :update_time, as: 'updateTime'
|
288
311
|
end
|
289
312
|
end
|
290
313
|
end
|
@@ -80,6 +80,8 @@ module Google
|
|
80
80
|
end
|
81
81
|
|
82
82
|
# Lists tables for the user.
|
83
|
+
# @param [String] order_by
|
84
|
+
# Optional. Sorting order for the list of tables on createTime/updateTime.
|
83
85
|
# @param [Fixnum] page_size
|
84
86
|
# The maximum number of tables to return. The service may return fewer than this
|
85
87
|
# value. If unspecified, at most 20 tables are returned. The maximum value is
|
@@ -105,10 +107,11 @@ module Google
|
|
105
107
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
106
108
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
107
109
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
108
|
-
def list_tables(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
110
|
+
def list_tables(order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
109
111
|
command = make_simple_command(:get, 'v1alpha1/tables', options)
|
110
112
|
command.response_representation = Google::Apis::Area120tablesV1alpha1::ListTablesResponse::Representation
|
111
113
|
command.response_class = Google::Apis::Area120tablesV1alpha1::ListTablesResponse
|
114
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
112
115
|
command.query['pageSize'] = page_size unless page_size.nil?
|
113
116
|
command.query['pageToken'] = page_token unless page_token.nil?
|
114
117
|
command.query['fields'] = fields unless fields.nil?
|
@@ -323,6 +326,12 @@ module Google
|
|
323
326
|
# Lists rows in a table. Returns NOT_FOUND if the table does not exist.
|
324
327
|
# @param [String] parent
|
325
328
|
# Required. The parent table. Format: tables/`table`
|
329
|
+
# @param [String] filter
|
330
|
+
# Optional. Filter to only include resources matching the requirements. For more
|
331
|
+
# information, see [Filtering list results](https://support.google.com/area120-
|
332
|
+
# tables/answer/10503371).
|
333
|
+
# @param [String] order_by
|
334
|
+
# Optional. Sorting order for the list of rows on createTime/updateTime.
|
326
335
|
# @param [Fixnum] page_size
|
327
336
|
# The maximum number of rows to return. The service may return fewer than this
|
328
337
|
# value. If unspecified, at most 50 rows are returned. The maximum value is 1,
|
@@ -351,11 +360,13 @@ module Google
|
|
351
360
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
352
361
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
353
362
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
354
|
-
def list_table_rows(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
363
|
+
def list_table_rows(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
355
364
|
command = make_simple_command(:get, 'v1alpha1/{+parent}/rows', options)
|
356
365
|
command.response_representation = Google::Apis::Area120tablesV1alpha1::ListRowsResponse::Representation
|
357
366
|
command.response_class = Google::Apis::Area120tablesV1alpha1::ListRowsResponse
|
358
367
|
command.params['parent'] = parent unless parent.nil?
|
368
|
+
command.query['filter'] = filter unless filter.nil?
|
369
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
359
370
|
command.query['pageSize'] = page_size unless page_size.nil?
|
360
371
|
command.query['pageToken'] = page_token unless page_token.nil?
|
361
372
|
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.
|
4
|
+
version: 0.7.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-
|
11
|
+
date: 2021-05-18 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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-area120tables_v1alpha1/v0.7.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.
|
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.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Area120 Tables API V1alpha1
|