Reference documentation and code samples for the Web Risk V1 API class Google::Cloud::WebRisk::V1::CreateSubmissionRequest.
Request to send a potentially phishy URI to WebRisk.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
- (::String) — Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}".
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}".
Returns
- (::String) — Required. The name of the project that is making the submission. This string is in the format "projects/{project_number}".
#submission
def submission() -> ::Google::Cloud::WebRisk::V1::Submission
Returns
- (::Google::Cloud::WebRisk::V1::Submission) — Required. The submission that contains the content of the phishing report.
#submission=
def submission=(value) -> ::Google::Cloud::WebRisk::V1::Submission
Parameter
- value (::Google::Cloud::WebRisk::V1::Submission) — Required. The submission that contains the content of the phishing report.
Returns
- (::Google::Cloud::WebRisk::V1::Submission) — Required. The submission that contains the content of the phishing report.