class Google::Apis::ClouddebuggerV2::GitSourceContext

A GitSourceContext denotes a particular revision in a third party Git repository (e.g. GitHub).

Attributes

revision_id[RW]

Git commit hash. required. Corresponds to the JSON property `revisionId` @return [String]

url[RW]

Git repository URL. Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/clouddebugger_v2/classes.rb, line 484
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/clouddebugger_v2/classes.rb, line 489
def update!(**args)
  @url = args[:url] if args.key?(:url)
  @revision_id = args[:revision_id] if args.key?(:revision_id)
end