...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: bigquerydatasets.bigquery.cnrm.cloud.google.com
8spec:
9 group: bigquery.cnrm.cloud.google.com
10 names:
11 kind: BigQueryDataset
12 listKind: BigQueryDatasetList
13 plural: bigquerydatasets
14 singular: bigquerydataset
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: BigQueryDataset is the Schema for the bigquery API
21 properties:
22 apiVersion:
23 description: |-
24 APIVersion defines the versioned schema of this representation of an object.
25 Servers should convert recognized schemas to the latest internal value, and
26 may reject unrecognized values.
27 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28 type: string
29 kind:
30 description: |-
31 Kind is a string value representing the REST resource this object represents.
32 Servers may infer this from the endpoint the client submits requests to.
33 Cannot be updated.
34 In CamelCase.
35 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36 type: string
37 metadata:
38 type: object
39 spec:
40 properties:
41 access:
42 description: An array of objects that define dataset access for one
43 or more entities.
44 items:
45 properties:
46 dataset:
47 description: Grants all resources of particular types in a particular
48 dataset read access to the current dataset.
49 properties:
50 datasetId:
51 description: The ID of the dataset containing this table.
52 type: string
53 projectId:
54 description: The ID of the project containing this table.
55 type: string
56 required:
57 - datasetId
58 - projectId
59 type: object
60 domain:
61 description: |-
62 A domain to grant access to. Any users signed in with the
63 domain specified will be granted the specified access.
64 type: string
65 groupByEmail:
66 description: An email address of a Google Group to grant access
67 to.
68 type: string
69 role:
70 description: |-
71 Describes the rights granted to the user specified by the other
72 member of the access object. Basic, predefined, and custom roles
73 are supported. Predefined roles that have equivalent basic roles
74 are swapped by the API to their basic counterparts. See
75 [official docs](https://cloud.google.com/bigquery/docs/access-control).
76 type: string
77 specialGroup:
78 description: |-
79 A special group to grant access to. Possible values include:
80
81
82 * 'projectOwners': Owners of the enclosing project.
83
84
85 * 'projectReaders': Readers of the enclosing project.
86
87
88 * 'projectWriters': Writers of the enclosing project.
89
90
91 * 'allAuthenticatedUsers': All authenticated BigQuery users.
92 type: string
93 userByEmail:
94 description: |-
95 An email address of a user to grant access to. For example:
96 fred@example.com.
97 type: string
98 view:
99 description: |-
100 A view from a different dataset to grant access to. Queries
101 executed against that view will have read access to tables in
102 this dataset. The role field is not required when this field is
103 set. If that view is updated by any user, access to the view
104 needs to be granted again via an update operation.
105 properties:
106 datasetId:
107 description: The ID of the dataset containing this table.
108 type: string
109 projectId:
110 description: The ID of the project containing this table.
111 type: string
112 tableId:
113 description: |-
114 The ID of the table. The ID must contain only letters (a-z,
115 A-Z), numbers (0-9), or underscores (_). The maximum length
116 is 1,024 characters.
117 type: string
118 required:
119 - datasetId
120 - projectId
121 - tableId
122 type: object
123 type: object
124 type: array
125 defaultCollation:
126 description: |-
127 Defines the default collation specification of future tables created
128 in the dataset. If a table is created in this dataset without table-level
129 default collation, then the table inherits the dataset default collation,
130 which is applied to the string fields that do not have explicit collation
131 specified. A change to this field affects only tables created afterwards,
132 and does not alter the existing tables.
133
134
135 The following values are supported:
136 - 'und:ci': undetermined locale, case insensitive.
137 - '': empty string. Default to case-sensitive behavior.
138 type: string
139 defaultEncryptionConfiguration:
140 description: |-
141 The default encryption key for all tables in the dataset. Once this property is set,
142 all newly-created partitioned tables in the dataset will have encryption key set to
143 this value, unless table creation request (or query) overrides the key.
144 properties:
145 kmsKeyRef:
146 description: |-
147 Describes the Cloud KMS encryption key that will be used to protect destination
148 BigQuery table. The BigQuery Service Account associated with your project requires
149 access to this encryption key.
150 properties:
151 external:
152 description: The external name of the referenced resource
153 type: string
154 kind:
155 description: Kind of the referent.
156 type: string
157 name:
158 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
159 type: string
160 namespace:
161 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
162 type: string
163 type: object
164 required:
165 - kmsKeyRef
166 type: object
167 defaultPartitionExpirationMs:
168 description: |-
169 The default partition expiration for all partitioned tables in
170 the dataset, in milliseconds.
171
172
173 Once this property is set, all newly-created partitioned tables in
174 the dataset will have an 'expirationMs' property in the 'timePartitioning'
175 settings set to this value, and changing the value will only
176 affect new tables, not existing ones. The storage in a partition will
177 have an expiration time of its partition time plus this value.
178 Setting this property overrides the use of 'defaultTableExpirationMs'
179 for partitioned tables: only one of 'defaultTableExpirationMs' and
180 'defaultPartitionExpirationMs' will be used for any new partitioned
181 table. If you provide an explicit 'timePartitioning.expirationMs' when
182 creating or updating a partitioned table, that value takes precedence
183 over the default partition expiration time indicated by this property.
184 type: integer
185 defaultTableExpirationMs:
186 description: |-
187 The default lifetime of all tables in the dataset, in milliseconds.
188 The minimum value is 3600000 milliseconds (one hour).
189
190
191 Once this property is set, all newly-created tables in the dataset
192 will have an 'expirationTime' property set to the creation time plus
193 the value in this property, and changing the value will only affect
194 new tables, not existing ones. When the 'expirationTime' for a given
195 table is reached, that table will be deleted automatically.
196 If a table's 'expirationTime' is modified or removed before the
197 table expires, or if you provide an explicit 'expirationTime' when
198 creating a table, that value takes precedence over the default
199 expiration time indicated by this property.
200 type: integer
201 description:
202 description: A user-friendly description of the dataset.
203 type: string
204 friendlyName:
205 description: A descriptive name for the dataset.
206 type: string
207 isCaseInsensitive:
208 description: |-
209 TRUE if the dataset and its table names are case-insensitive, otherwise FALSE.
210 By default, this is FALSE, which means the dataset and its table names are
211 case-sensitive. This field does not affect routine references.
212 type: boolean
213 location:
214 description: |-
215 Immutable. The geographic location where the dataset should reside.
216 See [official docs](https://cloud.google.com/bigquery/docs/dataset-locations).
217
218
219 There are two types of locations, regional or multi-regional. A regional
220 location is a specific geographic place, such as Tokyo, and a multi-regional
221 location is a large geographic area, such as the United States, that
222 contains at least two geographic places.
223
224
225 The default value is multi-regional location 'US'.
226 Changing this forces a new resource to be created.
227 type: string
228 maxTimeTravelHours:
229 description: Defines the time travel window in hours. The value can
230 be from 48 to 168 hours (2 to 7 days).
231 type: string
232 projectRef:
233 description: The project that this resource belongs to.
234 properties:
235 external:
236 description: The external name of the referenced resource
237 type: string
238 kind:
239 description: Kind of the referent.
240 type: string
241 name:
242 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
243 type: string
244 namespace:
245 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
246 type: string
247 type: object
248 resourceID:
249 description: Immutable. Optional. The datasetId of the resource. Used
250 for creation and acquisition. When unset, the value of `metadata.name`
251 is used as the default.
252 type: string
253 type: object
254 status:
255 properties:
256 conditions:
257 description: |-
258 Conditions represent the latest available observations of the
259 BigQueryDataset's current state.
260 items:
261 properties:
262 lastTransitionTime:
263 description: Last time the condition transitioned from one status
264 to another.
265 type: string
266 message:
267 description: Human-readable message indicating details about
268 last transition.
269 type: string
270 reason:
271 description: |-
272 Unique, one-word, CamelCase reason for the condition's last
273 transition.
274 type: string
275 status:
276 description: Status is the status of the condition. Can be True,
277 False, Unknown.
278 type: string
279 type:
280 description: Type is the type of the condition.
281 type: string
282 type: object
283 type: array
284 creationTime:
285 description: |-
286 The time when this dataset was created, in milliseconds since the
287 epoch.
288 type: integer
289 etag:
290 description: A hash of the resource.
291 type: string
292 lastModifiedTime:
293 description: |-
294 The date when this dataset or any of its tables was last modified, in
295 milliseconds since the epoch.
296 type: integer
297 observedGeneration:
298 description: ObservedGeneration is the generation of the resource
299 that was most recently observed by the Config Connector controller.
300 If this is equal to metadata.generation, then that means that the
301 current reported status reflects the most recent desired state of
302 the resource.
303 type: integer
304 selfLink:
305 type: string
306 type: object
307 type: object
308 served: true
309 storage: true
View as plain text