1// Copyright 2019 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
16// Code generated by protoc-gen-go. DO NOT EDIT.
17// versions:
18// 	protoc-gen-go v1.26.0
19// 	protoc        v3.12.2
20// source: google/cloud/websecurityscanner/v1beta/scan_config.proto
21
22package websecurityscanner
23
24import (
25	reflect "reflect"
26	sync "sync"
27
28	_ "google.golang.org/genproto/googleapis/api/annotations"
29	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
32)
33
34const (
35	// Verify that this generated code is sufficiently up-to-date.
36	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37	// Verify that runtime/protoimpl is sufficiently up-to-date.
38	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39)
40
41// Type of user agents used for scanning.
42type ScanConfig_UserAgent int32
43
44const (
45	// The user agent is unknown. Service will default to CHROME_LINUX.
46	ScanConfig_USER_AGENT_UNSPECIFIED ScanConfig_UserAgent = 0
47	// Chrome on Linux. This is the service default if unspecified.
48	ScanConfig_CHROME_LINUX ScanConfig_UserAgent = 1
49	// Chrome on Android.
50	ScanConfig_CHROME_ANDROID ScanConfig_UserAgent = 2
51	// Safari on IPhone.
52	ScanConfig_SAFARI_IPHONE ScanConfig_UserAgent = 3
53)
54
55// Enum value maps for ScanConfig_UserAgent.
56var (
57	ScanConfig_UserAgent_name = map[int32]string{
58		0: "USER_AGENT_UNSPECIFIED",
59		1: "CHROME_LINUX",
60		2: "CHROME_ANDROID",
61		3: "SAFARI_IPHONE",
62	}
63	ScanConfig_UserAgent_value = map[string]int32{
64		"USER_AGENT_UNSPECIFIED": 0,
65		"CHROME_LINUX":           1,
66		"CHROME_ANDROID":         2,
67		"SAFARI_IPHONE":          3,
68	}
69)
70
71func (x ScanConfig_UserAgent) Enum() *ScanConfig_UserAgent {
72	p := new(ScanConfig_UserAgent)
73	*p = x
74	return p
75}
76
77func (x ScanConfig_UserAgent) String() string {
78	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
79}
80
81func (ScanConfig_UserAgent) Descriptor() protoreflect.EnumDescriptor {
82	return file_google_cloud_websecurityscanner_v1beta_scan_config_proto_enumTypes[0].Descriptor()
83}
84
85func (ScanConfig_UserAgent) Type() protoreflect.EnumType {
86	return &file_google_cloud_websecurityscanner_v1beta_scan_config_proto_enumTypes[0]
87}
88
89func (x ScanConfig_UserAgent) Number() protoreflect.EnumNumber {
90	return protoreflect.EnumNumber(x)
91}
92
93// Deprecated: Use ScanConfig_UserAgent.Descriptor instead.
94func (ScanConfig_UserAgent) EnumDescriptor() ([]byte, []int) {
95	return file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDescGZIP(), []int{0, 0}
96}
97
98// Cloud platforms supported by Cloud Web Security Scanner.
99type ScanConfig_TargetPlatform int32
100
101const (
102	// The target platform is unknown. Requests with this enum value will be
103	// rejected with INVALID_ARGUMENT error.
104	ScanConfig_TARGET_PLATFORM_UNSPECIFIED ScanConfig_TargetPlatform = 0
105	// Google App Engine service.
106	ScanConfig_APP_ENGINE ScanConfig_TargetPlatform = 1
107	// Google Compute Engine service.
108	ScanConfig_COMPUTE ScanConfig_TargetPlatform = 2
109)
110
111// Enum value maps for ScanConfig_TargetPlatform.
112var (
113	ScanConfig_TargetPlatform_name = map[int32]string{
114		0: "TARGET_PLATFORM_UNSPECIFIED",
115		1: "APP_ENGINE",
116		2: "COMPUTE",
117	}
118	ScanConfig_TargetPlatform_value = map[string]int32{
119		"TARGET_PLATFORM_UNSPECIFIED": 0,
120		"APP_ENGINE":                  1,
121		"COMPUTE":                     2,
122	}
123)
124
125func (x ScanConfig_TargetPlatform) Enum() *ScanConfig_TargetPlatform {
126	p := new(ScanConfig_TargetPlatform)
127	*p = x
128	return p
129}
130
131func (x ScanConfig_TargetPlatform) String() string {
132	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
133}
134
135func (ScanConfig_TargetPlatform) Descriptor() protoreflect.EnumDescriptor {
136	return file_google_cloud_websecurityscanner_v1beta_scan_config_proto_enumTypes[1].Descriptor()
137}
138
139func (ScanConfig_TargetPlatform) Type() protoreflect.EnumType {
140	return &file_google_cloud_websecurityscanner_v1beta_scan_config_proto_enumTypes[1]
141}
142
143func (x ScanConfig_TargetPlatform) Number() protoreflect.EnumNumber {
144	return protoreflect.EnumNumber(x)
145}
146
147// Deprecated: Use ScanConfig_TargetPlatform.Descriptor instead.
148func (ScanConfig_TargetPlatform) EnumDescriptor() ([]byte, []int) {
149	return file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDescGZIP(), []int{0, 1}
150}
151
152// Scan risk levels supported by Cloud Web Security Scanner. LOW impact
153// scanning will minimize requests with the potential to modify data. To
154// achieve the maximum scan coverage, NORMAL risk level is recommended.
155type ScanConfig_RiskLevel int32
156
157const (
158	// Use default, which is NORMAL.
159	ScanConfig_RISK_LEVEL_UNSPECIFIED ScanConfig_RiskLevel = 0
160	// Normal scanning (Recommended)
161	ScanConfig_NORMAL ScanConfig_RiskLevel = 1
162	// Lower impact scanning
163	ScanConfig_LOW ScanConfig_RiskLevel = 2
164)
165
166// Enum value maps for ScanConfig_RiskLevel.
167var (
168	ScanConfig_RiskLevel_name = map[int32]string{
169		0: "RISK_LEVEL_UNSPECIFIED",
170		1: "NORMAL",
171		2: "LOW",
172	}
173	ScanConfig_RiskLevel_value = map[string]int32{
174		"RISK_LEVEL_UNSPECIFIED": 0,
175		"NORMAL":                 1,
176		"LOW":                    2,
177	}
178)
179
180func (x ScanConfig_RiskLevel) Enum() *ScanConfig_RiskLevel {
181	p := new(ScanConfig_RiskLevel)
182	*p = x
183	return p
184}
185
186func (x ScanConfig_RiskLevel) String() string {
187	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
188}
189
190func (ScanConfig_RiskLevel) Descriptor() protoreflect.EnumDescriptor {
191	return file_google_cloud_websecurityscanner_v1beta_scan_config_proto_enumTypes[2].Descriptor()
192}
193
194func (ScanConfig_RiskLevel) Type() protoreflect.EnumType {
195	return &file_google_cloud_websecurityscanner_v1beta_scan_config_proto_enumTypes[2]
196}
197
198func (x ScanConfig_RiskLevel) Number() protoreflect.EnumNumber {
199	return protoreflect.EnumNumber(x)
200}
201
202// Deprecated: Use ScanConfig_RiskLevel.Descriptor instead.
203func (ScanConfig_RiskLevel) EnumDescriptor() ([]byte, []int) {
204	return file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDescGZIP(), []int{0, 2}
205}
206
207// Controls export of scan configurations and results to Cloud Security
208// Command Center.
209type ScanConfig_ExportToSecurityCommandCenter int32
210
211const (
212	// Use default, which is ENABLED.
213	ScanConfig_EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED ScanConfig_ExportToSecurityCommandCenter = 0
214	// Export results of this scan to Cloud Security Command Center.
215	ScanConfig_ENABLED ScanConfig_ExportToSecurityCommandCenter = 1
216	// Do not export results of this scan to Cloud Security Command Center.
217	ScanConfig_DISABLED ScanConfig_ExportToSecurityCommandCenter = 2
218)
219
220// Enum value maps for ScanConfig_ExportToSecurityCommandCenter.
221var (
222	ScanConfig_ExportToSecurityCommandCenter_name = map[int32]string{
223		0: "EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED",
224		1: "ENABLED",
225		2: "DISABLED",
226	}
227	ScanConfig_ExportToSecurityCommandCenter_value = map[string]int32{
228		"EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED": 0,
229		"ENABLED":  1,
230		"DISABLED": 2,
231	}
232)
233
234func (x ScanConfig_ExportToSecurityCommandCenter) Enum() *ScanConfig_ExportToSecurityCommandCenter {
235	p := new(ScanConfig_ExportToSecurityCommandCenter)
236	*p = x
237	return p
238}
239
240func (x ScanConfig_ExportToSecurityCommandCenter) String() string {
241	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
242}
243
244func (ScanConfig_ExportToSecurityCommandCenter) Descriptor() protoreflect.EnumDescriptor {
245	return file_google_cloud_websecurityscanner_v1beta_scan_config_proto_enumTypes[3].Descriptor()
246}
247
248func (ScanConfig_ExportToSecurityCommandCenter) Type() protoreflect.EnumType {
249	return &file_google_cloud_websecurityscanner_v1beta_scan_config_proto_enumTypes[3]
250}
251
252func (x ScanConfig_ExportToSecurityCommandCenter) Number() protoreflect.EnumNumber {
253	return protoreflect.EnumNumber(x)
254}
255
256// Deprecated: Use ScanConfig_ExportToSecurityCommandCenter.Descriptor instead.
257func (ScanConfig_ExportToSecurityCommandCenter) EnumDescriptor() ([]byte, []int) {
258	return file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDescGZIP(), []int{0, 3}
259}
260
261// A ScanConfig resource contains the configurations to launch a scan.
262type ScanConfig struct {
263	state         protoimpl.MessageState
264	sizeCache     protoimpl.SizeCache
265	unknownFields protoimpl.UnknownFields
266
267	// The resource name of the ScanConfig. The name follows the format of
268	// 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are
269	// generated by the system.
270	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
271	// Required. The user provided display name of the ScanConfig.
272	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
273	// The maximum QPS during scanning. A valid value ranges from 5 to 20
274	// inclusively. If the field is unspecified or its value is set 0, server will
275	// default to 15. Other values outside of [5, 20] range will be rejected with
276	// INVALID_ARGUMENT error.
277	MaxQps int32 `protobuf:"varint,3,opt,name=max_qps,json=maxQps,proto3" json:"max_qps,omitempty"`
278	// Required. The starting URLs from which the scanner finds site pages.
279	StartingUrls []string `protobuf:"bytes,4,rep,name=starting_urls,json=startingUrls,proto3" json:"starting_urls,omitempty"`
280	// The authentication configuration. If specified, service will use the
281	// authentication configuration during scanning.
282	Authentication *ScanConfig_Authentication `protobuf:"bytes,5,opt,name=authentication,proto3" json:"authentication,omitempty"`
283	// The user agent used during scanning.
284	UserAgent ScanConfig_UserAgent `protobuf:"varint,6,opt,name=user_agent,json=userAgent,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanConfig_UserAgent" json:"user_agent,omitempty"`
285	// The blacklist URL patterns as described in
286	// https://cloud.google.com/security-scanner/docs/excluded-urls
287	BlacklistPatterns []string `protobuf:"bytes,7,rep,name=blacklist_patterns,json=blacklistPatterns,proto3" json:"blacklist_patterns,omitempty"`
288	// The schedule of the ScanConfig.
289	Schedule *ScanConfig_Schedule `protobuf:"bytes,8,opt,name=schedule,proto3" json:"schedule,omitempty"`
290	// Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be
291	// used as a default.
292	TargetPlatforms []ScanConfig_TargetPlatform `protobuf:"varint,9,rep,packed,name=target_platforms,json=targetPlatforms,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanConfig_TargetPlatform" json:"target_platforms,omitempty"`
293	// Controls export of scan configurations and results to Cloud Security
294	// Command Center.
295	ExportToSecurityCommandCenter ScanConfig_ExportToSecurityCommandCenter `protobuf:"varint,10,opt,name=export_to_security_command_center,json=exportToSecurityCommandCenter,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanConfig_ExportToSecurityCommandCenter" json:"export_to_security_command_center,omitempty"`
296	// Latest ScanRun if available.
297	LatestRun *ScanRun `protobuf:"bytes,11,opt,name=latest_run,json=latestRun,proto3" json:"latest_run,omitempty"`
298	// The risk level selected for the scan
299	RiskLevel ScanConfig_RiskLevel `protobuf:"varint,12,opt,name=risk_level,json=riskLevel,proto3,enum=google.cloud.websecurityscanner.v1beta.ScanConfig_RiskLevel" json:"risk_level,omitempty"`
300}
301
302func (x *ScanConfig) Reset() {
303	*x = ScanConfig{}
304	if protoimpl.UnsafeEnabled {
305		mi := &file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes[0]
306		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
307		ms.StoreMessageInfo(mi)
308	}
309}
310
311func (x *ScanConfig) String() string {
312	return protoimpl.X.MessageStringOf(x)
313}
314
315func (*ScanConfig) ProtoMessage() {}
316
317func (x *ScanConfig) ProtoReflect() protoreflect.Message {
318	mi := &file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes[0]
319	if protoimpl.UnsafeEnabled && x != nil {
320		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
321		if ms.LoadMessageInfo() == nil {
322			ms.StoreMessageInfo(mi)
323		}
324		return ms
325	}
326	return mi.MessageOf(x)
327}
328
329// Deprecated: Use ScanConfig.ProtoReflect.Descriptor instead.
330func (*ScanConfig) Descriptor() ([]byte, []int) {
331	return file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDescGZIP(), []int{0}
332}
333
334func (x *ScanConfig) GetName() string {
335	if x != nil {
336		return x.Name
337	}
338	return ""
339}
340
341func (x *ScanConfig) GetDisplayName() string {
342	if x != nil {
343		return x.DisplayName
344	}
345	return ""
346}
347
348func (x *ScanConfig) GetMaxQps() int32 {
349	if x != nil {
350		return x.MaxQps
351	}
352	return 0
353}
354
355func (x *ScanConfig) GetStartingUrls() []string {
356	if x != nil {
357		return x.StartingUrls
358	}
359	return nil
360}
361
362func (x *ScanConfig) GetAuthentication() *ScanConfig_Authentication {
363	if x != nil {
364		return x.Authentication
365	}
366	return nil
367}
368
369func (x *ScanConfig) GetUserAgent() ScanConfig_UserAgent {
370	if x != nil {
371		return x.UserAgent
372	}
373	return ScanConfig_USER_AGENT_UNSPECIFIED
374}
375
376func (x *ScanConfig) GetBlacklistPatterns() []string {
377	if x != nil {
378		return x.BlacklistPatterns
379	}
380	return nil
381}
382
383func (x *ScanConfig) GetSchedule() *ScanConfig_Schedule {
384	if x != nil {
385		return x.Schedule
386	}
387	return nil
388}
389
390func (x *ScanConfig) GetTargetPlatforms() []ScanConfig_TargetPlatform {
391	if x != nil {
392		return x.TargetPlatforms
393	}
394	return nil
395}
396
397func (x *ScanConfig) GetExportToSecurityCommandCenter() ScanConfig_ExportToSecurityCommandCenter {
398	if x != nil {
399		return x.ExportToSecurityCommandCenter
400	}
401	return ScanConfig_EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED
402}
403
404func (x *ScanConfig) GetLatestRun() *ScanRun {
405	if x != nil {
406		return x.LatestRun
407	}
408	return nil
409}
410
411func (x *ScanConfig) GetRiskLevel() ScanConfig_RiskLevel {
412	if x != nil {
413		return x.RiskLevel
414	}
415	return ScanConfig_RISK_LEVEL_UNSPECIFIED
416}
417
418// Scan authentication configuration.
419type ScanConfig_Authentication struct {
420	state         protoimpl.MessageState
421	sizeCache     protoimpl.SizeCache
422	unknownFields protoimpl.UnknownFields
423
424	// Required.
425	// Authentication configuration
426	//
427	// Types that are assignable to Authentication:
428	//	*ScanConfig_Authentication_GoogleAccount_
429	//	*ScanConfig_Authentication_CustomAccount_
430	Authentication isScanConfig_Authentication_Authentication `protobuf_oneof:"authentication"`
431}
432
433func (x *ScanConfig_Authentication) Reset() {
434	*x = ScanConfig_Authentication{}
435	if protoimpl.UnsafeEnabled {
436		mi := &file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes[1]
437		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
438		ms.StoreMessageInfo(mi)
439	}
440}
441
442func (x *ScanConfig_Authentication) String() string {
443	return protoimpl.X.MessageStringOf(x)
444}
445
446func (*ScanConfig_Authentication) ProtoMessage() {}
447
448func (x *ScanConfig_Authentication) ProtoReflect() protoreflect.Message {
449	mi := &file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes[1]
450	if protoimpl.UnsafeEnabled && x != nil {
451		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
452		if ms.LoadMessageInfo() == nil {
453			ms.StoreMessageInfo(mi)
454		}
455		return ms
456	}
457	return mi.MessageOf(x)
458}
459
460// Deprecated: Use ScanConfig_Authentication.ProtoReflect.Descriptor instead.
461func (*ScanConfig_Authentication) Descriptor() ([]byte, []int) {
462	return file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDescGZIP(), []int{0, 0}
463}
464
465func (m *ScanConfig_Authentication) GetAuthentication() isScanConfig_Authentication_Authentication {
466	if m != nil {
467		return m.Authentication
468	}
469	return nil
470}
471
472func (x *ScanConfig_Authentication) GetGoogleAccount() *ScanConfig_Authentication_GoogleAccount {
473	if x, ok := x.GetAuthentication().(*ScanConfig_Authentication_GoogleAccount_); ok {
474		return x.GoogleAccount
475	}
476	return nil
477}
478
479func (x *ScanConfig_Authentication) GetCustomAccount() *ScanConfig_Authentication_CustomAccount {
480	if x, ok := x.GetAuthentication().(*ScanConfig_Authentication_CustomAccount_); ok {
481		return x.CustomAccount
482	}
483	return nil
484}
485
486type isScanConfig_Authentication_Authentication interface {
487	isScanConfig_Authentication_Authentication()
488}
489
490type ScanConfig_Authentication_GoogleAccount_ struct {
491	// Authentication using a Google account.
492	GoogleAccount *ScanConfig_Authentication_GoogleAccount `protobuf:"bytes,1,opt,name=google_account,json=googleAccount,proto3,oneof"`
493}
494
495type ScanConfig_Authentication_CustomAccount_ struct {
496	// Authentication using a custom account.
497	CustomAccount *ScanConfig_Authentication_CustomAccount `protobuf:"bytes,2,opt,name=custom_account,json=customAccount,proto3,oneof"`
498}
499
500func (*ScanConfig_Authentication_GoogleAccount_) isScanConfig_Authentication_Authentication() {}
501
502func (*ScanConfig_Authentication_CustomAccount_) isScanConfig_Authentication_Authentication() {}
503
504// Scan schedule configuration.
505type ScanConfig_Schedule struct {
506	state         protoimpl.MessageState
507	sizeCache     protoimpl.SizeCache
508	unknownFields protoimpl.UnknownFields
509
510	// A timestamp indicates when the next run will be scheduled. The value is
511	// refreshed by the server after each run. If unspecified, it will default
512	// to current server time, which means the scan will be scheduled to start
513	// immediately.
514	ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
515	// Required. The duration of time between executions in days.
516	IntervalDurationDays int32 `protobuf:"varint,2,opt,name=interval_duration_days,json=intervalDurationDays,proto3" json:"interval_duration_days,omitempty"`
517}
518
519func (x *ScanConfig_Schedule) Reset() {
520	*x = ScanConfig_Schedule{}
521	if protoimpl.UnsafeEnabled {
522		mi := &file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes[2]
523		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
524		ms.StoreMessageInfo(mi)
525	}
526}
527
528func (x *ScanConfig_Schedule) String() string {
529	return protoimpl.X.MessageStringOf(x)
530}
531
532func (*ScanConfig_Schedule) ProtoMessage() {}
533
534func (x *ScanConfig_Schedule) ProtoReflect() protoreflect.Message {
535	mi := &file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes[2]
536	if protoimpl.UnsafeEnabled && x != nil {
537		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
538		if ms.LoadMessageInfo() == nil {
539			ms.StoreMessageInfo(mi)
540		}
541		return ms
542	}
543	return mi.MessageOf(x)
544}
545
546// Deprecated: Use ScanConfig_Schedule.ProtoReflect.Descriptor instead.
547func (*ScanConfig_Schedule) Descriptor() ([]byte, []int) {
548	return file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDescGZIP(), []int{0, 1}
549}
550
551func (x *ScanConfig_Schedule) GetScheduleTime() *timestamppb.Timestamp {
552	if x != nil {
553		return x.ScheduleTime
554	}
555	return nil
556}
557
558func (x *ScanConfig_Schedule) GetIntervalDurationDays() int32 {
559	if x != nil {
560		return x.IntervalDurationDays
561	}
562	return 0
563}
564
565// Describes authentication configuration that uses a Google account.
566type ScanConfig_Authentication_GoogleAccount struct {
567	state         protoimpl.MessageState
568	sizeCache     protoimpl.SizeCache
569	unknownFields protoimpl.UnknownFields
570
571	// Required. The user name of the Google account.
572	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
573	// Required. Input only. The password of the Google account. The credential is stored encrypted
574	// and not returned in any response nor included in audit logs.
575	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
576}
577
578func (x *ScanConfig_Authentication_GoogleAccount) Reset() {
579	*x = ScanConfig_Authentication_GoogleAccount{}
580	if protoimpl.UnsafeEnabled {
581		mi := &file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes[3]
582		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
583		ms.StoreMessageInfo(mi)
584	}
585}
586
587func (x *ScanConfig_Authentication_GoogleAccount) String() string {
588	return protoimpl.X.MessageStringOf(x)
589}
590
591func (*ScanConfig_Authentication_GoogleAccount) ProtoMessage() {}
592
593func (x *ScanConfig_Authentication_GoogleAccount) ProtoReflect() protoreflect.Message {
594	mi := &file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes[3]
595	if protoimpl.UnsafeEnabled && x != nil {
596		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
597		if ms.LoadMessageInfo() == nil {
598			ms.StoreMessageInfo(mi)
599		}
600		return ms
601	}
602	return mi.MessageOf(x)
603}
604
605// Deprecated: Use ScanConfig_Authentication_GoogleAccount.ProtoReflect.Descriptor instead.
606func (*ScanConfig_Authentication_GoogleAccount) Descriptor() ([]byte, []int) {
607	return file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDescGZIP(), []int{0, 0, 0}
608}
609
610func (x *ScanConfig_Authentication_GoogleAccount) GetUsername() string {
611	if x != nil {
612		return x.Username
613	}
614	return ""
615}
616
617func (x *ScanConfig_Authentication_GoogleAccount) GetPassword() string {
618	if x != nil {
619		return x.Password
620	}
621	return ""
622}
623
624// Describes authentication configuration that uses a custom account.
625type ScanConfig_Authentication_CustomAccount struct {
626	state         protoimpl.MessageState
627	sizeCache     protoimpl.SizeCache
628	unknownFields protoimpl.UnknownFields
629
630	// Required. The user name of the custom account.
631	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
632	// Required. Input only. The password of the custom account. The credential is stored encrypted
633	// and not returned in any response nor included in audit logs.
634	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
635	// Required. The login form URL of the website.
636	LoginUrl string `protobuf:"bytes,3,opt,name=login_url,json=loginUrl,proto3" json:"login_url,omitempty"`
637}
638
639func (x *ScanConfig_Authentication_CustomAccount) Reset() {
640	*x = ScanConfig_Authentication_CustomAccount{}
641	if protoimpl.UnsafeEnabled {
642		mi := &file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes[4]
643		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
644		ms.StoreMessageInfo(mi)
645	}
646}
647
648func (x *ScanConfig_Authentication_CustomAccount) String() string {
649	return protoimpl.X.MessageStringOf(x)
650}
651
652func (*ScanConfig_Authentication_CustomAccount) ProtoMessage() {}
653
654func (x *ScanConfig_Authentication_CustomAccount) ProtoReflect() protoreflect.Message {
655	mi := &file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes[4]
656	if protoimpl.UnsafeEnabled && x != nil {
657		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
658		if ms.LoadMessageInfo() == nil {
659			ms.StoreMessageInfo(mi)
660		}
661		return ms
662	}
663	return mi.MessageOf(x)
664}
665
666// Deprecated: Use ScanConfig_Authentication_CustomAccount.ProtoReflect.Descriptor instead.
667func (*ScanConfig_Authentication_CustomAccount) Descriptor() ([]byte, []int) {
668	return file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDescGZIP(), []int{0, 0, 1}
669}
670
671func (x *ScanConfig_Authentication_CustomAccount) GetUsername() string {
672	if x != nil {
673		return x.Username
674	}
675	return ""
676}
677
678func (x *ScanConfig_Authentication_CustomAccount) GetPassword() string {
679	if x != nil {
680		return x.Password
681	}
682	return ""
683}
684
685func (x *ScanConfig_Authentication_CustomAccount) GetLoginUrl() string {
686	if x != nil {
687		return x.LoginUrl
688	}
689	return ""
690}
691
692var File_google_cloud_websecurityscanner_v1beta_scan_config_proto protoreflect.FileDescriptor
693
694var file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDesc = []byte{
695	0x0a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77,
696	0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65,
697	0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x63, 0x6f,
698	0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67,
699	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75,
700	0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65,
701	0x74, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
702	0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
703	0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
704	0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35,
705	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, 0x65, 0x62,
706	0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f,
707	0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x72, 0x75, 0x6e, 0x2e,
708	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
709	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
710	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x0f, 0x0a, 0x0a, 0x53, 0x63, 0x61, 0x6e, 0x43,
711	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
712	0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73,
713	0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
714	0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d,
715	0x65, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f, 0x71, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01,
716	0x28, 0x05, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x51, 0x70, 0x73, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x74,
717	0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,
718	0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67,
719	0x55, 0x72, 0x6c, 0x73, 0x12, 0x69, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69,
720	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67,
721	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73,
722	0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76,
723	0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
724	0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
725	0x0e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
726	0x5b, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20,
727	0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
728	0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63,
729	0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x63, 0x61,
730	0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e,
731	0x74, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x2d, 0x0a, 0x12,
732	0x62, 0x6c, 0x61, 0x63, 0x6b, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72,
733	0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x62, 0x6c, 0x61, 0x63, 0x6b, 0x6c,
734	0x69, 0x73, 0x74, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x12, 0x57, 0x0a, 0x08, 0x73,
735	0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e,
736	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62,
737	0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e,
738	0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69,
739	0x67, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65,
740	0x64, 0x75, 0x6c, 0x65, 0x12, 0x6c, 0x0a, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x70,
741	0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x41,
742	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65,
743	0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72,
744	0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66,
745	0x69, 0x67, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
746	0x6d, 0x52, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
747	0x6d, 0x73, 0x12, 0x9a, 0x01, 0x0a, 0x21, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x74, 0x6f,
748	0x5f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e,
749	0x64, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x50,
750	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65,
751	0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72,
752	0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66,
753	0x69, 0x67, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x6f, 0x53, 0x65, 0x63, 0x75, 0x72,
754	0x69, 0x74, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72,
755	0x52, 0x1d, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x6f, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69,
756	0x74, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12,
757	0x4e, 0x0a, 0x0a, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x0b, 0x20,
758	0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
759	0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63,
760	0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x63, 0x61,
761	0x6e, 0x52, 0x75, 0x6e, 0x52, 0x09, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x52, 0x75, 0x6e, 0x12,
762	0x5b, 0x0a, 0x0a, 0x72, 0x69, 0x73, 0x6b, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0c, 0x20,
763	0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
764	0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63,
765	0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x63, 0x61,
766	0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x69, 0x73, 0x6b, 0x4c, 0x65, 0x76, 0x65,
767	0x6c, 0x52, 0x09, 0x72, 0x69, 0x73, 0x6b, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x1a, 0xe4, 0x03, 0x0a,
768	0x0e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
769	0x78, 0x0a, 0x0e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
770	0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
771	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
772	0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
773	0x2e, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x41, 0x75, 0x74, 0x68,
774	0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
775	0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x67, 0x6f, 0x6f, 0x67,
776	0x6c, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x78, 0x0a, 0x0e, 0x63, 0x75, 0x73,
777	0x74, 0x6f, 0x6d, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
778	0x0b, 0x32, 0x4f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
779	0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e,
780	0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x63, 0x61, 0x6e, 0x43,
781	0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61,
782	0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75,
783	0x6e, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x41, 0x63, 0x63, 0x6f,
784	0x75, 0x6e, 0x74, 0x1a, 0x54, 0x0a, 0x0d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x63, 0x63,
785	0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65,
786	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x75, 0x73, 0x65,
787	0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,
788	0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x04, 0x52,
789	0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x1a, 0x76, 0x0a, 0x0d, 0x43, 0x75, 0x73,
790	0x74, 0x6f, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x08, 0x75, 0x73,
791	0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
792	0x02, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x08, 0x70,
793	0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe0,
794	0x41, 0x02, 0xe0, 0x41, 0x04, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12,
795	0x20, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01,
796	0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x55, 0x72,
797	0x6c, 0x42, 0x10, 0x0a, 0x0e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74,
798	0x69, 0x6f, 0x6e, 0x1a, 0x86, 0x01, 0x0a, 0x08, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65,
799	0x12, 0x3f, 0x0a, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d,
800	0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
801	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
802	0x61, 0x6d, 0x70, 0x52, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x69, 0x6d,
803	0x65, 0x12, 0x39, 0x0a, 0x16, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x64, 0x75,
804	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
805	0x05, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x14, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
806	0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x79, 0x73, 0x22, 0x60, 0x0a, 0x09,
807	0x55, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x16, 0x55, 0x53, 0x45,
808	0x52, 0x5f, 0x41, 0x47, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
809	0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x48, 0x52, 0x4f, 0x4d, 0x45, 0x5f,
810	0x4c, 0x49, 0x4e, 0x55, 0x58, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x48, 0x52, 0x4f, 0x4d,
811	0x45, 0x5f, 0x41, 0x4e, 0x44, 0x52, 0x4f, 0x49, 0x44, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x53,
812	0x41, 0x46, 0x41, 0x52, 0x49, 0x5f, 0x49, 0x50, 0x48, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x22, 0x4e,
813	0x0a, 0x0e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
814	0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x54, 0x46,
815	0x4f, 0x52, 0x4d, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
816	0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x50, 0x50, 0x5f, 0x45, 0x4e, 0x47, 0x49, 0x4e, 0x45, 0x10,
817	0x01, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x10, 0x02, 0x22, 0x3c,
818	0x0a, 0x09, 0x52, 0x69, 0x73, 0x6b, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1a, 0x0a, 0x16, 0x52,
819	0x49, 0x53, 0x4b, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
820	0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f, 0x52, 0x4d, 0x41,
821	0x4c, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x4c, 0x4f, 0x57, 0x10, 0x02, 0x22, 0x6d, 0x0a, 0x1d,
822	0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x6f, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
823	0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x31, 0x0a,
824	0x2d, 0x45, 0x58, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x53, 0x45, 0x43, 0x55, 0x52,
825	0x49, 0x54, 0x59, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x5f, 0x43, 0x45, 0x4e, 0x54,
826	0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
827	0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a,
828	0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x3a, 0x5f, 0xea, 0x41, 0x5c,
829	0x0a, 0x2c, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61,
830	0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
831	0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2c,
832	0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
833	0x74, 0x7d, 0x2f, 0x73, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x2f, 0x7b,
834	0x73, 0x63, 0x61, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, 0x42, 0x97, 0x02, 0x0a,
835	0x2a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
836	0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61,
837	0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x0f, 0x53, 0x63, 0x61,
838	0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x58,
839	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
840	0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
841	0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, 0x65, 0x62, 0x73,
842	0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76,
843	0x31, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
844	0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0xaa, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
845	0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x57, 0x65, 0x62, 0x53, 0x65, 0x63, 0x75, 0x72,
846	0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74,
847	0x61, 0xca, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64,
848	0x5c, 0x57, 0x65, 0x62, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6e,
849	0x6e, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x29, 0x47, 0x6f, 0x6f,
850	0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x57, 0x65, 0x62, 0x53,
851	0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x3a, 0x3a,
852	0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
853}
854
855var (
856	file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDescOnce sync.Once
857	file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDescData = file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDesc
858)
859
860func file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDescGZIP() []byte {
861	file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDescOnce.Do(func() {
862		file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDescData)
863	})
864	return file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDescData
865}
866
867var file_google_cloud_websecurityscanner_v1beta_scan_config_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
868var file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
869var file_google_cloud_websecurityscanner_v1beta_scan_config_proto_goTypes = []interface{}{
870	(ScanConfig_UserAgent)(0),                       // 0: google.cloud.websecurityscanner.v1beta.ScanConfig.UserAgent
871	(ScanConfig_TargetPlatform)(0),                  // 1: google.cloud.websecurityscanner.v1beta.ScanConfig.TargetPlatform
872	(ScanConfig_RiskLevel)(0),                       // 2: google.cloud.websecurityscanner.v1beta.ScanConfig.RiskLevel
873	(ScanConfig_ExportToSecurityCommandCenter)(0),   // 3: google.cloud.websecurityscanner.v1beta.ScanConfig.ExportToSecurityCommandCenter
874	(*ScanConfig)(nil),                              // 4: google.cloud.websecurityscanner.v1beta.ScanConfig
875	(*ScanConfig_Authentication)(nil),               // 5: google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication
876	(*ScanConfig_Schedule)(nil),                     // 6: google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule
877	(*ScanConfig_Authentication_GoogleAccount)(nil), // 7: google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount
878	(*ScanConfig_Authentication_CustomAccount)(nil), // 8: google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount
879	(*ScanRun)(nil),                                 // 9: google.cloud.websecurityscanner.v1beta.ScanRun
880	(*timestamppb.Timestamp)(nil),                   // 10: google.protobuf.Timestamp
881}
882var file_google_cloud_websecurityscanner_v1beta_scan_config_proto_depIdxs = []int32{
883	5,  // 0: google.cloud.websecurityscanner.v1beta.ScanConfig.authentication:type_name -> google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication
884	0,  // 1: google.cloud.websecurityscanner.v1beta.ScanConfig.user_agent:type_name -> google.cloud.websecurityscanner.v1beta.ScanConfig.UserAgent
885	6,  // 2: google.cloud.websecurityscanner.v1beta.ScanConfig.schedule:type_name -> google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule
886	1,  // 3: google.cloud.websecurityscanner.v1beta.ScanConfig.target_platforms:type_name -> google.cloud.websecurityscanner.v1beta.ScanConfig.TargetPlatform
887	3,  // 4: google.cloud.websecurityscanner.v1beta.ScanConfig.export_to_security_command_center:type_name -> google.cloud.websecurityscanner.v1beta.ScanConfig.ExportToSecurityCommandCenter
888	9,  // 5: google.cloud.websecurityscanner.v1beta.ScanConfig.latest_run:type_name -> google.cloud.websecurityscanner.v1beta.ScanRun
889	2,  // 6: google.cloud.websecurityscanner.v1beta.ScanConfig.risk_level:type_name -> google.cloud.websecurityscanner.v1beta.ScanConfig.RiskLevel
890	7,  // 7: google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.google_account:type_name -> google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.GoogleAccount
891	8,  // 8: google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.custom_account:type_name -> google.cloud.websecurityscanner.v1beta.ScanConfig.Authentication.CustomAccount
892	10, // 9: google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule.schedule_time:type_name -> google.protobuf.Timestamp
893	10, // [10:10] is the sub-list for method output_type
894	10, // [10:10] is the sub-list for method input_type
895	10, // [10:10] is the sub-list for extension type_name
896	10, // [10:10] is the sub-list for extension extendee
897	0,  // [0:10] is the sub-list for field type_name
898}
899
900func init() { file_google_cloud_websecurityscanner_v1beta_scan_config_proto_init() }
901func file_google_cloud_websecurityscanner_v1beta_scan_config_proto_init() {
902	if File_google_cloud_websecurityscanner_v1beta_scan_config_proto != nil {
903		return
904	}
905	file_google_cloud_websecurityscanner_v1beta_scan_run_proto_init()
906	if !protoimpl.UnsafeEnabled {
907		file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
908			switch v := v.(*ScanConfig); i {
909			case 0:
910				return &v.state
911			case 1:
912				return &v.sizeCache
913			case 2:
914				return &v.unknownFields
915			default:
916				return nil
917			}
918		}
919		file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
920			switch v := v.(*ScanConfig_Authentication); i {
921			case 0:
922				return &v.state
923			case 1:
924				return &v.sizeCache
925			case 2:
926				return &v.unknownFields
927			default:
928				return nil
929			}
930		}
931		file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
932			switch v := v.(*ScanConfig_Schedule); i {
933			case 0:
934				return &v.state
935			case 1:
936				return &v.sizeCache
937			case 2:
938				return &v.unknownFields
939			default:
940				return nil
941			}
942		}
943		file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
944			switch v := v.(*ScanConfig_Authentication_GoogleAccount); i {
945			case 0:
946				return &v.state
947			case 1:
948				return &v.sizeCache
949			case 2:
950				return &v.unknownFields
951			default:
952				return nil
953			}
954		}
955		file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
956			switch v := v.(*ScanConfig_Authentication_CustomAccount); i {
957			case 0:
958				return &v.state
959			case 1:
960				return &v.sizeCache
961			case 2:
962				return &v.unknownFields
963			default:
964				return nil
965			}
966		}
967	}
968	file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes[1].OneofWrappers = []interface{}{
969		(*ScanConfig_Authentication_GoogleAccount_)(nil),
970		(*ScanConfig_Authentication_CustomAccount_)(nil),
971	}
972	type x struct{}
973	out := protoimpl.TypeBuilder{
974		File: protoimpl.DescBuilder{
975			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
976			RawDescriptor: file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDesc,
977			NumEnums:      4,
978			NumMessages:   5,
979			NumExtensions: 0,
980			NumServices:   0,
981		},
982		GoTypes:           file_google_cloud_websecurityscanner_v1beta_scan_config_proto_goTypes,
983		DependencyIndexes: file_google_cloud_websecurityscanner_v1beta_scan_config_proto_depIdxs,
984		EnumInfos:         file_google_cloud_websecurityscanner_v1beta_scan_config_proto_enumTypes,
985		MessageInfos:      file_google_cloud_websecurityscanner_v1beta_scan_config_proto_msgTypes,
986	}.Build()
987	File_google_cloud_websecurityscanner_v1beta_scan_config_proto = out.File
988	file_google_cloud_websecurityscanner_v1beta_scan_config_proto_rawDesc = nil
989	file_google_cloud_websecurityscanner_v1beta_scan_config_proto_goTypes = nil
990	file_google_cloud_websecurityscanner_v1beta_scan_config_proto_depIdxs = nil
991}
992