Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::CloudRepoSourceContext.
A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#alias_context
def alias_context() -> ::Grafeas::V1::AliasContext
-
(::Grafeas::V1::AliasContext) — An alias, which may be a branch or tag.
Note: The following fields are mutually exclusive:
alias_context
,revision_id
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#alias_context=
def alias_context=(value) -> ::Grafeas::V1::AliasContext
-
value (::Grafeas::V1::AliasContext) — An alias, which may be a branch or tag.
Note: The following fields are mutually exclusive:
alias_context
,revision_id
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Grafeas::V1::AliasContext) — An alias, which may be a branch or tag.
Note: The following fields are mutually exclusive:
alias_context
,revision_id
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#repo_id
def repo_id() -> ::Grafeas::V1::RepoId
- (::Grafeas::V1::RepoId) — The ID of the repo.
#repo_id=
def repo_id=(value) -> ::Grafeas::V1::RepoId
- value (::Grafeas::V1::RepoId) — The ID of the repo.
- (::Grafeas::V1::RepoId) — The ID of the repo.
#revision_id
def revision_id() -> ::String
-
(::String) — A revision ID.
Note: The following fields are mutually exclusive:
revision_id
,alias_context
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#revision_id=
def revision_id=(value) -> ::String
-
value (::String) — A revision ID.
Note: The following fields are mutually exclusive:
revision_id
,alias_context
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — A revision ID.
Note: The following fields are mutually exclusive:
revision_id
,alias_context
. If a field in that set is populated, all other fields in the set will automatically be cleared.