Summary of entries of Methods for phishingprotection.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient
PhishingProtectionServiceV1Beta1AsyncClient
(
*
,
credentials
:
typing
.
Optional
[
google
.
auth
.
credentials
.
Credentials
]
=
None
,
transport
:
typing
.
Optional
[
typing
.
Union
[
str
,
google
.
cloud
.
phishingprotection_v1beta1
.
services
.
phishing_protection_service_v1_beta1
.
transports
.
base
.
PhishingProtectionServiceV1Beta1Transport
,
typing
.
Callable
[[
...
],
google
.
cloud
.
phishingprotection_v1beta1
.
services
.
phishing_protection_service_v1_beta1
.
transports
.
base
.
PhishingProtectionServiceV1Beta1Transport
]]]
=
'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 phishing protection service v1 beta1 async client.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient.common_billing_account_path
common_billing_account_path
(
billing_account
:
str
)
-
> str
Returns a fully-qualified billing_account string.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient.common_folder_path
common_folder_path
(
folder
:
str
)
-
> str
Returns a fully-qualified folder string.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient.common_location_path
common_location_path
(
project
:
str
,
location
:
str
)
-
> str
Returns a fully-qualified location string.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient.common_organization_path
common_organization_path
(
organization
:
str
)
-
> str
Returns a fully-qualified organization string.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient.common_project_path
common_project_path
(
project
:
str
)
-
> str
Returns a fully-qualified project string.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient.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.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient.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.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient.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.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient.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.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient.get_transport_class
get_transport_class
(
label
:
typing
.
Optional
[
str
]
=
None
,
)
-
> typing
.
Type
[
google
.
cloud
.
phishingprotection_v1beta1
.
services
.
phishing_protection_service_v1_beta1
.
transports
.
base
.
PhishingProtectionServiceV1Beta1Transport
]
Returns an appropriate transport class.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient.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.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient.parse_common_folder_path
parse_common_folder_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a folder path into its component segments.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient.parse_common_location_path
parse_common_location_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a location path into its component segments.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient.parse_common_organization_path
parse_common_organization_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a organization path into its component segments.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient.parse_common_project_path
parse_common_project_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a project path into its component segments.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1AsyncClient.report_phishing
report_phishing
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
phishingprotection_v1beta1
.
types
.
phishingprotection
.
ReportPhishingRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
uri
:
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
.
phishingprotection_v1beta1
.
types
.
phishingprotection
.
ReportPhishingResponse
)
Reports a URI suspected of containing phishing content to be reviewed.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client
PhishingProtectionServiceV1Beta1Client
(
*
,
credentials
:
typing
.
Optional
[
google
.
auth
.
credentials
.
Credentials
]
=
None
,
transport
:
typing
.
Optional
[
typing
.
Union
[
str
,
google
.
cloud
.
phishingprotection_v1beta1
.
services
.
phishing_protection_service_v1_beta1
.
transports
.
base
.
PhishingProtectionServiceV1Beta1Transport
,
typing
.
Callable
[[
...
],
google
.
cloud
.
phishingprotection_v1beta1
.
services
.
phishing_protection_service_v1_beta1
.
transports
.
base
.
PhishingProtectionServiceV1Beta1Transport
]]]
=
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 phishing protection service v1 beta1 client.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client.__exit__
__exit__
(
type
,
value
,
traceback
)
Releases underlying transport's resources.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client.common_billing_account_path
common_billing_account_path
(
billing_account
:
str
)
-
> str
Returns a fully-qualified billing_account string.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client.common_folder_path
common_folder_path
(
folder
:
str
)
-
> str
Returns a fully-qualified folder string.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client.common_location_path
common_location_path
(
project
:
str
,
location
:
str
)
-
> str
Returns a fully-qualified location string.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client.common_organization_path
common_organization_path
(
organization
:
str
)
-
> str
Returns a fully-qualified organization string.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client.common_project_path
common_project_path
(
project
:
str
)
-
> str
Returns a fully-qualified project string.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client.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.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client.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.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client.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.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client.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.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client.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.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client.parse_common_folder_path
parse_common_folder_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a folder path into its component segments.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client.parse_common_location_path
parse_common_location_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a location path into its component segments.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client.parse_common_organization_path
parse_common_organization_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a organization path into its component segments.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client.parse_common_project_path
parse_common_project_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a project path into its component segments.
google.cloud.phishingprotection_v1beta1.services.phishing_protection_service_v1_beta1.PhishingProtectionServiceV1Beta1Client.report_phishing
report_phishing
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
phishingprotection_v1beta1
.
types
.
phishingprotection
.
ReportPhishingRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
uri
:
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
.
phishingprotection_v1beta1
.
types
.
phishingprotection
.
ReportPhishingResponse
)
Reports a URI suspected of containing phishing content to be reviewed.