40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
$schema: "http://json-schema.org/draft-06/schema#"
|
|
|
|
title: networkservices v1alpha1 LogConfig export schema
|
|
description: A gcloud export/import command YAML validation schema.
|
|
type: object
|
|
additionalProperties: false
|
|
properties:
|
|
COMMENT:
|
|
type: object
|
|
description: User specified info ignored by gcloud import.
|
|
additionalProperties: false
|
|
properties:
|
|
template-id:
|
|
type: string
|
|
region:
|
|
type: string
|
|
description:
|
|
type: string
|
|
date:
|
|
type: string
|
|
version:
|
|
type: string
|
|
UNKNOWN:
|
|
type: array
|
|
description: Unknown API fields that cannot be imported.
|
|
items:
|
|
type: string
|
|
enable:
|
|
description: |-
|
|
Specifies whether to enable logging for traffic served by this service.
|
|
Defaults to false.
|
|
type: boolean
|
|
sampleRate:
|
|
description: |-
|
|
The sampling rate of requests, where `1.0` means all logged requests are
|
|
reported and `0.0` means no logged requests are reported. The default
|
|
value is `0.0`, and the value of the field must be in `[0, 1]`. This field
|
|
can be specified only if logging is enabled for this service.
|
|
type: number
|