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