Package Methods (1.15.0)

Summary of entries of Methods for webrisk.

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient

WebRiskServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.webrisk_v1.services.web_risk_service.transports.base.WebRiskServiceTransport, typing.Callable[[...], google.cloud.webrisk_v1.services.web_risk_service.transports.base.WebRiskServiceTransport]]] = '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 risk service async client.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.cancel_operation

cancel_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.CancelOperationRequest
    ] = 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

Starts asynchronous cancellation on a long-running operation.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.cancel_operation

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.common_project_path

common_project_path(project: str) -> str

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.compute_threat_list_diff

compute_threat_list_diff(
    request: typing.Optional[
        typing.Union[
            google.cloud.webrisk_v1.types.webrisk.ComputeThreatListDiffRequest, dict
        ]
    ] = None,
    *,
    threat_type: typing.Optional[
        google.cloud.webrisk_v1.types.webrisk.ThreatType
    ] = None,
    version_token: typing.Optional[bytes] = None,
    constraints: typing.Optional[
        google.cloud.webrisk_v1.types.webrisk.ComputeThreatListDiffRequest.Constraints
    ] = 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.webrisk_v1.types.webrisk.ComputeThreatListDiffResponse

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.create_submission

create_submission(
    request: typing.Optional[
        typing.Union[
            google.cloud.webrisk_v1.types.webrisk.CreateSubmissionRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    submission: typing.Optional[
        google.cloud.webrisk_v1.types.webrisk.Submission
    ] = 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.webrisk_v1.types.webrisk.Submission

Creates a Submission of a URI suspected of containing phishing content to be reviewed.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.create_submission

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.delete_operation

delete_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.DeleteOperationRequest
    ] = 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

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.from_service_account_file

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.from_service_account_info

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.from_service_account_json

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.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.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.get_mtls_endpoint_and_cert_source

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.get_operation

get_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.GetOperationRequest
    ] = 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.longrunning.operations_pb2.Operation

Gets the latest state of a long-running operation.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.get_operation

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.get_transport_class

get_transport_class(
    label: typing.Optional[str] = None,
) -> typing.Type[
    google.cloud.webrisk_v1.services.web_risk_service.transports.base.WebRiskServiceTransport
]

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.list_operations

list_operations(
    request: typing.Optional[
        google.longrunning.operations_pb2.ListOperationsRequest
    ] = 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.longrunning.operations_pb2.ListOperationsResponse

Lists operations that match the specified filter in the request.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.list_operations

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.search_hashes

search_hashes(
    request: typing.Optional[
        typing.Union[google.cloud.webrisk_v1.types.webrisk.SearchHashesRequest, dict]
    ] = None,
    *,
    hash_prefix: typing.Optional[bytes] = None,
    threat_types: typing.Optional[
        typing.MutableSequence[google.cloud.webrisk_v1.types.webrisk.ThreatType]
    ] = 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.webrisk_v1.types.webrisk.SearchHashesResponse

Gets the full hashes that match the requested hash prefix.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.search_hashes

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.search_uris

search_uris(
    request: typing.Optional[
        typing.Union[google.cloud.webrisk_v1.types.webrisk.SearchUrisRequest, dict]
    ] = None,
    *,
    uri: typing.Optional[str] = None,
    threat_types: typing.Optional[
        typing.MutableSequence[google.cloud.webrisk_v1.types.webrisk.ThreatType]
    ] = 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.webrisk_v1.types.webrisk.SearchUrisResponse

This method is used to check whether a URI is on a given threatList.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.search_uris

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.submit_uri

submit_uri(
    request: typing.Optional[
        typing.Union[google.cloud.webrisk_v1.types.webrisk.SubmitUriRequest, 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.api_core.operation_async.AsyncOperation

Submits a URI suspected of containing malicious content to be reviewed.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceAsyncClient.submit_uri

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient

WebRiskServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.webrisk_v1.services.web_risk_service.transports.base.WebRiskServiceTransport, typing.Callable[[...], google.cloud.webrisk_v1.services.web_risk_service.transports.base.WebRiskServiceTransport]]] = 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 risk service client.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.__exit__

__exit__(type, value, traceback)

Releases underlying transport's resources.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.exit

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.cancel_operation

cancel_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.CancelOperationRequest
    ] = 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

Starts asynchronous cancellation on a long-running operation.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.cancel_operation

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.common_project_path

common_project_path(project: str) -> str

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.compute_threat_list_diff

compute_threat_list_diff(
    request: typing.Optional[
        typing.Union[
            google.cloud.webrisk_v1.types.webrisk.ComputeThreatListDiffRequest, dict
        ]
    ] = None,
    *,
    threat_type: typing.Optional[
        google.cloud.webrisk_v1.types.webrisk.ThreatType
    ] = None,
    version_token: typing.Optional[bytes] = None,
    constraints: typing.Optional[
        google.cloud.webrisk_v1.types.webrisk.ComputeThreatListDiffRequest.Constraints
    ] = 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.webrisk_v1.types.webrisk.ComputeThreatListDiffResponse

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.create_submission

create_submission(
    request: typing.Optional[
        typing.Union[
            google.cloud.webrisk_v1.types.webrisk.CreateSubmissionRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    submission: typing.Optional[
        google.cloud.webrisk_v1.types.webrisk.Submission
    ] = 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.webrisk_v1.types.webrisk.Submission

Creates a Submission of a URI suspected of containing phishing content to be reviewed.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.create_submission

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.delete_operation

delete_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.DeleteOperationRequest
    ] = 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

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.from_service_account_file

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.from_service_account_info

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.from_service_account_json

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
    client_options: typing.Optional[
        google.api_core.client_options.ClientOptions
    ] = None,
)

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.get_operation

get_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.GetOperationRequest
    ] = 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.longrunning.operations_pb2.Operation

Gets the latest state of a long-running operation.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.get_operation

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.list_operations

list_operations(
    request: typing.Optional[
        google.longrunning.operations_pb2.ListOperationsRequest
    ] = 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.longrunning.operations_pb2.ListOperationsResponse

Lists operations that match the specified filter in the request.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.list_operations

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.search_hashes

search_hashes(
    request: typing.Optional[
        typing.Union[google.cloud.webrisk_v1.types.webrisk.SearchHashesRequest, dict]
    ] = None,
    *,
    hash_prefix: typing.Optional[bytes] = None,
    threat_types: typing.Optional[
        typing.MutableSequence[google.cloud.webrisk_v1.types.webrisk.ThreatType]
    ] = 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.webrisk_v1.types.webrisk.SearchHashesResponse

Gets the full hashes that match the requested hash prefix.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.search_hashes

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.search_uris

search_uris(
    request: typing.Optional[
        typing.Union[google.cloud.webrisk_v1.types.webrisk.SearchUrisRequest, dict]
    ] = None,
    *,
    uri: typing.Optional[str] = None,
    threat_types: typing.Optional[
        typing.MutableSequence[google.cloud.webrisk_v1.types.webrisk.ThreatType]
    ] = 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.webrisk_v1.types.webrisk.SearchUrisResponse

This method is used to check whether a URI is on a given threatList.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.search_uris

google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.submit_uri

submit_uri(
    request: typing.Optional[
        typing.Union[google.cloud.webrisk_v1.types.webrisk.SubmitUriRequest, 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.api_core.operation.Operation

Submits a URI suspected of containing malicious content to be reviewed.

See more: google.cloud.webrisk_v1.services.web_risk_service.WebRiskServiceClient.submit_uri

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient

WebRiskServiceV1Beta1AsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.transports.base.WebRiskServiceV1Beta1Transport, typing.Callable[[...], google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.transports.base.WebRiskServiceV1Beta1Transport]]] = '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 risk service v1 beta1 async client.

See more: google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.common_project_path

common_project_path(project: str) -> str

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.compute_threat_list_diff

compute_threat_list_diff(
    request: typing.Optional[
        typing.Union[
            google.cloud.webrisk_v1beta1.types.webrisk.ComputeThreatListDiffRequest,
            dict,
        ]
    ] = None,
    *,
    threat_type: typing.Optional[
        google.cloud.webrisk_v1beta1.types.webrisk.ThreatType
    ] = None,
    version_token: typing.Optional[bytes] = None,
    constraints: typing.Optional[
        google.cloud.webrisk_v1beta1.types.webrisk.ComputeThreatListDiffRequest.Constraints
    ] = 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.webrisk_v1beta1.types.webrisk.ComputeThreatListDiffResponse

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.from_service_account_file

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

See more: google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.from_service_account_info

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.from_service_account_json

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
    client_options: typing.Optional[
        google.api_core.client_options.ClientOptions
    ] = None,
)

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.get_transport_class

get_transport_class(
    label: typing.Optional[str] = None,
) -> typing.Type[
    google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.transports.base.WebRiskServiceV1Beta1Transport
]

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.search_hashes

search_hashes(
    request: typing.Optional[
        typing.Union[
            google.cloud.webrisk_v1beta1.types.webrisk.SearchHashesRequest, dict
        ]
    ] = None,
    *,
    hash_prefix: typing.Optional[bytes] = None,
    threat_types: typing.Optional[
        typing.MutableSequence[google.cloud.webrisk_v1beta1.types.webrisk.ThreatType]
    ] = 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.webrisk_v1beta1.types.webrisk.SearchHashesResponse

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.search_uris

search_uris(
    request: typing.Optional[
        typing.Union[google.cloud.webrisk_v1beta1.types.webrisk.SearchUrisRequest, dict]
    ] = None,
    *,
    uri: typing.Optional[str] = None,
    threat_types: typing.Optional[
        typing.MutableSequence[google.cloud.webrisk_v1beta1.types.webrisk.ThreatType]
    ] = 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.webrisk_v1beta1.types.webrisk.SearchUrisResponse

This method is used to check whether a URI is on a given threatList.

See more: google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1AsyncClient.search_uris

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client

WebRiskServiceV1Beta1Client(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.transports.base.WebRiskServiceV1Beta1Transport, typing.Callable[[...], google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.transports.base.WebRiskServiceV1Beta1Transport]]] = 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 risk service v1 beta1 client.

See more: google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.__exit__

__exit__(type, value, traceback)

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.common_project_path

common_project_path(project: str) -> str

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.compute_threat_list_diff

compute_threat_list_diff(
    request: typing.Optional[
        typing.Union[
            google.cloud.webrisk_v1beta1.types.webrisk.ComputeThreatListDiffRequest,
            dict,
        ]
    ] = None,
    *,
    threat_type: typing.Optional[
        google.cloud.webrisk_v1beta1.types.webrisk.ThreatType
    ] = None,
    version_token: typing.Optional[bytes] = None,
    constraints: typing.Optional[
        google.cloud.webrisk_v1beta1.types.webrisk.ComputeThreatListDiffRequest.Constraints
    ] = 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.webrisk_v1beta1.types.webrisk.ComputeThreatListDiffResponse

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.from_service_account_file

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

See more: google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.from_service_account_info

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.from_service_account_json

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
    client_options: typing.Optional[
        google.api_core.client_options.ClientOptions
    ] = None,
)

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.search_hashes

search_hashes(
    request: typing.Optional[
        typing.Union[
            google.cloud.webrisk_v1beta1.types.webrisk.SearchHashesRequest, dict
        ]
    ] = None,
    *,
    hash_prefix: typing.Optional[bytes] = None,
    threat_types: typing.Optional[
        typing.MutableSequence[google.cloud.webrisk_v1beta1.types.webrisk.ThreatType]
    ] = 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.webrisk_v1beta1.types.webrisk.SearchHashesResponse

Gets the full hashes that match the requested hash prefix.

See more: google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.search_hashes

google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.search_uris

search_uris(
    request: typing.Optional[
        typing.Union[google.cloud.webrisk_v1beta1.types.webrisk.SearchUrisRequest, dict]
    ] = None,
    *,
    uri: typing.Optional[str] = None,
    threat_types: typing.Optional[
        typing.MutableSequence[google.cloud.webrisk_v1beta1.types.webrisk.ThreatType]
    ] = 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.webrisk_v1beta1.types.webrisk.SearchUrisResponse

This method is used to check whether a URI is on a given threatList.

See more: google.cloud.webrisk_v1beta1.services.web_risk_service_v1_beta1.WebRiskServiceV1Beta1Client.search_uris