REST Resource: projects.locations.scopes

Risorsa: ambito

Messaggio che descrive l'oggetto Scope

Rappresentazione JSON
{
  "name": string,
  "updateTime": string,
  "logScope": string,
  "traceScope": string
}
Campi
name

string

Identificatore. Nome della risorsa. Il formato è:

projects/{project}/locations/{location}/scopes/{scope}

Il campo {location} deve essere impostato su global. Il campo {scope} deve essere impostato su _Default.

updateTime

string (Timestamp format)

Solo output. Timestamp aggiornamento. Nota: inizialmente, il timestamp dell'aggiornamento per l'ambito predefinito non è impostato.

Utilizza RFC 3339, in cui l'output generato è sempre normalizzato in base al fuso orario UTC e utilizza 0, 3, 6 o 9 cifre frazionarie. Sono accettati anche offset diversi da "Z". Esempi: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" o "2014-10-02T15:01:23+05:30".

logScope

string

Obbligatorio. Il nome completo della risorsa di LogScope. Ad esempio:

//logging.googleapis.com/projects/myproject/locations/global/logScopes/my-log-scope
traceScope

string

Obbligatorio. Il nome risorsa di TraceScope. Ad esempio:

projects/myproject/locations/global/traceScopes/my-trace-scope

Metodi

get

Recupera i dettagli di un singolo ambito.

patch

Aggiorna i parametri di un singolo ambito.