Class LookupContextRequest (2.20.0)

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

Lookup Context using permissions in the source system.

Attributes

Name Description
name str
Required. The project to which the request should be attributed in the following form: projects/{project}/locations/{location}.
resources MutableSequence[str]
Required. The entry names to look up the context for. The maximum number of resources for a request is limited to 10. Examples: --------- projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}
context str
Optional. The text representing contextual information for which metadata context is being requested.
options MutableMapping[str, str]
Optional. Allows to configure the context. Supported options: - format - The format of the context (one of yaml, xml, json, default is yaml). - context_budget - If provided, the output will be intelligently truncated on a best-effort basis to contain approximately the desired amount of characters. There is no guarantee to achieve the specific amount.

Classes

OptionsEntry

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

The abstract base class for a message.

Parameters
Name Description
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.