Class CommitRepositoryChangesRequest (0.5.9)

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

CommitRepositoryChanges request message.

Attributes

NameDescription
name str
Required. The repository's name.
commit_metadata google.cloud.dataform_v1beta1.types.CommitMetadata
Required. The changes to commit to the repository.
required_head_commit_sha str
Optional. The commit SHA which must be the repository's current HEAD before applying this commit; otherwise this request will fail. If unset, no validation on the current HEAD commit SHA is performed.
file_operations MutableMapping[str, google.cloud.dataform_v1beta1.types.CommitRepositoryChangesRequest.FileOperation]
A map to the path of the file to the operation. The path is the full file path including filename, from repository root.

Classes

FileOperation

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

Represents a single file operation to the repository.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

FileOperationsEntry

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