public sealed class GitSource : IMessage<GitSource>, IEquatable<GitSource>, IDeepCloneable<GitSource>, IBufferMessage, IMessageReference documentation and code samples for the Infrastructure Manager v1 API class GitSource.
A set of files in a Git repository.
Implements
IMessageGitSource, IEquatableGitSource, IDeepCloneableGitSource, IBufferMessage, IMessageNamespace
Google.Cloud.Config.V1Assembly
Google.Cloud.Config.V1.dll
Constructors
GitSource()
public GitSource()GitSource(GitSource)
public GitSource(GitSource other)| Parameter | |
|---|---|
| Name | Description |
other |
GitSource |
Properties
Directory
public string Directory { get; set; }Optional. Subdirectory inside the repository. Example: 'staging/my-package'
| Property Value | |
|---|---|
| Type | Description |
string |
|
HasDirectory
public bool HasDirectory { get; }Gets whether the "directory" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasRef
public bool HasRef { get; }Gets whether the "ref" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasRepo
public bool HasRepo { get; }Gets whether the "repo" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Ref
public string Ref { get; set; }Optional. Git reference (e.g. branch or tag).
| Property Value | |
|---|---|
| Type | Description |
string |
|
Repo
public string Repo { get; set; }Optional. Repository URL. Example: 'https://github.com/kubernetes/examples.git'
| Property Value | |
|---|---|
| Type | Description |
string |
|