View Source GoogleApi.ContainerAnalysis.V1.Model.GerritSourceContext (google_api_container_analysis v0.28.0)

A SourceContext referring to a Gerrit project.

Attributes

  • aliasContext (type: GoogleApi.ContainerAnalysis.V1.Model.AliasContext.t, default: nil) - An alias, which may be a branch or tag.
  • gerritProject (type: String.t, default: nil) - The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.
  • hostUri (type: String.t, default: nil) - The URI of a running Gerrit instance.
  • revisionId (type: String.t, default: nil) - A revision (commit) ID.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContainerAnalysis.V1.Model.GerritSourceContext{
  aliasContext: GoogleApi.ContainerAnalysis.V1.Model.AliasContext.t() | nil,
  gerritProject: String.t() | nil,
  hostUri: String.t() | nil,
  revisionId: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.