Class HybridOptions (2.0.1)

HybridOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration to control jobs where the content being inspected is outside of Google Cloud Platform.

Attributes

NameDescription
description str
A short description of where the data is coming from. Will be stored once in the job. 256 max length.
required_finding_label_keys Sequence[str]
These are labels that each inspection request must include within their 'finding_labels' map. Request may contain others, but any missing one of these will be rejected. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: ``[a-z]([-a-z0-9]*[a-z0-9])?``. No more than 10 keys can be required.
labels Sequence[`.storage.HybridOptions.LabelsEntry`]
To organize findings, these labels will be added to each finding. Label keys must be between 1 and 63 characters long and must conform to the following regular expression: ``[a-z]([-a-z0-9]*[a-z0-9])?``. Label values must be between 0 and 63 characters long and must conform to the regular expression ``([a-z]([-a-z0-9]*[a-z0-9])?)?``. No more than 10 labels can be associated with a given finding. Examples: - ``"environment" : "production"`` - ``"pipeline" : "etl"``
table_options `.storage.TableOptions`
If the container is a table, additional information to make findings meaningful such as the columns that are primary keys.

Inheritance

builtins.object > proto.message.Message > HybridOptions

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, `.Message`]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.