Method: organizations.sources.patch

Updates a source.

HTTP request

PATCH https://securitycenter.googleapis.com/v1/{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/123/sources/456"

Query parameters

Parameters
updateMask

string (FieldMask format)

The FieldMask to use when updating the source resource.

If empty all mutable fields will be updated.

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.

IAM Permissions

Requires the following Cloud IAM permission on the name resource:

  • securitycenter.sources.update

For more information, see the Cloud IAM Documentation.

Esta página foi útil? Conte sua opinião sobre:

Enviar comentários sobre…

Cloud Security Command Center
Precisa de ajuda? Acesse nossa página de suporte.