google-apis-analyticshub_v1beta1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module AnalyticshubV1beta1
18
+ # Version of the google-apis-analyticshub_v1beta1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.4.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20220427"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,426 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module AnalyticshubV1beta1
24
+
25
+ class AuditConfig
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AuditLogConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class BigQueryDatasetSource
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Binding
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class DataExchange
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class DataProvider
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class DestinationDataset
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class DestinationDatasetReference
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Empty
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class Expr
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GetIamPolicyRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GetPolicyOptions
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ListDataExchangesResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ListListingsResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ListLocationsResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ListOrgDataExchangesResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class Listing
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class Location
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class OperationMetadata
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Policy
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class Publisher
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class SetIamPolicyRequest
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class SubscribeListingRequest
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class SubscribeListingResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class TestIamPermissionsRequest
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class TestIamPermissionsResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class AuditConfig
182
+ # @private
183
+ class Representation < Google::Apis::Core::JsonRepresentation
184
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::AnalyticshubV1beta1::AuditLogConfig, decorator: Google::Apis::AnalyticshubV1beta1::AuditLogConfig::Representation
185
+
186
+ property :service, as: 'service'
187
+ end
188
+ end
189
+
190
+ class AuditLogConfig
191
+ # @private
192
+ class Representation < Google::Apis::Core::JsonRepresentation
193
+ collection :exempted_members, as: 'exemptedMembers'
194
+ property :log_type, as: 'logType'
195
+ end
196
+ end
197
+
198
+ class BigQueryDatasetSource
199
+ # @private
200
+ class Representation < Google::Apis::Core::JsonRepresentation
201
+ property :dataset, as: 'dataset'
202
+ end
203
+ end
204
+
205
+ class Binding
206
+ # @private
207
+ class Representation < Google::Apis::Core::JsonRepresentation
208
+ property :condition, as: 'condition', class: Google::Apis::AnalyticshubV1beta1::Expr, decorator: Google::Apis::AnalyticshubV1beta1::Expr::Representation
209
+
210
+ collection :members, as: 'members'
211
+ property :role, as: 'role'
212
+ end
213
+ end
214
+
215
+ class DataExchange
216
+ # @private
217
+ class Representation < Google::Apis::Core::JsonRepresentation
218
+ property :description, as: 'description'
219
+ property :display_name, as: 'displayName'
220
+ property :documentation, as: 'documentation'
221
+ property :icon, :base64 => true, as: 'icon'
222
+ property :listing_count, as: 'listingCount'
223
+ property :name, as: 'name'
224
+ property :primary_contact, as: 'primaryContact'
225
+ end
226
+ end
227
+
228
+ class DataProvider
229
+ # @private
230
+ class Representation < Google::Apis::Core::JsonRepresentation
231
+ property :name, as: 'name'
232
+ property :primary_contact, as: 'primaryContact'
233
+ end
234
+ end
235
+
236
+ class DestinationDataset
237
+ # @private
238
+ class Representation < Google::Apis::Core::JsonRepresentation
239
+ property :dataset_reference, as: 'datasetReference', class: Google::Apis::AnalyticshubV1beta1::DestinationDatasetReference, decorator: Google::Apis::AnalyticshubV1beta1::DestinationDatasetReference::Representation
240
+
241
+ property :description, as: 'description'
242
+ property :friendly_name, as: 'friendlyName'
243
+ hash :labels, as: 'labels'
244
+ property :location, as: 'location'
245
+ end
246
+ end
247
+
248
+ class DestinationDatasetReference
249
+ # @private
250
+ class Representation < Google::Apis::Core::JsonRepresentation
251
+ property :dataset_id, as: 'datasetId'
252
+ property :project_id, as: 'projectId'
253
+ end
254
+ end
255
+
256
+ class Empty
257
+ # @private
258
+ class Representation < Google::Apis::Core::JsonRepresentation
259
+ end
260
+ end
261
+
262
+ class Expr
263
+ # @private
264
+ class Representation < Google::Apis::Core::JsonRepresentation
265
+ property :description, as: 'description'
266
+ property :expression, as: 'expression'
267
+ property :location, as: 'location'
268
+ property :title, as: 'title'
269
+ end
270
+ end
271
+
272
+ class GetIamPolicyRequest
273
+ # @private
274
+ class Representation < Google::Apis::Core::JsonRepresentation
275
+ property :options, as: 'options', class: Google::Apis::AnalyticshubV1beta1::GetPolicyOptions, decorator: Google::Apis::AnalyticshubV1beta1::GetPolicyOptions::Representation
276
+
277
+ end
278
+ end
279
+
280
+ class GetPolicyOptions
281
+ # @private
282
+ class Representation < Google::Apis::Core::JsonRepresentation
283
+ property :requested_policy_version, as: 'requestedPolicyVersion'
284
+ end
285
+ end
286
+
287
+ class ListDataExchangesResponse
288
+ # @private
289
+ class Representation < Google::Apis::Core::JsonRepresentation
290
+ collection :data_exchanges, as: 'dataExchanges', class: Google::Apis::AnalyticshubV1beta1::DataExchange, decorator: Google::Apis::AnalyticshubV1beta1::DataExchange::Representation
291
+
292
+ property :next_page_token, as: 'nextPageToken'
293
+ end
294
+ end
295
+
296
+ class ListListingsResponse
297
+ # @private
298
+ class Representation < Google::Apis::Core::JsonRepresentation
299
+ collection :listings, as: 'listings', class: Google::Apis::AnalyticshubV1beta1::Listing, decorator: Google::Apis::AnalyticshubV1beta1::Listing::Representation
300
+
301
+ property :next_page_token, as: 'nextPageToken'
302
+ end
303
+ end
304
+
305
+ class ListLocationsResponse
306
+ # @private
307
+ class Representation < Google::Apis::Core::JsonRepresentation
308
+ collection :locations, as: 'locations', class: Google::Apis::AnalyticshubV1beta1::Location, decorator: Google::Apis::AnalyticshubV1beta1::Location::Representation
309
+
310
+ property :next_page_token, as: 'nextPageToken'
311
+ end
312
+ end
313
+
314
+ class ListOrgDataExchangesResponse
315
+ # @private
316
+ class Representation < Google::Apis::Core::JsonRepresentation
317
+ collection :data_exchanges, as: 'dataExchanges', class: Google::Apis::AnalyticshubV1beta1::DataExchange, decorator: Google::Apis::AnalyticshubV1beta1::DataExchange::Representation
318
+
319
+ property :next_page_token, as: 'nextPageToken'
320
+ end
321
+ end
322
+
323
+ class Listing
324
+ # @private
325
+ class Representation < Google::Apis::Core::JsonRepresentation
326
+ property :bigquery_dataset, as: 'bigqueryDataset', class: Google::Apis::AnalyticshubV1beta1::BigQueryDatasetSource, decorator: Google::Apis::AnalyticshubV1beta1::BigQueryDatasetSource::Representation
327
+
328
+ collection :categories, as: 'categories'
329
+ property :data_provider, as: 'dataProvider', class: Google::Apis::AnalyticshubV1beta1::DataProvider, decorator: Google::Apis::AnalyticshubV1beta1::DataProvider::Representation
330
+
331
+ property :description, as: 'description'
332
+ property :display_name, as: 'displayName'
333
+ property :documentation, as: 'documentation'
334
+ property :icon, :base64 => true, as: 'icon'
335
+ property :name, as: 'name'
336
+ property :primary_contact, as: 'primaryContact'
337
+ property :publisher, as: 'publisher', class: Google::Apis::AnalyticshubV1beta1::Publisher, decorator: Google::Apis::AnalyticshubV1beta1::Publisher::Representation
338
+
339
+ property :request_access, as: 'requestAccess'
340
+ property :state, as: 'state'
341
+ end
342
+ end
343
+
344
+ class Location
345
+ # @private
346
+ class Representation < Google::Apis::Core::JsonRepresentation
347
+ property :display_name, as: 'displayName'
348
+ hash :labels, as: 'labels'
349
+ property :location_id, as: 'locationId'
350
+ hash :metadata, as: 'metadata'
351
+ property :name, as: 'name'
352
+ end
353
+ end
354
+
355
+ class OperationMetadata
356
+ # @private
357
+ class Representation < Google::Apis::Core::JsonRepresentation
358
+ property :api_version, as: 'apiVersion'
359
+ property :cancel_requested, as: 'cancelRequested'
360
+ property :create_time, as: 'createTime'
361
+ property :end_time, as: 'endTime'
362
+ property :status_detail, as: 'statusDetail'
363
+ property :target, as: 'target'
364
+ property :verb, as: 'verb'
365
+ end
366
+ end
367
+
368
+ class Policy
369
+ # @private
370
+ class Representation < Google::Apis::Core::JsonRepresentation
371
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::AnalyticshubV1beta1::AuditConfig, decorator: Google::Apis::AnalyticshubV1beta1::AuditConfig::Representation
372
+
373
+ collection :bindings, as: 'bindings', class: Google::Apis::AnalyticshubV1beta1::Binding, decorator: Google::Apis::AnalyticshubV1beta1::Binding::Representation
374
+
375
+ property :etag, :base64 => true, as: 'etag'
376
+ property :version, as: 'version'
377
+ end
378
+ end
379
+
380
+ class Publisher
381
+ # @private
382
+ class Representation < Google::Apis::Core::JsonRepresentation
383
+ property :name, as: 'name'
384
+ property :primary_contact, as: 'primaryContact'
385
+ end
386
+ end
387
+
388
+ class SetIamPolicyRequest
389
+ # @private
390
+ class Representation < Google::Apis::Core::JsonRepresentation
391
+ property :policy, as: 'policy', class: Google::Apis::AnalyticshubV1beta1::Policy, decorator: Google::Apis::AnalyticshubV1beta1::Policy::Representation
392
+
393
+ property :update_mask, as: 'updateMask'
394
+ end
395
+ end
396
+
397
+ class SubscribeListingRequest
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ property :destination_dataset, as: 'destinationDataset', class: Google::Apis::AnalyticshubV1beta1::DestinationDataset, decorator: Google::Apis::AnalyticshubV1beta1::DestinationDataset::Representation
401
+
402
+ end
403
+ end
404
+
405
+ class SubscribeListingResponse
406
+ # @private
407
+ class Representation < Google::Apis::Core::JsonRepresentation
408
+ end
409
+ end
410
+
411
+ class TestIamPermissionsRequest
412
+ # @private
413
+ class Representation < Google::Apis::Core::JsonRepresentation
414
+ collection :permissions, as: 'permissions'
415
+ end
416
+ end
417
+
418
+ class TestIamPermissionsResponse
419
+ # @private
420
+ class Representation < Google::Apis::Core::JsonRepresentation
421
+ collection :permissions, as: 'permissions'
422
+ end
423
+ end
424
+ end
425
+ end
426
+ end