GoogleApi.OnDemandScanning.V1.Model.SourceContext (google_api_on_demand_scanning v0.7.0)
View SourceA SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
Attributes
-
cloudRepo
(type:GoogleApi.OnDemandScanning.V1.Model.CloudRepoSourceContext.t
, default:nil
) - A SourceContext referring to a revision in a Google Cloud Source Repo. -
gerrit
(type:GoogleApi.OnDemandScanning.V1.Model.GerritSourceContext.t
, default:nil
) - A SourceContext referring to a Gerrit project. -
git
(type:GoogleApi.OnDemandScanning.V1.Model.GitSourceContext.t
, default:nil
) - A SourceContext referring to any third party Git repo (e.g., GitHub). -
labels
(type:map()
, default:nil
) - Labels with user defined metadata.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.OnDemandScanning.V1.Model.SourceContext{ cloudRepo: GoogleApi.OnDemandScanning.V1.Model.CloudRepoSourceContext.t() | nil, gerrit: GoogleApi.OnDemandScanning.V1.Model.GerritSourceContext.t() | nil, git: GoogleApi.OnDemandScanning.V1.Model.GitSourceContext.t() | nil, labels: map() | nil }