Ref(mapping=None, *, ignore_unknown_fields=False, **kwargs)Ref represents a git reference within a repository.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Identifier. Name of the git reference (e.g., 'refs/heads/foo' or 'refs/tags/v1.0'). |
target |
str
Output only. The target of the reference, which is a commit SHA. |
type_ |
google.cloud.securesourcemanager_v1.types.Ref.RefType
Output only. The type of the reference. |
Classes
RefType
RefType(value)The derived type of the reference (e.g., branch or tag) from the name.