Debian Codegraph @

securitycenter/apiv1/securitycenterpb/bigquery_export.pb.go

raw
1 // Copyright 2025 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
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/securitycenter/v1/bigquery_export.proto
20
21 package securitycenterpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // Configures how to deliver Findings to BigQuery Instance.
40 type BigQueryExport struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // The relative resource name of this export. See:
46 // https://cloud.google.com/apis/design/resource_names#relative_resource_name.
47 // Example format:
48 // "organizations/{organization_id}/bigQueryExports/{export_id}" Example
49 // format: "folders/{folder_id}/bigQueryExports/{export_id}" Example format:
50 // "projects/{project_id}/bigQueryExports/{export_id}"
51 // This field is provided in responses, and is ignored when provided in create
52 // requests.
53 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
54 // The description of the export (max of 1024 characters).
55 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
56 // Expression that defines the filter to apply across create/update events
57 // of findings. The expression is a list of zero or more restrictions combined
58 // via logical operators `AND` and `OR`. Parentheses are supported, and `OR`
59 // has higher precedence than `AND`.
60 //
61 // Restrictions have the form `<field> <operator> <value>` and may have a
62 // `-` character in front of them to indicate negation. The fields map to
63 // those defined in the corresponding resource.
64 //
65 // The supported operators are:
66 //
67 // * `=` for all value types.
68 // * `>`, `<`, `>=`, `<=` for integer values.
69 // * `:`, meaning substring matching, for strings.
70 //
71 // The supported value types are:
72 //
73 // * string literals in quotes.
74 // * integer literals without quotes.
75 // * boolean literals `true` and `false` without quotes.
76 Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
77 // The dataset to write findings' updates to. Its format is
78 // "projects/[project_id]/datasets/[bigquery_dataset_id]".
79 // BigQuery Dataset unique ID must contain only letters (a-z, A-Z), numbers
80 // (0-9), or underscores (_).
81 Dataset string `protobuf:"bytes,4,opt,name=dataset,proto3" json:"dataset,omitempty"`
82 // Output only. The time at which the BigQuery export was created.
83 // This field is set by the server and will be ignored if provided on export
84 // on creation.
85 CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
86 // Output only. The most recent time at which the BigQuery export was updated.
87 // This field is set by the server and will be ignored if provided on export
88 // creation or update.
89 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
90 // Output only. Email address of the user who last edited the BigQuery export.
91 // This field is set by the server and will be ignored if provided on export
92 // creation or update.
93 MostRecentEditor string `protobuf:"bytes,7,opt,name=most_recent_editor,json=mostRecentEditor,proto3" json:"most_recent_editor,omitempty"`
94 // Output only. The service account that needs permission to create table and
95 // upload data to the BigQuery dataset.
96 Principal string `protobuf:"bytes,8,opt,name=principal,proto3" json:"principal,omitempty"`
97 }
98
99 func (x *BigQueryExport) Reset() {
100 *x = BigQueryExport{}
101 mi := &file_google_cloud_securitycenter_v1_bigquery_export_proto_msgTypes[0]
102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
103 ms.StoreMessageInfo(mi)
104 }
105
106 func (x *BigQueryExport) String() string {
107 return protoimpl.X.MessageStringOf(x)
108 }
109
110 func (*BigQueryExport) ProtoMessage() {}
111
112 func (x *BigQueryExport) ProtoReflect() protoreflect.Message {
113 mi := &file_google_cloud_securitycenter_v1_bigquery_export_proto_msgTypes[0]
114 if x != nil {
115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
116 if ms.LoadMessageInfo() == nil {
117 ms.StoreMessageInfo(mi)
118 }
119 return ms
120 }
121 return mi.MessageOf(x)
122 }
123
124 // Deprecated: Use BigQueryExport.ProtoReflect.Descriptor instead.
125 func (*BigQueryExport) Descriptor() ([]byte, []int) {
126 return file_google_cloud_securitycenter_v1_bigquery_export_proto_rawDescGZIP(), []int{0}
127 }
128
129 func (x *BigQueryExport) GetName() string {
130 if x != nil {
131 return x.Name
132 }
133 return ""
134 }
135
136 func (x *BigQueryExport) GetDescription() string {
137 if x != nil {
138 return x.Description
139 }
140 return ""
141 }
142
143 func (x *BigQueryExport) GetFilter() string {
144 if x != nil {
145 return x.Filter
146 }
147 return ""
148 }
149
150 func (x *BigQueryExport) GetDataset() string {
151 if x != nil {
152 return x.Dataset
153 }
154 return ""
155 }
156
157 func (x *BigQueryExport) GetCreateTime() *timestamppb.Timestamp {
158 if x != nil {
159 return x.CreateTime
160 }
161 return nil
162 }
163
164 func (x *BigQueryExport) GetUpdateTime() *timestamppb.Timestamp {
165 if x != nil {
166 return x.UpdateTime
167 }
168 return nil
169 }
170
171 func (x *BigQueryExport) GetMostRecentEditor() string {
172 if x != nil {
173 return x.MostRecentEditor
174 }
175 return ""
176 }
177
178 func (x *BigQueryExport) GetPrincipal() string {
179 if x != nil {
180 return x.Principal
181 }
182 return ""
183 }
184
185 var File_google_cloud_securitycenter_v1_bigquery_export_proto protoreflect.FileDescriptor
186
187 var file_google_cloud_securitycenter_v1_bigquery_export_proto_rawDesc = []byte{
188 0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
189 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31,
190 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74,
191 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
192 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e,
193 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
194 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
195 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
196 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
197 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
198 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72,
199 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x04, 0x0a, 0x0e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79,
200 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
201 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65,
202 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
203 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06,
204 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69,
205 0x6c, 0x74, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18,
206 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x40,
207 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20,
208 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
209 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42,
210 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
211 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
212 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
213 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
214 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69,
215 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x12, 0x6d, 0x6f, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x6e,
216 0x74, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
217 0xe0, 0x41, 0x03, 0x52, 0x10, 0x6d, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x45,
218 0x64, 0x69, 0x74, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70,
219 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x70,
220 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x3a, 0xe2, 0x01, 0xea, 0x41, 0xde, 0x01, 0x0a,
221 0x2c, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
222 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42,
223 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x35, 0x6f,
224 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72,
225 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x62, 0x69, 0x67, 0x51,
226 0x75, 0x65, 0x72, 0x79, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2f, 0x7b, 0x65, 0x78, 0x70,
227 0x6f, 0x72, 0x74, 0x7d, 0x12, 0x29, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x66,
228 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x7d, 0x2f, 0x62, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45,
229 0x78, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x2f, 0x7b, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x7d, 0x12,
230 0x2b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65,
231 0x63, 0x74, 0x7d, 0x2f, 0x62, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x78, 0x70, 0x6f,
232 0x72, 0x74, 0x73, 0x2f, 0x7b, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x7d, 0x2a, 0x0f, 0x62, 0x69,
233 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x32, 0x0e, 0x62,
234 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x42, 0xed, 0x01,
235 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
236 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65,
237 0x72, 0x2e, 0x76, 0x31, 0x42, 0x13, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x45, 0x78,
238 0x70, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f,
239 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
240 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f,
241 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65,
242 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
243 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
244 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43,
245 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
246 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
247 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67,
248 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72,
249 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
250 0x72, 0x6f, 0x74, 0x6f, 0x33,
251 }
252
253 var (
254 file_google_cloud_securitycenter_v1_bigquery_export_proto_rawDescOnce sync.Once
255 file_google_cloud_securitycenter_v1_bigquery_export_proto_rawDescData = file_google_cloud_securitycenter_v1_bigquery_export_proto_rawDesc
256 )
257
258 func file_google_cloud_securitycenter_v1_bigquery_export_proto_rawDescGZIP() []byte {
259 file_google_cloud_securitycenter_v1_bigquery_export_proto_rawDescOnce.Do(func() {
260 file_google_cloud_securitycenter_v1_bigquery_export_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1_bigquery_export_proto_rawDescData)
261 })
262 return file_google_cloud_securitycenter_v1_bigquery_export_proto_rawDescData
263 }
264
265 var file_google_cloud_securitycenter_v1_bigquery_export_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
266 var file_google_cloud_securitycenter_v1_bigquery_export_proto_goTypes = []any{
267 (*BigQueryExport)(nil), // 0: google.cloud.securitycenter.v1.BigQueryExport
268 (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
269 }
270 var file_google_cloud_securitycenter_v1_bigquery_export_proto_depIdxs = []int32{
271 1, // 0: google.cloud.securitycenter.v1.BigQueryExport.create_time:type_name -> google.protobuf.Timestamp
272 1, // 1: google.cloud.securitycenter.v1.BigQueryExport.update_time:type_name -> google.protobuf.Timestamp
273 2, // [2:2] is the sub-list for method output_type
274 2, // [2:2] is the sub-list for method input_type
275 2, // [2:2] is the sub-list for extension type_name
276 2, // [2:2] is the sub-list for extension extendee
277 0, // [0:2] is the sub-list for field type_name
278 }
279
280 func init() { file_google_cloud_securitycenter_v1_bigquery_export_proto_init() }
281 func file_google_cloud_securitycenter_v1_bigquery_export_proto_init() {
282 if File_google_cloud_securitycenter_v1_bigquery_export_proto != nil {
283 return
284 }
285 type x struct{}
286 out := protoimpl.TypeBuilder{
287 File: protoimpl.DescBuilder{
288 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
289 RawDescriptor: file_google_cloud_securitycenter_v1_bigquery_export_proto_rawDesc,
290 NumEnums: 0,
291 NumMessages: 1,
292 NumExtensions: 0,
293 NumServices: 0,
294 },
295 GoTypes: file_google_cloud_securitycenter_v1_bigquery_export_proto_goTypes,
296 DependencyIndexes: file_google_cloud_securitycenter_v1_bigquery_export_proto_depIdxs,
297 MessageInfos: file_google_cloud_securitycenter_v1_bigquery_export_proto_msgTypes,
298 }.Build()
299 File_google_cloud_securitycenter_v1_bigquery_export_proto = out.File
300 file_google_cloud_securitycenter_v1_bigquery_export_proto_rawDesc = nil
301 file_google_cloud_securitycenter_v1_bigquery_export_proto_goTypes = nil
302 file_google_cloud_securitycenter_v1_bigquery_export_proto_depIdxs = nil
303 }