GoogleApi.SourceRepo.V1.Model.Repo (google_api_source_repo v0.16.0) 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//repos/. 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

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.