Method: organizations.sources.patch

Updates a source.

HTTP request

PATCH https://securitycenter.googleapis.com/v1beta1/{source.name=organizations/*/sources/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
source.name

string

The relative resource name of this source. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/sources/{source_id}"

Query parameters

Parameters
updateMask

string (FieldMask format)

The FieldMask to use when updating the source resource.

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 Source.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.