Class ImageSpec (1.144.0)

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

The image spec for building an image (within a single build step), based on the config file (i.e. Dockerfile) in the source directory.

Attribute

Name Description
build_args MutableMapping[str, str]
Optional. Build arguments to be used. They will be passed through --build-arg flags.

Classes

BuildArgsEntry

BuildArgsEntry(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.

Methods

ImageSpec

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

The image spec for building an image (within a single build step), based on the config file (i.e. Dockerfile) in the source directory.