class Google::Apis::ClouddebuggerV2::CloudRepoSourceContext
A CloudRepoSourceContext
denotes a particular revision in a cloud repo (a repo hosted by the Google
Cloud Platform).
Attributes
alias_context[RW]
An alias to a repo revision. Corresponds to the JSON property `aliasContext` @return [Google::Apis::ClouddebuggerV2::AliasContext]
alias_name[RW]
The name of an alias (branch, tag, etc.). Corresponds to the JSON property `aliasName` @return [String]
repo_id[RW]
A unique identifier for a cloud repo. Corresponds to the JSON property `repoId` @return [Google::Apis::ClouddebuggerV2::RepoId]
revision_id[RW]
A revision ID. Corresponds to the JSON property `revisionId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/clouddebugger_v2/classes.rb, line 231 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/clouddebugger_v2/classes.rb, line 236 def update!(**args) @alias_context = args[:alias_context] if args.key?(:alias_context) @alias_name = args[:alias_name] if args.key?(:alias_name) @repo_id = args[:repo_id] if args.key?(:repo_id) @revision_id = args[:revision_id] if args.key?(:revision_id) end