public sealed class CloudWorkspaceId : IMessage<CloudWorkspaceId>, IMessage, IEquatable<CloudWorkspaceId>, IDeepCloneable<CloudWorkspaceId>
Reference documentation and code samples for the Google.Cloud.DevTools.Common class CloudWorkspaceId.
A CloudWorkspaceId is a unique identifier for a cloud workspace. A cloud workspace is a place associated with a repo where modified files can be stored before they are committed.
Implements
IMessageCloudWorkspaceId, IMessage, IEquatableCloudWorkspaceId, IDeepCloneableCloudWorkspaceIdNamespace
Google.Cloud.DevTools.Source.V1Assembly
Google.Cloud.DevTools.Common.dll
Constructors
CloudWorkspaceId()
public CloudWorkspaceId()
CloudWorkspaceId(CloudWorkspaceId)
public CloudWorkspaceId(CloudWorkspaceId other)
Parameter | |
---|---|
Name | Description |
other | CloudWorkspaceId |
Properties
Name
public string Name { get; set; }
The unique name of the workspace within the repo. This is the name chosen by the client in the Source API's CreateWorkspace method.
Property Value | |
---|---|
Type | Description |
string |
RepoId
public RepoId RepoId { get; set; }
The ID of the repo containing the workspace.
Property Value | |
---|---|
Type | Description |
RepoId |