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