google_api_source_repo v0.13.1 GoogleApi.SourceRepo.V1.Model.Repo View Source

A repository (or repo) is a Git repository storing versioned source content.

Attributes

  • mirrorConfig (type: GoogleApi.SourceRepo.V1.Model.MirrorConfig.t, default: nil) - How this repository mirrors a repository managed by another service. Read-only field.
  • name (type: String.t, default: nil) - Resource name of the repository, of the form projects/<project>/repos/<repo>. The repo name may contain slashes. eg, projects/myproject/repos/name/with/slash
  • pubsubConfigs (type: %{optional(String.t) => GoogleApi.SourceRepo.V1.Model.PubsubConfig.t}, default: nil) - How this repository publishes a change in the repository through Cloud Pub/Sub. Keyed by the topic names.
  • size (type: String.t, default: nil) - The disk usage of the repo, in bytes. Read-only field. Size is only returned by GetRepo.
  • url (type: String.t, default: nil) - URL to clone the repository from Google Cloud Source Repositories. Read-only field.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.SourceRepo.V1.Model.Repo{
  mirrorConfig: GoogleApi.SourceRepo.V1.Model.MirrorConfig.t(),
  name: String.t(),
  pubsubConfigs: %{
    optional(String.t()) => GoogleApi.SourceRepo.V1.Model.PubsubConfig.t()
  },
  size: String.t(),
  url: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.