google-cloud-bigquery-data_exchange-v1beta1 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +3 -3
- data/lib/google/cloud/bigquery/data_exchange/v1beta1/analytics_hub_service/client.rb +76 -67
- data/lib/google/cloud/bigquery/data_exchange/v1beta1/analytics_hub_service.rb +7 -6
- data/lib/google/cloud/bigquery/data_exchange/v1beta1/version.rb +1 -1
- data/lib/google/cloud/bigquery/data_exchange/v1beta1.rb +2 -2
- data/lib/google/cloud/bigquery/dataexchange/v1beta1/dataexchange_pb.rb +27 -118
- data/lib/google/cloud/bigquery/dataexchange/v1beta1/dataexchange_services_pb.rb +25 -24
- data/proto_docs/google/api/client.rb +381 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/bigquery/dataexchange/v1beta1/dataexchange.rb +116 -78
- data/proto_docs/google/iam/v1/policy.rb +8 -4
- data/proto_docs/google/protobuf/any.rb +144 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +0 -2
- metadata +32 -10
- data/lib/google/cloud/bigquery/dataexchange/common/common_pb.rb +0 -43
- data/proto_docs/google/cloud/bigquery/dataexchange/common/common.rb +0 -71
@@ -0,0 +1,71 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Api
|
22
|
+
# The launch stage as defined by [Google Cloud Platform
|
23
|
+
# Launch Stages](https://cloud.google.com/terms/launch-stages).
|
24
|
+
module LaunchStage
|
25
|
+
# Do not use this default value.
|
26
|
+
LAUNCH_STAGE_UNSPECIFIED = 0
|
27
|
+
|
28
|
+
# The feature is not yet implemented. Users can not use it.
|
29
|
+
UNIMPLEMENTED = 6
|
30
|
+
|
31
|
+
# Prelaunch features are hidden from users and are only visible internally.
|
32
|
+
PRELAUNCH = 7
|
33
|
+
|
34
|
+
# Early Access features are limited to a closed group of testers. To use
|
35
|
+
# these features, you must sign up in advance and sign a Trusted Tester
|
36
|
+
# agreement (which includes confidentiality provisions). These features may
|
37
|
+
# be unstable, changed in backward-incompatible ways, and are not
|
38
|
+
# guaranteed to be released.
|
39
|
+
EARLY_ACCESS = 1
|
40
|
+
|
41
|
+
# Alpha is a limited availability test for releases before they are cleared
|
42
|
+
# for widespread use. By Alpha, all significant design issues are resolved
|
43
|
+
# and we are in the process of verifying functionality. Alpha customers
|
44
|
+
# need to apply for access, agree to applicable terms, and have their
|
45
|
+
# projects allowlisted. Alpha releases don't have to be feature complete,
|
46
|
+
# no SLAs are provided, and there are no technical support obligations, but
|
47
|
+
# they will be far enough along that customers can actually use them in
|
48
|
+
# test environments or for limited-use tests -- just like they would in
|
49
|
+
# normal production cases.
|
50
|
+
ALPHA = 2
|
51
|
+
|
52
|
+
# Beta is the point at which we are ready to open a release for any
|
53
|
+
# customer to use. There are no SLA or technical support obligations in a
|
54
|
+
# Beta release. Products will be complete from a feature perspective, but
|
55
|
+
# may have some open outstanding issues. Beta releases are suitable for
|
56
|
+
# limited production use cases.
|
57
|
+
BETA = 3
|
58
|
+
|
59
|
+
# GA features are open to all developers and are considered stable and
|
60
|
+
# fully qualified for production use.
|
61
|
+
GA = 4
|
62
|
+
|
63
|
+
# Deprecated features are scheduled to be shut down and removed. For more
|
64
|
+
# information, see the "Deprecation Policy" section of our [Terms of
|
65
|
+
# Service](https://cloud.google.com/terms/)
|
66
|
+
# and the [Google Cloud Platform Subject to the Deprecation
|
67
|
+
# Policy](https://cloud.google.com/terms/deprecation) documentation.
|
68
|
+
DEPRECATED = 5
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -22,9 +22,9 @@ module Google
|
|
22
22
|
module Bigquery
|
23
23
|
module DataExchange
|
24
24
|
module V1beta1
|
25
|
-
# A data exchange is a container that
|
26
|
-
#
|
27
|
-
#
|
25
|
+
# A data exchange is a container that lets you share data. Along with the
|
26
|
+
# descriptive information about the data exchange, it contains listings that
|
27
|
+
# reference shared datasets.
|
28
28
|
# @!attribute [r] name
|
29
29
|
# @return [::String]
|
30
30
|
# Output only. The resource name of the data exchange.
|
@@ -33,21 +33,19 @@ module Google
|
|
33
33
|
# @return [::String]
|
34
34
|
# Required. Human-readable display name of the data exchange. The display name must
|
35
35
|
# contain only Unicode letters, numbers (0-9), underscores (_), dashes (-),
|
36
|
-
# spaces ( ), and
|
36
|
+
# spaces ( ), ampersands (&) and must not start or end with spaces.
|
37
37
|
# Default value is an empty string.
|
38
38
|
# Max length: 63 bytes.
|
39
39
|
# @!attribute [rw] description
|
40
40
|
# @return [::String]
|
41
|
-
# Optional.
|
42
|
-
#
|
43
|
-
#
|
44
|
-
# returns (CR), and page breaks (FF).
|
41
|
+
# Optional. Description of the data exchange. The description must not contain Unicode
|
42
|
+
# non-characters as well as C0 and C1 control codes except tabs (HT),
|
43
|
+
# new lines (LF), carriage returns (CR), and page breaks (FF).
|
45
44
|
# Default value is an empty string.
|
46
45
|
# Max length: 2000 bytes.
|
47
46
|
# @!attribute [rw] primary_contact
|
48
47
|
# @return [::String]
|
49
|
-
# Optional. Email
|
50
|
-
# exchange
|
48
|
+
# Optional. Email or URL of the primary point of contact of the data exchange.
|
51
49
|
# Max Length: 1000 bytes.
|
52
50
|
# @!attribute [rw] documentation
|
53
51
|
# @return [::String]
|
@@ -60,40 +58,40 @@ module Google
|
|
60
58
|
# Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB
|
61
59
|
# Expected image dimensions are 512x512 pixels, however the API only
|
62
60
|
# performs validation on size of the encoded data.
|
63
|
-
# Note: For byte fields, the
|
61
|
+
# Note: For byte fields, the content of the fields are base64-encoded (which
|
64
62
|
# increases the size of the data by 33-36%) when using JSON on the wire.
|
65
63
|
class DataExchange
|
66
64
|
include ::Google::Protobuf::MessageExts
|
67
65
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
68
66
|
end
|
69
67
|
|
70
|
-
# Contains details of the
|
68
|
+
# Contains details of the data provider.
|
71
69
|
# @!attribute [rw] name
|
72
70
|
# @return [::String]
|
73
|
-
# Optional. Name of the
|
71
|
+
# Optional. Name of the data provider.
|
74
72
|
# @!attribute [rw] primary_contact
|
75
73
|
# @return [::String]
|
76
|
-
# Optional. Email or URL of the
|
74
|
+
# Optional. Email or URL of the data provider.
|
77
75
|
# Max Length: 1000 bytes.
|
78
76
|
class DataProvider
|
79
77
|
include ::Google::Protobuf::MessageExts
|
80
78
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
81
79
|
end
|
82
80
|
|
83
|
-
# Contains details of the
|
81
|
+
# Contains details of the listing publisher.
|
84
82
|
# @!attribute [rw] name
|
85
83
|
# @return [::String]
|
86
|
-
# Optional. Name of the listing
|
84
|
+
# Optional. Name of the listing publisher.
|
87
85
|
# @!attribute [rw] primary_contact
|
88
86
|
# @return [::String]
|
89
|
-
# Optional. Email or URL of the listing
|
87
|
+
# Optional. Email or URL of the listing publisher.
|
90
88
|
# Max Length: 1000 bytes.
|
91
89
|
class Publisher
|
92
90
|
include ::Google::Protobuf::MessageExts
|
93
91
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
94
92
|
end
|
95
93
|
|
96
|
-
#
|
94
|
+
# Contains the reference that identifies a destination bigquery dataset.
|
97
95
|
# @!attribute [rw] dataset_id
|
98
96
|
# @return [::String]
|
99
97
|
# Required. A unique ID for this dataset, without the project name. The ID
|
@@ -107,7 +105,7 @@ module Google
|
|
107
105
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
108
106
|
end
|
109
107
|
|
110
|
-
# Defines the
|
108
|
+
# Defines the destination bigquery dataset.
|
111
109
|
# @!attribute [rw] dataset_reference
|
112
110
|
# @return [::Google::Cloud::Bigquery::DataExchange::V1beta1::DestinationDatasetReference]
|
113
111
|
# Required. A reference that identifies the destination dataset.
|
@@ -147,6 +145,9 @@ module Google
|
|
147
145
|
# subscribe to. It contains a reference to the data source along with
|
148
146
|
# descriptive information that will help subscribers find and subscribe the
|
149
147
|
# data.
|
148
|
+
# @!attribute [rw] bigquery_dataset
|
149
|
+
# @return [::Google::Cloud::Bigquery::DataExchange::V1beta1::Listing::BigQueryDatasetSource]
|
150
|
+
# Required. Shared dataset i.e. BigQuery dataset source.
|
150
151
|
# @!attribute [r] name
|
151
152
|
# @return [::String]
|
152
153
|
# Output only. The resource name of the listing.
|
@@ -155,15 +156,14 @@ module Google
|
|
155
156
|
# @return [::String]
|
156
157
|
# Required. Human-readable display name of the listing. The display name must contain
|
157
158
|
# only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces
|
158
|
-
# ( ), and can't start or end with spaces.
|
159
|
+
# ( ), ampersands (&) and can't start or end with spaces.
|
159
160
|
# Default value is an empty string.
|
160
161
|
# Max length: 63 bytes.
|
161
162
|
# @!attribute [rw] description
|
162
163
|
# @return [::String]
|
163
|
-
# Optional. Short description of the listing
|
164
|
-
#
|
165
|
-
#
|
166
|
-
# returns (CR), and page breaks (FF).
|
164
|
+
# Optional. Short description of the listing. The description must not contain
|
165
|
+
# Unicode non-characters and C0 and C1 control codes except tabs (HT),
|
166
|
+
# new lines (LF), carriage returns (CR), and page breaks (FF).
|
167
167
|
# Default value is an empty string.
|
168
168
|
# Max length: 2000 bytes.
|
169
169
|
# @!attribute [rw] primary_contact
|
@@ -173,12 +173,9 @@ module Google
|
|
173
173
|
# @!attribute [rw] documentation
|
174
174
|
# @return [::String]
|
175
175
|
# Optional. Documentation describing the listing.
|
176
|
-
# @!attribute [rw] bigquery_dataset
|
177
|
-
# @return [::Google::Cloud::Bigquery::DataExchange::V1beta1::Listing::BigQueryDatasetSource]
|
178
|
-
# Required. Shared dataset i.e. BigQuery dataset source.
|
179
176
|
# @!attribute [r] state
|
180
177
|
# @return [::Google::Cloud::Bigquery::DataExchange::V1beta1::Listing::State]
|
181
|
-
# Output only. Current state of the
|
178
|
+
# Output only. Current state of the listing.
|
182
179
|
# @!attribute [rw] icon
|
183
180
|
# @return [::String]
|
184
181
|
# Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB
|
@@ -188,13 +185,13 @@ module Google
|
|
188
185
|
# increases the size of the data by 33-36%) when using JSON on the wire.
|
189
186
|
# @!attribute [rw] data_provider
|
190
187
|
# @return [::Google::Cloud::Bigquery::DataExchange::V1beta1::DataProvider]
|
191
|
-
# Optional.
|
188
|
+
# Optional. Details of the data provider who owns the source data.
|
192
189
|
# @!attribute [rw] categories
|
193
|
-
# @return [::Array<::Google::Cloud::Bigquery::DataExchange::
|
194
|
-
# Optional. Categories of the
|
190
|
+
# @return [::Array<::Google::Cloud::Bigquery::DataExchange::V1beta1::Listing::Category>]
|
191
|
+
# Optional. Categories of the listing. Up to two categories are allowed.
|
195
192
|
# @!attribute [rw] publisher
|
196
193
|
# @return [::Google::Cloud::Bigquery::DataExchange::V1beta1::Publisher]
|
197
|
-
# Optional.
|
194
|
+
# Optional. Details of the publisher who owns the listing and who can share
|
198
195
|
# the source data.
|
199
196
|
# @!attribute [rw] request_access
|
200
197
|
# @return [::String]
|
@@ -205,12 +202,13 @@ module Google
|
|
205
202
|
include ::Google::Protobuf::MessageExts
|
206
203
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
207
204
|
|
208
|
-
# A reference to a
|
209
|
-
# collection of objects
|
205
|
+
# A reference to a shared dataset. It is an existing BigQuery dataset with a
|
206
|
+
# collection of objects such as tables and views that you want to share
|
210
207
|
# with subscribers.
|
211
|
-
#
|
208
|
+
# When subscriber's subscribe to a listing, Analytics Hub creates a linked
|
209
|
+
# dataset in
|
212
210
|
# the subscriber's project. A Linked dataset is an opaque, read-only BigQuery
|
213
|
-
# dataset that serves as a
|
211
|
+
# dataset that serves as a _symbolic link_ to a shared dataset.
|
214
212
|
# @!attribute [rw] dataset
|
215
213
|
# @return [::String]
|
216
214
|
# Resource name of the dataset source for this listing.
|
@@ -220,21 +218,64 @@ module Google
|
|
220
218
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
221
219
|
end
|
222
220
|
|
223
|
-
# State of the
|
221
|
+
# State of the listing.
|
224
222
|
module State
|
225
223
|
# Default value. This value is unused.
|
226
224
|
STATE_UNSPECIFIED = 0
|
227
225
|
|
228
226
|
# Subscribable state. Users with dataexchange.listings.subscribe permission
|
229
|
-
# can subscribe to this
|
227
|
+
# can subscribe to this listing.
|
230
228
|
ACTIVE = 1
|
231
229
|
end
|
230
|
+
|
231
|
+
# Listing categories.
|
232
|
+
module Category
|
233
|
+
CATEGORY_UNSPECIFIED = 0
|
234
|
+
|
235
|
+
CATEGORY_OTHERS = 1
|
236
|
+
|
237
|
+
CATEGORY_ADVERTISING_AND_MARKETING = 2
|
238
|
+
|
239
|
+
CATEGORY_COMMERCE = 3
|
240
|
+
|
241
|
+
CATEGORY_CLIMATE_AND_ENVIRONMENT = 4
|
242
|
+
|
243
|
+
CATEGORY_DEMOGRAPHICS = 5
|
244
|
+
|
245
|
+
CATEGORY_ECONOMICS = 6
|
246
|
+
|
247
|
+
CATEGORY_EDUCATION = 7
|
248
|
+
|
249
|
+
CATEGORY_ENERGY = 8
|
250
|
+
|
251
|
+
CATEGORY_FINANCIAL = 9
|
252
|
+
|
253
|
+
CATEGORY_GAMING = 10
|
254
|
+
|
255
|
+
CATEGORY_GEOSPATIAL = 11
|
256
|
+
|
257
|
+
CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = 12
|
258
|
+
|
259
|
+
CATEGORY_MEDIA = 13
|
260
|
+
|
261
|
+
CATEGORY_PUBLIC_SECTOR = 14
|
262
|
+
|
263
|
+
CATEGORY_RETAIL = 15
|
264
|
+
|
265
|
+
CATEGORY_SPORTS = 16
|
266
|
+
|
267
|
+
CATEGORY_SCIENCE_AND_RESEARCH = 17
|
268
|
+
|
269
|
+
CATEGORY_TRANSPORTATION_AND_LOGISTICS = 18
|
270
|
+
|
271
|
+
CATEGORY_TRAVEL_AND_TOURISM = 19
|
272
|
+
end
|
232
273
|
end
|
233
274
|
|
234
|
-
# Message for requesting list of
|
275
|
+
# Message for requesting the list of data exchanges.
|
235
276
|
# @!attribute [rw] parent
|
236
277
|
# @return [::String]
|
237
|
-
# Required. The parent resource path of the
|
278
|
+
# Required. The parent resource path of the data exchanges.
|
238
279
|
# e.g. `projects/myproject/locations/US`.
|
239
280
|
# @!attribute [rw] page_size
|
240
281
|
# @return [::Integer]
|
@@ -249,10 +290,10 @@ module Google
|
|
249
290
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
250
291
|
end
|
251
292
|
|
252
|
-
# Message for response to
|
293
|
+
# Message for response to the list of data exchanges.
|
253
294
|
# @!attribute [rw] data_exchanges
|
254
295
|
# @return [::Array<::Google::Cloud::Bigquery::DataExchange::V1beta1::DataExchange>]
|
255
|
-
# The list of
|
296
|
+
# The list of data exchanges.
|
256
297
|
# @!attribute [rw] next_page_token
|
257
298
|
# @return [::String]
|
258
299
|
# A token to request the next page of results.
|
@@ -261,8 +302,8 @@ module Google
|
|
261
302
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
303
|
end
|
263
304
|
|
264
|
-
# Message for requesting list of
|
265
|
-
# and location.
|
305
|
+
# Message for requesting the list of data exchanges from projects in an
|
306
|
+
# organization and location.
|
266
307
|
# @!attribute [rw] organization
|
267
308
|
# @return [::String]
|
268
309
|
# Required. The organization resource path of the projects containing DataExchanges.
|
@@ -280,11 +321,11 @@ module Google
|
|
280
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
281
322
|
end
|
282
323
|
|
283
|
-
# Message for response to listing
|
324
|
+
# Message for response to listing data exchanges in an organization and
|
284
325
|
# location.
|
285
326
|
# @!attribute [rw] data_exchanges
|
286
327
|
# @return [::Array<::Google::Cloud::Bigquery::DataExchange::V1beta1::DataExchange>]
|
287
|
-
# The list of
|
328
|
+
# The list of data exchanges.
|
288
329
|
# @!attribute [rw] next_page_token
|
289
330
|
# @return [::String]
|
290
331
|
# A token to request the next page of results.
|
@@ -293,62 +334,61 @@ module Google
|
|
293
334
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
294
335
|
end
|
295
336
|
|
296
|
-
# Message for getting a
|
337
|
+
# Message for getting a data exchange.
|
297
338
|
# @!attribute [rw] name
|
298
339
|
# @return [::String]
|
299
|
-
# Required. The resource name of the
|
340
|
+
# Required. The resource name of the data exchange.
|
300
341
|
# e.g. `projects/myproject/locations/US/dataExchanges/123`.
|
301
342
|
class GetDataExchangeRequest
|
302
343
|
include ::Google::Protobuf::MessageExts
|
303
344
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
304
345
|
end
|
305
346
|
|
306
|
-
# Message for creating a
|
347
|
+
# Message for creating a data exchange.
|
307
348
|
# @!attribute [rw] parent
|
308
349
|
# @return [::String]
|
309
|
-
# Required. The parent resource path of the
|
350
|
+
# Required. The parent resource path of the data exchange.
|
310
351
|
# e.g. `projects/myproject/locations/US`.
|
311
352
|
# @!attribute [rw] data_exchange_id
|
312
353
|
# @return [::String]
|
313
|
-
# Required. The ID of the
|
354
|
+
# Required. The ID of the data exchange.
|
314
355
|
# Must contain only Unicode letters, numbers (0-9), underscores (_).
|
315
356
|
# Should not use characters that require URL-escaping, or characters
|
316
357
|
# outside of ASCII, spaces.
|
317
358
|
# Max length: 100 bytes.
|
318
359
|
# @!attribute [rw] data_exchange
|
319
360
|
# @return [::Google::Cloud::Bigquery::DataExchange::V1beta1::DataExchange]
|
320
|
-
# Required. The
|
361
|
+
# Required. The data exchange to create.
|
321
362
|
class CreateDataExchangeRequest
|
322
363
|
include ::Google::Protobuf::MessageExts
|
323
364
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
324
365
|
end
|
325
366
|
|
326
|
-
# Message for updating a
|
367
|
+
# Message for updating a data exchange.
|
327
368
|
# @!attribute [rw] update_mask
|
328
369
|
# @return [::Google::Protobuf::FieldMask]
|
329
|
-
# Required. Field mask
|
330
|
-
#
|
331
|
-
#
|
332
|
-
# the full request.
|
370
|
+
# Required. Field mask specifies the fields to update in the data exchange
|
371
|
+
# resource. The fields specified in the
|
372
|
+
# `updateMask` are relative to the resource and are not a full request.
|
333
373
|
# @!attribute [rw] data_exchange
|
334
374
|
# @return [::Google::Cloud::Bigquery::DataExchange::V1beta1::DataExchange]
|
335
|
-
# Required. The
|
375
|
+
# Required. The data exchange to update.
|
336
376
|
class UpdateDataExchangeRequest
|
337
377
|
include ::Google::Protobuf::MessageExts
|
338
378
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
339
379
|
end
|
340
380
|
|
341
|
-
# Message for deleting a
|
381
|
+
# Message for deleting a data exchange.
|
342
382
|
# @!attribute [rw] name
|
343
383
|
# @return [::String]
|
344
|
-
# Required.
|
345
|
-
#
|
384
|
+
# Required. The full name of the data exchange resource that you want to delete.
|
385
|
+
# For example, `projects/myproject/locations/US/dataExchanges/123`.
|
346
386
|
class DeleteDataExchangeRequest
|
347
387
|
include ::Google::Protobuf::MessageExts
|
348
388
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
349
389
|
end
|
350
390
|
|
351
|
-
# Message for requesting list of
|
391
|
+
# Message for requesting the list of listings.
|
352
392
|
# @!attribute [rw] parent
|
353
393
|
# @return [::String]
|
354
394
|
# Required. The parent resource path of the listing.
|
@@ -366,7 +406,7 @@ module Google
|
|
366
406
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
367
407
|
end
|
368
408
|
|
369
|
-
# Message for response to
|
409
|
+
# Message for response to the list of Listings.
|
370
410
|
# @!attribute [rw] listings
|
371
411
|
# @return [::Array<::Google::Cloud::Bigquery::DataExchange::V1beta1::Listing>]
|
372
412
|
# The list of Listing.
|
@@ -378,7 +418,7 @@ module Google
|
|
378
418
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
379
419
|
end
|
380
420
|
|
381
|
-
# Message for getting a
|
421
|
+
# Message for getting a listing.
|
382
422
|
# @!attribute [rw] name
|
383
423
|
# @return [::String]
|
384
424
|
# Required. The resource name of the listing.
|
@@ -388,14 +428,14 @@ module Google
|
|
388
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
389
429
|
end
|
390
430
|
|
391
|
-
# Message for creating a
|
431
|
+
# Message for creating a listing.
|
392
432
|
# @!attribute [rw] parent
|
393
433
|
# @return [::String]
|
394
434
|
# Required. The parent resource path of the listing.
|
395
435
|
# e.g. `projects/myproject/locations/US/dataExchanges/123`.
|
396
436
|
# @!attribute [rw] listing_id
|
397
437
|
# @return [::String]
|
398
|
-
# Required. The ID of the
|
438
|
+
# Required. The ID of the listing to create.
|
399
439
|
# Must contain only Unicode letters, numbers (0-9), underscores (_).
|
400
440
|
# Should not use characters that require URL-escaping, or characters
|
401
441
|
# outside of ASCII, spaces.
|
@@ -411,10 +451,9 @@ module Google
|
|
411
451
|
# Message for updating a Listing.
|
412
452
|
# @!attribute [rw] update_mask
|
413
453
|
# @return [::Google::Protobuf::FieldMask]
|
414
|
-
# Required. Field mask
|
415
|
-
#
|
416
|
-
#
|
417
|
-
# the full request.
|
454
|
+
# Required. Field mask specifies the fields to update in the listing resource. The
|
455
|
+
# fields specified in the `updateMask` are relative to the resource and are
|
456
|
+
# not a full request.
|
418
457
|
# @!attribute [rw] listing
|
419
458
|
# @return [::Google::Cloud::Bigquery::DataExchange::V1beta1::Listing]
|
420
459
|
# Required. The listing to update.
|
@@ -423,7 +462,7 @@ module Google
|
|
423
462
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
424
463
|
end
|
425
464
|
|
426
|
-
# Message for deleting a
|
465
|
+
# Message for deleting a listing.
|
427
466
|
# @!attribute [rw] name
|
428
467
|
# @return [::String]
|
429
468
|
# Required. Resource name of the listing to delete.
|
@@ -433,21 +472,20 @@ module Google
|
|
433
472
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
434
473
|
end
|
435
474
|
|
436
|
-
# Message for subscribing a
|
437
|
-
# @!attribute [rw] name
|
438
|
-
# @return [::String]
|
439
|
-
# Required. Resource name of the listing to subscribe to.
|
440
|
-
# e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`.
|
475
|
+
# Message for subscribing to a listing.
|
441
476
|
# @!attribute [rw] destination_dataset
|
442
477
|
# @return [::Google::Cloud::Bigquery::DataExchange::V1beta1::DestinationDataset]
|
443
478
|
# BigQuery destination dataset to create for the subscriber.
|
479
|
+
# @!attribute [rw] name
|
480
|
+
# @return [::String]
|
481
|
+
# Required. Resource name of the listing that you want to subscribe to.
|
482
|
+
# e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`.
|
444
483
|
class SubscribeListingRequest
|
445
484
|
include ::Google::Protobuf::MessageExts
|
446
485
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
447
486
|
end
|
448
487
|
|
449
|
-
# Message for response to
|
450
|
-
# Empty for now.
|
488
|
+
# Message for response when you subscribe to a listing.
|
451
489
|
class SubscribeListingResponse
|
452
490
|
include ::Google::Protobuf::MessageExts
|
453
491
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -35,7 +35,8 @@ module Google
|
|
35
35
|
# only if the expression evaluates to `true`. A condition can add constraints
|
36
36
|
# based on attributes of the request, the resource, or both. To learn which
|
37
37
|
# resources support conditions in their IAM policies, see the
|
38
|
-
# [IAM
|
38
|
+
# [IAM
|
39
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
39
40
|
#
|
40
41
|
# **JSON example:**
|
41
42
|
#
|
@@ -58,7 +59,8 @@ module Google
|
|
58
59
|
# "condition": {
|
59
60
|
# "title": "expirable access",
|
60
61
|
# "description": "Does not grant access after Sep 2020",
|
61
|
-
# "expression": "request.time <
|
62
|
+
# "expression": "request.time <
|
63
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
62
64
|
# }
|
63
65
|
# }
|
64
66
|
# ],
|
@@ -112,7 +114,8 @@ module Google
|
|
112
114
|
# specify any valid version or leave the field unset.
|
113
115
|
#
|
114
116
|
# To learn which resources support conditions in their IAM policies, see the
|
115
|
-
# [IAM
|
117
|
+
# [IAM
|
118
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
116
119
|
# @!attribute [rw] bindings
|
117
120
|
# @return [::Array<::Google::Iam::V1::Binding>]
|
118
121
|
# Associates a list of `members`, or principals, with a `role`. Optionally,
|
@@ -305,7 +308,8 @@ module Google
|
|
305
308
|
# @return [::Array<::String>]
|
306
309
|
# Specifies the identities that do not cause logging for this type of
|
307
310
|
# permission.
|
308
|
-
# Follows the same format of
|
311
|
+
# Follows the same format of
|
312
|
+
# {::Google::Iam::V1::Binding#members Binding.members}.
|
309
313
|
class AuditLogConfig
|
310
314
|
include ::Google::Protobuf::MessageExts
|
311
315
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|