google-apis-area120tables_v1alpha1 0.3.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/area120tables_v1alpha1.rb +1 -1
- data/lib/google/apis/area120tables_v1alpha1/classes.rb +40 -1
- data/lib/google/apis/area120tables_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/area120tables_v1alpha1/representations.rb +17 -0
- data/lib/google/apis/area120tables_v1alpha1/service.rb +11 -5
- 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: 3229be570293c8d0d9c7778c6073be7009c51a7b185a5733e06ced54a966a02b
|
4
|
+
data.tar.gz: 0cf29318b1b000f601107b0266bf628c6f915efc651ba4c8d19d365694dca7a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5a4f1783f9ca0a679bd6eea017b663f893207b07a4e94fa82a2e04434f39d97a474a6b5624f8227cb424d0e04322ec1dba2b915bd366d52b49e06267959cc28
|
7
|
+
data.tar.gz: a0020b65b849ab1c9158a369cf592b7859c19e6523c689d6a9325fdd686cbcc6014a73a973f6e6e3a95776f78c13199c4e8fa8fbfa79b393aaacbb3f0a8970de
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-area120tables_v1alpha1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-05-19)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.7.0 (2021-04-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210414
|
10
|
+
|
11
|
+
### v0.6.0 (2021-03-23)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210319
|
14
|
+
|
15
|
+
### v0.5.0 (2021-03-12)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210310
|
18
|
+
* Regenerated using generator version 0.2.0
|
19
|
+
|
20
|
+
### v0.4.0 (2021-03-04)
|
21
|
+
|
22
|
+
* Unspecified changes
|
23
|
+
|
3
24
|
### v0.3.0 (2021-02-19)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210217
|
@@ -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
|
@@ -415,7 +423,32 @@ module Google
|
|
415
423
|
end
|
416
424
|
end
|
417
425
|
|
418
|
-
# 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
|
419
452
|
class Table
|
420
453
|
include Google::Apis::Core::Hashable
|
421
454
|
|
@@ -439,6 +472,11 @@ module Google
|
|
439
472
|
# @return [String]
|
440
473
|
attr_accessor :name
|
441
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
|
+
|
442
480
|
# Time when the table was last updated excluding updates to individual rows
|
443
481
|
# Corresponds to the JSON property `updateTime`
|
444
482
|
# @return [String]
|
@@ -454,6 +492,7 @@ module Google
|
|
454
492
|
@create_time = args[:create_time] if args.key?(:create_time)
|
455
493
|
@display_name = args[:display_name] if args.key?(:display_name)
|
456
494
|
@name = args[:name] if args.key?(:name)
|
495
|
+
@saved_views = args[:saved_views] if args.key?(:saved_views)
|
457
496
|
@update_time = args[:update_time] if args.key?(:update_time)
|
458
497
|
end
|
459
498
|
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.8.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
|
|
@@ -260,6 +267,14 @@ module Google
|
|
260
267
|
end
|
261
268
|
end
|
262
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
|
+
|
263
278
|
class Table
|
264
279
|
# @private
|
265
280
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -268,6 +283,8 @@ module Google
|
|
268
283
|
property :create_time, as: 'createTime'
|
269
284
|
property :display_name, as: 'displayName'
|
270
285
|
property :name, as: 'name'
|
286
|
+
collection :saved_views, as: 'savedViews', class: Google::Apis::Area120tablesV1alpha1::SavedView, decorator: Google::Apis::Area120tablesV1alpha1::SavedView::Representation
|
287
|
+
|
271
288
|
property :update_time, as: 'updateTime'
|
272
289
|
end
|
273
290
|
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?
|
@@ -324,9 +327,11 @@ module Google
|
|
324
327
|
# @param [String] parent
|
325
328
|
# Required. The parent table. Format: tables/`table`
|
326
329
|
# @param [String] filter
|
327
|
-
# Optional.
|
328
|
-
#
|
329
|
-
#
|
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.
|
330
335
|
# @param [Fixnum] page_size
|
331
336
|
# The maximum number of rows to return. The service may return fewer than this
|
332
337
|
# value. If unspecified, at most 50 rows are returned. The maximum value is 1,
|
@@ -355,12 +360,13 @@ module Google
|
|
355
360
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
356
361
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
357
362
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
358
|
-
def list_table_rows(parent, filter: nil, 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)
|
359
364
|
command = make_simple_command(:get, 'v1alpha1/{+parent}/rows', options)
|
360
365
|
command.response_representation = Google::Apis::Area120tablesV1alpha1::ListRowsResponse::Representation
|
361
366
|
command.response_class = Google::Apis::Area120tablesV1alpha1::ListRowsResponse
|
362
367
|
command.params['parent'] = parent unless parent.nil?
|
363
368
|
command.query['filter'] = filter unless filter.nil?
|
369
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
364
370
|
command.query['pageSize'] = page_size unless page_size.nil?
|
365
371
|
command.query['pageToken'] = page_token unless page_token.nil?
|
366
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.8.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-24 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.8.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
|