Summary of entries of Methods for websecurityscanner.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient
WebSecurityScannerAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.websecurityscanner_v1.services.web_security_scanner.transports.base.WebSecurityScannerTransport, typing.Callable[[...], google.cloud.websecurityscanner_v1.services.web_security_scanner.transports.base.WebSecurityScannerTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the web security scanner async client.
See more: google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.create_scan_config
create_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.CreateScanConfigRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1.types.scan_config.ScanConfig
Creates a new ScanConfig.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.delete_scan_config
delete_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.DeleteScanConfigRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an existing ScanConfig and its child resources.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.finding_path
finding_path(project: str, scan_config: str, scan_run: str, finding: str) -> str
Returns a fully-qualified finding string.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.get_finding
get_finding(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.GetFindingRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1.types.finding.Finding
Gets a Finding.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.get_scan_config
get_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.GetScanConfigRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1.types.scan_config.ScanConfig
Gets a ScanConfig.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.get_scan_run
get_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.GetScanRunRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1.types.scan_run.ScanRun
Gets a ScanRun.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.websecurityscanner_v1.services.web_security_scanner.transports.base.WebSecurityScannerTransport
]
Returns an appropriate transport class.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.list_crawled_urls
list_crawled_urls(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListCrawledUrlsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListCrawledUrlsAsyncPager
)
List CrawledUrls under a given ScanRun.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.list_finding_type_stats
list_finding_type_stats(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListFindingTypeStatsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListFindingTypeStatsResponse
)
List all FindingTypeStats under a given ScanRun.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.list_findings
list_findings(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListFindingsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListFindingsAsyncPager
)
List Findings under a given ScanRun.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.list_scan_configs
list_scan_configs(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListScanConfigsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListScanConfigsAsyncPager
)
Lists ScanConfigs under a given project.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.list_scan_runs
list_scan_runs(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListScanRunsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListScanRunsAsyncPager
)
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_finding_path
parse_finding_path(path: str) -> typing.Dict[str, str]
Parses a finding path into its component segments.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.start_scan_run
start_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.StartScanRunRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1.types.scan_run.ScanRun
Start a ScanRun according to the given ScanConfig.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.stop_scan_run
stop_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.StopScanRunRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1.types.scan_run.ScanRun
Stops a ScanRun.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerAsyncClient.update_scan_config
update_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.UpdateScanConfigRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1.types.scan_config.ScanConfig
Updates a ScanConfig.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient
WebSecurityScannerClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.websecurityscanner_v1.services.web_security_scanner.transports.base.WebSecurityScannerTransport, typing.Callable[[...], google.cloud.websecurityscanner_v1.services.web_security_scanner.transports.base.WebSecurityScannerTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the web security scanner client.
See more: google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.exit
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.create_scan_config
create_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.CreateScanConfigRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1.types.scan_config.ScanConfig
Creates a new ScanConfig.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.delete_scan_config
delete_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.DeleteScanConfigRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an existing ScanConfig and its child resources.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.finding_path
finding_path(project: str, scan_config: str, scan_run: str, finding: str) -> str
Returns a fully-qualified finding string.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.get_finding
get_finding(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.GetFindingRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1.types.finding.Finding
Gets a Finding.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.get_scan_config
get_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.GetScanConfigRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1.types.scan_config.ScanConfig
Gets a ScanConfig.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.get_scan_run
get_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.GetScanRunRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1.types.scan_run.ScanRun
Gets a ScanRun.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.list_crawled_urls
list_crawled_urls(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListCrawledUrlsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListCrawledUrlsPager
)
List CrawledUrls under a given ScanRun.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.list_finding_type_stats
list_finding_type_stats(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListFindingTypeStatsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListFindingTypeStatsResponse
)
List all FindingTypeStats under a given ScanRun.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.list_findings
list_findings(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListFindingsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListFindingsPager
)
List Findings under a given ScanRun.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.list_scan_configs
list_scan_configs(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListScanConfigsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListScanConfigsPager
)
Lists ScanConfigs under a given project.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.list_scan_runs
list_scan_runs(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListScanRunsRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListScanRunsPager
)
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.parse_finding_path
parse_finding_path(path: str) -> typing.Dict[str, str]
Parses a finding path into its component segments.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.start_scan_run
start_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.StartScanRunRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1.types.scan_run.ScanRun
Start a ScanRun according to the given ScanConfig.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.stop_scan_run
stop_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.StopScanRunRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1.types.scan_run.ScanRun
Stops a ScanRun.
google.cloud.websecurityscanner_v1.services.web_security_scanner.WebSecurityScannerClient.update_scan_config
update_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1.types.web_security_scanner.UpdateScanConfigRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1.types.scan_config.ScanConfig
Updates a ScanConfig.
google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListCrawledUrlsAsyncPager
ListCrawledUrlsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListCrawledUrlsResponse
],
],
request: google.cloud.websecurityscanner_v1.types.web_security_scanner.ListCrawledUrlsRequest,
response: google.cloud.websecurityscanner_v1.types.web_security_scanner.ListCrawledUrlsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListCrawledUrlsAsyncPager
google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListCrawledUrlsPager
ListCrawledUrlsPager(
method: typing.Callable[
[...],
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListCrawledUrlsResponse,
],
request: google.cloud.websecurityscanner_v1.types.web_security_scanner.ListCrawledUrlsRequest,
response: google.cloud.websecurityscanner_v1.types.web_security_scanner.ListCrawledUrlsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListCrawledUrlsPager
google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListFindingsAsyncPager
ListFindingsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListFindingsResponse
],
],
request: google.cloud.websecurityscanner_v1.types.web_security_scanner.ListFindingsRequest,
response: google.cloud.websecurityscanner_v1.types.web_security_scanner.ListFindingsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListFindingsAsyncPager
google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListFindingsPager
ListFindingsPager(
method: typing.Callable[
[...],
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListFindingsResponse,
],
request: google.cloud.websecurityscanner_v1.types.web_security_scanner.ListFindingsRequest,
response: google.cloud.websecurityscanner_v1.types.web_security_scanner.ListFindingsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListFindingsPager
google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListScanConfigsAsyncPager
ListScanConfigsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListScanConfigsResponse
],
],
request: google.cloud.websecurityscanner_v1.types.web_security_scanner.ListScanConfigsRequest,
response: google.cloud.websecurityscanner_v1.types.web_security_scanner.ListScanConfigsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListScanConfigsAsyncPager
google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListScanConfigsPager
ListScanConfigsPager(
method: typing.Callable[
[...],
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListScanConfigsResponse,
],
request: google.cloud.websecurityscanner_v1.types.web_security_scanner.ListScanConfigsRequest,
response: google.cloud.websecurityscanner_v1.types.web_security_scanner.ListScanConfigsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListScanConfigsPager
google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListScanRunsAsyncPager
ListScanRunsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListScanRunsResponse
],
],
request: google.cloud.websecurityscanner_v1.types.web_security_scanner.ListScanRunsRequest,
response: google.cloud.websecurityscanner_v1.types.web_security_scanner.ListScanRunsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListScanRunsAsyncPager
google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListScanRunsPager
ListScanRunsPager(
method: typing.Callable[
[...],
google.cloud.websecurityscanner_v1.types.web_security_scanner.ListScanRunsResponse,
],
request: google.cloud.websecurityscanner_v1.types.web_security_scanner.ListScanRunsRequest,
response: google.cloud.websecurityscanner_v1.types.web_security_scanner.ListScanRunsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.websecurityscanner_v1.services.web_security_scanner.pagers.ListScanRunsPager
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient
WebSecurityScannerAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.transports.base.WebSecurityScannerTransport, typing.Callable[[...], google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.transports.base.WebSecurityScannerTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the web security scanner async client.
See more: google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.create_scan_config
create_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.CreateScanConfigRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
scan_config: typing.Optional[
google.cloud.websecurityscanner_v1alpha.types.scan_config.ScanConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1alpha.types.scan_config.ScanConfig
Creates a new ScanConfig.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.delete_scan_config
delete_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.DeleteScanConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an existing ScanConfig and its child resources.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.finding_path
finding_path(project: str, scan_config: str, scan_run: str, finding: str) -> str
Returns a fully-qualified finding string.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.get_finding
get_finding(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.GetFindingRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1alpha.types.finding.Finding
Gets a Finding.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.get_scan_config
get_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.GetScanConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1alpha.types.scan_config.ScanConfig
Gets a ScanConfig.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.get_scan_run
get_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.GetScanRunRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1alpha.types.scan_run.ScanRun
Gets a ScanRun.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.transports.base.WebSecurityScannerTransport
]
Returns an appropriate transport class.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.list_crawled_urls
list_crawled_urls(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListCrawledUrlsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListCrawledUrlsAsyncPager
)
List CrawledUrls under a given ScanRun.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.list_finding_type_stats
list_finding_type_stats(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListFindingTypeStatsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListFindingTypeStatsResponse
)
List all FindingTypeStats under a given ScanRun.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.list_findings
list_findings(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
filter: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListFindingsAsyncPager
)
List Findings under a given ScanRun.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.list_scan_configs
list_scan_configs(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListScanConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListScanConfigsAsyncPager
)
Lists ScanConfigs under a given project.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.list_scan_runs
list_scan_runs(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListScanRunsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListScanRunsAsyncPager
)
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_finding_path
parse_finding_path(path: str) -> typing.Dict[str, str]
Parses a finding path into its component segments.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_scan_config_path
parse_scan_config_path(path: str) -> typing.Dict[str, str]
Parses a scan_config path into its component segments.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_scan_run_path
parse_scan_run_path(path: str) -> typing.Dict[str, str]
Parses a scan_run path into its component segments.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.scan_config_path
scan_config_path(project: str, scan_config: str) -> str
Returns a fully-qualified scan_config string.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.scan_run_path
scan_run_path(project: str, scan_config: str, scan_run: str) -> str
Returns a fully-qualified scan_run string.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.start_scan_run
start_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.StartScanRunRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1alpha.types.scan_run.ScanRun
Start a ScanRun according to the given ScanConfig.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.stop_scan_run
stop_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.StopScanRunRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1alpha.types.scan_run.ScanRun
Stops a ScanRun.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerAsyncClient.update_scan_config
update_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.UpdateScanConfigRequest,
dict,
]
] = None,
*,
scan_config: typing.Optional[
google.cloud.websecurityscanner_v1alpha.types.scan_config.ScanConfig
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1alpha.types.scan_config.ScanConfig
Updates a ScanConfig.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient
WebSecurityScannerClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.transports.base.WebSecurityScannerTransport, typing.Callable[[...], google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.transports.base.WebSecurityScannerTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the web security scanner client.
See more: google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.exit
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.create_scan_config
create_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.CreateScanConfigRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
scan_config: typing.Optional[
google.cloud.websecurityscanner_v1alpha.types.scan_config.ScanConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1alpha.types.scan_config.ScanConfig
Creates a new ScanConfig.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.delete_scan_config
delete_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.DeleteScanConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an existing ScanConfig and its child resources.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.finding_path
finding_path(project: str, scan_config: str, scan_run: str, finding: str) -> str
Returns a fully-qualified finding string.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.get_finding
get_finding(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.GetFindingRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1alpha.types.finding.Finding
Gets a Finding.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.get_scan_config
get_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.GetScanConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1alpha.types.scan_config.ScanConfig
Gets a ScanConfig.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.get_scan_run
get_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.GetScanRunRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1alpha.types.scan_run.ScanRun
Gets a ScanRun.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.list_crawled_urls
list_crawled_urls(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListCrawledUrlsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListCrawledUrlsPager
)
List CrawledUrls under a given ScanRun.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.list_finding_type_stats
list_finding_type_stats(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListFindingTypeStatsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListFindingTypeStatsResponse
)
List all FindingTypeStats under a given ScanRun.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.list_findings
list_findings(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
filter: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListFindingsPager
)
List Findings under a given ScanRun.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.list_scan_configs
list_scan_configs(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListScanConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListScanConfigsPager
)
Lists ScanConfigs under a given project.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.list_scan_runs
list_scan_runs(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListScanRunsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListScanRunsPager
)
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.parse_finding_path
parse_finding_path(path: str) -> typing.Dict[str, str]
Parses a finding path into its component segments.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.parse_scan_config_path
parse_scan_config_path(path: str) -> typing.Dict[str, str]
Parses a scan_config path into its component segments.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.parse_scan_run_path
parse_scan_run_path(path: str) -> typing.Dict[str, str]
Parses a scan_run path into its component segments.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.scan_config_path
scan_config_path(project: str, scan_config: str) -> str
Returns a fully-qualified scan_config string.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.scan_run_path
scan_run_path(project: str, scan_config: str, scan_run: str) -> str
Returns a fully-qualified scan_run string.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.start_scan_run
start_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.StartScanRunRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1alpha.types.scan_run.ScanRun
Start a ScanRun according to the given ScanConfig.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.stop_scan_run
stop_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.StopScanRunRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1alpha.types.scan_run.ScanRun
Stops a ScanRun.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.WebSecurityScannerClient.update_scan_config
update_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.UpdateScanConfigRequest,
dict,
]
] = None,
*,
scan_config: typing.Optional[
google.cloud.websecurityscanner_v1alpha.types.scan_config.ScanConfig
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1alpha.types.scan_config.ScanConfig
Updates a ScanConfig.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListCrawledUrlsAsyncPager
ListCrawledUrlsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListCrawledUrlsResponse
],
],
request: google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListCrawledUrlsRequest,
response: google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListCrawledUrlsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListCrawledUrlsPager
ListCrawledUrlsPager(
method: typing.Callable[
[...],
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListCrawledUrlsResponse,
],
request: google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListCrawledUrlsRequest,
response: google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListCrawledUrlsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListCrawledUrlsPager
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListFindingsAsyncPager
ListFindingsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListFindingsResponse
],
],
request: google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListFindingsRequest,
response: google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListFindingsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListFindingsAsyncPager
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListFindingsPager
ListFindingsPager(
method: typing.Callable[
[...],
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListFindingsResponse,
],
request: google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListFindingsRequest,
response: google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListFindingsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListFindingsPager
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListScanConfigsAsyncPager
ListScanConfigsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListScanConfigsResponse
],
],
request: google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListScanConfigsRequest,
response: google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListScanConfigsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListScanConfigsPager
ListScanConfigsPager(
method: typing.Callable[
[...],
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListScanConfigsResponse,
],
request: google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListScanConfigsRequest,
response: google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListScanConfigsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListScanConfigsPager
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListScanRunsAsyncPager
ListScanRunsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListScanRunsResponse
],
],
request: google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListScanRunsRequest,
response: google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListScanRunsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListScanRunsAsyncPager
google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListScanRunsPager
ListScanRunsPager(
method: typing.Callable[
[...],
google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListScanRunsResponse,
],
request: google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListScanRunsRequest,
response: google.cloud.websecurityscanner_v1alpha.types.web_security_scanner.ListScanRunsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.websecurityscanner_v1alpha.services.web_security_scanner.pagers.ListScanRunsPager
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient
WebSecurityScannerAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.websecurityscanner_v1beta.services.web_security_scanner.transports.base.WebSecurityScannerTransport, typing.Callable[[...], google.cloud.websecurityscanner_v1beta.services.web_security_scanner.transports.base.WebSecurityScannerTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the web security scanner async client.
See more: google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.create_scan_config
create_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.CreateScanConfigRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
scan_config: typing.Optional[
google.cloud.websecurityscanner_v1beta.types.scan_config.ScanConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1beta.types.scan_config.ScanConfig
Creates a new ScanConfig.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.delete_scan_config
delete_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.DeleteScanConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an existing ScanConfig and its child resources.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.finding_path
finding_path(project: str, scan_config: str, scan_run: str, finding: str) -> str
Returns a fully-qualified finding string.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.get_finding
get_finding(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.GetFindingRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1beta.types.finding.Finding
Gets a Finding.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.get_scan_config
get_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.GetScanConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1beta.types.scan_config.ScanConfig
Gets a ScanConfig.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.get_scan_run
get_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.GetScanRunRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1beta.types.scan_run.ScanRun
Gets a ScanRun.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.transports.base.WebSecurityScannerTransport
]
Returns an appropriate transport class.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.list_crawled_urls
list_crawled_urls(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListCrawledUrlsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListCrawledUrlsAsyncPager
)
List CrawledUrls under a given ScanRun.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.list_finding_type_stats
list_finding_type_stats(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListFindingTypeStatsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListFindingTypeStatsResponse
)
List all FindingTypeStats under a given ScanRun.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.list_findings
list_findings(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
filter: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListFindingsAsyncPager
)
List Findings under a given ScanRun.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.list_scan_configs
list_scan_configs(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListScanConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListScanConfigsAsyncPager
)
Lists ScanConfigs under a given project.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.list_scan_runs
list_scan_runs(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListScanRunsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListScanRunsAsyncPager
)
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_finding_path
parse_finding_path(path: str) -> typing.Dict[str, str]
Parses a finding path into its component segments.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_scan_config_path
parse_scan_config_path(path: str) -> typing.Dict[str, str]
Parses a scan_config path into its component segments.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.parse_scan_run_path
parse_scan_run_path(path: str) -> typing.Dict[str, str]
Parses a scan_run path into its component segments.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.scan_config_path
scan_config_path(project: str, scan_config: str) -> str
Returns a fully-qualified scan_config string.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.scan_run_path
scan_run_path(project: str, scan_config: str, scan_run: str) -> str
Returns a fully-qualified scan_run string.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.start_scan_run
start_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.StartScanRunRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1beta.types.scan_run.ScanRun
Start a ScanRun according to the given ScanConfig.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.stop_scan_run
stop_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.StopScanRunRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1beta.types.scan_run.ScanRun
Stops a ScanRun.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerAsyncClient.update_scan_config
update_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.UpdateScanConfigRequest,
dict,
]
] = None,
*,
scan_config: typing.Optional[
google.cloud.websecurityscanner_v1beta.types.scan_config.ScanConfig
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1beta.types.scan_config.ScanConfig
Updates a ScanConfig.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient
WebSecurityScannerClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.websecurityscanner_v1beta.services.web_security_scanner.transports.base.WebSecurityScannerTransport, typing.Callable[[...], google.cloud.websecurityscanner_v1beta.services.web_security_scanner.transports.base.WebSecurityScannerTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the web security scanner client.
See more: google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.exit
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.create_scan_config
create_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.CreateScanConfigRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
scan_config: typing.Optional[
google.cloud.websecurityscanner_v1beta.types.scan_config.ScanConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1beta.types.scan_config.ScanConfig
Creates a new ScanConfig.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.delete_scan_config
delete_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.DeleteScanConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Deletes an existing ScanConfig and its child resources.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.finding_path
finding_path(project: str, scan_config: str, scan_run: str, finding: str) -> str
Returns a fully-qualified finding string.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.get_finding
get_finding(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.GetFindingRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1beta.types.finding.Finding
Gets a Finding.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.get_scan_config
get_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.GetScanConfigRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1beta.types.scan_config.ScanConfig
Gets a ScanConfig.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.get_scan_run
get_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.GetScanRunRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1beta.types.scan_run.ScanRun
Gets a ScanRun.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.list_crawled_urls
list_crawled_urls(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListCrawledUrlsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListCrawledUrlsPager
)
List CrawledUrls under a given ScanRun.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.list_finding_type_stats
list_finding_type_stats(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListFindingTypeStatsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListFindingTypeStatsResponse
)
List all FindingTypeStats under a given ScanRun.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.list_findings
list_findings(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListFindingsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
filter: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListFindingsPager
)
List Findings under a given ScanRun.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.list_scan_configs
list_scan_configs(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListScanConfigsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListScanConfigsPager
)
Lists ScanConfigs under a given project.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.list_scan_runs
list_scan_runs(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListScanRunsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListScanRunsPager
)
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.parse_finding_path
parse_finding_path(path: str) -> typing.Dict[str, str]
Parses a finding path into its component segments.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.parse_scan_config_path
parse_scan_config_path(path: str) -> typing.Dict[str, str]
Parses a scan_config path into its component segments.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.parse_scan_run_path
parse_scan_run_path(path: str) -> typing.Dict[str, str]
Parses a scan_run path into its component segments.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.scan_config_path
scan_config_path(project: str, scan_config: str) -> str
Returns a fully-qualified scan_config string.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.scan_run_path
scan_run_path(project: str, scan_config: str, scan_run: str) -> str
Returns a fully-qualified scan_run string.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.start_scan_run
start_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.StartScanRunRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1beta.types.scan_run.ScanRun
Start a ScanRun according to the given ScanConfig.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.stop_scan_run
stop_scan_run(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.StopScanRunRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1beta.types.scan_run.ScanRun
Stops a ScanRun.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.WebSecurityScannerClient.update_scan_config
update_scan_config(
request: typing.Optional[
typing.Union[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.UpdateScanConfigRequest,
dict,
]
] = None,
*,
scan_config: typing.Optional[
google.cloud.websecurityscanner_v1beta.types.scan_config.ScanConfig
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.websecurityscanner_v1beta.types.scan_config.ScanConfig
Updates a ScanConfig.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListCrawledUrlsAsyncPager
ListCrawledUrlsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListCrawledUrlsResponse
],
],
request: google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListCrawledUrlsRequest,
response: google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListCrawledUrlsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListCrawledUrlsPager
ListCrawledUrlsPager(
method: typing.Callable[
[...],
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListCrawledUrlsResponse,
],
request: google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListCrawledUrlsRequest,
response: google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListCrawledUrlsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListCrawledUrlsPager
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListFindingsAsyncPager
ListFindingsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListFindingsResponse
],
],
request: google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListFindingsRequest,
response: google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListFindingsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListFindingsAsyncPager
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListFindingsPager
ListFindingsPager(
method: typing.Callable[
[...],
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListFindingsResponse,
],
request: google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListFindingsRequest,
response: google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListFindingsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListFindingsPager
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListScanConfigsAsyncPager
ListScanConfigsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListScanConfigsResponse
],
],
request: google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListScanConfigsRequest,
response: google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListScanConfigsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListScanConfigsPager
ListScanConfigsPager(
method: typing.Callable[
[...],
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListScanConfigsResponse,
],
request: google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListScanConfigsRequest,
response: google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListScanConfigsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListScanConfigsPager
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListScanRunsAsyncPager
ListScanRunsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListScanRunsResponse
],
],
request: google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListScanRunsRequest,
response: google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListScanRunsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListScanRunsAsyncPager
google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListScanRunsPager
ListScanRunsPager(
method: typing.Callable[
[...],
google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListScanRunsResponse,
],
request: google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListScanRunsRequest,
response: google.cloud.websecurityscanner_v1beta.types.web_security_scanner.ListScanRunsResponse,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.websecurityscanner_v1beta.services.web_security_scanner.pagers.ListScanRunsPager