@@ -416,9 +416,14 @@ def create_submission(
416
416
metadata = None ,
417
417
):
418
418
"""
419
- The maximum size in number of entries. The diff will not contain
420
- more entries than this value. This should be a power of 2 between
421
- 2\ **10 and 2**\ 20. If zero, no diff size limit is set.
419
+ Creates a Submission of a URI suspected of containing phishing
420
+ content to be reviewed. If the result verifies the existence of
421
+ malicious phishing content, the site will be added to the `Google's
422
+ Social Engineering
423
+ lists <https://support.google.com/webmasters/answer/6350487/>`__ in
424
+ order to protect users that could get exposed to this threat in the
425
+ future. Only projects with CREATE_SUBMISSION_USERS visibility can use
426
+ this method.
422
427
423
428
Example:
424
429
>>> from google.cloud import webrisk_v1
@@ -433,10 +438,8 @@ def create_submission(
433
438
>>> response = client.create_submission(parent, submission)
434
439
435
440
Args:
436
- parent (str): The encoded local, lexicographically-sorted list indices, using a
437
- Golomb-Rice encoding. Used for sending compressed removal indices. The
438
- removal indices (uint32) are sorted in ascending order, then delta
439
- encoded and stored as encoded_data.
441
+ parent (str): Required. The name of the project that is making the submission.
442
+ This string is in the format "projects/{project_number}".
440
443
submission (Union[dict, ~google.cloud.webrisk_v1.types.Submission]): Required. The submission that contains the content of the phishing report.
441
444
442
445
If a dict is provided, it must be of the same form as the protobuf
0 commit comments