public sealed class DeveloperConnectSourceConfig : IMessage<DeveloperConnectSourceConfig>, IEquatable<DeveloperConnectSourceConfig>, IDeepCloneable<DeveloperConnectSourceConfig>, IBufferMessage, IMessageReference documentation and code samples for the Design Center v1 API class DeveloperConnectSourceConfig.
This config specifies the location of a source (such as GitHub or Bitbucket) through Developer Connect.
Implements
IMessageDeveloperConnectSourceConfig, IEquatableDeveloperConnectSourceConfig, IDeepCloneableDeveloperConnectSourceConfig, IBufferMessage, IMessageNamespace
Google.Cloud.DesignCenter.V1Assembly
Google.Cloud.DesignCenter.V1.dll
Constructors
DeveloperConnectSourceConfig()
public DeveloperConnectSourceConfig()DeveloperConnectSourceConfig(DeveloperConnectSourceConfig)
public DeveloperConnectSourceConfig(DeveloperConnectSourceConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
DeveloperConnectSourceConfig |
Properties
DeveloperConnectRepoUri
public string DeveloperConnectRepoUri { get; set; }Required. The Developer Connect Git repository link, formatted as
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DeveloperConnectRepoUriAsGitRepositoryLinkName
public GitRepositoryLinkName DeveloperConnectRepoUriAsGitRepositoryLinkName { get; set; }GitRepositoryLinkName-typed view over the DeveloperConnectRepoUri resource name property.
| Property Value | |
|---|---|
| Type | Description |
GitRepositoryLinkName |
|
Dir
public string Dir { get; set; }Required. The sub-directory within the repository from which to read content. The path must be relative to the repository's root such as dir1/dir2. To read content from the root dir, provide "/" as the value of the field.
| Property Value | |
|---|---|
| Type | Description |
string |
|
FetchedCommitSha
public string FetchedCommitSha { get; set; }Output only. The SHA of the commit deduced from GitReference.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Reference
public GitReference Reference { get; set; }Required. The reference (for example, a branch, tag, or commit SHA) from which the content should be read.
| Property Value | |
|---|---|
| Type | Description |
GitReference |
|