Reference documentation and code samples for the Design Center V1 API class Google::Cloud::DesignCenter::V1::GitReference.
The Git reference. Can be a commit SHA, branch name, or tag name.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#branch
def branch() -> ::String-
(::String) — Optional. The name of the branch from which content should be read.
For example: "main"
Note: The following fields are mutually exclusive:
branch,ref_tag,commit_sha. If a field in that set is populated, all other fields in the set will automatically be cleared.
#branch=
def branch=(value) -> ::String-
value (::String) — Optional. The name of the branch from which content should be read.
For example: "main"
Note: The following fields are mutually exclusive:
branch,ref_tag,commit_sha. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Optional. The name of the branch from which content should be read.
For example: "main"
Note: The following fields are mutually exclusive:
branch,ref_tag,commit_sha. If a field in that set is populated, all other fields in the set will automatically be cleared.
#commit_sha
def commit_sha() -> ::String-
(::String) — Optional. The full SHA hash of a specific commit from which content
should be read.
Note: The following fields are mutually exclusive:
commit_sha,branch,ref_tag. If a field in that set is populated, all other fields in the set will automatically be cleared.
#commit_sha=
def commit_sha=(value) -> ::String-
value (::String) — Optional. The full SHA hash of a specific commit from which content
should be read.
Note: The following fields are mutually exclusive:
commit_sha,branch,ref_tag. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Optional. The full SHA hash of a specific commit from which content
should be read.
Note: The following fields are mutually exclusive:
commit_sha,branch,ref_tag. If a field in that set is populated, all other fields in the set will automatically be cleared.
#ref_tag
def ref_tag() -> ::String-
(::String) — Optional. The reference tag from which content should be read.
For example: "v1.2.3"
Note: The following fields are mutually exclusive:
ref_tag,branch,commit_sha. If a field in that set is populated, all other fields in the set will automatically be cleared.
#ref_tag=
def ref_tag=(value) -> ::String-
value (::String) — Optional. The reference tag from which content should be read.
For example: "v1.2.3"
Note: The following fields are mutually exclusive:
ref_tag,branch,commit_sha. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Optional. The reference tag from which content should be read.
For example: "v1.2.3"
Note: The following fields are mutually exclusive:
ref_tag,branch,commit_sha. If a field in that set is populated, all other fields in the set will automatically be cleared.