public interface ScanConfigOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
ScanConfig.Authentication |
getAuthentication()
The authentication configuration.
|
ScanConfig.AuthenticationOrBuilder |
getAuthenticationOrBuilder()
The authentication configuration.
|
String |
getBlacklistPatterns(int index)
The blacklist URL patterns as described in
https://cloud.google.com/security-scanner/docs/excluded-urls
|
ByteString |
getBlacklistPatternsBytes(int index)
The blacklist URL patterns as described in
https://cloud.google.com/security-scanner/docs/excluded-urls
|
int |
getBlacklistPatternsCount()
The blacklist URL patterns as described in
https://cloud.google.com/security-scanner/docs/excluded-urls
|
List<String> |
getBlacklistPatternsList()
The blacklist URL patterns as described in
https://cloud.google.com/security-scanner/docs/excluded-urls
|
String |
getDisplayName()
Required.
|
ByteString |
getDisplayNameBytes()
Required.
|
ScanRun |
getLatestRun()
Latest ScanRun if available.
|
ScanRunOrBuilder |
getLatestRunOrBuilder()
Latest ScanRun if available.
|
int |
getMaxQps()
The maximum QPS during scanning.
|
String |
getName()
The resource name of the ScanConfig.
|
ByteString |
getNameBytes()
The resource name of the ScanConfig.
|
ScanConfig.Schedule |
getSchedule()
The schedule of the ScanConfig.
|
ScanConfig.ScheduleOrBuilder |
getScheduleOrBuilder()
The schedule of the ScanConfig.
|
String |
getStartingUrls(int index)
Required.
|
ByteString |
getStartingUrlsBytes(int index)
Required.
|
int |
getStartingUrlsCount()
Required.
|
List<String> |
getStartingUrlsList()
Required.
|
ScanConfig.TargetPlatform |
getTargetPlatforms(int index)
Set of Cloud Platforms targeted by the scan.
|
int |
getTargetPlatformsCount()
Set of Cloud Platforms targeted by the scan.
|
List<ScanConfig.TargetPlatform> |
getTargetPlatformsList()
Set of Cloud Platforms targeted by the scan.
|
int |
getTargetPlatformsValue(int index)
Set of Cloud Platforms targeted by the scan.
|
List<Integer> |
getTargetPlatformsValueList()
Set of Cloud Platforms targeted by the scan.
|
ScanConfig.UserAgent |
getUserAgent()
The user agent used during scanning.
|
int |
getUserAgentValue()
The user agent used during scanning.
|
boolean |
hasAuthentication()
The authentication configuration.
|
boolean |
hasLatestRun()
Latest ScanRun if available.
|
boolean |
hasSchedule()
The schedule of the ScanConfig.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getName()
The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
string name = 1;
ByteString getNameBytes()
The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
string name = 1;
String getDisplayName()
Required. The user provided display name of the ScanConfig.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
ByteString getDisplayNameBytes()
Required. The user provided display name of the ScanConfig.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
int getMaxQps()
The maximum QPS during scanning. A valid value ranges from 5 to 20 inclusively. If the field is unspecified or its value is set 0, server will default to 15. Other values outside of [5, 20] range will be rejected with INVALID_ARGUMENT error.
int32 max_qps = 3;
List<String> getStartingUrlsList()
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4 [(.google.api.field_behavior) = REQUIRED];
int getStartingUrlsCount()
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4 [(.google.api.field_behavior) = REQUIRED];
String getStartingUrls(int index)
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4 [(.google.api.field_behavior) = REQUIRED];
index
- The index of the element to return.ByteString getStartingUrlsBytes(int index)
Required. The starting URLs from which the scanner finds site pages.
repeated string starting_urls = 4 [(.google.api.field_behavior) = REQUIRED];
index
- The index of the value to return.boolean hasAuthentication()
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication authentication = 5;
ScanConfig.Authentication getAuthentication()
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication authentication = 5;
ScanConfig.AuthenticationOrBuilder getAuthenticationOrBuilder()
The authentication configuration. If specified, service will use the authentication configuration during scanning.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Authentication authentication = 5;
int getUserAgentValue()
The user agent used during scanning.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.UserAgent user_agent = 6;
ScanConfig.UserAgent getUserAgent()
The user agent used during scanning.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.UserAgent user_agent = 6;
List<String> getBlacklistPatternsList()
The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-urls
repeated string blacklist_patterns = 7;
int getBlacklistPatternsCount()
The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-urls
repeated string blacklist_patterns = 7;
String getBlacklistPatterns(int index)
The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-urls
repeated string blacklist_patterns = 7;
index
- The index of the element to return.ByteString getBlacklistPatternsBytes(int index)
The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-urls
repeated string blacklist_patterns = 7;
index
- The index of the value to return.boolean hasSchedule()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Schedule schedule = 8;
ScanConfig.Schedule getSchedule()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Schedule schedule = 8;
ScanConfig.ScheduleOrBuilder getScheduleOrBuilder()
The schedule of the ScanConfig.
.google.cloud.websecurityscanner.v1alpha.ScanConfig.Schedule schedule = 8;
List<ScanConfig.TargetPlatform> getTargetPlatformsList()
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig.TargetPlatform target_platforms = 9;
int getTargetPlatformsCount()
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig.TargetPlatform target_platforms = 9;
ScanConfig.TargetPlatform getTargetPlatforms(int index)
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig.TargetPlatform target_platforms = 9;
index
- The index of the element to return.List<Integer> getTargetPlatformsValueList()
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig.TargetPlatform target_platforms = 9;
int getTargetPlatformsValue(int index)
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
repeated .google.cloud.websecurityscanner.v1alpha.ScanConfig.TargetPlatform target_platforms = 9;
index
- The index of the value to return.boolean hasLatestRun()
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1alpha.ScanRun latest_run = 11;
ScanRun getLatestRun()
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1alpha.ScanRun latest_run = 11;
ScanRunOrBuilder getLatestRunOrBuilder()
Latest ScanRun if available.
.google.cloud.websecurityscanner.v1alpha.ScanRun latest_run = 11;
Copyright © 2022 Google LLC. All rights reserved.