google-apis-area120tables_v1alpha1 0.6.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 +4 -0
- data/lib/google/apis/area120tables_v1alpha1/classes.rb +40 -1
- data/lib/google/apis/area120tables_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/area120tables_v1alpha1/representations.rb +17 -0
- data/lib/google/apis/area120tables_v1alpha1/service.rb +8 -2
- metadata +4 -4
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
@@ -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.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
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?
|
@@ -327,6 +330,8 @@ module Google
|
|
327
330
|
# Optional. Filter to only include resources matching the requirements. For more
|
328
331
|
# information, see [Filtering list results](https://support.google.com/area120-
|
329
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.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: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
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
|