-
Notifications
You must be signed in to change notification settings - Fork 142
/
models.go
44 lines (39 loc) · 1.62 KB
/
models.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package bigquery
//Bigquery struct reperesnts google analytics service.
type Bigquery struct {
}
//View struct reperesnts CreateDatasets internal struct.
type View struct {
datasetID string `json:"datasetId"`
projectID string `json:"projectId"`
tableID string `json:"tableId"`
}
//Access struct reperesnts CreateDatasets internal struct.
type Access struct {
domain string `json:"domain"`
groupByEmail string `json:"groupByEmail"`
role string `json:"role"`
specialGroup string `json:"specialGroup"`
userByEmail string `json:"userByEmail"`
view View `json:"view"`
}
//DatasetReference struct reperesnts CreateDatasets internal struct.
type DatasetReference struct {
datasetID string `json:"datasetId"`
projectID string `json:"projectId"`
}
//CreateDatasets struct reperesnts google bigquery CreateDatasets service struct.
type CreateDatasets struct {
access []Access `json:"access"`
datasetReference DatasetReference `json:"datasetReference"`
defaultTableExpirationMs string `json:"defaultTableExpirationMs"`
description string `json:"description"`
etag string `json:"etag"`
friendlyName string `json:"friendlyName"`
id string `json:"id"`
kind string `json:"kind"`
lastModifiedTime string `json:"lastModifiedTime"`
creationTime string `json:"creationTime"`
location string `json:"location"`
selfLink string `json:"selfLink"`
}