Infrastructure Manager v1 API - Class GitSource (1.5.0)

public sealed class GitSource : IMessage<GitSource>, IEquatable<GitSource>, IDeepCloneable<GitSource>, IBufferMessage, IMessage

Reference documentation and code samples for the Infrastructure Manager v1 API class GitSource.

A set of files in a Git repository.

Inheritance

object > GitSource

Namespace

Google.Cloud.Config.V1

Assembly

Google.Cloud.Config.V1.dll

Constructors

GitSource()

public GitSource()

GitSource(GitSource)

public GitSource(GitSource other)
Parameter
NameDescription
otherGitSource

Properties

Directory

public string Directory { get; set; }

Optional. Subdirectory inside the repository. Example: 'staging/my-package'

Property Value
TypeDescription
string

HasDirectory

public bool HasDirectory { get; }

Gets whether the "directory" field is set

Property Value
TypeDescription
bool

HasRef

public bool HasRef { get; }

Gets whether the "ref" field is set

Property Value
TypeDescription
bool

HasRepo

public bool HasRepo { get; }

Gets whether the "repo" field is set

Property Value
TypeDescription
bool

Ref

public string Ref { get; set; }

Optional. Git reference (e.g. branch or tag).

Property Value
TypeDescription
string

Repo

public string Repo { get; set; }

Optional. Repository URL. Example: 'https://github.com/kubernetes/examples.git'

Property Value
TypeDescription
string