class FormsResponses extends Resource (View source)

The "responses" collection of methods.

Typical usage is:

 $formsService = new Google\Service\Forms(...);
 $responses = $formsService->forms_responses;

Methods

get(string $formId, string $responseId, array $optParams = [])

Get one response from the form. (responses.get)

listFormsResponses(string $formId, array $optParams = [])

List a form's responses. (responses.listFormsResponses)

Details

FormResponse get(string $formId, string $responseId, array $optParams = [])

Get one response from the form. (responses.get)

Parameters

string $formId

Required. The form ID.

string $responseId

Required. The response ID within the form.

array $optParams

Optional parameters.

Return Value

FormResponse

Exceptions

Exception

ListFormResponsesResponse listFormsResponses(string $formId, array $optParams = [])

List a form's responses. (responses.listFormsResponses)

Parameters

string $formId

Required. ID of the Form whose responses to list.

array $optParams

Optional parameters.

Return Value

ListFormResponsesResponse

Exceptions

Exception