google-apis-analyticshub_v1 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 AnalyticshubV1
18
+ # Version of the google-apis-analyticshub_v1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.10.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20220909"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,394 @@
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 AnalyticshubV1
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 ListOrgDataExchangesResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class Listing
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class OperationMetadata
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class Policy
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class Publisher
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class SetIamPolicyRequest
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class SubscribeListingRequest
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class SubscribeListingResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class TestIamPermissionsRequest
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class TestIamPermissionsResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class AuditConfig
170
+ # @private
171
+ class Representation < Google::Apis::Core::JsonRepresentation
172
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::AnalyticshubV1::AuditLogConfig, decorator: Google::Apis::AnalyticshubV1::AuditLogConfig::Representation
173
+
174
+ property :service, as: 'service'
175
+ end
176
+ end
177
+
178
+ class AuditLogConfig
179
+ # @private
180
+ class Representation < Google::Apis::Core::JsonRepresentation
181
+ collection :exempted_members, as: 'exemptedMembers'
182
+ property :log_type, as: 'logType'
183
+ end
184
+ end
185
+
186
+ class BigQueryDatasetSource
187
+ # @private
188
+ class Representation < Google::Apis::Core::JsonRepresentation
189
+ property :dataset, as: 'dataset'
190
+ end
191
+ end
192
+
193
+ class Binding
194
+ # @private
195
+ class Representation < Google::Apis::Core::JsonRepresentation
196
+ property :condition, as: 'condition', class: Google::Apis::AnalyticshubV1::Expr, decorator: Google::Apis::AnalyticshubV1::Expr::Representation
197
+
198
+ collection :members, as: 'members'
199
+ property :role, as: 'role'
200
+ end
201
+ end
202
+
203
+ class DataExchange
204
+ # @private
205
+ class Representation < Google::Apis::Core::JsonRepresentation
206
+ property :description, as: 'description'
207
+ property :display_name, as: 'displayName'
208
+ property :documentation, as: 'documentation'
209
+ property :icon, :base64 => true, as: 'icon'
210
+ property :listing_count, as: 'listingCount'
211
+ property :name, as: 'name'
212
+ property :primary_contact, as: 'primaryContact'
213
+ end
214
+ end
215
+
216
+ class DataProvider
217
+ # @private
218
+ class Representation < Google::Apis::Core::JsonRepresentation
219
+ property :name, as: 'name'
220
+ property :primary_contact, as: 'primaryContact'
221
+ end
222
+ end
223
+
224
+ class DestinationDataset
225
+ # @private
226
+ class Representation < Google::Apis::Core::JsonRepresentation
227
+ property :dataset_reference, as: 'datasetReference', class: Google::Apis::AnalyticshubV1::DestinationDatasetReference, decorator: Google::Apis::AnalyticshubV1::DestinationDatasetReference::Representation
228
+
229
+ property :description, as: 'description'
230
+ property :friendly_name, as: 'friendlyName'
231
+ hash :labels, as: 'labels'
232
+ property :location, as: 'location'
233
+ end
234
+ end
235
+
236
+ class DestinationDatasetReference
237
+ # @private
238
+ class Representation < Google::Apis::Core::JsonRepresentation
239
+ property :dataset_id, as: 'datasetId'
240
+ property :project_id, as: 'projectId'
241
+ end
242
+ end
243
+
244
+ class Empty
245
+ # @private
246
+ class Representation < Google::Apis::Core::JsonRepresentation
247
+ end
248
+ end
249
+
250
+ class Expr
251
+ # @private
252
+ class Representation < Google::Apis::Core::JsonRepresentation
253
+ property :description, as: 'description'
254
+ property :expression, as: 'expression'
255
+ property :location, as: 'location'
256
+ property :title, as: 'title'
257
+ end
258
+ end
259
+
260
+ class GetIamPolicyRequest
261
+ # @private
262
+ class Representation < Google::Apis::Core::JsonRepresentation
263
+ property :options, as: 'options', class: Google::Apis::AnalyticshubV1::GetPolicyOptions, decorator: Google::Apis::AnalyticshubV1::GetPolicyOptions::Representation
264
+
265
+ end
266
+ end
267
+
268
+ class GetPolicyOptions
269
+ # @private
270
+ class Representation < Google::Apis::Core::JsonRepresentation
271
+ property :requested_policy_version, as: 'requestedPolicyVersion'
272
+ end
273
+ end
274
+
275
+ class ListDataExchangesResponse
276
+ # @private
277
+ class Representation < Google::Apis::Core::JsonRepresentation
278
+ collection :data_exchanges, as: 'dataExchanges', class: Google::Apis::AnalyticshubV1::DataExchange, decorator: Google::Apis::AnalyticshubV1::DataExchange::Representation
279
+
280
+ property :next_page_token, as: 'nextPageToken'
281
+ end
282
+ end
283
+
284
+ class ListListingsResponse
285
+ # @private
286
+ class Representation < Google::Apis::Core::JsonRepresentation
287
+ collection :listings, as: 'listings', class: Google::Apis::AnalyticshubV1::Listing, decorator: Google::Apis::AnalyticshubV1::Listing::Representation
288
+
289
+ property :next_page_token, as: 'nextPageToken'
290
+ end
291
+ end
292
+
293
+ class ListOrgDataExchangesResponse
294
+ # @private
295
+ class Representation < Google::Apis::Core::JsonRepresentation
296
+ collection :data_exchanges, as: 'dataExchanges', class: Google::Apis::AnalyticshubV1::DataExchange, decorator: Google::Apis::AnalyticshubV1::DataExchange::Representation
297
+
298
+ property :next_page_token, as: 'nextPageToken'
299
+ end
300
+ end
301
+
302
+ class Listing
303
+ # @private
304
+ class Representation < Google::Apis::Core::JsonRepresentation
305
+ property :bigquery_dataset, as: 'bigqueryDataset', class: Google::Apis::AnalyticshubV1::BigQueryDatasetSource, decorator: Google::Apis::AnalyticshubV1::BigQueryDatasetSource::Representation
306
+
307
+ collection :categories, as: 'categories'
308
+ property :data_provider, as: 'dataProvider', class: Google::Apis::AnalyticshubV1::DataProvider, decorator: Google::Apis::AnalyticshubV1::DataProvider::Representation
309
+
310
+ property :description, as: 'description'
311
+ property :display_name, as: 'displayName'
312
+ property :documentation, as: 'documentation'
313
+ property :icon, :base64 => true, as: 'icon'
314
+ property :name, as: 'name'
315
+ property :primary_contact, as: 'primaryContact'
316
+ property :publisher, as: 'publisher', class: Google::Apis::AnalyticshubV1::Publisher, decorator: Google::Apis::AnalyticshubV1::Publisher::Representation
317
+
318
+ property :request_access, as: 'requestAccess'
319
+ property :state, as: 'state'
320
+ end
321
+ end
322
+
323
+ class OperationMetadata
324
+ # @private
325
+ class Representation < Google::Apis::Core::JsonRepresentation
326
+ property :api_version, as: 'apiVersion'
327
+ property :cancel_requested, as: 'cancelRequested'
328
+ property :create_time, as: 'createTime'
329
+ property :end_time, as: 'endTime'
330
+ property :status_detail, as: 'statusDetail'
331
+ property :target, as: 'target'
332
+ property :verb, as: 'verb'
333
+ end
334
+ end
335
+
336
+ class Policy
337
+ # @private
338
+ class Representation < Google::Apis::Core::JsonRepresentation
339
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::AnalyticshubV1::AuditConfig, decorator: Google::Apis::AnalyticshubV1::AuditConfig::Representation
340
+
341
+ collection :bindings, as: 'bindings', class: Google::Apis::AnalyticshubV1::Binding, decorator: Google::Apis::AnalyticshubV1::Binding::Representation
342
+
343
+ property :etag, :base64 => true, as: 'etag'
344
+ property :version, as: 'version'
345
+ end
346
+ end
347
+
348
+ class Publisher
349
+ # @private
350
+ class Representation < Google::Apis::Core::JsonRepresentation
351
+ property :name, as: 'name'
352
+ property :primary_contact, as: 'primaryContact'
353
+ end
354
+ end
355
+
356
+ class SetIamPolicyRequest
357
+ # @private
358
+ class Representation < Google::Apis::Core::JsonRepresentation
359
+ property :policy, as: 'policy', class: Google::Apis::AnalyticshubV1::Policy, decorator: Google::Apis::AnalyticshubV1::Policy::Representation
360
+
361
+ property :update_mask, as: 'updateMask'
362
+ end
363
+ end
364
+
365
+ class SubscribeListingRequest
366
+ # @private
367
+ class Representation < Google::Apis::Core::JsonRepresentation
368
+ property :destination_dataset, as: 'destinationDataset', class: Google::Apis::AnalyticshubV1::DestinationDataset, decorator: Google::Apis::AnalyticshubV1::DestinationDataset::Representation
369
+
370
+ end
371
+ end
372
+
373
+ class SubscribeListingResponse
374
+ # @private
375
+ class Representation < Google::Apis::Core::JsonRepresentation
376
+ end
377
+ end
378
+
379
+ class TestIamPermissionsRequest
380
+ # @private
381
+ class Representation < Google::Apis::Core::JsonRepresentation
382
+ collection :permissions, as: 'permissions'
383
+ end
384
+ end
385
+
386
+ class TestIamPermissionsResponse
387
+ # @private
388
+ class Representation < Google::Apis::Core::JsonRepresentation
389
+ collection :permissions, as: 'permissions'
390
+ end
391
+ end
392
+ end
393
+ end
394
+ end