google-apis-area120tables_v1alpha1 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6954586a6fbc5ca0ee79652560b04c599ac61d2d39df8c4b5edd80e75f44cd76
4
- data.tar.gz: dacfa44ad4d271be82f398b038447780324c96f8d3d4c391bcec9f1c2a6dfd55
3
+ metadata.gz: eceed49a95e98675f3ef63016069a93d121243595c9c288d7fbf66ea9c27fae0
4
+ data.tar.gz: 404d6ce3c233b626538ef4cd4c93c5d54ef5ee24c748a9e648795b212324afb2
5
5
  SHA512:
6
- metadata.gz: beccc89a5c6d045f451b7d033e5359c0b68050dbfebeb959812e39e0ce2949e71b1891eba7a41dd2323b6adb8bf3e9bc7994d778808b1835469cd3710c92daa7
7
- data.tar.gz: 5d3f3004465b47000dd530dd12adcb0d39f1b3fed236be21ab7aaf7b140a96bd415c5fb55488a99434f07bd8d7a7f169589b9911d1db229dfa9dd18139406d6c
6
+ metadata.gz: 166b418115fd60d943a36a51422079d544bc3d9ce7bea6e064f7d45528bf0019c64fbda2f04dafb50e7c678b75935ce76cdc478c4da0d2b9804559082c040605
7
+ data.tar.gz: b8477b2c48af5c13ac53e9cd7f5263955d680c0ef8f0e23b27e5c6eca440f57d35bc3dcf286f6cc42286879aaed5196ee8efb316ca73115d9d727bdcd8b3379a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-area120tables_v1alpha1
2
2
 
3
+ ### v0.2.0 (2021-01-15)
4
+
5
+ * Regenerated from discovery document revision 20210113
6
+
3
7
  ### v0.1.0 (2021-01-07)
4
8
 
5
9
  * 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.
@@ -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
@@ -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.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.1.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201201"
25
+ REVISION = "20210113"
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
@@ -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/`
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.2.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-02-08 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.2.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.1.4
72
+ rubygems_version: 3.2.6
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Area120 Tables API V1alpha1