...
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: alpha
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: bigquerydatapolicydatapolicies.bigquerydatapolicy.cnrm.cloud.google.com
27spec:
28 group: bigquerydatapolicy.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: BigQueryDataPolicyDataPolicy
33 plural: bigquerydatapolicydatapolicies
34 shortNames:
35 - gcpbigquerydatapolicydatapolicy
36 - gcpbigquerydatapolicydatapolicies
37 singular: bigquerydatapolicydatapolicy
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: v1alpha1
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 dataMaskingPolicy:
75 description: The data masking policy that specifies the data masking
76 rule to use.
77 properties:
78 predefinedExpression:
79 description: 'The available masking rules. Learn more here: https://cloud.google.com/bigquery/docs/column-data-masking-intro#masking_options.
80 Possible values: ["SHA256", "ALWAYS_NULL", "DEFAULT_MASKING_VALUE",
81 "LAST_FOUR_CHARACTERS", "FIRST_FOUR_CHARACTERS", "EMAIL_MASK",
82 "DATE_YEAR_MASK"].'
83 type: string
84 required:
85 - predefinedExpression
86 type: object
87 dataPolicyType:
88 description: 'The enrollment level of the service. Possible values:
89 ["COLUMN_LEVEL_SECURITY_POLICY", "DATA_MASKING_POLICY"].'
90 type: string
91 location:
92 description: Immutable. The name of the location of the data policy.
93 type: string
94 policyTag:
95 description: Policy tag resource name, in the format of projects/{project_number}/locations/{locationId}/taxonomies/{taxonomyId}/policyTags/{policyTag_id}.
96 type: string
97 projectRef:
98 description: The project that this resource belongs to.
99 oneOf:
100 - not:
101 required:
102 - external
103 required:
104 - name
105 - not:
106 anyOf:
107 - required:
108 - name
109 - required:
110 - namespace
111 required:
112 - external
113 properties:
114 external:
115 description: 'Allowed value: The `name` field of a `Project` resource.'
116 type: string
117 name:
118 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
119 type: string
120 namespace:
121 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
122 type: string
123 type: object
124 resourceID:
125 description: Immutable. Optional. The dataPolicyId of the resource.
126 Used for creation and acquisition. When unset, the value of `metadata.name`
127 is used as the default.
128 type: string
129 required:
130 - dataPolicyType
131 - location
132 - policyTag
133 - projectRef
134 type: object
135 status:
136 properties:
137 conditions:
138 description: Conditions represent the latest available observation
139 of the resource's current state.
140 items:
141 properties:
142 lastTransitionTime:
143 description: Last time the condition transitioned from one status
144 to another.
145 type: string
146 message:
147 description: Human-readable message indicating details about
148 last transition.
149 type: string
150 reason:
151 description: Unique, one-word, CamelCase reason for the condition's
152 last transition.
153 type: string
154 status:
155 description: Status is the status of the condition. Can be True,
156 False, Unknown.
157 type: string
158 type:
159 description: Type is the type of the condition.
160 type: string
161 type: object
162 type: array
163 name:
164 description: Resource name of this data policy, in the format of projects/{project_number}/locations/{locationId}/dataPolicies/{dataPolicyId}.
165 type: string
166 observedGeneration:
167 description: ObservedGeneration is the generation of the resource
168 that was most recently observed by the Config Connector controller.
169 If this is equal to metadata.generation, then that means that the
170 current reported status reflects the most recent desired state of
171 the resource.
172 type: integer
173 type: object
174 required:
175 - spec
176 type: object
177 served: true
178 storage: true
179 subresources:
180 status: {}
181status:
182 acceptedNames:
183 kind: ""
184 plural: ""
185 conditions: []
186 storedVersions: []
View as plain text