You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual Behavior:
Returns a MethodNotImplemented: 501 Method not found.
API client name and version
google-cloud-webrisk 1.14.5
Reproduction steps: code
fromgoogle.cloudimportwebrisk_v1client=webrisk_v1.WebRiskServiceClient(credentials=credentials)
# Initialize request argument(s)submission=webrisk_v1.Submission()
submission.uri="<uri>"request=webrisk_v1.SubmitUriRequest(
parent=f"projects/{project_number}",
submission=submission,
)
# Make the requestoperation=client.submit_uri(request=request)
print("Waiting for operation to complete...")
response=operation.result()
# Handle the responseprint(response)
Reproduction steps: supporting files
None
Reproduction steps: actual results
MethodNotImplemented: 501 Method not found.
status = StatusCode.UNIMPLEMENTED
details = "Method not found."
debug_error_string = "UNKNOWN:Error received from peer ipv4:142.251.215.234:443 {created_time:"2024-08-30T10:05:29.539129-07:00", grpc_status:12, grpc_message:"Method not found."}
Determine this is the right repository
Summary of the issue
Context
Using the sample code for
submit_uri
at: https://github.com/googleapis/google-cloud-python/blob/main/packages/google-cloud-webrisk/samples/generated_samples/webrisk_v1_generated_web_risk_service_submit_uri_sync.pyExpected Behavior:
Return a OK response code.
Actual Behavior:
Returns a
MethodNotImplemented: 501 Method not found
.API client name and version
google-cloud-webrisk 1.14.5
Reproduction steps: code
Reproduction steps: supporting files
None
Reproduction steps: actual results
Reproduction steps: expected results
OK returned
OS & version + platform
MacOS 14.6
Python environment
3.12.4
Python dependencies
The text was updated successfully, but these errors were encountered: