Method: networks.reports.patch

  • This API updates an existing Report object using a PATCH request to the specified endpoint.

  • It requires a report.name path parameter identifying the report resource and a updateMask query parameter indicating the fields to be updated.

  • The request body should contain a Report object with the desired updates, adhering to the provided structure.

  • Upon successful execution, the response returns the updated Report object.

  • Authorization using the https://www.googleapis.com/auth/admanager OAuth scope is necessary to access this API.

API to update a Report object.

HTTP request

PATCH https://admanager.googleapis.com/v1/{report.name}

Path parameters

Parameters
report.name

string

Identifier. The resource name of the report. Report resource name have the form: networks/{networkCode}/reports/{reportId}

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The list of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Report.

Response body

If successful, the response body contains an instance of Report.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/admanager

For more information, see the OAuth 2.0 Overview.