public abstract class DataformClientReference documentation and code samples for the Dataform v1beta1 API class DataformClient.
Dataform client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.Dataform.V1Beta1Assembly
Google.Cloud.Dataform.V1Beta1.dll
Remarks
Dataform is a service to develop, create, document, test, and update curated tables in BigQuery.
Properties
DefaultEndpoint
public static string DefaultEndpoint { get; }The default endpoint for the Dataform service, which is a host of "dataform.googleapis.com" and a port of 443.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }The default Dataform scopes.
| Property Value | |
|---|---|
| Type | Description |
IReadOnlyListstring |
|
The default Dataform scopes are:
GrpcClient
public virtual Dataform.DataformClient GrpcClient { get; }The underlying gRPC Dataform client
| Property Value | |
|---|---|
| Type | Description |
DataformDataformClient |
|
IAMPolicyClient
public virtual IAMPolicyClient IAMPolicyClient { get; }The IAMPolicyClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
IAMPolicyClient |
|
LocationsClient
public virtual LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
MoveFolderOperationsClient
public virtual OperationsClient MoveFolderOperationsClient { get; }The long-running operations client for MoveFolder.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
MoveRepositoryOperationsClient
public virtual OperationsClient MoveRepositoryOperationsClient { get; }The long-running operations client for MoveRepository.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }The service metadata associated with this client type.
| Property Value | |
|---|---|
| Type | Description |
ServiceMetadata |
|
Methods
CancelWorkflowInvocation(CancelWorkflowInvocationRequest, CallSettings)
public virtual CancelWorkflowInvocationResponse CancelWorkflowInvocation(CancelWorkflowInvocationRequest request, CallSettings callSettings = null)Requests cancellation of a running WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CancelWorkflowInvocationResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::CancelWorkflowInvocationRequest request = new gcdv::CancelWorkflowInvocationRequest
{
WorkflowInvocationName = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
gcdv::CancelWorkflowInvocationResponse response = dataformClient.CancelWorkflowInvocation(request);
CancelWorkflowInvocationAsync(CancelWorkflowInvocationRequest, CallSettings)
public virtual Task<CancelWorkflowInvocationResponse> CancelWorkflowInvocationAsync(CancelWorkflowInvocationRequest request, CallSettings callSettings = null)Requests cancellation of a running WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCancelWorkflowInvocationResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CancelWorkflowInvocationRequest request = new gcdv::CancelWorkflowInvocationRequest
{
WorkflowInvocationName = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
gcdv::CancelWorkflowInvocationResponse response = await dataformClient.CancelWorkflowInvocationAsync(request);
CancelWorkflowInvocationAsync(CancelWorkflowInvocationRequest, CancellationToken)
public virtual Task<CancelWorkflowInvocationResponse> CancelWorkflowInvocationAsync(CancelWorkflowInvocationRequest request, CancellationToken cancellationToken)Requests cancellation of a running WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCancelWorkflowInvocationResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CancelWorkflowInvocationRequest request = new gcdv::CancelWorkflowInvocationRequest
{
WorkflowInvocationName = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
gcdv::CancelWorkflowInvocationResponse response = await dataformClient.CancelWorkflowInvocationAsync(request);
CommitRepositoryChanges(CommitRepositoryChangesRequest, CallSettings)
public virtual CommitRepositoryChangesResponse CommitRepositoryChanges(CommitRepositoryChangesRequest request, CallSettings callSettings = null)Applies a Git commit to a Repository. The Repository must not have a value
for git_remote_settings.url.
| Parameters | |
|---|---|
| Name | Description |
request |
CommitRepositoryChangesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::CommitRepositoryChangesRequest request = new gcdv::CommitRepositoryChangesRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
CommitMetadata = new gcdv::CommitMetadata(),
FileOperations =
{
{
"",
new gcdv::CommitRepositoryChangesRequest.Types.FileOperation()
},
},
RequiredHeadCommitSha = "",
};
// Make the request
gcdv::CommitRepositoryChangesResponse response = dataformClient.CommitRepositoryChanges(request);
CommitRepositoryChangesAsync(CommitRepositoryChangesRequest, CallSettings)
public virtual Task<CommitRepositoryChangesResponse> CommitRepositoryChangesAsync(CommitRepositoryChangesRequest request, CallSettings callSettings = null)Applies a Git commit to a Repository. The Repository must not have a value
for git_remote_settings.url.
| Parameters | |
|---|---|
| Name | Description |
request |
CommitRepositoryChangesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCommitRepositoryChangesResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CommitRepositoryChangesRequest request = new gcdv::CommitRepositoryChangesRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
CommitMetadata = new gcdv::CommitMetadata(),
FileOperations =
{
{
"",
new gcdv::CommitRepositoryChangesRequest.Types.FileOperation()
},
},
RequiredHeadCommitSha = "",
};
// Make the request
gcdv::CommitRepositoryChangesResponse response = await dataformClient.CommitRepositoryChangesAsync(request);
CommitRepositoryChangesAsync(CommitRepositoryChangesRequest, CancellationToken)
public virtual Task<CommitRepositoryChangesResponse> CommitRepositoryChangesAsync(CommitRepositoryChangesRequest request, CancellationToken cancellationToken)Applies a Git commit to a Repository. The Repository must not have a value
for git_remote_settings.url.
| Parameters | |
|---|---|
| Name | Description |
request |
CommitRepositoryChangesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCommitRepositoryChangesResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CommitRepositoryChangesRequest request = new gcdv::CommitRepositoryChangesRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
CommitMetadata = new gcdv::CommitMetadata(),
FileOperations =
{
{
"",
new gcdv::CommitRepositoryChangesRequest.Types.FileOperation()
},
},
RequiredHeadCommitSha = "",
};
// Make the request
gcdv::CommitRepositoryChangesResponse response = await dataformClient.CommitRepositoryChangesAsync(request);
CommitWorkspaceChanges(CommitWorkspaceChangesRequest, CallSettings)
public virtual CommitWorkspaceChangesResponse CommitWorkspaceChanges(CommitWorkspaceChangesRequest request, CallSettings callSettings = null)Applies a Git commit for uncommitted files in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
CommitWorkspaceChangesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CommitWorkspaceChangesResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::CommitWorkspaceChangesRequest request = new gcdv::CommitWorkspaceChangesRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
CommitMessage = "",
Paths = { "", },
Author = new gcdv::CommitAuthor(),
};
// Make the request
gcdv::CommitWorkspaceChangesResponse response = dataformClient.CommitWorkspaceChanges(request);
CommitWorkspaceChangesAsync(CommitWorkspaceChangesRequest, CallSettings)
public virtual Task<CommitWorkspaceChangesResponse> CommitWorkspaceChangesAsync(CommitWorkspaceChangesRequest request, CallSettings callSettings = null)Applies a Git commit for uncommitted files in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
CommitWorkspaceChangesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCommitWorkspaceChangesResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CommitWorkspaceChangesRequest request = new gcdv::CommitWorkspaceChangesRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
CommitMessage = "",
Paths = { "", },
Author = new gcdv::CommitAuthor(),
};
// Make the request
gcdv::CommitWorkspaceChangesResponse response = await dataformClient.CommitWorkspaceChangesAsync(request);
CommitWorkspaceChangesAsync(CommitWorkspaceChangesRequest, CancellationToken)
public virtual Task<CommitWorkspaceChangesResponse> CommitWorkspaceChangesAsync(CommitWorkspaceChangesRequest request, CancellationToken cancellationToken)Applies a Git commit for uncommitted files in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
CommitWorkspaceChangesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCommitWorkspaceChangesResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CommitWorkspaceChangesRequest request = new gcdv::CommitWorkspaceChangesRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
CommitMessage = "",
Paths = { "", },
Author = new gcdv::CommitAuthor(),
};
// Make the request
gcdv::CommitWorkspaceChangesResponse response = await dataformClient.CommitWorkspaceChangesAsync(request);
ComputeRepositoryAccessTokenStatus(ComputeRepositoryAccessTokenStatusRequest, CallSettings)
public virtual ComputeRepositoryAccessTokenStatusResponse ComputeRepositoryAccessTokenStatus(ComputeRepositoryAccessTokenStatusRequest request, CallSettings callSettings = null)Computes a Repository's Git access token status.
| Parameters | |
|---|---|
| Name | Description |
request |
ComputeRepositoryAccessTokenStatusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ComputeRepositoryAccessTokenStatusResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::ComputeRepositoryAccessTokenStatusRequest request = new gcdv::ComputeRepositoryAccessTokenStatusRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
gcdv::ComputeRepositoryAccessTokenStatusResponse response = dataformClient.ComputeRepositoryAccessTokenStatus(request);
ComputeRepositoryAccessTokenStatusAsync(ComputeRepositoryAccessTokenStatusRequest, CallSettings)
public virtual Task<ComputeRepositoryAccessTokenStatusResponse> ComputeRepositoryAccessTokenStatusAsync(ComputeRepositoryAccessTokenStatusRequest request, CallSettings callSettings = null)Computes a Repository's Git access token status.
| Parameters | |
|---|---|
| Name | Description |
request |
ComputeRepositoryAccessTokenStatusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskComputeRepositoryAccessTokenStatusResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ComputeRepositoryAccessTokenStatusRequest request = new gcdv::ComputeRepositoryAccessTokenStatusRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
gcdv::ComputeRepositoryAccessTokenStatusResponse response = await dataformClient.ComputeRepositoryAccessTokenStatusAsync(request);
ComputeRepositoryAccessTokenStatusAsync(ComputeRepositoryAccessTokenStatusRequest, CancellationToken)
public virtual Task<ComputeRepositoryAccessTokenStatusResponse> ComputeRepositoryAccessTokenStatusAsync(ComputeRepositoryAccessTokenStatusRequest request, CancellationToken cancellationToken)Computes a Repository's Git access token status.
| Parameters | |
|---|---|
| Name | Description |
request |
ComputeRepositoryAccessTokenStatusRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskComputeRepositoryAccessTokenStatusResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ComputeRepositoryAccessTokenStatusRequest request = new gcdv::ComputeRepositoryAccessTokenStatusRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
gcdv::ComputeRepositoryAccessTokenStatusResponse response = await dataformClient.ComputeRepositoryAccessTokenStatusAsync(request);
Create()
public static DataformClient Create()Synchronously creates a DataformClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use DataformClientBuilder.
| Returns | |
|---|---|
| Type | Description |
DataformClient |
The created DataformClient. |
CreateAsync(CancellationToken)
public static Task<DataformClient> CreateAsync(CancellationToken cancellationToken = default)Asynchronously creates a DataformClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use DataformClientBuilder.
| Parameter | |
|---|---|
| Name | Description |
cancellationToken |
CancellationTokenThe CancellationToken to use while creating the client. |
| Returns | |
|---|---|
| Type | Description |
TaskDataformClient |
The task representing the created DataformClient. |
CreateCompilationResult(CreateCompilationResultRequest, CallSettings)
public virtual CompilationResult CreateCompilationResult(CreateCompilationResultRequest request, CallSettings callSettings = null)Creates a new CompilationResult in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCompilationResultRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CompilationResult |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::CreateCompilationResultRequest request = new gcdv::CreateCompilationResultRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
CompilationResult = new gcdv::CompilationResult(),
};
// Make the request
gcdv::CompilationResult response = dataformClient.CreateCompilationResult(request);
CreateCompilationResult(RepositoryName, CompilationResult, CallSettings)
public virtual CompilationResult CreateCompilationResult(RepositoryName parent, CompilationResult compilationResult, CallSettings callSettings = null)Creates a new CompilationResult in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to create the compilation result. Must be
in the format |
compilationResult |
CompilationResultRequired. The compilation result to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CompilationResult |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
gcdv::CompilationResult compilationResult = new gcdv::CompilationResult();
// Make the request
gcdv::CompilationResult response = dataformClient.CreateCompilationResult(parent, compilationResult);
CreateCompilationResult(string, CompilationResult, CallSettings)
public virtual CompilationResult CreateCompilationResult(string parent, CompilationResult compilationResult, CallSettings callSettings = null)Creates a new CompilationResult in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to create the compilation result. Must be
in the format |
compilationResult |
CompilationResultRequired. The compilation result to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CompilationResult |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
gcdv::CompilationResult compilationResult = new gcdv::CompilationResult();
// Make the request
gcdv::CompilationResult response = dataformClient.CreateCompilationResult(parent, compilationResult);
CreateCompilationResultAsync(CreateCompilationResultRequest, CallSettings)
public virtual Task<CompilationResult> CreateCompilationResultAsync(CreateCompilationResultRequest request, CallSettings callSettings = null)Creates a new CompilationResult in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCompilationResultRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateCompilationResultRequest request = new gcdv::CreateCompilationResultRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
CompilationResult = new gcdv::CompilationResult(),
};
// Make the request
gcdv::CompilationResult response = await dataformClient.CreateCompilationResultAsync(request);
CreateCompilationResultAsync(CreateCompilationResultRequest, CancellationToken)
public virtual Task<CompilationResult> CreateCompilationResultAsync(CreateCompilationResultRequest request, CancellationToken cancellationToken)Creates a new CompilationResult in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCompilationResultRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateCompilationResultRequest request = new gcdv::CreateCompilationResultRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
CompilationResult = new gcdv::CompilationResult(),
};
// Make the request
gcdv::CompilationResult response = await dataformClient.CreateCompilationResultAsync(request);
CreateCompilationResultAsync(RepositoryName, CompilationResult, CallSettings)
public virtual Task<CompilationResult> CreateCompilationResultAsync(RepositoryName parent, CompilationResult compilationResult, CallSettings callSettings = null)Creates a new CompilationResult in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to create the compilation result. Must be
in the format |
compilationResult |
CompilationResultRequired. The compilation result to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
gcdv::CompilationResult compilationResult = new gcdv::CompilationResult();
// Make the request
gcdv::CompilationResult response = await dataformClient.CreateCompilationResultAsync(parent, compilationResult);
CreateCompilationResultAsync(RepositoryName, CompilationResult, CancellationToken)
public virtual Task<CompilationResult> CreateCompilationResultAsync(RepositoryName parent, CompilationResult compilationResult, CancellationToken cancellationToken)Creates a new CompilationResult in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to create the compilation result. Must be
in the format |
compilationResult |
CompilationResultRequired. The compilation result to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
gcdv::CompilationResult compilationResult = new gcdv::CompilationResult();
// Make the request
gcdv::CompilationResult response = await dataformClient.CreateCompilationResultAsync(parent, compilationResult);
CreateCompilationResultAsync(string, CompilationResult, CallSettings)
public virtual Task<CompilationResult> CreateCompilationResultAsync(string parent, CompilationResult compilationResult, CallSettings callSettings = null)Creates a new CompilationResult in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to create the compilation result. Must be
in the format |
compilationResult |
CompilationResultRequired. The compilation result to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
gcdv::CompilationResult compilationResult = new gcdv::CompilationResult();
// Make the request
gcdv::CompilationResult response = await dataformClient.CreateCompilationResultAsync(parent, compilationResult);
CreateCompilationResultAsync(string, CompilationResult, CancellationToken)
public virtual Task<CompilationResult> CreateCompilationResultAsync(string parent, CompilationResult compilationResult, CancellationToken cancellationToken)Creates a new CompilationResult in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to create the compilation result. Must be
in the format |
compilationResult |
CompilationResultRequired. The compilation result to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
gcdv::CompilationResult compilationResult = new gcdv::CompilationResult();
// Make the request
gcdv::CompilationResult response = await dataformClient.CreateCompilationResultAsync(parent, compilationResult);
CreateFolder(LocationName, Folder, CallSettings)
public virtual Folder CreateFolder(LocationName parent, Folder folder, CallSettings callSettings = null)Creates a new Folder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The location in which to create the Folder. Must be in the format
|
folder |
FolderRequired. The Folder to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Folder |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::Folder folder = new gcdv::Folder();
// Make the request
gcdv::Folder response = dataformClient.CreateFolder(parent, folder);
CreateFolder(CreateFolderRequest, CallSettings)
public virtual Folder CreateFolder(CreateFolderRequest request, CallSettings callSettings = null)Creates a new Folder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Folder |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::CreateFolderRequest request = new gcdv::CreateFolderRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Folder = new gcdv::Folder(),
FolderId = "",
};
// Make the request
gcdv::Folder response = dataformClient.CreateFolder(request);
CreateFolder(string, Folder, CallSettings)
public virtual Folder CreateFolder(string parent, Folder folder, CallSettings callSettings = null)Creates a new Folder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The location in which to create the Folder. Must be in the format
|
folder |
FolderRequired. The Folder to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Folder |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::Folder folder = new gcdv::Folder();
// Make the request
gcdv::Folder response = dataformClient.CreateFolder(parent, folder);
CreateFolderAsync(LocationName, Folder, CallSettings)
public virtual Task<Folder> CreateFolderAsync(LocationName parent, Folder folder, CallSettings callSettings = null)Creates a new Folder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The location in which to create the Folder. Must be in the format
|
folder |
FolderRequired. The Folder to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::Folder folder = new gcdv::Folder();
// Make the request
gcdv::Folder response = await dataformClient.CreateFolderAsync(parent, folder);
CreateFolderAsync(LocationName, Folder, CancellationToken)
public virtual Task<Folder> CreateFolderAsync(LocationName parent, Folder folder, CancellationToken cancellationToken)Creates a new Folder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The location in which to create the Folder. Must be in the format
|
folder |
FolderRequired. The Folder to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::Folder folder = new gcdv::Folder();
// Make the request
gcdv::Folder response = await dataformClient.CreateFolderAsync(parent, folder);
CreateFolderAsync(CreateFolderRequest, CallSettings)
public virtual Task<Folder> CreateFolderAsync(CreateFolderRequest request, CallSettings callSettings = null)Creates a new Folder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateFolderRequest request = new gcdv::CreateFolderRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Folder = new gcdv::Folder(),
FolderId = "",
};
// Make the request
gcdv::Folder response = await dataformClient.CreateFolderAsync(request);
CreateFolderAsync(CreateFolderRequest, CancellationToken)
public virtual Task<Folder> CreateFolderAsync(CreateFolderRequest request, CancellationToken cancellationToken)Creates a new Folder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateFolderRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateFolderRequest request = new gcdv::CreateFolderRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Folder = new gcdv::Folder(),
FolderId = "",
};
// Make the request
gcdv::Folder response = await dataformClient.CreateFolderAsync(request);
CreateFolderAsync(string, Folder, CallSettings)
public virtual Task<Folder> CreateFolderAsync(string parent, Folder folder, CallSettings callSettings = null)Creates a new Folder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The location in which to create the Folder. Must be in the format
|
folder |
FolderRequired. The Folder to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::Folder folder = new gcdv::Folder();
// Make the request
gcdv::Folder response = await dataformClient.CreateFolderAsync(parent, folder);
CreateFolderAsync(string, Folder, CancellationToken)
public virtual Task<Folder> CreateFolderAsync(string parent, Folder folder, CancellationToken cancellationToken)Creates a new Folder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The location in which to create the Folder. Must be in the format
|
folder |
FolderRequired. The Folder to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::Folder folder = new gcdv::Folder();
// Make the request
gcdv::Folder response = await dataformClient.CreateFolderAsync(parent, folder);
CreateReleaseConfig(CreateReleaseConfigRequest, CallSettings)
public virtual ReleaseConfig CreateReleaseConfig(CreateReleaseConfigRequest request, CallSettings callSettings = null)Creates a new ReleaseConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateReleaseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReleaseConfig |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::CreateReleaseConfigRequest request = new gcdv::CreateReleaseConfigRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
ReleaseConfig = new gcdv::ReleaseConfig(),
ReleaseConfigId = "",
};
// Make the request
gcdv::ReleaseConfig response = dataformClient.CreateReleaseConfig(request);
CreateReleaseConfig(RepositoryName, ReleaseConfig, string, CallSettings)
public virtual ReleaseConfig CreateReleaseConfig(RepositoryName parent, ReleaseConfig releaseConfig, string releaseConfigId, CallSettings callSettings = null)Creates a new ReleaseConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to create the release config. Must be in
the format |
releaseConfig |
ReleaseConfigRequired. The release config to create. |
releaseConfigId |
stringRequired. The ID to use for the release config, which will become the final component of the release config's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReleaseConfig |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
gcdv::ReleaseConfig releaseConfig = new gcdv::ReleaseConfig();
string releaseConfigId = "";
// Make the request
gcdv::ReleaseConfig response = dataformClient.CreateReleaseConfig(parent, releaseConfig, releaseConfigId);
CreateReleaseConfig(string, ReleaseConfig, string, CallSettings)
public virtual ReleaseConfig CreateReleaseConfig(string parent, ReleaseConfig releaseConfig, string releaseConfigId, CallSettings callSettings = null)Creates a new ReleaseConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to create the release config. Must be in
the format |
releaseConfig |
ReleaseConfigRequired. The release config to create. |
releaseConfigId |
stringRequired. The ID to use for the release config, which will become the final component of the release config's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReleaseConfig |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
gcdv::ReleaseConfig releaseConfig = new gcdv::ReleaseConfig();
string releaseConfigId = "";
// Make the request
gcdv::ReleaseConfig response = dataformClient.CreateReleaseConfig(parent, releaseConfig, releaseConfigId);
CreateReleaseConfigAsync(CreateReleaseConfigRequest, CallSettings)
public virtual Task<ReleaseConfig> CreateReleaseConfigAsync(CreateReleaseConfigRequest request, CallSettings callSettings = null)Creates a new ReleaseConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateReleaseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateReleaseConfigRequest request = new gcdv::CreateReleaseConfigRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
ReleaseConfig = new gcdv::ReleaseConfig(),
ReleaseConfigId = "",
};
// Make the request
gcdv::ReleaseConfig response = await dataformClient.CreateReleaseConfigAsync(request);
CreateReleaseConfigAsync(CreateReleaseConfigRequest, CancellationToken)
public virtual Task<ReleaseConfig> CreateReleaseConfigAsync(CreateReleaseConfigRequest request, CancellationToken cancellationToken)Creates a new ReleaseConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateReleaseConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateReleaseConfigRequest request = new gcdv::CreateReleaseConfigRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
ReleaseConfig = new gcdv::ReleaseConfig(),
ReleaseConfigId = "",
};
// Make the request
gcdv::ReleaseConfig response = await dataformClient.CreateReleaseConfigAsync(request);
CreateReleaseConfigAsync(RepositoryName, ReleaseConfig, string, CallSettings)
public virtual Task<ReleaseConfig> CreateReleaseConfigAsync(RepositoryName parent, ReleaseConfig releaseConfig, string releaseConfigId, CallSettings callSettings = null)Creates a new ReleaseConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to create the release config. Must be in
the format |
releaseConfig |
ReleaseConfigRequired. The release config to create. |
releaseConfigId |
stringRequired. The ID to use for the release config, which will become the final component of the release config's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
gcdv::ReleaseConfig releaseConfig = new gcdv::ReleaseConfig();
string releaseConfigId = "";
// Make the request
gcdv::ReleaseConfig response = await dataformClient.CreateReleaseConfigAsync(parent, releaseConfig, releaseConfigId);
CreateReleaseConfigAsync(RepositoryName, ReleaseConfig, string, CancellationToken)
public virtual Task<ReleaseConfig> CreateReleaseConfigAsync(RepositoryName parent, ReleaseConfig releaseConfig, string releaseConfigId, CancellationToken cancellationToken)Creates a new ReleaseConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to create the release config. Must be in
the format |
releaseConfig |
ReleaseConfigRequired. The release config to create. |
releaseConfigId |
stringRequired. The ID to use for the release config, which will become the final component of the release config's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
gcdv::ReleaseConfig releaseConfig = new gcdv::ReleaseConfig();
string releaseConfigId = "";
// Make the request
gcdv::ReleaseConfig response = await dataformClient.CreateReleaseConfigAsync(parent, releaseConfig, releaseConfigId);
CreateReleaseConfigAsync(string, ReleaseConfig, string, CallSettings)
public virtual Task<ReleaseConfig> CreateReleaseConfigAsync(string parent, ReleaseConfig releaseConfig, string releaseConfigId, CallSettings callSettings = null)Creates a new ReleaseConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to create the release config. Must be in
the format |
releaseConfig |
ReleaseConfigRequired. The release config to create. |
releaseConfigId |
stringRequired. The ID to use for the release config, which will become the final component of the release config's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
gcdv::ReleaseConfig releaseConfig = new gcdv::ReleaseConfig();
string releaseConfigId = "";
// Make the request
gcdv::ReleaseConfig response = await dataformClient.CreateReleaseConfigAsync(parent, releaseConfig, releaseConfigId);
CreateReleaseConfigAsync(string, ReleaseConfig, string, CancellationToken)
public virtual Task<ReleaseConfig> CreateReleaseConfigAsync(string parent, ReleaseConfig releaseConfig, string releaseConfigId, CancellationToken cancellationToken)Creates a new ReleaseConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to create the release config. Must be in
the format |
releaseConfig |
ReleaseConfigRequired. The release config to create. |
releaseConfigId |
stringRequired. The ID to use for the release config, which will become the final component of the release config's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
gcdv::ReleaseConfig releaseConfig = new gcdv::ReleaseConfig();
string releaseConfigId = "";
// Make the request
gcdv::ReleaseConfig response = await dataformClient.CreateReleaseConfigAsync(parent, releaseConfig, releaseConfigId);
CreateRepository(LocationName, Repository, string, CallSettings)
public virtual Repository CreateRepository(LocationName parent, Repository repository, string repositoryId, CallSettings callSettings = null)Creates a new Repository in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The location in which to create the repository. Must be in the
format |
repository |
RepositoryRequired. The repository to create. |
repositoryId |
stringRequired. The ID to use for the repository, which will become the final component of the repository's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::Repository repository = new gcdv::Repository();
string repositoryId = "";
// Make the request
gcdv::Repository response = dataformClient.CreateRepository(parent, repository, repositoryId);
CreateRepository(CreateRepositoryRequest, CallSettings)
public virtual Repository CreateRepository(CreateRepositoryRequest request, CallSettings callSettings = null)Creates a new Repository in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::CreateRepositoryRequest request = new gcdv::CreateRepositoryRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Repository = new gcdv::Repository(),
RepositoryId = "",
};
// Make the request
gcdv::Repository response = dataformClient.CreateRepository(request);
CreateRepository(string, Repository, string, CallSettings)
public virtual Repository CreateRepository(string parent, Repository repository, string repositoryId, CallSettings callSettings = null)Creates a new Repository in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The location in which to create the repository. Must be in the
format |
repository |
RepositoryRequired. The repository to create. |
repositoryId |
stringRequired. The ID to use for the repository, which will become the final component of the repository's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::Repository repository = new gcdv::Repository();
string repositoryId = "";
// Make the request
gcdv::Repository response = dataformClient.CreateRepository(parent, repository, repositoryId);
CreateRepositoryAsync(LocationName, Repository, string, CallSettings)
public virtual Task<Repository> CreateRepositoryAsync(LocationName parent, Repository repository, string repositoryId, CallSettings callSettings = null)Creates a new Repository in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The location in which to create the repository. Must be in the
format |
repository |
RepositoryRequired. The repository to create. |
repositoryId |
stringRequired. The ID to use for the repository, which will become the final component of the repository's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::Repository repository = new gcdv::Repository();
string repositoryId = "";
// Make the request
gcdv::Repository response = await dataformClient.CreateRepositoryAsync(parent, repository, repositoryId);
CreateRepositoryAsync(LocationName, Repository, string, CancellationToken)
public virtual Task<Repository> CreateRepositoryAsync(LocationName parent, Repository repository, string repositoryId, CancellationToken cancellationToken)Creates a new Repository in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The location in which to create the repository. Must be in the
format |
repository |
RepositoryRequired. The repository to create. |
repositoryId |
stringRequired. The ID to use for the repository, which will become the final component of the repository's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::Repository repository = new gcdv::Repository();
string repositoryId = "";
// Make the request
gcdv::Repository response = await dataformClient.CreateRepositoryAsync(parent, repository, repositoryId);
CreateRepositoryAsync(CreateRepositoryRequest, CallSettings)
public virtual Task<Repository> CreateRepositoryAsync(CreateRepositoryRequest request, CallSettings callSettings = null)Creates a new Repository in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateRepositoryRequest request = new gcdv::CreateRepositoryRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Repository = new gcdv::Repository(),
RepositoryId = "",
};
// Make the request
gcdv::Repository response = await dataformClient.CreateRepositoryAsync(request);
CreateRepositoryAsync(CreateRepositoryRequest, CancellationToken)
public virtual Task<Repository> CreateRepositoryAsync(CreateRepositoryRequest request, CancellationToken cancellationToken)Creates a new Repository in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateRepositoryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateRepositoryRequest request = new gcdv::CreateRepositoryRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
Repository = new gcdv::Repository(),
RepositoryId = "",
};
// Make the request
gcdv::Repository response = await dataformClient.CreateRepositoryAsync(request);
CreateRepositoryAsync(string, Repository, string, CallSettings)
public virtual Task<Repository> CreateRepositoryAsync(string parent, Repository repository, string repositoryId, CallSettings callSettings = null)Creates a new Repository in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The location in which to create the repository. Must be in the
format |
repository |
RepositoryRequired. The repository to create. |
repositoryId |
stringRequired. The ID to use for the repository, which will become the final component of the repository's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::Repository repository = new gcdv::Repository();
string repositoryId = "";
// Make the request
gcdv::Repository response = await dataformClient.CreateRepositoryAsync(parent, repository, repositoryId);
CreateRepositoryAsync(string, Repository, string, CancellationToken)
public virtual Task<Repository> CreateRepositoryAsync(string parent, Repository repository, string repositoryId, CancellationToken cancellationToken)Creates a new Repository in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The location in which to create the repository. Must be in the
format |
repository |
RepositoryRequired. The repository to create. |
repositoryId |
stringRequired. The ID to use for the repository, which will become the final component of the repository's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::Repository repository = new gcdv::Repository();
string repositoryId = "";
// Make the request
gcdv::Repository response = await dataformClient.CreateRepositoryAsync(parent, repository, repositoryId);
CreateTeamFolder(LocationName, TeamFolder, CallSettings)
public virtual TeamFolder CreateTeamFolder(LocationName parent, TeamFolder teamFolder, CallSettings callSettings = null)Creates a new TeamFolder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The location in which to create the TeamFolder. Must be in the
format |
teamFolder |
TeamFolderRequired. The TeamFolder to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TeamFolder |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::TeamFolder teamFolder = new gcdv::TeamFolder();
// Make the request
gcdv::TeamFolder response = dataformClient.CreateTeamFolder(parent, teamFolder);
CreateTeamFolder(CreateTeamFolderRequest, CallSettings)
public virtual TeamFolder CreateTeamFolder(CreateTeamFolderRequest request, CallSettings callSettings = null)Creates a new TeamFolder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTeamFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TeamFolder |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::CreateTeamFolderRequest request = new gcdv::CreateTeamFolderRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
TeamFolder = new gcdv::TeamFolder(),
TeamFolderId = "",
};
// Make the request
gcdv::TeamFolder response = dataformClient.CreateTeamFolder(request);
CreateTeamFolder(string, TeamFolder, CallSettings)
public virtual TeamFolder CreateTeamFolder(string parent, TeamFolder teamFolder, CallSettings callSettings = null)Creates a new TeamFolder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The location in which to create the TeamFolder. Must be in the
format |
teamFolder |
TeamFolderRequired. The TeamFolder to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TeamFolder |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::TeamFolder teamFolder = new gcdv::TeamFolder();
// Make the request
gcdv::TeamFolder response = dataformClient.CreateTeamFolder(parent, teamFolder);
CreateTeamFolderAsync(LocationName, TeamFolder, CallSettings)
public virtual Task<TeamFolder> CreateTeamFolderAsync(LocationName parent, TeamFolder teamFolder, CallSettings callSettings = null)Creates a new TeamFolder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The location in which to create the TeamFolder. Must be in the
format |
teamFolder |
TeamFolderRequired. The TeamFolder to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTeamFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::TeamFolder teamFolder = new gcdv::TeamFolder();
// Make the request
gcdv::TeamFolder response = await dataformClient.CreateTeamFolderAsync(parent, teamFolder);
CreateTeamFolderAsync(LocationName, TeamFolder, CancellationToken)
public virtual Task<TeamFolder> CreateTeamFolderAsync(LocationName parent, TeamFolder teamFolder, CancellationToken cancellationToken)Creates a new TeamFolder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The location in which to create the TeamFolder. Must be in the
format |
teamFolder |
TeamFolderRequired. The TeamFolder to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTeamFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
gcdv::TeamFolder teamFolder = new gcdv::TeamFolder();
// Make the request
gcdv::TeamFolder response = await dataformClient.CreateTeamFolderAsync(parent, teamFolder);
CreateTeamFolderAsync(CreateTeamFolderRequest, CallSettings)
public virtual Task<TeamFolder> CreateTeamFolderAsync(CreateTeamFolderRequest request, CallSettings callSettings = null)Creates a new TeamFolder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTeamFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTeamFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateTeamFolderRequest request = new gcdv::CreateTeamFolderRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
TeamFolder = new gcdv::TeamFolder(),
TeamFolderId = "",
};
// Make the request
gcdv::TeamFolder response = await dataformClient.CreateTeamFolderAsync(request);
CreateTeamFolderAsync(CreateTeamFolderRequest, CancellationToken)
public virtual Task<TeamFolder> CreateTeamFolderAsync(CreateTeamFolderRequest request, CancellationToken cancellationToken)Creates a new TeamFolder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateTeamFolderRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTeamFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateTeamFolderRequest request = new gcdv::CreateTeamFolderRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
TeamFolder = new gcdv::TeamFolder(),
TeamFolderId = "",
};
// Make the request
gcdv::TeamFolder response = await dataformClient.CreateTeamFolderAsync(request);
CreateTeamFolderAsync(string, TeamFolder, CallSettings)
public virtual Task<TeamFolder> CreateTeamFolderAsync(string parent, TeamFolder teamFolder, CallSettings callSettings = null)Creates a new TeamFolder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The location in which to create the TeamFolder. Must be in the
format |
teamFolder |
TeamFolderRequired. The TeamFolder to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTeamFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::TeamFolder teamFolder = new gcdv::TeamFolder();
// Make the request
gcdv::TeamFolder response = await dataformClient.CreateTeamFolderAsync(parent, teamFolder);
CreateTeamFolderAsync(string, TeamFolder, CancellationToken)
public virtual Task<TeamFolder> CreateTeamFolderAsync(string parent, TeamFolder teamFolder, CancellationToken cancellationToken)Creates a new TeamFolder in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The location in which to create the TeamFolder. Must be in the
format |
teamFolder |
TeamFolderRequired. The TeamFolder to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTeamFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
gcdv::TeamFolder teamFolder = new gcdv::TeamFolder();
// Make the request
gcdv::TeamFolder response = await dataformClient.CreateTeamFolderAsync(parent, teamFolder);
CreateWorkflowConfig(CreateWorkflowConfigRequest, CallSettings)
public virtual WorkflowConfig CreateWorkflowConfig(CreateWorkflowConfigRequest request, CallSettings callSettings = null)Creates a new WorkflowConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowConfig |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::CreateWorkflowConfigRequest request = new gcdv::CreateWorkflowConfigRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
WorkflowConfig = new gcdv::WorkflowConfig(),
WorkflowConfigId = "",
};
// Make the request
gcdv::WorkflowConfig response = dataformClient.CreateWorkflowConfig(request);
CreateWorkflowConfig(RepositoryName, WorkflowConfig, string, CallSettings)
public virtual WorkflowConfig CreateWorkflowConfig(RepositoryName parent, WorkflowConfig workflowConfig, string workflowConfigId, CallSettings callSettings = null)Creates a new WorkflowConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to create the workflow config. Must be in
the format |
workflowConfig |
WorkflowConfigRequired. The workflow config to create. |
workflowConfigId |
stringRequired. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowConfig |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
gcdv::WorkflowConfig workflowConfig = new gcdv::WorkflowConfig();
string workflowConfigId = "";
// Make the request
gcdv::WorkflowConfig response = dataformClient.CreateWorkflowConfig(parent, workflowConfig, workflowConfigId);
CreateWorkflowConfig(string, WorkflowConfig, string, CallSettings)
public virtual WorkflowConfig CreateWorkflowConfig(string parent, WorkflowConfig workflowConfig, string workflowConfigId, CallSettings callSettings = null)Creates a new WorkflowConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to create the workflow config. Must be in
the format |
workflowConfig |
WorkflowConfigRequired. The workflow config to create. |
workflowConfigId |
stringRequired. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowConfig |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
gcdv::WorkflowConfig workflowConfig = new gcdv::WorkflowConfig();
string workflowConfigId = "";
// Make the request
gcdv::WorkflowConfig response = dataformClient.CreateWorkflowConfig(parent, workflowConfig, workflowConfigId);
CreateWorkflowConfigAsync(CreateWorkflowConfigRequest, CallSettings)
public virtual Task<WorkflowConfig> CreateWorkflowConfigAsync(CreateWorkflowConfigRequest request, CallSettings callSettings = null)Creates a new WorkflowConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateWorkflowConfigRequest request = new gcdv::CreateWorkflowConfigRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
WorkflowConfig = new gcdv::WorkflowConfig(),
WorkflowConfigId = "",
};
// Make the request
gcdv::WorkflowConfig response = await dataformClient.CreateWorkflowConfigAsync(request);
CreateWorkflowConfigAsync(CreateWorkflowConfigRequest, CancellationToken)
public virtual Task<WorkflowConfig> CreateWorkflowConfigAsync(CreateWorkflowConfigRequest request, CancellationToken cancellationToken)Creates a new WorkflowConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateWorkflowConfigRequest request = new gcdv::CreateWorkflowConfigRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
WorkflowConfig = new gcdv::WorkflowConfig(),
WorkflowConfigId = "",
};
// Make the request
gcdv::WorkflowConfig response = await dataformClient.CreateWorkflowConfigAsync(request);
CreateWorkflowConfigAsync(RepositoryName, WorkflowConfig, string, CallSettings)
public virtual Task<WorkflowConfig> CreateWorkflowConfigAsync(RepositoryName parent, WorkflowConfig workflowConfig, string workflowConfigId, CallSettings callSettings = null)Creates a new WorkflowConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to create the workflow config. Must be in
the format |
workflowConfig |
WorkflowConfigRequired. The workflow config to create. |
workflowConfigId |
stringRequired. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
gcdv::WorkflowConfig workflowConfig = new gcdv::WorkflowConfig();
string workflowConfigId = "";
// Make the request
gcdv::WorkflowConfig response = await dataformClient.CreateWorkflowConfigAsync(parent, workflowConfig, workflowConfigId);
CreateWorkflowConfigAsync(RepositoryName, WorkflowConfig, string, CancellationToken)
public virtual Task<WorkflowConfig> CreateWorkflowConfigAsync(RepositoryName parent, WorkflowConfig workflowConfig, string workflowConfigId, CancellationToken cancellationToken)Creates a new WorkflowConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to create the workflow config. Must be in
the format |
workflowConfig |
WorkflowConfigRequired. The workflow config to create. |
workflowConfigId |
stringRequired. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
gcdv::WorkflowConfig workflowConfig = new gcdv::WorkflowConfig();
string workflowConfigId = "";
// Make the request
gcdv::WorkflowConfig response = await dataformClient.CreateWorkflowConfigAsync(parent, workflowConfig, workflowConfigId);
CreateWorkflowConfigAsync(string, WorkflowConfig, string, CallSettings)
public virtual Task<WorkflowConfig> CreateWorkflowConfigAsync(string parent, WorkflowConfig workflowConfig, string workflowConfigId, CallSettings callSettings = null)Creates a new WorkflowConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to create the workflow config. Must be in
the format |
workflowConfig |
WorkflowConfigRequired. The workflow config to create. |
workflowConfigId |
stringRequired. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
gcdv::WorkflowConfig workflowConfig = new gcdv::WorkflowConfig();
string workflowConfigId = "";
// Make the request
gcdv::WorkflowConfig response = await dataformClient.CreateWorkflowConfigAsync(parent, workflowConfig, workflowConfigId);
CreateWorkflowConfigAsync(string, WorkflowConfig, string, CancellationToken)
public virtual Task<WorkflowConfig> CreateWorkflowConfigAsync(string parent, WorkflowConfig workflowConfig, string workflowConfigId, CancellationToken cancellationToken)Creates a new WorkflowConfig in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to create the workflow config. Must be in
the format |
workflowConfig |
WorkflowConfigRequired. The workflow config to create. |
workflowConfigId |
stringRequired. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
gcdv::WorkflowConfig workflowConfig = new gcdv::WorkflowConfig();
string workflowConfigId = "";
// Make the request
gcdv::WorkflowConfig response = await dataformClient.CreateWorkflowConfigAsync(parent, workflowConfig, workflowConfigId);
CreateWorkflowInvocation(CreateWorkflowInvocationRequest, CallSettings)
public virtual WorkflowInvocation CreateWorkflowInvocation(CreateWorkflowInvocationRequest request, CallSettings callSettings = null)Creates a new WorkflowInvocation in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowInvocation |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::CreateWorkflowInvocationRequest request = new gcdv::CreateWorkflowInvocationRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
WorkflowInvocation = new gcdv::WorkflowInvocation(),
};
// Make the request
gcdv::WorkflowInvocation response = dataformClient.CreateWorkflowInvocation(request);
CreateWorkflowInvocation(RepositoryName, WorkflowInvocation, CallSettings)
public virtual WorkflowInvocation CreateWorkflowInvocation(RepositoryName parent, WorkflowInvocation workflowInvocation, CallSettings callSettings = null)Creates a new WorkflowInvocation in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to create the workflow invocation. Must
be in the format |
workflowInvocation |
WorkflowInvocationRequired. The workflow invocation resource to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowInvocation |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
gcdv::WorkflowInvocation workflowInvocation = new gcdv::WorkflowInvocation();
// Make the request
gcdv::WorkflowInvocation response = dataformClient.CreateWorkflowInvocation(parent, workflowInvocation);
CreateWorkflowInvocation(string, WorkflowInvocation, CallSettings)
public virtual WorkflowInvocation CreateWorkflowInvocation(string parent, WorkflowInvocation workflowInvocation, CallSettings callSettings = null)Creates a new WorkflowInvocation in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to create the workflow invocation. Must
be in the format |
workflowInvocation |
WorkflowInvocationRequired. The workflow invocation resource to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowInvocation |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
gcdv::WorkflowInvocation workflowInvocation = new gcdv::WorkflowInvocation();
// Make the request
gcdv::WorkflowInvocation response = dataformClient.CreateWorkflowInvocation(parent, workflowInvocation);
CreateWorkflowInvocationAsync(CreateWorkflowInvocationRequest, CallSettings)
public virtual Task<WorkflowInvocation> CreateWorkflowInvocationAsync(CreateWorkflowInvocationRequest request, CallSettings callSettings = null)Creates a new WorkflowInvocation in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateWorkflowInvocationRequest request = new gcdv::CreateWorkflowInvocationRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
WorkflowInvocation = new gcdv::WorkflowInvocation(),
};
// Make the request
gcdv::WorkflowInvocation response = await dataformClient.CreateWorkflowInvocationAsync(request);
CreateWorkflowInvocationAsync(CreateWorkflowInvocationRequest, CancellationToken)
public virtual Task<WorkflowInvocation> CreateWorkflowInvocationAsync(CreateWorkflowInvocationRequest request, CancellationToken cancellationToken)Creates a new WorkflowInvocation in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateWorkflowInvocationRequest request = new gcdv::CreateWorkflowInvocationRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
WorkflowInvocation = new gcdv::WorkflowInvocation(),
};
// Make the request
gcdv::WorkflowInvocation response = await dataformClient.CreateWorkflowInvocationAsync(request);
CreateWorkflowInvocationAsync(RepositoryName, WorkflowInvocation, CallSettings)
public virtual Task<WorkflowInvocation> CreateWorkflowInvocationAsync(RepositoryName parent, WorkflowInvocation workflowInvocation, CallSettings callSettings = null)Creates a new WorkflowInvocation in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to create the workflow invocation. Must
be in the format |
workflowInvocation |
WorkflowInvocationRequired. The workflow invocation resource to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
gcdv::WorkflowInvocation workflowInvocation = new gcdv::WorkflowInvocation();
// Make the request
gcdv::WorkflowInvocation response = await dataformClient.CreateWorkflowInvocationAsync(parent, workflowInvocation);
CreateWorkflowInvocationAsync(RepositoryName, WorkflowInvocation, CancellationToken)
public virtual Task<WorkflowInvocation> CreateWorkflowInvocationAsync(RepositoryName parent, WorkflowInvocation workflowInvocation, CancellationToken cancellationToken)Creates a new WorkflowInvocation in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to create the workflow invocation. Must
be in the format |
workflowInvocation |
WorkflowInvocationRequired. The workflow invocation resource to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
gcdv::WorkflowInvocation workflowInvocation = new gcdv::WorkflowInvocation();
// Make the request
gcdv::WorkflowInvocation response = await dataformClient.CreateWorkflowInvocationAsync(parent, workflowInvocation);
CreateWorkflowInvocationAsync(string, WorkflowInvocation, CallSettings)
public virtual Task<WorkflowInvocation> CreateWorkflowInvocationAsync(string parent, WorkflowInvocation workflowInvocation, CallSettings callSettings = null)Creates a new WorkflowInvocation in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to create the workflow invocation. Must
be in the format |
workflowInvocation |
WorkflowInvocationRequired. The workflow invocation resource to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
gcdv::WorkflowInvocation workflowInvocation = new gcdv::WorkflowInvocation();
// Make the request
gcdv::WorkflowInvocation response = await dataformClient.CreateWorkflowInvocationAsync(parent, workflowInvocation);
CreateWorkflowInvocationAsync(string, WorkflowInvocation, CancellationToken)
public virtual Task<WorkflowInvocation> CreateWorkflowInvocationAsync(string parent, WorkflowInvocation workflowInvocation, CancellationToken cancellationToken)Creates a new WorkflowInvocation in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to create the workflow invocation. Must
be in the format |
workflowInvocation |
WorkflowInvocationRequired. The workflow invocation resource to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
gcdv::WorkflowInvocation workflowInvocation = new gcdv::WorkflowInvocation();
// Make the request
gcdv::WorkflowInvocation response = await dataformClient.CreateWorkflowInvocationAsync(parent, workflowInvocation);
CreateWorkspace(CreateWorkspaceRequest, CallSettings)
public virtual Workspace CreateWorkspace(CreateWorkspaceRequest request, CallSettings callSettings = null)Creates a new Workspace in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateWorkspaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Workspace |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::CreateWorkspaceRequest request = new gcdv::CreateWorkspaceRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
Workspace = new gcdv::Workspace(),
WorkspaceId = "",
};
// Make the request
gcdv::Workspace response = dataformClient.CreateWorkspace(request);
CreateWorkspace(RepositoryName, Workspace, string, CallSettings)
public virtual Workspace CreateWorkspace(RepositoryName parent, Workspace workspace, string workspaceId, CallSettings callSettings = null)Creates a new Workspace in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to create the workspace. Must be in the
format |
workspace |
WorkspaceRequired. The workspace to create. |
workspaceId |
stringRequired. The ID to use for the workspace, which will become the final component of the workspace's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Workspace |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
gcdv::Workspace workspace = new gcdv::Workspace();
string workspaceId = "";
// Make the request
gcdv::Workspace response = dataformClient.CreateWorkspace(parent, workspace, workspaceId);
CreateWorkspace(string, Workspace, string, CallSettings)
public virtual Workspace CreateWorkspace(string parent, Workspace workspace, string workspaceId, CallSettings callSettings = null)Creates a new Workspace in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to create the workspace. Must be in the
format |
workspace |
WorkspaceRequired. The workspace to create. |
workspaceId |
stringRequired. The ID to use for the workspace, which will become the final component of the workspace's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Workspace |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
gcdv::Workspace workspace = new gcdv::Workspace();
string workspaceId = "";
// Make the request
gcdv::Workspace response = dataformClient.CreateWorkspace(parent, workspace, workspaceId);
CreateWorkspaceAsync(CreateWorkspaceRequest, CallSettings)
public virtual Task<Workspace> CreateWorkspaceAsync(CreateWorkspaceRequest request, CallSettings callSettings = null)Creates a new Workspace in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateWorkspaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateWorkspaceRequest request = new gcdv::CreateWorkspaceRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
Workspace = new gcdv::Workspace(),
WorkspaceId = "",
};
// Make the request
gcdv::Workspace response = await dataformClient.CreateWorkspaceAsync(request);
CreateWorkspaceAsync(CreateWorkspaceRequest, CancellationToken)
public virtual Task<Workspace> CreateWorkspaceAsync(CreateWorkspaceRequest request, CancellationToken cancellationToken)Creates a new Workspace in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateWorkspaceRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CreateWorkspaceRequest request = new gcdv::CreateWorkspaceRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
Workspace = new gcdv::Workspace(),
WorkspaceId = "",
};
// Make the request
gcdv::Workspace response = await dataformClient.CreateWorkspaceAsync(request);
CreateWorkspaceAsync(RepositoryName, Workspace, string, CallSettings)
public virtual Task<Workspace> CreateWorkspaceAsync(RepositoryName parent, Workspace workspace, string workspaceId, CallSettings callSettings = null)Creates a new Workspace in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to create the workspace. Must be in the
format |
workspace |
WorkspaceRequired. The workspace to create. |
workspaceId |
stringRequired. The ID to use for the workspace, which will become the final component of the workspace's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
gcdv::Workspace workspace = new gcdv::Workspace();
string workspaceId = "";
// Make the request
gcdv::Workspace response = await dataformClient.CreateWorkspaceAsync(parent, workspace, workspaceId);
CreateWorkspaceAsync(RepositoryName, Workspace, string, CancellationToken)
public virtual Task<Workspace> CreateWorkspaceAsync(RepositoryName parent, Workspace workspace, string workspaceId, CancellationToken cancellationToken)Creates a new Workspace in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to create the workspace. Must be in the
format |
workspace |
WorkspaceRequired. The workspace to create. |
workspaceId |
stringRequired. The ID to use for the workspace, which will become the final component of the workspace's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
gcdv::Workspace workspace = new gcdv::Workspace();
string workspaceId = "";
// Make the request
gcdv::Workspace response = await dataformClient.CreateWorkspaceAsync(parent, workspace, workspaceId);
CreateWorkspaceAsync(string, Workspace, string, CallSettings)
public virtual Task<Workspace> CreateWorkspaceAsync(string parent, Workspace workspace, string workspaceId, CallSettings callSettings = null)Creates a new Workspace in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to create the workspace. Must be in the
format |
workspace |
WorkspaceRequired. The workspace to create. |
workspaceId |
stringRequired. The ID to use for the workspace, which will become the final component of the workspace's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
gcdv::Workspace workspace = new gcdv::Workspace();
string workspaceId = "";
// Make the request
gcdv::Workspace response = await dataformClient.CreateWorkspaceAsync(parent, workspace, workspaceId);
CreateWorkspaceAsync(string, Workspace, string, CancellationToken)
public virtual Task<Workspace> CreateWorkspaceAsync(string parent, Workspace workspace, string workspaceId, CancellationToken cancellationToken)Creates a new Workspace in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to create the workspace. Must be in the
format |
workspace |
WorkspaceRequired. The workspace to create. |
workspaceId |
stringRequired. The ID to use for the workspace, which will become the final component of the workspace's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
gcdv::Workspace workspace = new gcdv::Workspace();
string workspaceId = "";
// Make the request
gcdv::Workspace response = await dataformClient.CreateWorkspaceAsync(parent, workspace, workspaceId);
DeleteFolder(DeleteFolderRequest, CallSettings)
public virtual void DeleteFolder(DeleteFolderRequest request, CallSettings callSettings = null)Deletes a single Folder.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::DeleteFolderRequest request = new gcdv::DeleteFolderRequest
{
FolderName = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]"),
};
// Make the request
dataformClient.DeleteFolder(request);
DeleteFolder(FolderName, CallSettings)
public virtual void DeleteFolder(FolderName name, CallSettings callSettings = null)Deletes a single Folder.
| Parameters | |
|---|---|
| Name | Description |
name |
FolderNameRequired. The Folder's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::FolderName name = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]");
// Make the request
dataformClient.DeleteFolder(name);
DeleteFolder(string, CallSettings)
public virtual void DeleteFolder(string name, CallSettings callSettings = null)Deletes a single Folder.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The Folder's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/folders/[FOLDER]";
// Make the request
dataformClient.DeleteFolder(name);
DeleteFolderAsync(DeleteFolderRequest, CallSettings)
public virtual Task DeleteFolderAsync(DeleteFolderRequest request, CallSettings callSettings = null)Deletes a single Folder.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteFolderRequest request = new gcdv::DeleteFolderRequest
{
FolderName = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]"),
};
// Make the request
await dataformClient.DeleteFolderAsync(request);
DeleteFolderAsync(DeleteFolderRequest, CancellationToken)
public virtual Task DeleteFolderAsync(DeleteFolderRequest request, CancellationToken cancellationToken)Deletes a single Folder.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteFolderRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteFolderRequest request = new gcdv::DeleteFolderRequest
{
FolderName = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]"),
};
// Make the request
await dataformClient.DeleteFolderAsync(request);
DeleteFolderAsync(FolderName, CallSettings)
public virtual Task DeleteFolderAsync(FolderName name, CallSettings callSettings = null)Deletes a single Folder.
| Parameters | |
|---|---|
| Name | Description |
name |
FolderNameRequired. The Folder's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::FolderName name = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]");
// Make the request
await dataformClient.DeleteFolderAsync(name);
DeleteFolderAsync(FolderName, CancellationToken)
public virtual Task DeleteFolderAsync(FolderName name, CancellationToken cancellationToken)Deletes a single Folder.
| Parameters | |
|---|---|
| Name | Description |
name |
FolderNameRequired. The Folder's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::FolderName name = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]");
// Make the request
await dataformClient.DeleteFolderAsync(name);
DeleteFolderAsync(string, CallSettings)
public virtual Task DeleteFolderAsync(string name, CallSettings callSettings = null)Deletes a single Folder.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The Folder's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/folders/[FOLDER]";
// Make the request
await dataformClient.DeleteFolderAsync(name);
DeleteFolderAsync(string, CancellationToken)
public virtual Task DeleteFolderAsync(string name, CancellationToken cancellationToken)Deletes a single Folder.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The Folder's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/folders/[FOLDER]";
// Make the request
await dataformClient.DeleteFolderAsync(name);
DeleteReleaseConfig(DeleteReleaseConfigRequest, CallSettings)
public virtual void DeleteReleaseConfig(DeleteReleaseConfigRequest request, CallSettings callSettings = null)Deletes a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteReleaseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::DeleteReleaseConfigRequest request = new gcdv::DeleteReleaseConfigRequest
{
ReleaseConfigName = gcdv::ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]"),
};
// Make the request
dataformClient.DeleteReleaseConfig(request);
DeleteReleaseConfig(ReleaseConfigName, CallSettings)
public virtual void DeleteReleaseConfig(ReleaseConfigName name, CallSettings callSettings = null)Deletes a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
ReleaseConfigNameRequired. The release config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::ReleaseConfigName name = gcdv::ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]");
// Make the request
dataformClient.DeleteReleaseConfig(name);
DeleteReleaseConfig(string, CallSettings)
public virtual void DeleteReleaseConfig(string name, CallSettings callSettings = null)Deletes a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The release config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/releaseConfigs/[RELEASE_CONFIG]";
// Make the request
dataformClient.DeleteReleaseConfig(name);
DeleteReleaseConfigAsync(DeleteReleaseConfigRequest, CallSettings)
public virtual Task DeleteReleaseConfigAsync(DeleteReleaseConfigRequest request, CallSettings callSettings = null)Deletes a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteReleaseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteReleaseConfigRequest request = new gcdv::DeleteReleaseConfigRequest
{
ReleaseConfigName = gcdv::ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]"),
};
// Make the request
await dataformClient.DeleteReleaseConfigAsync(request);
DeleteReleaseConfigAsync(DeleteReleaseConfigRequest, CancellationToken)
public virtual Task DeleteReleaseConfigAsync(DeleteReleaseConfigRequest request, CancellationToken cancellationToken)Deletes a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteReleaseConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteReleaseConfigRequest request = new gcdv::DeleteReleaseConfigRequest
{
ReleaseConfigName = gcdv::ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]"),
};
// Make the request
await dataformClient.DeleteReleaseConfigAsync(request);
DeleteReleaseConfigAsync(ReleaseConfigName, CallSettings)
public virtual Task DeleteReleaseConfigAsync(ReleaseConfigName name, CallSettings callSettings = null)Deletes a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
ReleaseConfigNameRequired. The release config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ReleaseConfigName name = gcdv::ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]");
// Make the request
await dataformClient.DeleteReleaseConfigAsync(name);
DeleteReleaseConfigAsync(ReleaseConfigName, CancellationToken)
public virtual Task DeleteReleaseConfigAsync(ReleaseConfigName name, CancellationToken cancellationToken)Deletes a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
ReleaseConfigNameRequired. The release config's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ReleaseConfigName name = gcdv::ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]");
// Make the request
await dataformClient.DeleteReleaseConfigAsync(name);
DeleteReleaseConfigAsync(string, CallSettings)
public virtual Task DeleteReleaseConfigAsync(string name, CallSettings callSettings = null)Deletes a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The release config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/releaseConfigs/[RELEASE_CONFIG]";
// Make the request
await dataformClient.DeleteReleaseConfigAsync(name);
DeleteReleaseConfigAsync(string, CancellationToken)
public virtual Task DeleteReleaseConfigAsync(string name, CancellationToken cancellationToken)Deletes a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The release config's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/releaseConfigs/[RELEASE_CONFIG]";
// Make the request
await dataformClient.DeleteReleaseConfigAsync(name);
DeleteRepository(DeleteRepositoryRequest, CallSettings)
public virtual void DeleteRepository(DeleteRepositoryRequest request, CallSettings callSettings = null)Deletes a single Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::DeleteRepositoryRequest request = new gcdv::DeleteRepositoryRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
Force = false,
};
// Make the request
dataformClient.DeleteRepository(request);
DeleteRepository(RepositoryName, CallSettings)
public virtual void DeleteRepository(RepositoryName name, CallSettings callSettings = null)Deletes a single Repository.
| Parameters | |
|---|---|
| Name | Description |
name |
RepositoryNameRequired. The repository's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::RepositoryName name = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
dataformClient.DeleteRepository(name);
DeleteRepository(string, CallSettings)
public virtual void DeleteRepository(string name, CallSettings callSettings = null)Deletes a single Repository.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The repository's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
dataformClient.DeleteRepository(name);
DeleteRepositoryAsync(DeleteRepositoryRequest, CallSettings)
public virtual Task DeleteRepositoryAsync(DeleteRepositoryRequest request, CallSettings callSettings = null)Deletes a single Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteRepositoryRequest request = new gcdv::DeleteRepositoryRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
Force = false,
};
// Make the request
await dataformClient.DeleteRepositoryAsync(request);
DeleteRepositoryAsync(DeleteRepositoryRequest, CancellationToken)
public virtual Task DeleteRepositoryAsync(DeleteRepositoryRequest request, CancellationToken cancellationToken)Deletes a single Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRepositoryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteRepositoryRequest request = new gcdv::DeleteRepositoryRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
Force = false,
};
// Make the request
await dataformClient.DeleteRepositoryAsync(request);
DeleteRepositoryAsync(RepositoryName, CallSettings)
public virtual Task DeleteRepositoryAsync(RepositoryName name, CallSettings callSettings = null)Deletes a single Repository.
| Parameters | |
|---|---|
| Name | Description |
name |
RepositoryNameRequired. The repository's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName name = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
await dataformClient.DeleteRepositoryAsync(name);
DeleteRepositoryAsync(RepositoryName, CancellationToken)
public virtual Task DeleteRepositoryAsync(RepositoryName name, CancellationToken cancellationToken)Deletes a single Repository.
| Parameters | |
|---|---|
| Name | Description |
name |
RepositoryNameRequired. The repository's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName name = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
await dataformClient.DeleteRepositoryAsync(name);
DeleteRepositoryAsync(string, CallSettings)
public virtual Task DeleteRepositoryAsync(string name, CallSettings callSettings = null)Deletes a single Repository.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The repository's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
await dataformClient.DeleteRepositoryAsync(name);
DeleteRepositoryAsync(string, CancellationToken)
public virtual Task DeleteRepositoryAsync(string name, CancellationToken cancellationToken)Deletes a single Repository.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The repository's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
await dataformClient.DeleteRepositoryAsync(name);
DeleteTeamFolder(DeleteTeamFolderRequest, CallSettings)
public virtual void DeleteTeamFolder(DeleteTeamFolderRequest request, CallSettings callSettings = null)Deletes a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTeamFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::DeleteTeamFolderRequest request = new gcdv::DeleteTeamFolderRequest
{
TeamFolderName = gcdv::TeamFolderName.FromProjectLocationTeamFolder("[PROJECT]", "[LOCATION]", "[TEAM_FOLDER]"),
};
// Make the request
dataformClient.DeleteTeamFolder(request);
DeleteTeamFolder(TeamFolderName, CallSettings)
public virtual void DeleteTeamFolder(TeamFolderName name, CallSettings callSettings = null)Deletes a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
name |
TeamFolderNameRequired. The TeamFolder's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::TeamFolderName name = gcdv::TeamFolderName.FromProjectLocationTeamFolder("[PROJECT]", "[LOCATION]", "[TEAM_FOLDER]");
// Make the request
dataformClient.DeleteTeamFolder(name);
DeleteTeamFolder(string, CallSettings)
public virtual void DeleteTeamFolder(string name, CallSettings callSettings = null)Deletes a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The TeamFolder's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/teamFolders/[TEAM_FOLDER]";
// Make the request
dataformClient.DeleteTeamFolder(name);
DeleteTeamFolderAsync(DeleteTeamFolderRequest, CallSettings)
public virtual Task DeleteTeamFolderAsync(DeleteTeamFolderRequest request, CallSettings callSettings = null)Deletes a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTeamFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteTeamFolderRequest request = new gcdv::DeleteTeamFolderRequest
{
TeamFolderName = gcdv::TeamFolderName.FromProjectLocationTeamFolder("[PROJECT]", "[LOCATION]", "[TEAM_FOLDER]"),
};
// Make the request
await dataformClient.DeleteTeamFolderAsync(request);
DeleteTeamFolderAsync(DeleteTeamFolderRequest, CancellationToken)
public virtual Task DeleteTeamFolderAsync(DeleteTeamFolderRequest request, CancellationToken cancellationToken)Deletes a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTeamFolderRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteTeamFolderRequest request = new gcdv::DeleteTeamFolderRequest
{
TeamFolderName = gcdv::TeamFolderName.FromProjectLocationTeamFolder("[PROJECT]", "[LOCATION]", "[TEAM_FOLDER]"),
};
// Make the request
await dataformClient.DeleteTeamFolderAsync(request);
DeleteTeamFolderAsync(TeamFolderName, CallSettings)
public virtual Task DeleteTeamFolderAsync(TeamFolderName name, CallSettings callSettings = null)Deletes a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
name |
TeamFolderNameRequired. The TeamFolder's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::TeamFolderName name = gcdv::TeamFolderName.FromProjectLocationTeamFolder("[PROJECT]", "[LOCATION]", "[TEAM_FOLDER]");
// Make the request
await dataformClient.DeleteTeamFolderAsync(name);
DeleteTeamFolderAsync(TeamFolderName, CancellationToken)
public virtual Task DeleteTeamFolderAsync(TeamFolderName name, CancellationToken cancellationToken)Deletes a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
name |
TeamFolderNameRequired. The TeamFolder's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::TeamFolderName name = gcdv::TeamFolderName.FromProjectLocationTeamFolder("[PROJECT]", "[LOCATION]", "[TEAM_FOLDER]");
// Make the request
await dataformClient.DeleteTeamFolderAsync(name);
DeleteTeamFolderAsync(string, CallSettings)
public virtual Task DeleteTeamFolderAsync(string name, CallSettings callSettings = null)Deletes a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The TeamFolder's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/teamFolders/[TEAM_FOLDER]";
// Make the request
await dataformClient.DeleteTeamFolderAsync(name);
DeleteTeamFolderAsync(string, CancellationToken)
public virtual Task DeleteTeamFolderAsync(string name, CancellationToken cancellationToken)Deletes a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The TeamFolder's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/teamFolders/[TEAM_FOLDER]";
// Make the request
await dataformClient.DeleteTeamFolderAsync(name);
DeleteWorkflowConfig(DeleteWorkflowConfigRequest, CallSettings)
public virtual void DeleteWorkflowConfig(DeleteWorkflowConfigRequest request, CallSettings callSettings = null)Deletes a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::DeleteWorkflowConfigRequest request = new gcdv::DeleteWorkflowConfigRequest
{
WorkflowConfigName = gcdv::WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]"),
};
// Make the request
dataformClient.DeleteWorkflowConfig(request);
DeleteWorkflowConfig(WorkflowConfigName, CallSettings)
public virtual void DeleteWorkflowConfig(WorkflowConfigName name, CallSettings callSettings = null)Deletes a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkflowConfigNameRequired. The workflow config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::WorkflowConfigName name = gcdv::WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]");
// Make the request
dataformClient.DeleteWorkflowConfig(name);
DeleteWorkflowConfig(string, CallSettings)
public virtual void DeleteWorkflowConfig(string name, CallSettings callSettings = null)Deletes a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workflow config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowConfigs/[WORKFLOW_CONFIG]";
// Make the request
dataformClient.DeleteWorkflowConfig(name);
DeleteWorkflowConfigAsync(DeleteWorkflowConfigRequest, CallSettings)
public virtual Task DeleteWorkflowConfigAsync(DeleteWorkflowConfigRequest request, CallSettings callSettings = null)Deletes a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteWorkflowConfigRequest request = new gcdv::DeleteWorkflowConfigRequest
{
WorkflowConfigName = gcdv::WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]"),
};
// Make the request
await dataformClient.DeleteWorkflowConfigAsync(request);
DeleteWorkflowConfigAsync(DeleteWorkflowConfigRequest, CancellationToken)
public virtual Task DeleteWorkflowConfigAsync(DeleteWorkflowConfigRequest request, CancellationToken cancellationToken)Deletes a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteWorkflowConfigRequest request = new gcdv::DeleteWorkflowConfigRequest
{
WorkflowConfigName = gcdv::WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]"),
};
// Make the request
await dataformClient.DeleteWorkflowConfigAsync(request);
DeleteWorkflowConfigAsync(WorkflowConfigName, CallSettings)
public virtual Task DeleteWorkflowConfigAsync(WorkflowConfigName name, CallSettings callSettings = null)Deletes a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkflowConfigNameRequired. The workflow config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::WorkflowConfigName name = gcdv::WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]");
// Make the request
await dataformClient.DeleteWorkflowConfigAsync(name);
DeleteWorkflowConfigAsync(WorkflowConfigName, CancellationToken)
public virtual Task DeleteWorkflowConfigAsync(WorkflowConfigName name, CancellationToken cancellationToken)Deletes a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkflowConfigNameRequired. The workflow config's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::WorkflowConfigName name = gcdv::WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]");
// Make the request
await dataformClient.DeleteWorkflowConfigAsync(name);
DeleteWorkflowConfigAsync(string, CallSettings)
public virtual Task DeleteWorkflowConfigAsync(string name, CallSettings callSettings = null)Deletes a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workflow config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowConfigs/[WORKFLOW_CONFIG]";
// Make the request
await dataformClient.DeleteWorkflowConfigAsync(name);
DeleteWorkflowConfigAsync(string, CancellationToken)
public virtual Task DeleteWorkflowConfigAsync(string name, CancellationToken cancellationToken)Deletes a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workflow config's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowConfigs/[WORKFLOW_CONFIG]";
// Make the request
await dataformClient.DeleteWorkflowConfigAsync(name);
DeleteWorkflowInvocation(DeleteWorkflowInvocationRequest, CallSettings)
public virtual void DeleteWorkflowInvocation(DeleteWorkflowInvocationRequest request, CallSettings callSettings = null)Deletes a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::DeleteWorkflowInvocationRequest request = new gcdv::DeleteWorkflowInvocationRequest
{
WorkflowInvocationName = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
dataformClient.DeleteWorkflowInvocation(request);
DeleteWorkflowInvocation(WorkflowInvocationName, CallSettings)
public virtual void DeleteWorkflowInvocation(WorkflowInvocationName name, CallSettings callSettings = null)Deletes a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkflowInvocationNameRequired. The workflow invocation resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::WorkflowInvocationName name = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]");
// Make the request
dataformClient.DeleteWorkflowInvocation(name);
DeleteWorkflowInvocation(string, CallSettings)
public virtual void DeleteWorkflowInvocation(string name, CallSettings callSettings = null)Deletes a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workflow invocation resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowInvocations/[WORKFLOW_INVOCATION]";
// Make the request
dataformClient.DeleteWorkflowInvocation(name);
DeleteWorkflowInvocationAsync(DeleteWorkflowInvocationRequest, CallSettings)
public virtual Task DeleteWorkflowInvocationAsync(DeleteWorkflowInvocationRequest request, CallSettings callSettings = null)Deletes a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteWorkflowInvocationRequest request = new gcdv::DeleteWorkflowInvocationRequest
{
WorkflowInvocationName = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
await dataformClient.DeleteWorkflowInvocationAsync(request);
DeleteWorkflowInvocationAsync(DeleteWorkflowInvocationRequest, CancellationToken)
public virtual Task DeleteWorkflowInvocationAsync(DeleteWorkflowInvocationRequest request, CancellationToken cancellationToken)Deletes a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteWorkflowInvocationRequest request = new gcdv::DeleteWorkflowInvocationRequest
{
WorkflowInvocationName = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
await dataformClient.DeleteWorkflowInvocationAsync(request);
DeleteWorkflowInvocationAsync(WorkflowInvocationName, CallSettings)
public virtual Task DeleteWorkflowInvocationAsync(WorkflowInvocationName name, CallSettings callSettings = null)Deletes a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkflowInvocationNameRequired. The workflow invocation resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::WorkflowInvocationName name = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]");
// Make the request
await dataformClient.DeleteWorkflowInvocationAsync(name);
DeleteWorkflowInvocationAsync(WorkflowInvocationName, CancellationToken)
public virtual Task DeleteWorkflowInvocationAsync(WorkflowInvocationName name, CancellationToken cancellationToken)Deletes a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkflowInvocationNameRequired. The workflow invocation resource's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::WorkflowInvocationName name = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]");
// Make the request
await dataformClient.DeleteWorkflowInvocationAsync(name);
DeleteWorkflowInvocationAsync(string, CallSettings)
public virtual Task DeleteWorkflowInvocationAsync(string name, CallSettings callSettings = null)Deletes a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workflow invocation resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowInvocations/[WORKFLOW_INVOCATION]";
// Make the request
await dataformClient.DeleteWorkflowInvocationAsync(name);
DeleteWorkflowInvocationAsync(string, CancellationToken)
public virtual Task DeleteWorkflowInvocationAsync(string name, CancellationToken cancellationToken)Deletes a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workflow invocation resource's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowInvocations/[WORKFLOW_INVOCATION]";
// Make the request
await dataformClient.DeleteWorkflowInvocationAsync(name);
DeleteWorkspace(DeleteWorkspaceRequest, CallSettings)
public virtual void DeleteWorkspace(DeleteWorkspaceRequest request, CallSettings callSettings = null)Deletes a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteWorkspaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::DeleteWorkspaceRequest request = new gcdv::DeleteWorkspaceRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
dataformClient.DeleteWorkspace(request);
DeleteWorkspace(WorkspaceName, CallSettings)
public virtual void DeleteWorkspace(WorkspaceName name, CallSettings callSettings = null)Deletes a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkspaceNameRequired. The workspace resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::WorkspaceName name = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]");
// Make the request
dataformClient.DeleteWorkspace(name);
DeleteWorkspace(string, CallSettings)
public virtual void DeleteWorkspace(string name, CallSettings callSettings = null)Deletes a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workspace resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workspaces/[WORKSPACE]";
// Make the request
dataformClient.DeleteWorkspace(name);
DeleteWorkspaceAsync(DeleteWorkspaceRequest, CallSettings)
public virtual Task DeleteWorkspaceAsync(DeleteWorkspaceRequest request, CallSettings callSettings = null)Deletes a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteWorkspaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteWorkspaceRequest request = new gcdv::DeleteWorkspaceRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
await dataformClient.DeleteWorkspaceAsync(request);
DeleteWorkspaceAsync(DeleteWorkspaceRequest, CancellationToken)
public virtual Task DeleteWorkspaceAsync(DeleteWorkspaceRequest request, CancellationToken cancellationToken)Deletes a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteWorkspaceRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::DeleteWorkspaceRequest request = new gcdv::DeleteWorkspaceRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
await dataformClient.DeleteWorkspaceAsync(request);
DeleteWorkspaceAsync(WorkspaceName, CallSettings)
public virtual Task DeleteWorkspaceAsync(WorkspaceName name, CallSettings callSettings = null)Deletes a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkspaceNameRequired. The workspace resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::WorkspaceName name = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]");
// Make the request
await dataformClient.DeleteWorkspaceAsync(name);
DeleteWorkspaceAsync(WorkspaceName, CancellationToken)
public virtual Task DeleteWorkspaceAsync(WorkspaceName name, CancellationToken cancellationToken)Deletes a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkspaceNameRequired. The workspace resource's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::WorkspaceName name = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]");
// Make the request
await dataformClient.DeleteWorkspaceAsync(name);
DeleteWorkspaceAsync(string, CallSettings)
public virtual Task DeleteWorkspaceAsync(string name, CallSettings callSettings = null)Deletes a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workspace resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workspaces/[WORKSPACE]";
// Make the request
await dataformClient.DeleteWorkspaceAsync(name);
DeleteWorkspaceAsync(string, CancellationToken)
public virtual Task DeleteWorkspaceAsync(string name, CancellationToken cancellationToken)Deletes a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workspace resource's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workspaces/[WORKSPACE]";
// Make the request
await dataformClient.DeleteWorkspaceAsync(name);
FetchFileDiff(FetchFileDiffRequest, CallSettings)
public virtual FetchFileDiffResponse FetchFileDiff(FetchFileDiffRequest request, CallSettings callSettings = null)Fetches Git diff for an uncommitted file in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchFileDiffRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FetchFileDiffResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::FetchFileDiffRequest request = new gcdv::FetchFileDiffRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
gcdv::FetchFileDiffResponse response = dataformClient.FetchFileDiff(request);
FetchFileDiffAsync(FetchFileDiffRequest, CallSettings)
public virtual Task<FetchFileDiffResponse> FetchFileDiffAsync(FetchFileDiffRequest request, CallSettings callSettings = null)Fetches Git diff for an uncommitted file in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchFileDiffRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchFileDiffResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::FetchFileDiffRequest request = new gcdv::FetchFileDiffRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
gcdv::FetchFileDiffResponse response = await dataformClient.FetchFileDiffAsync(request);
FetchFileDiffAsync(FetchFileDiffRequest, CancellationToken)
public virtual Task<FetchFileDiffResponse> FetchFileDiffAsync(FetchFileDiffRequest request, CancellationToken cancellationToken)Fetches Git diff for an uncommitted file in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchFileDiffRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchFileDiffResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::FetchFileDiffRequest request = new gcdv::FetchFileDiffRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
gcdv::FetchFileDiffResponse response = await dataformClient.FetchFileDiffAsync(request);
FetchFileGitStatuses(FetchFileGitStatusesRequest, CallSettings)
public virtual FetchFileGitStatusesResponse FetchFileGitStatuses(FetchFileGitStatusesRequest request, CallSettings callSettings = null)Fetches Git statuses for the files in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchFileGitStatusesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FetchFileGitStatusesResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::FetchFileGitStatusesRequest request = new gcdv::FetchFileGitStatusesRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
gcdv::FetchFileGitStatusesResponse response = dataformClient.FetchFileGitStatuses(request);
FetchFileGitStatusesAsync(FetchFileGitStatusesRequest, CallSettings)
public virtual Task<FetchFileGitStatusesResponse> FetchFileGitStatusesAsync(FetchFileGitStatusesRequest request, CallSettings callSettings = null)Fetches Git statuses for the files in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchFileGitStatusesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchFileGitStatusesResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::FetchFileGitStatusesRequest request = new gcdv::FetchFileGitStatusesRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
gcdv::FetchFileGitStatusesResponse response = await dataformClient.FetchFileGitStatusesAsync(request);
FetchFileGitStatusesAsync(FetchFileGitStatusesRequest, CancellationToken)
public virtual Task<FetchFileGitStatusesResponse> FetchFileGitStatusesAsync(FetchFileGitStatusesRequest request, CancellationToken cancellationToken)Fetches Git statuses for the files in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchFileGitStatusesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchFileGitStatusesResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::FetchFileGitStatusesRequest request = new gcdv::FetchFileGitStatusesRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
gcdv::FetchFileGitStatusesResponse response = await dataformClient.FetchFileGitStatusesAsync(request);
FetchGitAheadBehind(FetchGitAheadBehindRequest, CallSettings)
public virtual FetchGitAheadBehindResponse FetchGitAheadBehind(FetchGitAheadBehindRequest request, CallSettings callSettings = null)Fetches Git ahead/behind against a remote branch.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchGitAheadBehindRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FetchGitAheadBehindResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::FetchGitAheadBehindRequest request = new gcdv::FetchGitAheadBehindRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
RemoteBranch = "",
};
// Make the request
gcdv::FetchGitAheadBehindResponse response = dataformClient.FetchGitAheadBehind(request);
FetchGitAheadBehindAsync(FetchGitAheadBehindRequest, CallSettings)
public virtual Task<FetchGitAheadBehindResponse> FetchGitAheadBehindAsync(FetchGitAheadBehindRequest request, CallSettings callSettings = null)Fetches Git ahead/behind against a remote branch.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchGitAheadBehindRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchGitAheadBehindResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::FetchGitAheadBehindRequest request = new gcdv::FetchGitAheadBehindRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
RemoteBranch = "",
};
// Make the request
gcdv::FetchGitAheadBehindResponse response = await dataformClient.FetchGitAheadBehindAsync(request);
FetchGitAheadBehindAsync(FetchGitAheadBehindRequest, CancellationToken)
public virtual Task<FetchGitAheadBehindResponse> FetchGitAheadBehindAsync(FetchGitAheadBehindRequest request, CancellationToken cancellationToken)Fetches Git ahead/behind against a remote branch.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchGitAheadBehindRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchGitAheadBehindResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::FetchGitAheadBehindRequest request = new gcdv::FetchGitAheadBehindRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
RemoteBranch = "",
};
// Make the request
gcdv::FetchGitAheadBehindResponse response = await dataformClient.FetchGitAheadBehindAsync(request);
FetchRemoteBranches(FetchRemoteBranchesRequest, CallSettings)
public virtual FetchRemoteBranchesResponse FetchRemoteBranches(FetchRemoteBranchesRequest request, CallSettings callSettings = null)Fetches a Repository's remote branches.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchRemoteBranchesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FetchRemoteBranchesResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::FetchRemoteBranchesRequest request = new gcdv::FetchRemoteBranchesRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
gcdv::FetchRemoteBranchesResponse response = dataformClient.FetchRemoteBranches(request);
FetchRemoteBranchesAsync(FetchRemoteBranchesRequest, CallSettings)
public virtual Task<FetchRemoteBranchesResponse> FetchRemoteBranchesAsync(FetchRemoteBranchesRequest request, CallSettings callSettings = null)Fetches a Repository's remote branches.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchRemoteBranchesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchRemoteBranchesResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::FetchRemoteBranchesRequest request = new gcdv::FetchRemoteBranchesRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
gcdv::FetchRemoteBranchesResponse response = await dataformClient.FetchRemoteBranchesAsync(request);
FetchRemoteBranchesAsync(FetchRemoteBranchesRequest, CancellationToken)
public virtual Task<FetchRemoteBranchesResponse> FetchRemoteBranchesAsync(FetchRemoteBranchesRequest request, CancellationToken cancellationToken)Fetches a Repository's remote branches.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchRemoteBranchesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchRemoteBranchesResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::FetchRemoteBranchesRequest request = new gcdv::FetchRemoteBranchesRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
gcdv::FetchRemoteBranchesResponse response = await dataformClient.FetchRemoteBranchesAsync(request);
FetchRepositoryHistory(FetchRepositoryHistoryRequest, CallSettings)
public virtual PagedEnumerable<FetchRepositoryHistoryResponse, CommitLogEntry> FetchRepositoryHistory(FetchRepositoryHistoryRequest request, CallSettings callSettings = null)Fetches a Repository's history of commits. The Repository must not have a
value for git_remote_settings.url.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchRepositoryHistoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableFetchRepositoryHistoryResponseCommitLogEntry |
A pageable sequence of CommitLogEntry resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::FetchRepositoryHistoryRequest request = new gcdv::FetchRepositoryHistoryRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
PagedEnumerable<gcdv::FetchRepositoryHistoryResponse, gcdv::CommitLogEntry> response = dataformClient.FetchRepositoryHistory(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::CommitLogEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::FetchRepositoryHistoryResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::CommitLogEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::CommitLogEntry> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::CommitLogEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
FetchRepositoryHistoryAsync(FetchRepositoryHistoryRequest, CallSettings)
public virtual PagedAsyncEnumerable<FetchRepositoryHistoryResponse, CommitLogEntry> FetchRepositoryHistoryAsync(FetchRepositoryHistoryRequest request, CallSettings callSettings = null)Fetches a Repository's history of commits. The Repository must not have a
value for git_remote_settings.url.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchRepositoryHistoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableFetchRepositoryHistoryResponseCommitLogEntry |
A pageable asynchronous sequence of CommitLogEntry resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::FetchRepositoryHistoryRequest request = new gcdv::FetchRepositoryHistoryRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
PagedAsyncEnumerable<gcdv::FetchRepositoryHistoryResponse, gcdv::CommitLogEntry> response = dataformClient.FetchRepositoryHistoryAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::CommitLogEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::FetchRepositoryHistoryResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::CommitLogEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::CommitLogEntry> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::CommitLogEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
GetCompilationResult(CompilationResultName, CallSettings)
public virtual CompilationResult GetCompilationResult(CompilationResultName name, CallSettings callSettings = null)Fetches a single CompilationResult.
| Parameters | |
|---|---|
| Name | Description |
name |
CompilationResultNameRequired. The compilation result's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CompilationResult |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::CompilationResultName name = gcdv::CompilationResultName.FromProjectLocationRepositoryCompilationResult("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]");
// Make the request
gcdv::CompilationResult response = dataformClient.GetCompilationResult(name);
GetCompilationResult(GetCompilationResultRequest, CallSettings)
public virtual CompilationResult GetCompilationResult(GetCompilationResultRequest request, CallSettings callSettings = null)Fetches a single CompilationResult.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCompilationResultRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CompilationResult |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::GetCompilationResultRequest request = new gcdv::GetCompilationResultRequest
{
CompilationResultName = gcdv::CompilationResultName.FromProjectLocationRepositoryCompilationResult("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]"),
};
// Make the request
gcdv::CompilationResult response = dataformClient.GetCompilationResult(request);
GetCompilationResult(string, CallSettings)
public virtual CompilationResult GetCompilationResult(string name, CallSettings callSettings = null)Fetches a single CompilationResult.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The compilation result's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CompilationResult |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/compilationResults/[COMPILATION_RESULT]";
// Make the request
gcdv::CompilationResult response = dataformClient.GetCompilationResult(name);
GetCompilationResultAsync(CompilationResultName, CallSettings)
public virtual Task<CompilationResult> GetCompilationResultAsync(CompilationResultName name, CallSettings callSettings = null)Fetches a single CompilationResult.
| Parameters | |
|---|---|
| Name | Description |
name |
CompilationResultNameRequired. The compilation result's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CompilationResultName name = gcdv::CompilationResultName.FromProjectLocationRepositoryCompilationResult("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]");
// Make the request
gcdv::CompilationResult response = await dataformClient.GetCompilationResultAsync(name);
GetCompilationResultAsync(CompilationResultName, CancellationToken)
public virtual Task<CompilationResult> GetCompilationResultAsync(CompilationResultName name, CancellationToken cancellationToken)Fetches a single CompilationResult.
| Parameters | |
|---|---|
| Name | Description |
name |
CompilationResultNameRequired. The compilation result's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::CompilationResultName name = gcdv::CompilationResultName.FromProjectLocationRepositoryCompilationResult("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]");
// Make the request
gcdv::CompilationResult response = await dataformClient.GetCompilationResultAsync(name);
GetCompilationResultAsync(GetCompilationResultRequest, CallSettings)
public virtual Task<CompilationResult> GetCompilationResultAsync(GetCompilationResultRequest request, CallSettings callSettings = null)Fetches a single CompilationResult.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCompilationResultRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetCompilationResultRequest request = new gcdv::GetCompilationResultRequest
{
CompilationResultName = gcdv::CompilationResultName.FromProjectLocationRepositoryCompilationResult("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]"),
};
// Make the request
gcdv::CompilationResult response = await dataformClient.GetCompilationResultAsync(request);
GetCompilationResultAsync(GetCompilationResultRequest, CancellationToken)
public virtual Task<CompilationResult> GetCompilationResultAsync(GetCompilationResultRequest request, CancellationToken cancellationToken)Fetches a single CompilationResult.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCompilationResultRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetCompilationResultRequest request = new gcdv::GetCompilationResultRequest
{
CompilationResultName = gcdv::CompilationResultName.FromProjectLocationRepositoryCompilationResult("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]"),
};
// Make the request
gcdv::CompilationResult response = await dataformClient.GetCompilationResultAsync(request);
GetCompilationResultAsync(string, CallSettings)
public virtual Task<CompilationResult> GetCompilationResultAsync(string name, CallSettings callSettings = null)Fetches a single CompilationResult.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The compilation result's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/compilationResults/[COMPILATION_RESULT]";
// Make the request
gcdv::CompilationResult response = await dataformClient.GetCompilationResultAsync(name);
GetCompilationResultAsync(string, CancellationToken)
public virtual Task<CompilationResult> GetCompilationResultAsync(string name, CancellationToken cancellationToken)Fetches a single CompilationResult.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The compilation result's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/compilationResults/[COMPILATION_RESULT]";
// Make the request
gcdv::CompilationResult response = await dataformClient.GetCompilationResultAsync(name);
GetConfig(ConfigName, CallSettings)
public virtual Config GetConfig(ConfigName name, CallSettings callSettings = null)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
name |
ConfigNameRequired. The config name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Config |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::ConfigName name = gcdv::ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
gcdv::Config response = dataformClient.GetConfig(name);
GetConfig(GetConfigRequest, CallSettings)
public virtual Config GetConfig(GetConfigRequest request, CallSettings callSettings = null)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
GetConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Config |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::GetConfigRequest request = new gcdv::GetConfigRequest
{
ConfigName = gcdv::ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
gcdv::Config response = dataformClient.GetConfig(request);
GetConfig(string, CallSettings)
public virtual Config GetConfig(string name, CallSettings callSettings = null)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The config name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Config |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/config";
// Make the request
gcdv::Config response = dataformClient.GetConfig(name);
GetConfigAsync(ConfigName, CallSettings)
public virtual Task<Config> GetConfigAsync(ConfigName name, CallSettings callSettings = null)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
name |
ConfigNameRequired. The config name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ConfigName name = gcdv::ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
gcdv::Config response = await dataformClient.GetConfigAsync(name);
GetConfigAsync(ConfigName, CancellationToken)
public virtual Task<Config> GetConfigAsync(ConfigName name, CancellationToken cancellationToken)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
name |
ConfigNameRequired. The config name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ConfigName name = gcdv::ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
gcdv::Config response = await dataformClient.GetConfigAsync(name);
GetConfigAsync(GetConfigRequest, CallSettings)
public virtual Task<Config> GetConfigAsync(GetConfigRequest request, CallSettings callSettings = null)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
GetConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetConfigRequest request = new gcdv::GetConfigRequest
{
ConfigName = gcdv::ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
gcdv::Config response = await dataformClient.GetConfigAsync(request);
GetConfigAsync(GetConfigRequest, CancellationToken)
public virtual Task<Config> GetConfigAsync(GetConfigRequest request, CancellationToken cancellationToken)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
GetConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetConfigRequest request = new gcdv::GetConfigRequest
{
ConfigName = gcdv::ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
gcdv::Config response = await dataformClient.GetConfigAsync(request);
GetConfigAsync(string, CallSettings)
public virtual Task<Config> GetConfigAsync(string name, CallSettings callSettings = null)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The config name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/config";
// Make the request
gcdv::Config response = await dataformClient.GetConfigAsync(name);
GetConfigAsync(string, CancellationToken)
public virtual Task<Config> GetConfigAsync(string name, CancellationToken cancellationToken)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The config name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/config";
// Make the request
gcdv::Config response = await dataformClient.GetConfigAsync(name);
GetFolder(FolderName, CallSettings)
public virtual Folder GetFolder(FolderName name, CallSettings callSettings = null)Fetches a single Folder.
| Parameters | |
|---|---|
| Name | Description |
name |
FolderNameRequired. The Folder's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Folder |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::FolderName name = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]");
// Make the request
gcdv::Folder response = dataformClient.GetFolder(name);
GetFolder(GetFolderRequest, CallSettings)
public virtual Folder GetFolder(GetFolderRequest request, CallSettings callSettings = null)Fetches a single Folder.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Folder |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::GetFolderRequest request = new gcdv::GetFolderRequest
{
FolderName = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]"),
};
// Make the request
gcdv::Folder response = dataformClient.GetFolder(request);
GetFolder(string, CallSettings)
public virtual Folder GetFolder(string name, CallSettings callSettings = null)Fetches a single Folder.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The Folder's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Folder |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/folders/[FOLDER]";
// Make the request
gcdv::Folder response = dataformClient.GetFolder(name);
GetFolderAsync(FolderName, CallSettings)
public virtual Task<Folder> GetFolderAsync(FolderName name, CallSettings callSettings = null)Fetches a single Folder.
| Parameters | |
|---|---|
| Name | Description |
name |
FolderNameRequired. The Folder's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::FolderName name = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]");
// Make the request
gcdv::Folder response = await dataformClient.GetFolderAsync(name);
GetFolderAsync(FolderName, CancellationToken)
public virtual Task<Folder> GetFolderAsync(FolderName name, CancellationToken cancellationToken)Fetches a single Folder.
| Parameters | |
|---|---|
| Name | Description |
name |
FolderNameRequired. The Folder's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::FolderName name = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]");
// Make the request
gcdv::Folder response = await dataformClient.GetFolderAsync(name);
GetFolderAsync(GetFolderRequest, CallSettings)
public virtual Task<Folder> GetFolderAsync(GetFolderRequest request, CallSettings callSettings = null)Fetches a single Folder.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetFolderRequest request = new gcdv::GetFolderRequest
{
FolderName = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]"),
};
// Make the request
gcdv::Folder response = await dataformClient.GetFolderAsync(request);
GetFolderAsync(GetFolderRequest, CancellationToken)
public virtual Task<Folder> GetFolderAsync(GetFolderRequest request, CancellationToken cancellationToken)Fetches a single Folder.
| Parameters | |
|---|---|
| Name | Description |
request |
GetFolderRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetFolderRequest request = new gcdv::GetFolderRequest
{
FolderName = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]"),
};
// Make the request
gcdv::Folder response = await dataformClient.GetFolderAsync(request);
GetFolderAsync(string, CallSettings)
public virtual Task<Folder> GetFolderAsync(string name, CallSettings callSettings = null)Fetches a single Folder.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The Folder's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/folders/[FOLDER]";
// Make the request
gcdv::Folder response = await dataformClient.GetFolderAsync(name);
GetFolderAsync(string, CancellationToken)
public virtual Task<Folder> GetFolderAsync(string name, CancellationToken cancellationToken)Fetches a single Folder.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The Folder's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/folders/[FOLDER]";
// Make the request
gcdv::Folder response = await dataformClient.GetFolderAsync(name);
GetIamPolicy(IResourceName, CallSettings)
public virtual Policy GetIamPolicy(IResourceName resource, CallSettings callSettings = null)Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
| Parameters | |
|---|---|
| Name | Description |
resource |
IResourceNameREQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
IResourceName resource = new UnparsedResourceName("a/wildcard/resource");
// Make the request
Policy response = dataformClient.GetIamPolicy(resource);
GetIamPolicy(GetIamPolicyRequest, CallSettings)
public virtual Policy GetIamPolicy(GetIamPolicyRequest request, CallSettings callSettings = null)Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
GetIamPolicyRequest request = new GetIamPolicyRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Options = new GetPolicyOptions(),
};
// Make the request
Policy response = dataformClient.GetIamPolicy(request);
GetIamPolicy(string, CallSettings)
public virtual Policy GetIamPolicy(string resource, CallSettings callSettings = null)Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
| Parameters | |
|---|---|
| Name | Description |
resource |
stringREQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string resource = "a/wildcard/resource";
// Make the request
Policy response = dataformClient.GetIamPolicy(resource);
GetIamPolicyAsync(IResourceName, CallSettings)
public virtual Task<Policy> GetIamPolicyAsync(IResourceName resource, CallSettings callSettings = null)Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
| Parameters | |
|---|---|
| Name | Description |
resource |
IResourceNameREQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
IResourceName resource = new UnparsedResourceName("a/wildcard/resource");
// Make the request
Policy response = await dataformClient.GetIamPolicyAsync(resource);
GetIamPolicyAsync(IResourceName, CancellationToken)
public virtual Task<Policy> GetIamPolicyAsync(IResourceName resource, CancellationToken cancellationToken)Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
| Parameters | |
|---|---|
| Name | Description |
resource |
IResourceNameREQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
IResourceName resource = new UnparsedResourceName("a/wildcard/resource");
// Make the request
Policy response = await dataformClient.GetIamPolicyAsync(resource);
GetIamPolicyAsync(GetIamPolicyRequest, CallSettings)
public virtual Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallSettings callSettings = null)Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
GetIamPolicyRequest request = new GetIamPolicyRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Options = new GetPolicyOptions(),
};
// Make the request
Policy response = await dataformClient.GetIamPolicyAsync(request);
GetIamPolicyAsync(GetIamPolicyRequest, CancellationToken)
public virtual Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CancellationToken cancellationToken)Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
GetIamPolicyRequest request = new GetIamPolicyRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Options = new GetPolicyOptions(),
};
// Make the request
Policy response = await dataformClient.GetIamPolicyAsync(request);
GetIamPolicyAsync(string, CallSettings)
public virtual Task<Policy> GetIamPolicyAsync(string resource, CallSettings callSettings = null)Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
| Parameters | |
|---|---|
| Name | Description |
resource |
stringREQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string resource = "a/wildcard/resource";
// Make the request
Policy response = await dataformClient.GetIamPolicyAsync(resource);
GetIamPolicyAsync(string, CancellationToken)
public virtual Task<Policy> GetIamPolicyAsync(string resource, CancellationToken cancellationToken)Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
| Parameters | |
|---|---|
| Name | Description |
resource |
stringREQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string resource = "a/wildcard/resource";
// Make the request
Policy response = await dataformClient.GetIamPolicyAsync(resource);
GetReleaseConfig(GetReleaseConfigRequest, CallSettings)
public virtual ReleaseConfig GetReleaseConfig(GetReleaseConfigRequest request, CallSettings callSettings = null)Fetches a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
GetReleaseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReleaseConfig |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::GetReleaseConfigRequest request = new gcdv::GetReleaseConfigRequest
{
ReleaseConfigName = gcdv::ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]"),
};
// Make the request
gcdv::ReleaseConfig response = dataformClient.GetReleaseConfig(request);
GetReleaseConfig(ReleaseConfigName, CallSettings)
public virtual ReleaseConfig GetReleaseConfig(ReleaseConfigName name, CallSettings callSettings = null)Fetches a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
ReleaseConfigNameRequired. The release config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReleaseConfig |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::ReleaseConfigName name = gcdv::ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]");
// Make the request
gcdv::ReleaseConfig response = dataformClient.GetReleaseConfig(name);
GetReleaseConfig(string, CallSettings)
public virtual ReleaseConfig GetReleaseConfig(string name, CallSettings callSettings = null)Fetches a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The release config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReleaseConfig |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/releaseConfigs/[RELEASE_CONFIG]";
// Make the request
gcdv::ReleaseConfig response = dataformClient.GetReleaseConfig(name);
GetReleaseConfigAsync(GetReleaseConfigRequest, CallSettings)
public virtual Task<ReleaseConfig> GetReleaseConfigAsync(GetReleaseConfigRequest request, CallSettings callSettings = null)Fetches a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
GetReleaseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetReleaseConfigRequest request = new gcdv::GetReleaseConfigRequest
{
ReleaseConfigName = gcdv::ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]"),
};
// Make the request
gcdv::ReleaseConfig response = await dataformClient.GetReleaseConfigAsync(request);
GetReleaseConfigAsync(GetReleaseConfigRequest, CancellationToken)
public virtual Task<ReleaseConfig> GetReleaseConfigAsync(GetReleaseConfigRequest request, CancellationToken cancellationToken)Fetches a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
GetReleaseConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetReleaseConfigRequest request = new gcdv::GetReleaseConfigRequest
{
ReleaseConfigName = gcdv::ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]"),
};
// Make the request
gcdv::ReleaseConfig response = await dataformClient.GetReleaseConfigAsync(request);
GetReleaseConfigAsync(ReleaseConfigName, CallSettings)
public virtual Task<ReleaseConfig> GetReleaseConfigAsync(ReleaseConfigName name, CallSettings callSettings = null)Fetches a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
ReleaseConfigNameRequired. The release config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ReleaseConfigName name = gcdv::ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]");
// Make the request
gcdv::ReleaseConfig response = await dataformClient.GetReleaseConfigAsync(name);
GetReleaseConfigAsync(ReleaseConfigName, CancellationToken)
public virtual Task<ReleaseConfig> GetReleaseConfigAsync(ReleaseConfigName name, CancellationToken cancellationToken)Fetches a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
ReleaseConfigNameRequired. The release config's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ReleaseConfigName name = gcdv::ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]");
// Make the request
gcdv::ReleaseConfig response = await dataformClient.GetReleaseConfigAsync(name);
GetReleaseConfigAsync(string, CallSettings)
public virtual Task<ReleaseConfig> GetReleaseConfigAsync(string name, CallSettings callSettings = null)Fetches a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The release config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/releaseConfigs/[RELEASE_CONFIG]";
// Make the request
gcdv::ReleaseConfig response = await dataformClient.GetReleaseConfigAsync(name);
GetReleaseConfigAsync(string, CancellationToken)
public virtual Task<ReleaseConfig> GetReleaseConfigAsync(string name, CancellationToken cancellationToken)Fetches a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The release config's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/releaseConfigs/[RELEASE_CONFIG]";
// Make the request
gcdv::ReleaseConfig response = await dataformClient.GetReleaseConfigAsync(name);
GetRepository(GetRepositoryRequest, CallSettings)
public virtual Repository GetRepository(GetRepositoryRequest request, CallSettings callSettings = null)Fetches a single Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::GetRepositoryRequest request = new gcdv::GetRepositoryRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
gcdv::Repository response = dataformClient.GetRepository(request);
GetRepository(RepositoryName, CallSettings)
public virtual Repository GetRepository(RepositoryName name, CallSettings callSettings = null)Fetches a single Repository.
| Parameters | |
|---|---|
| Name | Description |
name |
RepositoryNameRequired. The repository's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::RepositoryName name = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
gcdv::Repository response = dataformClient.GetRepository(name);
GetRepository(string, CallSettings)
public virtual Repository GetRepository(string name, CallSettings callSettings = null)Fetches a single Repository.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The repository's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
gcdv::Repository response = dataformClient.GetRepository(name);
GetRepositoryAsync(GetRepositoryRequest, CallSettings)
public virtual Task<Repository> GetRepositoryAsync(GetRepositoryRequest request, CallSettings callSettings = null)Fetches a single Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetRepositoryRequest request = new gcdv::GetRepositoryRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
gcdv::Repository response = await dataformClient.GetRepositoryAsync(request);
GetRepositoryAsync(GetRepositoryRequest, CancellationToken)
public virtual Task<Repository> GetRepositoryAsync(GetRepositoryRequest request, CancellationToken cancellationToken)Fetches a single Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRepositoryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetRepositoryRequest request = new gcdv::GetRepositoryRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
gcdv::Repository response = await dataformClient.GetRepositoryAsync(request);
GetRepositoryAsync(RepositoryName, CallSettings)
public virtual Task<Repository> GetRepositoryAsync(RepositoryName name, CallSettings callSettings = null)Fetches a single Repository.
| Parameters | |
|---|---|
| Name | Description |
name |
RepositoryNameRequired. The repository's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName name = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
gcdv::Repository response = await dataformClient.GetRepositoryAsync(name);
GetRepositoryAsync(RepositoryName, CancellationToken)
public virtual Task<Repository> GetRepositoryAsync(RepositoryName name, CancellationToken cancellationToken)Fetches a single Repository.
| Parameters | |
|---|---|
| Name | Description |
name |
RepositoryNameRequired. The repository's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName name = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
gcdv::Repository response = await dataformClient.GetRepositoryAsync(name);
GetRepositoryAsync(string, CallSettings)
public virtual Task<Repository> GetRepositoryAsync(string name, CallSettings callSettings = null)Fetches a single Repository.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The repository's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
gcdv::Repository response = await dataformClient.GetRepositoryAsync(name);
GetRepositoryAsync(string, CancellationToken)
public virtual Task<Repository> GetRepositoryAsync(string name, CancellationToken cancellationToken)Fetches a single Repository.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The repository's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
gcdv::Repository response = await dataformClient.GetRepositoryAsync(name);
GetTeamFolder(GetTeamFolderRequest, CallSettings)
public virtual TeamFolder GetTeamFolder(GetTeamFolderRequest request, CallSettings callSettings = null)Fetches a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTeamFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TeamFolder |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::GetTeamFolderRequest request = new gcdv::GetTeamFolderRequest
{
TeamFolderName = gcdv::TeamFolderName.FromProjectLocationTeamFolder("[PROJECT]", "[LOCATION]", "[TEAM_FOLDER]"),
};
// Make the request
gcdv::TeamFolder response = dataformClient.GetTeamFolder(request);
GetTeamFolder(TeamFolderName, CallSettings)
public virtual TeamFolder GetTeamFolder(TeamFolderName name, CallSettings callSettings = null)Fetches a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
name |
TeamFolderNameRequired. The TeamFolder's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TeamFolder |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::TeamFolderName name = gcdv::TeamFolderName.FromProjectLocationTeamFolder("[PROJECT]", "[LOCATION]", "[TEAM_FOLDER]");
// Make the request
gcdv::TeamFolder response = dataformClient.GetTeamFolder(name);
GetTeamFolder(string, CallSettings)
public virtual TeamFolder GetTeamFolder(string name, CallSettings callSettings = null)Fetches a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The TeamFolder's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TeamFolder |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/teamFolders/[TEAM_FOLDER]";
// Make the request
gcdv::TeamFolder response = dataformClient.GetTeamFolder(name);
GetTeamFolderAsync(GetTeamFolderRequest, CallSettings)
public virtual Task<TeamFolder> GetTeamFolderAsync(GetTeamFolderRequest request, CallSettings callSettings = null)Fetches a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTeamFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTeamFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetTeamFolderRequest request = new gcdv::GetTeamFolderRequest
{
TeamFolderName = gcdv::TeamFolderName.FromProjectLocationTeamFolder("[PROJECT]", "[LOCATION]", "[TEAM_FOLDER]"),
};
// Make the request
gcdv::TeamFolder response = await dataformClient.GetTeamFolderAsync(request);
GetTeamFolderAsync(GetTeamFolderRequest, CancellationToken)
public virtual Task<TeamFolder> GetTeamFolderAsync(GetTeamFolderRequest request, CancellationToken cancellationToken)Fetches a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTeamFolderRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTeamFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetTeamFolderRequest request = new gcdv::GetTeamFolderRequest
{
TeamFolderName = gcdv::TeamFolderName.FromProjectLocationTeamFolder("[PROJECT]", "[LOCATION]", "[TEAM_FOLDER]"),
};
// Make the request
gcdv::TeamFolder response = await dataformClient.GetTeamFolderAsync(request);
GetTeamFolderAsync(TeamFolderName, CallSettings)
public virtual Task<TeamFolder> GetTeamFolderAsync(TeamFolderName name, CallSettings callSettings = null)Fetches a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
name |
TeamFolderNameRequired. The TeamFolder's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTeamFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::TeamFolderName name = gcdv::TeamFolderName.FromProjectLocationTeamFolder("[PROJECT]", "[LOCATION]", "[TEAM_FOLDER]");
// Make the request
gcdv::TeamFolder response = await dataformClient.GetTeamFolderAsync(name);
GetTeamFolderAsync(TeamFolderName, CancellationToken)
public virtual Task<TeamFolder> GetTeamFolderAsync(TeamFolderName name, CancellationToken cancellationToken)Fetches a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
name |
TeamFolderNameRequired. The TeamFolder's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTeamFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::TeamFolderName name = gcdv::TeamFolderName.FromProjectLocationTeamFolder("[PROJECT]", "[LOCATION]", "[TEAM_FOLDER]");
// Make the request
gcdv::TeamFolder response = await dataformClient.GetTeamFolderAsync(name);
GetTeamFolderAsync(string, CallSettings)
public virtual Task<TeamFolder> GetTeamFolderAsync(string name, CallSettings callSettings = null)Fetches a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The TeamFolder's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTeamFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/teamFolders/[TEAM_FOLDER]";
// Make the request
gcdv::TeamFolder response = await dataformClient.GetTeamFolderAsync(name);
GetTeamFolderAsync(string, CancellationToken)
public virtual Task<TeamFolder> GetTeamFolderAsync(string name, CancellationToken cancellationToken)Fetches a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The TeamFolder's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTeamFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/teamFolders/[TEAM_FOLDER]";
// Make the request
gcdv::TeamFolder response = await dataformClient.GetTeamFolderAsync(name);
GetWorkflowConfig(GetWorkflowConfigRequest, CallSettings)
public virtual WorkflowConfig GetWorkflowConfig(GetWorkflowConfigRequest request, CallSettings callSettings = null)Fetches a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
GetWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowConfig |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::GetWorkflowConfigRequest request = new gcdv::GetWorkflowConfigRequest
{
WorkflowConfigName = gcdv::WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]"),
};
// Make the request
gcdv::WorkflowConfig response = dataformClient.GetWorkflowConfig(request);
GetWorkflowConfig(WorkflowConfigName, CallSettings)
public virtual WorkflowConfig GetWorkflowConfig(WorkflowConfigName name, CallSettings callSettings = null)Fetches a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkflowConfigNameRequired. The workflow config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowConfig |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::WorkflowConfigName name = gcdv::WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]");
// Make the request
gcdv::WorkflowConfig response = dataformClient.GetWorkflowConfig(name);
GetWorkflowConfig(string, CallSettings)
public virtual WorkflowConfig GetWorkflowConfig(string name, CallSettings callSettings = null)Fetches a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workflow config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowConfig |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowConfigs/[WORKFLOW_CONFIG]";
// Make the request
gcdv::WorkflowConfig response = dataformClient.GetWorkflowConfig(name);
GetWorkflowConfigAsync(GetWorkflowConfigRequest, CallSettings)
public virtual Task<WorkflowConfig> GetWorkflowConfigAsync(GetWorkflowConfigRequest request, CallSettings callSettings = null)Fetches a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
GetWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetWorkflowConfigRequest request = new gcdv::GetWorkflowConfigRequest
{
WorkflowConfigName = gcdv::WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]"),
};
// Make the request
gcdv::WorkflowConfig response = await dataformClient.GetWorkflowConfigAsync(request);
GetWorkflowConfigAsync(GetWorkflowConfigRequest, CancellationToken)
public virtual Task<WorkflowConfig> GetWorkflowConfigAsync(GetWorkflowConfigRequest request, CancellationToken cancellationToken)Fetches a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
GetWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetWorkflowConfigRequest request = new gcdv::GetWorkflowConfigRequest
{
WorkflowConfigName = gcdv::WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]"),
};
// Make the request
gcdv::WorkflowConfig response = await dataformClient.GetWorkflowConfigAsync(request);
GetWorkflowConfigAsync(WorkflowConfigName, CallSettings)
public virtual Task<WorkflowConfig> GetWorkflowConfigAsync(WorkflowConfigName name, CallSettings callSettings = null)Fetches a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkflowConfigNameRequired. The workflow config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::WorkflowConfigName name = gcdv::WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]");
// Make the request
gcdv::WorkflowConfig response = await dataformClient.GetWorkflowConfigAsync(name);
GetWorkflowConfigAsync(WorkflowConfigName, CancellationToken)
public virtual Task<WorkflowConfig> GetWorkflowConfigAsync(WorkflowConfigName name, CancellationToken cancellationToken)Fetches a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkflowConfigNameRequired. The workflow config's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::WorkflowConfigName name = gcdv::WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]");
// Make the request
gcdv::WorkflowConfig response = await dataformClient.GetWorkflowConfigAsync(name);
GetWorkflowConfigAsync(string, CallSettings)
public virtual Task<WorkflowConfig> GetWorkflowConfigAsync(string name, CallSettings callSettings = null)Fetches a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workflow config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowConfigs/[WORKFLOW_CONFIG]";
// Make the request
gcdv::WorkflowConfig response = await dataformClient.GetWorkflowConfigAsync(name);
GetWorkflowConfigAsync(string, CancellationToken)
public virtual Task<WorkflowConfig> GetWorkflowConfigAsync(string name, CancellationToken cancellationToken)Fetches a single WorkflowConfig.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workflow config's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowConfigs/[WORKFLOW_CONFIG]";
// Make the request
gcdv::WorkflowConfig response = await dataformClient.GetWorkflowConfigAsync(name);
GetWorkflowInvocation(GetWorkflowInvocationRequest, CallSettings)
public virtual WorkflowInvocation GetWorkflowInvocation(GetWorkflowInvocationRequest request, CallSettings callSettings = null)Fetches a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
request |
GetWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowInvocation |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::GetWorkflowInvocationRequest request = new gcdv::GetWorkflowInvocationRequest
{
WorkflowInvocationName = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
gcdv::WorkflowInvocation response = dataformClient.GetWorkflowInvocation(request);
GetWorkflowInvocation(WorkflowInvocationName, CallSettings)
public virtual WorkflowInvocation GetWorkflowInvocation(WorkflowInvocationName name, CallSettings callSettings = null)Fetches a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkflowInvocationNameRequired. The workflow invocation resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowInvocation |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::WorkflowInvocationName name = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]");
// Make the request
gcdv::WorkflowInvocation response = dataformClient.GetWorkflowInvocation(name);
GetWorkflowInvocation(string, CallSettings)
public virtual WorkflowInvocation GetWorkflowInvocation(string name, CallSettings callSettings = null)Fetches a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workflow invocation resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowInvocation |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowInvocations/[WORKFLOW_INVOCATION]";
// Make the request
gcdv::WorkflowInvocation response = dataformClient.GetWorkflowInvocation(name);
GetWorkflowInvocationAsync(GetWorkflowInvocationRequest, CallSettings)
public virtual Task<WorkflowInvocation> GetWorkflowInvocationAsync(GetWorkflowInvocationRequest request, CallSettings callSettings = null)Fetches a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
request |
GetWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetWorkflowInvocationRequest request = new gcdv::GetWorkflowInvocationRequest
{
WorkflowInvocationName = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
gcdv::WorkflowInvocation response = await dataformClient.GetWorkflowInvocationAsync(request);
GetWorkflowInvocationAsync(GetWorkflowInvocationRequest, CancellationToken)
public virtual Task<WorkflowInvocation> GetWorkflowInvocationAsync(GetWorkflowInvocationRequest request, CancellationToken cancellationToken)Fetches a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
request |
GetWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetWorkflowInvocationRequest request = new gcdv::GetWorkflowInvocationRequest
{
WorkflowInvocationName = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
gcdv::WorkflowInvocation response = await dataformClient.GetWorkflowInvocationAsync(request);
GetWorkflowInvocationAsync(WorkflowInvocationName, CallSettings)
public virtual Task<WorkflowInvocation> GetWorkflowInvocationAsync(WorkflowInvocationName name, CallSettings callSettings = null)Fetches a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkflowInvocationNameRequired. The workflow invocation resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::WorkflowInvocationName name = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]");
// Make the request
gcdv::WorkflowInvocation response = await dataformClient.GetWorkflowInvocationAsync(name);
GetWorkflowInvocationAsync(WorkflowInvocationName, CancellationToken)
public virtual Task<WorkflowInvocation> GetWorkflowInvocationAsync(WorkflowInvocationName name, CancellationToken cancellationToken)Fetches a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkflowInvocationNameRequired. The workflow invocation resource's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::WorkflowInvocationName name = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]");
// Make the request
gcdv::WorkflowInvocation response = await dataformClient.GetWorkflowInvocationAsync(name);
GetWorkflowInvocationAsync(string, CallSettings)
public virtual Task<WorkflowInvocation> GetWorkflowInvocationAsync(string name, CallSettings callSettings = null)Fetches a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workflow invocation resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowInvocations/[WORKFLOW_INVOCATION]";
// Make the request
gcdv::WorkflowInvocation response = await dataformClient.GetWorkflowInvocationAsync(name);
GetWorkflowInvocationAsync(string, CancellationToken)
public virtual Task<WorkflowInvocation> GetWorkflowInvocationAsync(string name, CancellationToken cancellationToken)Fetches a single WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workflow invocation resource's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowInvocations/[WORKFLOW_INVOCATION]";
// Make the request
gcdv::WorkflowInvocation response = await dataformClient.GetWorkflowInvocationAsync(name);
GetWorkspace(GetWorkspaceRequest, CallSettings)
public virtual Workspace GetWorkspace(GetWorkspaceRequest request, CallSettings callSettings = null)Fetches a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
GetWorkspaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Workspace |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::GetWorkspaceRequest request = new gcdv::GetWorkspaceRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
gcdv::Workspace response = dataformClient.GetWorkspace(request);
GetWorkspace(WorkspaceName, CallSettings)
public virtual Workspace GetWorkspace(WorkspaceName name, CallSettings callSettings = null)Fetches a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkspaceNameRequired. The workspace's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Workspace |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::WorkspaceName name = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]");
// Make the request
gcdv::Workspace response = dataformClient.GetWorkspace(name);
GetWorkspace(string, CallSettings)
public virtual Workspace GetWorkspace(string name, CallSettings callSettings = null)Fetches a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workspace's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Workspace |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workspaces/[WORKSPACE]";
// Make the request
gcdv::Workspace response = dataformClient.GetWorkspace(name);
GetWorkspaceAsync(GetWorkspaceRequest, CallSettings)
public virtual Task<Workspace> GetWorkspaceAsync(GetWorkspaceRequest request, CallSettings callSettings = null)Fetches a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
GetWorkspaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetWorkspaceRequest request = new gcdv::GetWorkspaceRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
gcdv::Workspace response = await dataformClient.GetWorkspaceAsync(request);
GetWorkspaceAsync(GetWorkspaceRequest, CancellationToken)
public virtual Task<Workspace> GetWorkspaceAsync(GetWorkspaceRequest request, CancellationToken cancellationToken)Fetches a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
GetWorkspaceRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::GetWorkspaceRequest request = new gcdv::GetWorkspaceRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
gcdv::Workspace response = await dataformClient.GetWorkspaceAsync(request);
GetWorkspaceAsync(WorkspaceName, CallSettings)
public virtual Task<Workspace> GetWorkspaceAsync(WorkspaceName name, CallSettings callSettings = null)Fetches a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkspaceNameRequired. The workspace's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::WorkspaceName name = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]");
// Make the request
gcdv::Workspace response = await dataformClient.GetWorkspaceAsync(name);
GetWorkspaceAsync(WorkspaceName, CancellationToken)
public virtual Task<Workspace> GetWorkspaceAsync(WorkspaceName name, CancellationToken cancellationToken)Fetches a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
name |
WorkspaceNameRequired. The workspace's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::WorkspaceName name = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]");
// Make the request
gcdv::Workspace response = await dataformClient.GetWorkspaceAsync(name);
GetWorkspaceAsync(string, CallSettings)
public virtual Task<Workspace> GetWorkspaceAsync(string name, CallSettings callSettings = null)Fetches a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workspace's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workspaces/[WORKSPACE]";
// Make the request
gcdv::Workspace response = await dataformClient.GetWorkspaceAsync(name);
GetWorkspaceAsync(string, CancellationToken)
public virtual Task<Workspace> GetWorkspaceAsync(string name, CancellationToken cancellationToken)Fetches a single Workspace.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The workspace's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workspaces/[WORKSPACE]";
// Make the request
gcdv::Workspace response = await dataformClient.GetWorkspaceAsync(name);
InstallNpmPackages(InstallNpmPackagesRequest, CallSettings)
public virtual InstallNpmPackagesResponse InstallNpmPackages(InstallNpmPackagesRequest request, CallSettings callSettings = null)Installs dependency NPM packages (inside a Workspace).
| Parameters | |
|---|---|
| Name | Description |
request |
InstallNpmPackagesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
InstallNpmPackagesResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::InstallNpmPackagesRequest request = new gcdv::InstallNpmPackagesRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
gcdv::InstallNpmPackagesResponse response = dataformClient.InstallNpmPackages(request);
InstallNpmPackagesAsync(InstallNpmPackagesRequest, CallSettings)
public virtual Task<InstallNpmPackagesResponse> InstallNpmPackagesAsync(InstallNpmPackagesRequest request, CallSettings callSettings = null)Installs dependency NPM packages (inside a Workspace).
| Parameters | |
|---|---|
| Name | Description |
request |
InstallNpmPackagesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskInstallNpmPackagesResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::InstallNpmPackagesRequest request = new gcdv::InstallNpmPackagesRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
gcdv::InstallNpmPackagesResponse response = await dataformClient.InstallNpmPackagesAsync(request);
InstallNpmPackagesAsync(InstallNpmPackagesRequest, CancellationToken)
public virtual Task<InstallNpmPackagesResponse> InstallNpmPackagesAsync(InstallNpmPackagesRequest request, CancellationToken cancellationToken)Installs dependency NPM packages (inside a Workspace).
| Parameters | |
|---|---|
| Name | Description |
request |
InstallNpmPackagesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskInstallNpmPackagesResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::InstallNpmPackagesRequest request = new gcdv::InstallNpmPackagesRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
gcdv::InstallNpmPackagesResponse response = await dataformClient.InstallNpmPackagesAsync(request);
ListCompilationResults(ListCompilationResultsRequest, CallSettings)
public virtual PagedEnumerable<ListCompilationResultsResponse, CompilationResult> ListCompilationResults(ListCompilationResultsRequest request, CallSettings callSettings = null)Lists CompilationResults in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCompilationResultsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCompilationResultsResponseCompilationResult |
A pageable sequence of CompilationResult resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::ListCompilationResultsRequest request = new gcdv::ListCompilationResultsRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
OrderBy = "",
Filter = "",
};
// Make the request
PagedEnumerable<gcdv::ListCompilationResultsResponse, gcdv::CompilationResult> response = dataformClient.ListCompilationResults(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::CompilationResult item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListCompilationResultsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::CompilationResult item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::CompilationResult> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::CompilationResult item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCompilationResults(RepositoryName, string, int?, CallSettings)
public virtual PagedEnumerable<ListCompilationResultsResponse, CompilationResult> ListCompilationResults(RepositoryName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists CompilationResults in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to list compilation results. Must be in
the format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCompilationResultsResponseCompilationResult |
A pageable sequence of CompilationResult resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedEnumerable<gcdv::ListCompilationResultsResponse, gcdv::CompilationResult> response = dataformClient.ListCompilationResults(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::CompilationResult item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListCompilationResultsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::CompilationResult item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::CompilationResult> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::CompilationResult item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCompilationResults(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListCompilationResultsResponse, CompilationResult> ListCompilationResults(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists CompilationResults in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to list compilation results. Must be in
the format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCompilationResultsResponseCompilationResult |
A pageable sequence of CompilationResult resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedEnumerable<gcdv::ListCompilationResultsResponse, gcdv::CompilationResult> response = dataformClient.ListCompilationResults(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::CompilationResult item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListCompilationResultsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::CompilationResult item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::CompilationResult> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::CompilationResult item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCompilationResultsAsync(ListCompilationResultsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListCompilationResultsResponse, CompilationResult> ListCompilationResultsAsync(ListCompilationResultsRequest request, CallSettings callSettings = null)Lists CompilationResults in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCompilationResultsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCompilationResultsResponseCompilationResult |
A pageable asynchronous sequence of CompilationResult resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ListCompilationResultsRequest request = new gcdv::ListCompilationResultsRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
OrderBy = "",
Filter = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::ListCompilationResultsResponse, gcdv::CompilationResult> response = dataformClient.ListCompilationResultsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::CompilationResult item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListCompilationResultsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::CompilationResult item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::CompilationResult> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::CompilationResult item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCompilationResultsAsync(RepositoryName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListCompilationResultsResponse, CompilationResult> ListCompilationResultsAsync(RepositoryName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists CompilationResults in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to list compilation results. Must be in
the format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCompilationResultsResponseCompilationResult |
A pageable asynchronous sequence of CompilationResult resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedAsyncEnumerable<gcdv::ListCompilationResultsResponse, gcdv::CompilationResult> response = dataformClient.ListCompilationResultsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::CompilationResult item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListCompilationResultsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::CompilationResult item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::CompilationResult> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::CompilationResult item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListCompilationResultsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListCompilationResultsResponse, CompilationResult> ListCompilationResultsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists CompilationResults in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to list compilation results. Must be in
the format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCompilationResultsResponseCompilationResult |
A pageable asynchronous sequence of CompilationResult resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedAsyncEnumerable<gcdv::ListCompilationResultsResponse, gcdv::CompilationResult> response = dataformClient.ListCompilationResultsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::CompilationResult item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListCompilationResultsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::CompilationResult item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::CompilationResult> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::CompilationResult item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListReleaseConfigs(ListReleaseConfigsRequest, CallSettings)
public virtual PagedEnumerable<ListReleaseConfigsResponse, ReleaseConfig> ListReleaseConfigs(ListReleaseConfigsRequest request, CallSettings callSettings = null)Lists ReleaseConfigs in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
ListReleaseConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListReleaseConfigsResponseReleaseConfig |
A pageable sequence of ReleaseConfig resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::ListReleaseConfigsRequest request = new gcdv::ListReleaseConfigsRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
PagedEnumerable<gcdv::ListReleaseConfigsResponse, gcdv::ReleaseConfig> response = dataformClient.ListReleaseConfigs(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::ReleaseConfig item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListReleaseConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::ReleaseConfig item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::ReleaseConfig> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::ReleaseConfig item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListReleaseConfigs(RepositoryName, string, int?, CallSettings)
public virtual PagedEnumerable<ListReleaseConfigsResponse, ReleaseConfig> ListReleaseConfigs(RepositoryName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists ReleaseConfigs in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to list release configs. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListReleaseConfigsResponseReleaseConfig |
A pageable sequence of ReleaseConfig resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedEnumerable<gcdv::ListReleaseConfigsResponse, gcdv::ReleaseConfig> response = dataformClient.ListReleaseConfigs(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::ReleaseConfig item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListReleaseConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::ReleaseConfig item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::ReleaseConfig> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::ReleaseConfig item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListReleaseConfigs(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListReleaseConfigsResponse, ReleaseConfig> ListReleaseConfigs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists ReleaseConfigs in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to list release configs. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListReleaseConfigsResponseReleaseConfig |
A pageable sequence of ReleaseConfig resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedEnumerable<gcdv::ListReleaseConfigsResponse, gcdv::ReleaseConfig> response = dataformClient.ListReleaseConfigs(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::ReleaseConfig item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListReleaseConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::ReleaseConfig item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::ReleaseConfig> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::ReleaseConfig item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListReleaseConfigsAsync(ListReleaseConfigsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListReleaseConfigsResponse, ReleaseConfig> ListReleaseConfigsAsync(ListReleaseConfigsRequest request, CallSettings callSettings = null)Lists ReleaseConfigs in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
ListReleaseConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListReleaseConfigsResponseReleaseConfig |
A pageable asynchronous sequence of ReleaseConfig resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ListReleaseConfigsRequest request = new gcdv::ListReleaseConfigsRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
PagedAsyncEnumerable<gcdv::ListReleaseConfigsResponse, gcdv::ReleaseConfig> response = dataformClient.ListReleaseConfigsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::ReleaseConfig item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListReleaseConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::ReleaseConfig item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::ReleaseConfig> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::ReleaseConfig item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListReleaseConfigsAsync(RepositoryName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListReleaseConfigsResponse, ReleaseConfig> ListReleaseConfigsAsync(RepositoryName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists ReleaseConfigs in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to list release configs. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListReleaseConfigsResponseReleaseConfig |
A pageable asynchronous sequence of ReleaseConfig resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedAsyncEnumerable<gcdv::ListReleaseConfigsResponse, gcdv::ReleaseConfig> response = dataformClient.ListReleaseConfigsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::ReleaseConfig item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListReleaseConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::ReleaseConfig item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::ReleaseConfig> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::ReleaseConfig item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListReleaseConfigsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListReleaseConfigsResponse, ReleaseConfig> ListReleaseConfigsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists ReleaseConfigs in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to list release configs. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListReleaseConfigsResponseReleaseConfig |
A pageable asynchronous sequence of ReleaseConfig resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedAsyncEnumerable<gcdv::ListReleaseConfigsResponse, gcdv::ReleaseConfig> response = dataformClient.ListReleaseConfigsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::ReleaseConfig item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListReleaseConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::ReleaseConfig item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::ReleaseConfig> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::ReleaseConfig item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListRepositories(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<ListRepositoriesResponse, Repository> ListRepositories(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists Repositories in a given project and location.
Note: This method can return repositories not shown in the Dataform UI.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The location in which to list repositories. Must be in the format
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListRepositoriesResponseRepository |
A pageable sequence of Repository resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<gcdv::ListRepositoriesResponse, gcdv::Repository> response = dataformClient.ListRepositories(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::Repository item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListRepositoriesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::Repository item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::Repository> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::Repository item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListRepositories(ListRepositoriesRequest, CallSettings)
public virtual PagedEnumerable<ListRepositoriesResponse, Repository> ListRepositories(ListRepositoriesRequest request, CallSettings callSettings = null)Lists Repositories in a given project and location.
Note: This method can return repositories not shown in the Dataform UI.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRepositoriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListRepositoriesResponseRepository |
A pageable sequence of Repository resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::ListRepositoriesRequest request = new gcdv::ListRepositoriesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
OrderBy = "",
Filter = "",
};
// Make the request
PagedEnumerable<gcdv::ListRepositoriesResponse, gcdv::Repository> response = dataformClient.ListRepositories(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::Repository item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListRepositoriesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::Repository item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::Repository> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::Repository item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListRepositories(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListRepositoriesResponse, Repository> ListRepositories(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists Repositories in a given project and location.
Note: This method can return repositories not shown in the Dataform UI.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The location in which to list repositories. Must be in the format
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListRepositoriesResponseRepository |
A pageable sequence of Repository resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<gcdv::ListRepositoriesResponse, gcdv::Repository> response = dataformClient.ListRepositories(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::Repository item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListRepositoriesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::Repository item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::Repository> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::Repository item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListRepositoriesAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListRepositoriesResponse, Repository> ListRepositoriesAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists Repositories in a given project and location.
Note: This method can return repositories not shown in the Dataform UI.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The location in which to list repositories. Must be in the format
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListRepositoriesResponseRepository |
A pageable asynchronous sequence of Repository resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<gcdv::ListRepositoriesResponse, gcdv::Repository> response = dataformClient.ListRepositoriesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::Repository item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListRepositoriesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::Repository item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::Repository> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::Repository item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListRepositoriesAsync(ListRepositoriesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListRepositoriesResponse, Repository> ListRepositoriesAsync(ListRepositoriesRequest request, CallSettings callSettings = null)Lists Repositories in a given project and location.
Note: This method can return repositories not shown in the Dataform UI.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRepositoriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListRepositoriesResponseRepository |
A pageable asynchronous sequence of Repository resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ListRepositoriesRequest request = new gcdv::ListRepositoriesRequest
{
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
OrderBy = "",
Filter = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::ListRepositoriesResponse, gcdv::Repository> response = dataformClient.ListRepositoriesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::Repository item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListRepositoriesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::Repository item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::Repository> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::Repository item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListRepositoriesAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListRepositoriesResponse, Repository> ListRepositoriesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists Repositories in a given project and location.
Note: This method can return repositories not shown in the Dataform UI.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The location in which to list repositories. Must be in the format
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListRepositoriesResponseRepository |
A pageable asynchronous sequence of Repository resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<gcdv::ListRepositoriesResponse, gcdv::Repository> response = dataformClient.ListRepositoriesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::Repository item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListRepositoriesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::Repository item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::Repository> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::Repository item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkflowConfigs(ListWorkflowConfigsRequest, CallSettings)
public virtual PagedEnumerable<ListWorkflowConfigsResponse, WorkflowConfig> ListWorkflowConfigs(ListWorkflowConfigsRequest request, CallSettings callSettings = null)Lists WorkflowConfigs in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
ListWorkflowConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkflowConfigsResponseWorkflowConfig |
A pageable sequence of WorkflowConfig resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::ListWorkflowConfigsRequest request = new gcdv::ListWorkflowConfigsRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
PagedEnumerable<gcdv::ListWorkflowConfigsResponse, gcdv::WorkflowConfig> response = dataformClient.ListWorkflowConfigs(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::WorkflowConfig item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListWorkflowConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::WorkflowConfig item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::WorkflowConfig> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::WorkflowConfig item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkflowConfigs(RepositoryName, string, int?, CallSettings)
public virtual PagedEnumerable<ListWorkflowConfigsResponse, WorkflowConfig> ListWorkflowConfigs(RepositoryName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists WorkflowConfigs in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to list workflow configs. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkflowConfigsResponseWorkflowConfig |
A pageable sequence of WorkflowConfig resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedEnumerable<gcdv::ListWorkflowConfigsResponse, gcdv::WorkflowConfig> response = dataformClient.ListWorkflowConfigs(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::WorkflowConfig item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListWorkflowConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::WorkflowConfig item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::WorkflowConfig> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::WorkflowConfig item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkflowConfigs(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListWorkflowConfigsResponse, WorkflowConfig> ListWorkflowConfigs(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists WorkflowConfigs in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to list workflow configs. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkflowConfigsResponseWorkflowConfig |
A pageable sequence of WorkflowConfig resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedEnumerable<gcdv::ListWorkflowConfigsResponse, gcdv::WorkflowConfig> response = dataformClient.ListWorkflowConfigs(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::WorkflowConfig item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListWorkflowConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::WorkflowConfig item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::WorkflowConfig> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::WorkflowConfig item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkflowConfigsAsync(ListWorkflowConfigsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListWorkflowConfigsResponse, WorkflowConfig> ListWorkflowConfigsAsync(ListWorkflowConfigsRequest request, CallSettings callSettings = null)Lists WorkflowConfigs in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
ListWorkflowConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkflowConfigsResponseWorkflowConfig |
A pageable asynchronous sequence of WorkflowConfig resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ListWorkflowConfigsRequest request = new gcdv::ListWorkflowConfigsRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
PagedAsyncEnumerable<gcdv::ListWorkflowConfigsResponse, gcdv::WorkflowConfig> response = dataformClient.ListWorkflowConfigsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::WorkflowConfig item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListWorkflowConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::WorkflowConfig item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::WorkflowConfig> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::WorkflowConfig item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkflowConfigsAsync(RepositoryName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListWorkflowConfigsResponse, WorkflowConfig> ListWorkflowConfigsAsync(RepositoryName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists WorkflowConfigs in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to list workflow configs. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkflowConfigsResponseWorkflowConfig |
A pageable asynchronous sequence of WorkflowConfig resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedAsyncEnumerable<gcdv::ListWorkflowConfigsResponse, gcdv::WorkflowConfig> response = dataformClient.ListWorkflowConfigsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::WorkflowConfig item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListWorkflowConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::WorkflowConfig item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::WorkflowConfig> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::WorkflowConfig item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkflowConfigsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListWorkflowConfigsResponse, WorkflowConfig> ListWorkflowConfigsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists WorkflowConfigs in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to list workflow configs. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkflowConfigsResponseWorkflowConfig |
A pageable asynchronous sequence of WorkflowConfig resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedAsyncEnumerable<gcdv::ListWorkflowConfigsResponse, gcdv::WorkflowConfig> response = dataformClient.ListWorkflowConfigsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::WorkflowConfig item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListWorkflowConfigsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::WorkflowConfig item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::WorkflowConfig> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::WorkflowConfig item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkflowInvocations(ListWorkflowInvocationsRequest, CallSettings)
public virtual PagedEnumerable<ListWorkflowInvocationsResponse, WorkflowInvocation> ListWorkflowInvocations(ListWorkflowInvocationsRequest request, CallSettings callSettings = null)Lists WorkflowInvocations in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
ListWorkflowInvocationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkflowInvocationsResponseWorkflowInvocation |
A pageable sequence of WorkflowInvocation resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::ListWorkflowInvocationsRequest request = new gcdv::ListWorkflowInvocationsRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
OrderBy = "",
Filter = "",
};
// Make the request
PagedEnumerable<gcdv::ListWorkflowInvocationsResponse, gcdv::WorkflowInvocation> response = dataformClient.ListWorkflowInvocations(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::WorkflowInvocation item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListWorkflowInvocationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::WorkflowInvocation item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::WorkflowInvocation> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::WorkflowInvocation item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkflowInvocations(RepositoryName, string, int?, CallSettings)
public virtual PagedEnumerable<ListWorkflowInvocationsResponse, WorkflowInvocation> ListWorkflowInvocations(RepositoryName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists WorkflowInvocations in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The parent resource of the WorkflowInvocation type. Must be in
the format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkflowInvocationsResponseWorkflowInvocation |
A pageable sequence of WorkflowInvocation resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedEnumerable<gcdv::ListWorkflowInvocationsResponse, gcdv::WorkflowInvocation> response = dataformClient.ListWorkflowInvocations(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::WorkflowInvocation item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListWorkflowInvocationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::WorkflowInvocation item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::WorkflowInvocation> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::WorkflowInvocation item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkflowInvocations(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListWorkflowInvocationsResponse, WorkflowInvocation> ListWorkflowInvocations(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists WorkflowInvocations in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the WorkflowInvocation type. Must be in
the format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkflowInvocationsResponseWorkflowInvocation |
A pageable sequence of WorkflowInvocation resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedEnumerable<gcdv::ListWorkflowInvocationsResponse, gcdv::WorkflowInvocation> response = dataformClient.ListWorkflowInvocations(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::WorkflowInvocation item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListWorkflowInvocationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::WorkflowInvocation item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::WorkflowInvocation> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::WorkflowInvocation item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkflowInvocationsAsync(ListWorkflowInvocationsRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListWorkflowInvocationsResponse, WorkflowInvocation> ListWorkflowInvocationsAsync(ListWorkflowInvocationsRequest request, CallSettings callSettings = null)Lists WorkflowInvocations in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
ListWorkflowInvocationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkflowInvocationsResponseWorkflowInvocation |
A pageable asynchronous sequence of WorkflowInvocation resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ListWorkflowInvocationsRequest request = new gcdv::ListWorkflowInvocationsRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
OrderBy = "",
Filter = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::ListWorkflowInvocationsResponse, gcdv::WorkflowInvocation> response = dataformClient.ListWorkflowInvocationsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::WorkflowInvocation item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListWorkflowInvocationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::WorkflowInvocation item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::WorkflowInvocation> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::WorkflowInvocation item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkflowInvocationsAsync(RepositoryName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListWorkflowInvocationsResponse, WorkflowInvocation> ListWorkflowInvocationsAsync(RepositoryName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists WorkflowInvocations in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The parent resource of the WorkflowInvocation type. Must be in
the format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkflowInvocationsResponseWorkflowInvocation |
A pageable asynchronous sequence of WorkflowInvocation resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedAsyncEnumerable<gcdv::ListWorkflowInvocationsResponse, gcdv::WorkflowInvocation> response = dataformClient.ListWorkflowInvocationsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::WorkflowInvocation item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListWorkflowInvocationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::WorkflowInvocation item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::WorkflowInvocation> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::WorkflowInvocation item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkflowInvocationsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListWorkflowInvocationsResponse, WorkflowInvocation> ListWorkflowInvocationsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists WorkflowInvocations in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The parent resource of the WorkflowInvocation type. Must be in
the format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkflowInvocationsResponseWorkflowInvocation |
A pageable asynchronous sequence of WorkflowInvocation resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedAsyncEnumerable<gcdv::ListWorkflowInvocationsResponse, gcdv::WorkflowInvocation> response = dataformClient.ListWorkflowInvocationsAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::WorkflowInvocation item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListWorkflowInvocationsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::WorkflowInvocation item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::WorkflowInvocation> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::WorkflowInvocation item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkspaces(ListWorkspacesRequest, CallSettings)
public virtual PagedEnumerable<ListWorkspacesResponse, Workspace> ListWorkspaces(ListWorkspacesRequest request, CallSettings callSettings = null)Lists Workspaces in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
ListWorkspacesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkspacesResponseWorkspace |
A pageable sequence of Workspace resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::ListWorkspacesRequest request = new gcdv::ListWorkspacesRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
OrderBy = "",
Filter = "",
};
// Make the request
PagedEnumerable<gcdv::ListWorkspacesResponse, gcdv::Workspace> response = dataformClient.ListWorkspaces(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::Workspace item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListWorkspacesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::Workspace item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::Workspace> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::Workspace item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkspaces(RepositoryName, string, int?, CallSettings)
public virtual PagedEnumerable<ListWorkspacesResponse, Workspace> ListWorkspaces(RepositoryName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists Workspaces in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to list workspaces. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkspacesResponseWorkspace |
A pageable sequence of Workspace resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedEnumerable<gcdv::ListWorkspacesResponse, gcdv::Workspace> response = dataformClient.ListWorkspaces(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::Workspace item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListWorkspacesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::Workspace item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::Workspace> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::Workspace item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkspaces(string, string, int?, CallSettings)
public virtual PagedEnumerable<ListWorkspacesResponse, Workspace> ListWorkspaces(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists Workspaces in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to list workspaces. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkspacesResponseWorkspace |
A pageable sequence of Workspace resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedEnumerable<gcdv::ListWorkspacesResponse, gcdv::Workspace> response = dataformClient.ListWorkspaces(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::Workspace item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::ListWorkspacesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::Workspace item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::Workspace> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::Workspace item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkspacesAsync(ListWorkspacesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListWorkspacesResponse, Workspace> ListWorkspacesAsync(ListWorkspacesRequest request, CallSettings callSettings = null)Lists Workspaces in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
request |
ListWorkspacesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkspacesResponseWorkspace |
A pageable asynchronous sequence of Workspace resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ListWorkspacesRequest request = new gcdv::ListWorkspacesRequest
{
ParentAsRepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
OrderBy = "",
Filter = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::ListWorkspacesResponse, gcdv::Workspace> response = dataformClient.ListWorkspacesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::Workspace item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListWorkspacesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::Workspace item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::Workspace> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::Workspace item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkspacesAsync(RepositoryName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListWorkspacesResponse, Workspace> ListWorkspacesAsync(RepositoryName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists Workspaces in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
RepositoryNameRequired. The repository in which to list workspaces. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkspacesResponseWorkspace |
A pageable asynchronous sequence of Workspace resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName parent = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedAsyncEnumerable<gcdv::ListWorkspacesResponse, gcdv::Workspace> response = dataformClient.ListWorkspacesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::Workspace item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListWorkspacesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::Workspace item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::Workspace> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::Workspace item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListWorkspacesAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<ListWorkspacesResponse, Workspace> ListWorkspacesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Lists Workspaces in a given Repository.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The repository in which to list workspaces. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkspacesResponseWorkspace |
A pageable asynchronous sequence of Workspace resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedAsyncEnumerable<gcdv::ListWorkspacesResponse, gcdv::Workspace> response = dataformClient.ListWorkspacesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::Workspace item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::ListWorkspacesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::Workspace item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::Workspace> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::Workspace item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
MakeDirectory(MakeDirectoryRequest, CallSettings)
public virtual MakeDirectoryResponse MakeDirectory(MakeDirectoryRequest request, CallSettings callSettings = null)Creates a directory inside a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
MakeDirectoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MakeDirectoryResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::MakeDirectoryRequest request = new gcdv::MakeDirectoryRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
gcdv::MakeDirectoryResponse response = dataformClient.MakeDirectory(request);
MakeDirectoryAsync(MakeDirectoryRequest, CallSettings)
public virtual Task<MakeDirectoryResponse> MakeDirectoryAsync(MakeDirectoryRequest request, CallSettings callSettings = null)Creates a directory inside a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
MakeDirectoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMakeDirectoryResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::MakeDirectoryRequest request = new gcdv::MakeDirectoryRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
gcdv::MakeDirectoryResponse response = await dataformClient.MakeDirectoryAsync(request);
MakeDirectoryAsync(MakeDirectoryRequest, CancellationToken)
public virtual Task<MakeDirectoryResponse> MakeDirectoryAsync(MakeDirectoryRequest request, CancellationToken cancellationToken)Creates a directory inside a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
MakeDirectoryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMakeDirectoryResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::MakeDirectoryRequest request = new gcdv::MakeDirectoryRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
gcdv::MakeDirectoryResponse response = await dataformClient.MakeDirectoryAsync(request);
MoveDirectory(MoveDirectoryRequest, CallSettings)
public virtual MoveDirectoryResponse MoveDirectory(MoveDirectoryRequest request, CallSettings callSettings = null)Moves a directory (inside a Workspace), and all of its contents, to a new location.
| Parameters | |
|---|---|
| Name | Description |
request |
MoveDirectoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MoveDirectoryResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::MoveDirectoryRequest request = new gcdv::MoveDirectoryRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
NewPath = "",
};
// Make the request
gcdv::MoveDirectoryResponse response = dataformClient.MoveDirectory(request);
MoveDirectoryAsync(MoveDirectoryRequest, CallSettings)
public virtual Task<MoveDirectoryResponse> MoveDirectoryAsync(MoveDirectoryRequest request, CallSettings callSettings = null)Moves a directory (inside a Workspace), and all of its contents, to a new location.
| Parameters | |
|---|---|
| Name | Description |
request |
MoveDirectoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMoveDirectoryResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::MoveDirectoryRequest request = new gcdv::MoveDirectoryRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
NewPath = "",
};
// Make the request
gcdv::MoveDirectoryResponse response = await dataformClient.MoveDirectoryAsync(request);
MoveDirectoryAsync(MoveDirectoryRequest, CancellationToken)
public virtual Task<MoveDirectoryResponse> MoveDirectoryAsync(MoveDirectoryRequest request, CancellationToken cancellationToken)Moves a directory (inside a Workspace), and all of its contents, to a new location.
| Parameters | |
|---|---|
| Name | Description |
request |
MoveDirectoryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMoveDirectoryResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::MoveDirectoryRequest request = new gcdv::MoveDirectoryRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
NewPath = "",
};
// Make the request
gcdv::MoveDirectoryResponse response = await dataformClient.MoveDirectoryAsync(request);
MoveFile(MoveFileRequest, CallSettings)
public virtual MoveFileResponse MoveFile(MoveFileRequest request, CallSettings callSettings = null)Moves a file (inside a Workspace) to a new location.
| Parameters | |
|---|---|
| Name | Description |
request |
MoveFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MoveFileResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::MoveFileRequest request = new gcdv::MoveFileRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
NewPath = "",
};
// Make the request
gcdv::MoveFileResponse response = dataformClient.MoveFile(request);
MoveFileAsync(MoveFileRequest, CallSettings)
public virtual Task<MoveFileResponse> MoveFileAsync(MoveFileRequest request, CallSettings callSettings = null)Moves a file (inside a Workspace) to a new location.
| Parameters | |
|---|---|
| Name | Description |
request |
MoveFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMoveFileResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::MoveFileRequest request = new gcdv::MoveFileRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
NewPath = "",
};
// Make the request
gcdv::MoveFileResponse response = await dataformClient.MoveFileAsync(request);
MoveFileAsync(MoveFileRequest, CancellationToken)
public virtual Task<MoveFileResponse> MoveFileAsync(MoveFileRequest request, CancellationToken cancellationToken)Moves a file (inside a Workspace) to a new location.
| Parameters | |
|---|---|
| Name | Description |
request |
MoveFileRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMoveFileResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::MoveFileRequest request = new gcdv::MoveFileRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
NewPath = "",
};
// Make the request
gcdv::MoveFileResponse response = await dataformClient.MoveFileAsync(request);
MoveFolder(FolderName, string, CallSettings)
public virtual Operation<Empty, MoveFolderMetadata> MoveFolder(FolderName name, string destinationContainingFolder, CallSettings callSettings = null)Moves a Folder to a new Folder, TeamFolder, or the root location.
| Parameters | |
|---|---|
| Name | Description |
name |
FolderNameRequired. The full resource name of the Folder to move. |
destinationContainingFolder |
stringOptional. The name of the Folder, TeamFolder, or root location to move the
Folder to. Can be in the format of: "" to move into the root User folder,
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyMoveFolderMetadata |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::FolderName name = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]");
string destinationContainingFolder = "";
// Make the request
Operation<Empty, gcdv::MoveFolderMetadata> response = dataformClient.MoveFolder(name, destinationContainingFolder);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveFolderMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveFolderMetadata> retrievedResponse = dataformClient.PollOnceMoveFolder(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveFolder(MoveFolderRequest, CallSettings)
public virtual Operation<Empty, MoveFolderMetadata> MoveFolder(MoveFolderRequest request, CallSettings callSettings = null)Moves a Folder to a new Folder, TeamFolder, or the root location.
| Parameters | |
|---|---|
| Name | Description |
request |
MoveFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyMoveFolderMetadata |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::MoveFolderRequest request = new gcdv::MoveFolderRequest
{
FolderName = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]"),
DestinationContainingFolder = "",
};
// Make the request
Operation<Empty, gcdv::MoveFolderMetadata> response = dataformClient.MoveFolder(request);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveFolderMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveFolderMetadata> retrievedResponse = dataformClient.PollOnceMoveFolder(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveFolder(string, string, CallSettings)
public virtual Operation<Empty, MoveFolderMetadata> MoveFolder(string name, string destinationContainingFolder, CallSettings callSettings = null)Moves a Folder to a new Folder, TeamFolder, or the root location.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The full resource name of the Folder to move. |
destinationContainingFolder |
stringOptional. The name of the Folder, TeamFolder, or root location to move the
Folder to. Can be in the format of: "" to move into the root User folder,
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyMoveFolderMetadata |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/folders/[FOLDER]";
string destinationContainingFolder = "";
// Make the request
Operation<Empty, gcdv::MoveFolderMetadata> response = dataformClient.MoveFolder(name, destinationContainingFolder);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveFolderMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveFolderMetadata> retrievedResponse = dataformClient.PollOnceMoveFolder(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveFolderAsync(FolderName, string, CallSettings)
public virtual Task<Operation<Empty, MoveFolderMetadata>> MoveFolderAsync(FolderName name, string destinationContainingFolder, CallSettings callSettings = null)Moves a Folder to a new Folder, TeamFolder, or the root location.
| Parameters | |
|---|---|
| Name | Description |
name |
FolderNameRequired. The full resource name of the Folder to move. |
destinationContainingFolder |
stringOptional. The name of the Folder, TeamFolder, or root location to move the
Folder to. Can be in the format of: "" to move into the root User folder,
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyMoveFolderMetadata |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::FolderName name = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]");
string destinationContainingFolder = "";
// Make the request
Operation<Empty, gcdv::MoveFolderMetadata> response = await dataformClient.MoveFolderAsync(name, destinationContainingFolder);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveFolderMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveFolderMetadata> retrievedResponse = await dataformClient.PollOnceMoveFolderAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveFolderAsync(FolderName, string, CancellationToken)
public virtual Task<Operation<Empty, MoveFolderMetadata>> MoveFolderAsync(FolderName name, string destinationContainingFolder, CancellationToken cancellationToken)Moves a Folder to a new Folder, TeamFolder, or the root location.
| Parameters | |
|---|---|
| Name | Description |
name |
FolderNameRequired. The full resource name of the Folder to move. |
destinationContainingFolder |
stringOptional. The name of the Folder, TeamFolder, or root location to move the
Folder to. Can be in the format of: "" to move into the root User folder,
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyMoveFolderMetadata |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::FolderName name = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]");
string destinationContainingFolder = "";
// Make the request
Operation<Empty, gcdv::MoveFolderMetadata> response = await dataformClient.MoveFolderAsync(name, destinationContainingFolder);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveFolderMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveFolderMetadata> retrievedResponse = await dataformClient.PollOnceMoveFolderAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveFolderAsync(MoveFolderRequest, CallSettings)
public virtual Task<Operation<Empty, MoveFolderMetadata>> MoveFolderAsync(MoveFolderRequest request, CallSettings callSettings = null)Moves a Folder to a new Folder, TeamFolder, or the root location.
| Parameters | |
|---|---|
| Name | Description |
request |
MoveFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyMoveFolderMetadata |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::MoveFolderRequest request = new gcdv::MoveFolderRequest
{
FolderName = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]"),
DestinationContainingFolder = "",
};
// Make the request
Operation<Empty, gcdv::MoveFolderMetadata> response = await dataformClient.MoveFolderAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveFolderMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveFolderMetadata> retrievedResponse = await dataformClient.PollOnceMoveFolderAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveFolderAsync(MoveFolderRequest, CancellationToken)
public virtual Task<Operation<Empty, MoveFolderMetadata>> MoveFolderAsync(MoveFolderRequest request, CancellationToken cancellationToken)Moves a Folder to a new Folder, TeamFolder, or the root location.
| Parameters | |
|---|---|
| Name | Description |
request |
MoveFolderRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyMoveFolderMetadata |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::MoveFolderRequest request = new gcdv::MoveFolderRequest
{
FolderName = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]"),
DestinationContainingFolder = "",
};
// Make the request
Operation<Empty, gcdv::MoveFolderMetadata> response = await dataformClient.MoveFolderAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveFolderMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveFolderMetadata> retrievedResponse = await dataformClient.PollOnceMoveFolderAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveFolderAsync(string, string, CallSettings)
public virtual Task<Operation<Empty, MoveFolderMetadata>> MoveFolderAsync(string name, string destinationContainingFolder, CallSettings callSettings = null)Moves a Folder to a new Folder, TeamFolder, or the root location.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The full resource name of the Folder to move. |
destinationContainingFolder |
stringOptional. The name of the Folder, TeamFolder, or root location to move the
Folder to. Can be in the format of: "" to move into the root User folder,
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyMoveFolderMetadata |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/folders/[FOLDER]";
string destinationContainingFolder = "";
// Make the request
Operation<Empty, gcdv::MoveFolderMetadata> response = await dataformClient.MoveFolderAsync(name, destinationContainingFolder);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveFolderMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveFolderMetadata> retrievedResponse = await dataformClient.PollOnceMoveFolderAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveFolderAsync(string, string, CancellationToken)
public virtual Task<Operation<Empty, MoveFolderMetadata>> MoveFolderAsync(string name, string destinationContainingFolder, CancellationToken cancellationToken)Moves a Folder to a new Folder, TeamFolder, or the root location.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The full resource name of the Folder to move. |
destinationContainingFolder |
stringOptional. The name of the Folder, TeamFolder, or root location to move the
Folder to. Can be in the format of: "" to move into the root User folder,
|
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyMoveFolderMetadata |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/folders/[FOLDER]";
string destinationContainingFolder = "";
// Make the request
Operation<Empty, gcdv::MoveFolderMetadata> response = await dataformClient.MoveFolderAsync(name, destinationContainingFolder);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveFolderMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveFolderMetadata> retrievedResponse = await dataformClient.PollOnceMoveFolderAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveRepository(MoveRepositoryRequest, CallSettings)
public virtual Operation<Empty, MoveRepositoryMetadata> MoveRepository(MoveRepositoryRequest request, CallSettings callSettings = null)Moves a Repository to a new location.
| Parameters | |
|---|---|
| Name | Description |
request |
MoveRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyMoveRepositoryMetadata |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::MoveRepositoryRequest request = new gcdv::MoveRepositoryRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
DestinationContainingFolder = "",
};
// Make the request
Operation<Empty, gcdv::MoveRepositoryMetadata> response = dataformClient.MoveRepository(request);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveRepositoryMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveRepositoryMetadata> retrievedResponse = dataformClient.PollOnceMoveRepository(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveRepository(RepositoryName, string, CallSettings)
public virtual Operation<Empty, MoveRepositoryMetadata> MoveRepository(RepositoryName name, string destinationContainingFolder, CallSettings callSettings = null)Moves a Repository to a new location.
| Parameters | |
|---|---|
| Name | Description |
name |
RepositoryNameRequired. The full resource name of the repository to move. |
destinationContainingFolder |
stringOptional. The name of the Folder, TeamFolder, or root location to move the
repository to. Can be in the format of: "" to move into the root User
folder, |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyMoveRepositoryMetadata |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::RepositoryName name = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
string destinationContainingFolder = "";
// Make the request
Operation<Empty, gcdv::MoveRepositoryMetadata> response = dataformClient.MoveRepository(name, destinationContainingFolder);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveRepositoryMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveRepositoryMetadata> retrievedResponse = dataformClient.PollOnceMoveRepository(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveRepository(string, string, CallSettings)
public virtual Operation<Empty, MoveRepositoryMetadata> MoveRepository(string name, string destinationContainingFolder, CallSettings callSettings = null)Moves a Repository to a new location.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The full resource name of the repository to move. |
destinationContainingFolder |
stringOptional. The name of the Folder, TeamFolder, or root location to move the
repository to. Can be in the format of: "" to move into the root User
folder, |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyMoveRepositoryMetadata |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
string destinationContainingFolder = "";
// Make the request
Operation<Empty, gcdv::MoveRepositoryMetadata> response = dataformClient.MoveRepository(name, destinationContainingFolder);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveRepositoryMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveRepositoryMetadata> retrievedResponse = dataformClient.PollOnceMoveRepository(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveRepositoryAsync(MoveRepositoryRequest, CallSettings)
public virtual Task<Operation<Empty, MoveRepositoryMetadata>> MoveRepositoryAsync(MoveRepositoryRequest request, CallSettings callSettings = null)Moves a Repository to a new location.
| Parameters | |
|---|---|
| Name | Description |
request |
MoveRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyMoveRepositoryMetadata |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::MoveRepositoryRequest request = new gcdv::MoveRepositoryRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
DestinationContainingFolder = "",
};
// Make the request
Operation<Empty, gcdv::MoveRepositoryMetadata> response = await dataformClient.MoveRepositoryAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveRepositoryMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveRepositoryMetadata> retrievedResponse = await dataformClient.PollOnceMoveRepositoryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveRepositoryAsync(MoveRepositoryRequest, CancellationToken)
public virtual Task<Operation<Empty, MoveRepositoryMetadata>> MoveRepositoryAsync(MoveRepositoryRequest request, CancellationToken cancellationToken)Moves a Repository to a new location.
| Parameters | |
|---|---|
| Name | Description |
request |
MoveRepositoryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyMoveRepositoryMetadata |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::MoveRepositoryRequest request = new gcdv::MoveRepositoryRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
DestinationContainingFolder = "",
};
// Make the request
Operation<Empty, gcdv::MoveRepositoryMetadata> response = await dataformClient.MoveRepositoryAsync(request);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveRepositoryMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveRepositoryMetadata> retrievedResponse = await dataformClient.PollOnceMoveRepositoryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveRepositoryAsync(RepositoryName, string, CallSettings)
public virtual Task<Operation<Empty, MoveRepositoryMetadata>> MoveRepositoryAsync(RepositoryName name, string destinationContainingFolder, CallSettings callSettings = null)Moves a Repository to a new location.
| Parameters | |
|---|---|
| Name | Description |
name |
RepositoryNameRequired. The full resource name of the repository to move. |
destinationContainingFolder |
stringOptional. The name of the Folder, TeamFolder, or root location to move the
repository to. Can be in the format of: "" to move into the root User
folder, |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyMoveRepositoryMetadata |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName name = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
string destinationContainingFolder = "";
// Make the request
Operation<Empty, gcdv::MoveRepositoryMetadata> response = await dataformClient.MoveRepositoryAsync(name, destinationContainingFolder);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveRepositoryMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveRepositoryMetadata> retrievedResponse = await dataformClient.PollOnceMoveRepositoryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveRepositoryAsync(RepositoryName, string, CancellationToken)
public virtual Task<Operation<Empty, MoveRepositoryMetadata>> MoveRepositoryAsync(RepositoryName name, string destinationContainingFolder, CancellationToken cancellationToken)Moves a Repository to a new location.
| Parameters | |
|---|---|
| Name | Description |
name |
RepositoryNameRequired. The full resource name of the repository to move. |
destinationContainingFolder |
stringOptional. The name of the Folder, TeamFolder, or root location to move the
repository to. Can be in the format of: "" to move into the root User
folder, |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyMoveRepositoryMetadata |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RepositoryName name = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
string destinationContainingFolder = "";
// Make the request
Operation<Empty, gcdv::MoveRepositoryMetadata> response = await dataformClient.MoveRepositoryAsync(name, destinationContainingFolder);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveRepositoryMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveRepositoryMetadata> retrievedResponse = await dataformClient.PollOnceMoveRepositoryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveRepositoryAsync(string, string, CallSettings)
public virtual Task<Operation<Empty, MoveRepositoryMetadata>> MoveRepositoryAsync(string name, string destinationContainingFolder, CallSettings callSettings = null)Moves a Repository to a new location.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The full resource name of the repository to move. |
destinationContainingFolder |
stringOptional. The name of the Folder, TeamFolder, or root location to move the
repository to. Can be in the format of: "" to move into the root User
folder, |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyMoveRepositoryMetadata |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
string destinationContainingFolder = "";
// Make the request
Operation<Empty, gcdv::MoveRepositoryMetadata> response = await dataformClient.MoveRepositoryAsync(name, destinationContainingFolder);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveRepositoryMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveRepositoryMetadata> retrievedResponse = await dataformClient.PollOnceMoveRepositoryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
MoveRepositoryAsync(string, string, CancellationToken)
public virtual Task<Operation<Empty, MoveRepositoryMetadata>> MoveRepositoryAsync(string name, string destinationContainingFolder, CancellationToken cancellationToken)Moves a Repository to a new location.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The full resource name of the repository to move. |
destinationContainingFolder |
stringOptional. The name of the Folder, TeamFolder, or root location to move the
repository to. Can be in the format of: "" to move into the root User
folder, |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyMoveRepositoryMetadata |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
string destinationContainingFolder = "";
// Make the request
Operation<Empty, gcdv::MoveRepositoryMetadata> response = await dataformClient.MoveRepositoryAsync(name, destinationContainingFolder);
// Poll until the returned long-running operation is complete
Operation<Empty, gcdv::MoveRepositoryMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Empty result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Empty, gcdv::MoveRepositoryMetadata> retrievedResponse = await dataformClient.PollOnceMoveRepositoryAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Empty retrievedResult = retrievedResponse.Result;
}
PollOnceMoveFolder(string, CallSettings)
public virtual Operation<Empty, MoveFolderMetadata> PollOnceMoveFolder(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of MoveFolder.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyMoveFolderMetadata |
The result of polling the operation. |
PollOnceMoveFolderAsync(string, CallSettings)
public virtual Task<Operation<Empty, MoveFolderMetadata>> PollOnceMoveFolderAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
MoveFolder.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyMoveFolderMetadata |
A task representing the result of polling the operation. |
PollOnceMoveRepository(string, CallSettings)
public virtual Operation<Empty, MoveRepositoryMetadata> PollOnceMoveRepository(string operationName, CallSettings callSettings = null)Poll an operation once, using an operationName from a previous invocation of MoveRepository.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyMoveRepositoryMetadata |
The result of polling the operation. |
PollOnceMoveRepositoryAsync(string, CallSettings)
public virtual Task<Operation<Empty, MoveRepositoryMetadata>> PollOnceMoveRepositoryAsync(string operationName, CallSettings callSettings = null)Asynchronously poll an operation once, using an operationName from a previous invocation of
MoveRepository.
| Parameters | |
|---|---|
| Name | Description |
operationName |
stringThe name of a previously invoked operation. Must not be |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyMoveRepositoryMetadata |
A task representing the result of polling the operation. |
PullGitCommits(PullGitCommitsRequest, CallSettings)
public virtual PullGitCommitsResponse PullGitCommits(PullGitCommitsRequest request, CallSettings callSettings = null)Pulls Git commits from the Repository's remote into a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
PullGitCommitsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PullGitCommitsResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::PullGitCommitsRequest request = new gcdv::PullGitCommitsRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
RemoteBranch = "",
Author = new gcdv::CommitAuthor(),
};
// Make the request
gcdv::PullGitCommitsResponse response = dataformClient.PullGitCommits(request);
PullGitCommitsAsync(PullGitCommitsRequest, CallSettings)
public virtual Task<PullGitCommitsResponse> PullGitCommitsAsync(PullGitCommitsRequest request, CallSettings callSettings = null)Pulls Git commits from the Repository's remote into a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
PullGitCommitsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPullGitCommitsResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::PullGitCommitsRequest request = new gcdv::PullGitCommitsRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
RemoteBranch = "",
Author = new gcdv::CommitAuthor(),
};
// Make the request
gcdv::PullGitCommitsResponse response = await dataformClient.PullGitCommitsAsync(request);
PullGitCommitsAsync(PullGitCommitsRequest, CancellationToken)
public virtual Task<PullGitCommitsResponse> PullGitCommitsAsync(PullGitCommitsRequest request, CancellationToken cancellationToken)Pulls Git commits from the Repository's remote into a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
PullGitCommitsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPullGitCommitsResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::PullGitCommitsRequest request = new gcdv::PullGitCommitsRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
RemoteBranch = "",
Author = new gcdv::CommitAuthor(),
};
// Make the request
gcdv::PullGitCommitsResponse response = await dataformClient.PullGitCommitsAsync(request);
PushGitCommits(PushGitCommitsRequest, CallSettings)
public virtual PushGitCommitsResponse PushGitCommits(PushGitCommitsRequest request, CallSettings callSettings = null)Pushes Git commits from a Workspace to the Repository's remote.
| Parameters | |
|---|---|
| Name | Description |
request |
PushGitCommitsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PushGitCommitsResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::PushGitCommitsRequest request = new gcdv::PushGitCommitsRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
RemoteBranch = "",
};
// Make the request
gcdv::PushGitCommitsResponse response = dataformClient.PushGitCommits(request);
PushGitCommitsAsync(PushGitCommitsRequest, CallSettings)
public virtual Task<PushGitCommitsResponse> PushGitCommitsAsync(PushGitCommitsRequest request, CallSettings callSettings = null)Pushes Git commits from a Workspace to the Repository's remote.
| Parameters | |
|---|---|
| Name | Description |
request |
PushGitCommitsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPushGitCommitsResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::PushGitCommitsRequest request = new gcdv::PushGitCommitsRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
RemoteBranch = "",
};
// Make the request
gcdv::PushGitCommitsResponse response = await dataformClient.PushGitCommitsAsync(request);
PushGitCommitsAsync(PushGitCommitsRequest, CancellationToken)
public virtual Task<PushGitCommitsResponse> PushGitCommitsAsync(PushGitCommitsRequest request, CancellationToken cancellationToken)Pushes Git commits from a Workspace to the Repository's remote.
| Parameters | |
|---|---|
| Name | Description |
request |
PushGitCommitsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPushGitCommitsResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::PushGitCommitsRequest request = new gcdv::PushGitCommitsRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
RemoteBranch = "",
};
// Make the request
gcdv::PushGitCommitsResponse response = await dataformClient.PushGitCommitsAsync(request);
QueryCompilationResultActions(QueryCompilationResultActionsRequest, CallSettings)
public virtual PagedEnumerable<QueryCompilationResultActionsResponse, CompilationResultAction> QueryCompilationResultActions(QueryCompilationResultActionsRequest request, CallSettings callSettings = null)Returns CompilationResultActions in a given CompilationResult.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryCompilationResultActionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryCompilationResultActionsResponseCompilationResultAction |
A pageable sequence of CompilationResultAction resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::QueryCompilationResultActionsRequest request = new gcdv::QueryCompilationResultActionsRequest
{
CompilationResultName = gcdv::CompilationResultName.FromProjectLocationRepositoryCompilationResult("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]"),
Filter = "",
};
// Make the request
PagedEnumerable<gcdv::QueryCompilationResultActionsResponse, gcdv::CompilationResultAction> response = dataformClient.QueryCompilationResultActions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::CompilationResultAction item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::QueryCompilationResultActionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::CompilationResultAction item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::CompilationResultAction> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::CompilationResultAction item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryCompilationResultActionsAsync(QueryCompilationResultActionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<QueryCompilationResultActionsResponse, CompilationResultAction> QueryCompilationResultActionsAsync(QueryCompilationResultActionsRequest request, CallSettings callSettings = null)Returns CompilationResultActions in a given CompilationResult.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryCompilationResultActionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryCompilationResultActionsResponseCompilationResultAction |
A pageable asynchronous sequence of CompilationResultAction resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::QueryCompilationResultActionsRequest request = new gcdv::QueryCompilationResultActionsRequest
{
CompilationResultName = gcdv::CompilationResultName.FromProjectLocationRepositoryCompilationResult("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]"),
Filter = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::QueryCompilationResultActionsResponse, gcdv::CompilationResultAction> response = dataformClient.QueryCompilationResultActionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::CompilationResultAction item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::QueryCompilationResultActionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::CompilationResultAction item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::CompilationResultAction> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::CompilationResultAction item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryDirectoryContents(QueryDirectoryContentsRequest, CallSettings)
public virtual PagedEnumerable<QueryDirectoryContentsResponse, DirectoryEntry> QueryDirectoryContents(QueryDirectoryContentsRequest request, CallSettings callSettings = null)Returns the contents of a given Workspace directory.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryDirectoryContentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryDirectoryContentsResponseDirectoryEntry |
A pageable sequence of DirectoryEntry resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::QueryDirectoryContentsRequest request = new gcdv::QueryDirectoryContentsRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
PagedEnumerable<gcdv::QueryDirectoryContentsResponse, gcdv::DirectoryEntry> response = dataformClient.QueryDirectoryContents(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::DirectoryEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::QueryDirectoryContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::DirectoryEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::DirectoryEntry> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::DirectoryEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryDirectoryContentsAsync(QueryDirectoryContentsRequest, CallSettings)
public virtual PagedAsyncEnumerable<QueryDirectoryContentsResponse, DirectoryEntry> QueryDirectoryContentsAsync(QueryDirectoryContentsRequest request, CallSettings callSettings = null)Returns the contents of a given Workspace directory.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryDirectoryContentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryDirectoryContentsResponseDirectoryEntry |
A pageable asynchronous sequence of DirectoryEntry resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::QueryDirectoryContentsRequest request = new gcdv::QueryDirectoryContentsRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::QueryDirectoryContentsResponse, gcdv::DirectoryEntry> response = dataformClient.QueryDirectoryContentsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::DirectoryEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::QueryDirectoryContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::DirectoryEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::DirectoryEntry> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::DirectoryEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryFolderContents(FolderName, string, int?, CallSettings)
public virtual PagedEnumerable<QueryFolderContentsResponse, QueryFolderContentsResponse.Types.FolderContentsEntry> QueryFolderContents(FolderName folder, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Returns the contents of a given Folder.
| Parameters | |
|---|---|
| Name | Description |
folder |
FolderNameRequired. Name of the folder whose contents to list. Format: projects//locations//folders/* |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryFolderContentsResponseQueryFolderContentsResponseTypesFolderContentsEntry |
A pageable sequence of QueryFolderContentsResponse.Types.FolderContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::FolderName folder = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]");
// Make the request
PagedEnumerable<gcdv::QueryFolderContentsResponse, gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry> response = dataformClient.QueryFolderContents(folder);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::QueryFolderContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryFolderContents(QueryFolderContentsRequest, CallSettings)
public virtual PagedEnumerable<QueryFolderContentsResponse, QueryFolderContentsResponse.Types.FolderContentsEntry> QueryFolderContents(QueryFolderContentsRequest request, CallSettings callSettings = null)Returns the contents of a given Folder.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryFolderContentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryFolderContentsResponseQueryFolderContentsResponseTypesFolderContentsEntry |
A pageable sequence of QueryFolderContentsResponse.Types.FolderContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::QueryFolderContentsRequest request = new gcdv::QueryFolderContentsRequest
{
FolderAsFolderName = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]"),
OrderBy = "",
Filter = "",
};
// Make the request
PagedEnumerable<gcdv::QueryFolderContentsResponse, gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry> response = dataformClient.QueryFolderContents(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::QueryFolderContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryFolderContents(string, string, int?, CallSettings)
public virtual PagedEnumerable<QueryFolderContentsResponse, QueryFolderContentsResponse.Types.FolderContentsEntry> QueryFolderContents(string folder, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Returns the contents of a given Folder.
| Parameters | |
|---|---|
| Name | Description |
folder |
stringRequired. Name of the folder whose contents to list. Format: projects//locations//folders/* |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryFolderContentsResponseQueryFolderContentsResponseTypesFolderContentsEntry |
A pageable sequence of QueryFolderContentsResponse.Types.FolderContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string folder = "projects/[PROJECT]/locations/[LOCATION]/folders/[FOLDER]";
// Make the request
PagedEnumerable<gcdv::QueryFolderContentsResponse, gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry> response = dataformClient.QueryFolderContents(folder);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::QueryFolderContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryFolderContentsAsync(FolderName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<QueryFolderContentsResponse, QueryFolderContentsResponse.Types.FolderContentsEntry> QueryFolderContentsAsync(FolderName folder, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Returns the contents of a given Folder.
| Parameters | |
|---|---|
| Name | Description |
folder |
FolderNameRequired. Name of the folder whose contents to list. Format: projects//locations//folders/* |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryFolderContentsResponseQueryFolderContentsResponseTypesFolderContentsEntry |
A pageable asynchronous sequence of QueryFolderContentsResponse.Types.FolderContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::FolderName folder = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]");
// Make the request
PagedAsyncEnumerable<gcdv::QueryFolderContentsResponse, gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry> response = dataformClient.QueryFolderContentsAsync(folder);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::QueryFolderContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryFolderContentsAsync(QueryFolderContentsRequest, CallSettings)
public virtual PagedAsyncEnumerable<QueryFolderContentsResponse, QueryFolderContentsResponse.Types.FolderContentsEntry> QueryFolderContentsAsync(QueryFolderContentsRequest request, CallSettings callSettings = null)Returns the contents of a given Folder.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryFolderContentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryFolderContentsResponseQueryFolderContentsResponseTypesFolderContentsEntry |
A pageable asynchronous sequence of QueryFolderContentsResponse.Types.FolderContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::QueryFolderContentsRequest request = new gcdv::QueryFolderContentsRequest
{
FolderAsFolderName = gcdv::FolderName.FromProjectLocationFolder("[PROJECT]", "[LOCATION]", "[FOLDER]"),
OrderBy = "",
Filter = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::QueryFolderContentsResponse, gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry> response = dataformClient.QueryFolderContentsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::QueryFolderContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryFolderContentsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<QueryFolderContentsResponse, QueryFolderContentsResponse.Types.FolderContentsEntry> QueryFolderContentsAsync(string folder, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Returns the contents of a given Folder.
| Parameters | |
|---|---|
| Name | Description |
folder |
stringRequired. Name of the folder whose contents to list. Format: projects//locations//folders/* |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryFolderContentsResponseQueryFolderContentsResponseTypesFolderContentsEntry |
A pageable asynchronous sequence of QueryFolderContentsResponse.Types.FolderContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string folder = "projects/[PROJECT]/locations/[LOCATION]/folders/[FOLDER]";
// Make the request
PagedAsyncEnumerable<gcdv::QueryFolderContentsResponse, gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry> response = dataformClient.QueryFolderContentsAsync(folder);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::QueryFolderContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryFolderContentsResponse.Types.FolderContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryRepositoryDirectoryContents(QueryRepositoryDirectoryContentsRequest, CallSettings)
public virtual PagedEnumerable<QueryRepositoryDirectoryContentsResponse, DirectoryEntry> QueryRepositoryDirectoryContents(QueryRepositoryDirectoryContentsRequest request, CallSettings callSettings = null)Returns the contents of a given Repository directory. The Repository must
not have a value for git_remote_settings.url.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryRepositoryDirectoryContentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryRepositoryDirectoryContentsResponseDirectoryEntry |
A pageable sequence of DirectoryEntry resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::QueryRepositoryDirectoryContentsRequest request = new gcdv::QueryRepositoryDirectoryContentsRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
CommitSha = "",
Path = "",
};
// Make the request
PagedEnumerable<gcdv::QueryRepositoryDirectoryContentsResponse, gcdv::DirectoryEntry> response = dataformClient.QueryRepositoryDirectoryContents(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::DirectoryEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::QueryRepositoryDirectoryContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::DirectoryEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::DirectoryEntry> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::DirectoryEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryRepositoryDirectoryContentsAsync(QueryRepositoryDirectoryContentsRequest, CallSettings)
public virtual PagedAsyncEnumerable<QueryRepositoryDirectoryContentsResponse, DirectoryEntry> QueryRepositoryDirectoryContentsAsync(QueryRepositoryDirectoryContentsRequest request, CallSettings callSettings = null)Returns the contents of a given Repository directory. The Repository must
not have a value for git_remote_settings.url.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryRepositoryDirectoryContentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryRepositoryDirectoryContentsResponseDirectoryEntry |
A pageable asynchronous sequence of DirectoryEntry resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::QueryRepositoryDirectoryContentsRequest request = new gcdv::QueryRepositoryDirectoryContentsRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
CommitSha = "",
Path = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::QueryRepositoryDirectoryContentsResponse, gcdv::DirectoryEntry> response = dataformClient.QueryRepositoryDirectoryContentsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::DirectoryEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::QueryRepositoryDirectoryContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::DirectoryEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::DirectoryEntry> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::DirectoryEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryTeamFolderContents(QueryTeamFolderContentsRequest, CallSettings)
public virtual PagedEnumerable<QueryTeamFolderContentsResponse, QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> QueryTeamFolderContents(QueryTeamFolderContentsRequest request, CallSettings callSettings = null)Returns the contents of a given TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryTeamFolderContentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryTeamFolderContentsResponseQueryTeamFolderContentsResponseTypesTeamFolderContentsEntry |
A pageable sequence of QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::QueryTeamFolderContentsRequest request = new gcdv::QueryTeamFolderContentsRequest
{
TeamFolderAsTeamFolderName = gcdv::TeamFolderName.FromProjectLocationTeamFolder("[PROJECT]", "[LOCATION]", "[TEAM_FOLDER]"),
OrderBy = "",
Filter = "",
};
// Make the request
PagedEnumerable<gcdv::QueryTeamFolderContentsResponse, gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> response = dataformClient.QueryTeamFolderContents(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::QueryTeamFolderContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryTeamFolderContents(TeamFolderName, string, int?, CallSettings)
public virtual PagedEnumerable<QueryTeamFolderContentsResponse, QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> QueryTeamFolderContents(TeamFolderName teamFolder, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Returns the contents of a given TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
teamFolder |
TeamFolderNameRequired. Name of the team_folder whose contents to list.
Format: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryTeamFolderContentsResponseQueryTeamFolderContentsResponseTypesTeamFolderContentsEntry |
A pageable sequence of QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::TeamFolderName teamFolder = gcdv::TeamFolderName.FromProjectLocationTeamFolder("[PROJECT]", "[LOCATION]", "[TEAM_FOLDER]");
// Make the request
PagedEnumerable<gcdv::QueryTeamFolderContentsResponse, gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> response = dataformClient.QueryTeamFolderContents(teamFolder);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::QueryTeamFolderContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryTeamFolderContents(string, string, int?, CallSettings)
public virtual PagedEnumerable<QueryTeamFolderContentsResponse, QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> QueryTeamFolderContents(string teamFolder, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Returns the contents of a given TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
teamFolder |
stringRequired. Name of the team_folder whose contents to list.
Format: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryTeamFolderContentsResponseQueryTeamFolderContentsResponseTypesTeamFolderContentsEntry |
A pageable sequence of QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string teamFolder = "projects/[PROJECT]/locations/[LOCATION]/teamFolders/[TEAM_FOLDER]";
// Make the request
PagedEnumerable<gcdv::QueryTeamFolderContentsResponse, gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> response = dataformClient.QueryTeamFolderContents(teamFolder);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::QueryTeamFolderContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryTeamFolderContentsAsync(QueryTeamFolderContentsRequest, CallSettings)
public virtual PagedAsyncEnumerable<QueryTeamFolderContentsResponse, QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> QueryTeamFolderContentsAsync(QueryTeamFolderContentsRequest request, CallSettings callSettings = null)Returns the contents of a given TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryTeamFolderContentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryTeamFolderContentsResponseQueryTeamFolderContentsResponseTypesTeamFolderContentsEntry |
A pageable asynchronous sequence of QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::QueryTeamFolderContentsRequest request = new gcdv::QueryTeamFolderContentsRequest
{
TeamFolderAsTeamFolderName = gcdv::TeamFolderName.FromProjectLocationTeamFolder("[PROJECT]", "[LOCATION]", "[TEAM_FOLDER]"),
OrderBy = "",
Filter = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::QueryTeamFolderContentsResponse, gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> response = dataformClient.QueryTeamFolderContentsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::QueryTeamFolderContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryTeamFolderContentsAsync(TeamFolderName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<QueryTeamFolderContentsResponse, QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> QueryTeamFolderContentsAsync(TeamFolderName teamFolder, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Returns the contents of a given TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
teamFolder |
TeamFolderNameRequired. Name of the team_folder whose contents to list.
Format: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryTeamFolderContentsResponseQueryTeamFolderContentsResponseTypesTeamFolderContentsEntry |
A pageable asynchronous sequence of QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::TeamFolderName teamFolder = gcdv::TeamFolderName.FromProjectLocationTeamFolder("[PROJECT]", "[LOCATION]", "[TEAM_FOLDER]");
// Make the request
PagedAsyncEnumerable<gcdv::QueryTeamFolderContentsResponse, gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> response = dataformClient.QueryTeamFolderContentsAsync(teamFolder);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::QueryTeamFolderContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryTeamFolderContentsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<QueryTeamFolderContentsResponse, QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> QueryTeamFolderContentsAsync(string teamFolder, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Returns the contents of a given TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
teamFolder |
stringRequired. Name of the team_folder whose contents to list.
Format: |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryTeamFolderContentsResponseQueryTeamFolderContentsResponseTypesTeamFolderContentsEntry |
A pageable asynchronous sequence of QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string teamFolder = "projects/[PROJECT]/locations/[LOCATION]/teamFolders/[TEAM_FOLDER]";
// Make the request
PagedAsyncEnumerable<gcdv::QueryTeamFolderContentsResponse, gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> response = dataformClient.QueryTeamFolderContentsAsync(teamFolder);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::QueryTeamFolderContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryTeamFolderContentsResponse.Types.TeamFolderContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryUserRootContents(LocationName, string, int?, CallSettings)
public virtual PagedEnumerable<QueryUserRootContentsResponse, QueryUserRootContentsResponse.Types.RootContentsEntry> QueryUserRootContents(LocationName location, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Returns the contents of a caller's root folder in a given location. The root folder contains all resources that are created by the user and not contained in any other folder.
| Parameters | |
|---|---|
| Name | Description |
location |
LocationNameRequired. Location of the user root folder whose contents to list. Format: projects//locations/ |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryUserRootContentsResponseQueryUserRootContentsResponseTypesRootContentsEntry |
A pageable sequence of QueryUserRootContentsResponse.Types.RootContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<gcdv::QueryUserRootContentsResponse, gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry> response = dataformClient.QueryUserRootContents(location);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::QueryUserRootContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryUserRootContents(QueryUserRootContentsRequest, CallSettings)
public virtual PagedEnumerable<QueryUserRootContentsResponse, QueryUserRootContentsResponse.Types.RootContentsEntry> QueryUserRootContents(QueryUserRootContentsRequest request, CallSettings callSettings = null)Returns the contents of a caller's root folder in a given location. The root folder contains all resources that are created by the user and not contained in any other folder.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryUserRootContentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryUserRootContentsResponseQueryUserRootContentsResponseTypesRootContentsEntry |
A pageable sequence of QueryUserRootContentsResponse.Types.RootContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::QueryUserRootContentsRequest request = new gcdv::QueryUserRootContentsRequest
{
LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
OrderBy = "",
Filter = "",
};
// Make the request
PagedEnumerable<gcdv::QueryUserRootContentsResponse, gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry> response = dataformClient.QueryUserRootContents(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::QueryUserRootContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryUserRootContents(string, string, int?, CallSettings)
public virtual PagedEnumerable<QueryUserRootContentsResponse, QueryUserRootContentsResponse.Types.RootContentsEntry> QueryUserRootContents(string location, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Returns the contents of a caller's root folder in a given location. The root folder contains all resources that are created by the user and not contained in any other folder.
| Parameters | |
|---|---|
| Name | Description |
location |
stringRequired. Location of the user root folder whose contents to list. Format: projects//locations/ |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryUserRootContentsResponseQueryUserRootContentsResponseTypesRootContentsEntry |
A pageable sequence of QueryUserRootContentsResponse.Types.RootContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
string location = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<gcdv::QueryUserRootContentsResponse, gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry> response = dataformClient.QueryUserRootContents(location);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::QueryUserRootContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryUserRootContentsAsync(LocationName, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<QueryUserRootContentsResponse, QueryUserRootContentsResponse.Types.RootContentsEntry> QueryUserRootContentsAsync(LocationName location, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Returns the contents of a caller's root folder in a given location. The root folder contains all resources that are created by the user and not contained in any other folder.
| Parameters | |
|---|---|
| Name | Description |
location |
LocationNameRequired. Location of the user root folder whose contents to list. Format: projects//locations/ |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryUserRootContentsResponseQueryUserRootContentsResponseTypesRootContentsEntry |
A pageable asynchronous sequence of QueryUserRootContentsResponse.Types.RootContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
LocationName location = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<gcdv::QueryUserRootContentsResponse, gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry> response = dataformClient.QueryUserRootContentsAsync(location);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::QueryUserRootContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryUserRootContentsAsync(QueryUserRootContentsRequest, CallSettings)
public virtual PagedAsyncEnumerable<QueryUserRootContentsResponse, QueryUserRootContentsResponse.Types.RootContentsEntry> QueryUserRootContentsAsync(QueryUserRootContentsRequest request, CallSettings callSettings = null)Returns the contents of a caller's root folder in a given location. The root folder contains all resources that are created by the user and not contained in any other folder.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryUserRootContentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryUserRootContentsResponseQueryUserRootContentsResponseTypesRootContentsEntry |
A pageable asynchronous sequence of QueryUserRootContentsResponse.Types.RootContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::QueryUserRootContentsRequest request = new gcdv::QueryUserRootContentsRequest
{
LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
OrderBy = "",
Filter = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::QueryUserRootContentsResponse, gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry> response = dataformClient.QueryUserRootContentsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::QueryUserRootContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryUserRootContentsAsync(string, string, int?, CallSettings)
public virtual PagedAsyncEnumerable<QueryUserRootContentsResponse, QueryUserRootContentsResponse.Types.RootContentsEntry> QueryUserRootContentsAsync(string location, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)Returns the contents of a caller's root folder in a given location. The root folder contains all resources that are created by the user and not contained in any other folder.
| Parameters | |
|---|---|
| Name | Description |
location |
stringRequired. Location of the user root folder whose contents to list. Format: projects//locations/ |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryUserRootContentsResponseQueryUserRootContentsResponseTypesRootContentsEntry |
A pageable asynchronous sequence of QueryUserRootContentsResponse.Types.RootContentsEntry resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
string location = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<gcdv::QueryUserRootContentsResponse, gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry> response = dataformClient.QueryUserRootContentsAsync(location);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::QueryUserRootContentsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::QueryUserRootContentsResponse.Types.RootContentsEntry item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryWorkflowInvocationActions(QueryWorkflowInvocationActionsRequest, CallSettings)
public virtual PagedEnumerable<QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> QueryWorkflowInvocationActions(QueryWorkflowInvocationActionsRequest request, CallSettings callSettings = null)Returns WorkflowInvocationActions in a given WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryWorkflowInvocationActionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryWorkflowInvocationActionsResponseWorkflowInvocationAction |
A pageable sequence of WorkflowInvocationAction resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::QueryWorkflowInvocationActionsRequest request = new gcdv::QueryWorkflowInvocationActionsRequest
{
WorkflowInvocationName = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
PagedEnumerable<gcdv::QueryWorkflowInvocationActionsResponse, gcdv::WorkflowInvocationAction> response = dataformClient.QueryWorkflowInvocationActions(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::WorkflowInvocationAction item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::QueryWorkflowInvocationActionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::WorkflowInvocationAction item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::WorkflowInvocationAction> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::WorkflowInvocationAction item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
QueryWorkflowInvocationActionsAsync(QueryWorkflowInvocationActionsRequest, CallSettings)
public virtual PagedAsyncEnumerable<QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> QueryWorkflowInvocationActionsAsync(QueryWorkflowInvocationActionsRequest request, CallSettings callSettings = null)Returns WorkflowInvocationActions in a given WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryWorkflowInvocationActionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryWorkflowInvocationActionsResponseWorkflowInvocationAction |
A pageable asynchronous sequence of WorkflowInvocationAction resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::QueryWorkflowInvocationActionsRequest request = new gcdv::QueryWorkflowInvocationActionsRequest
{
WorkflowInvocationName = gcdv::WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
PagedAsyncEnumerable<gcdv::QueryWorkflowInvocationActionsResponse, gcdv::WorkflowInvocationAction> response = dataformClient.QueryWorkflowInvocationActionsAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::WorkflowInvocationAction item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::QueryWorkflowInvocationActionsResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::WorkflowInvocationAction item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::WorkflowInvocationAction> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::WorkflowInvocationAction item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ReadFile(ReadFileRequest, CallSettings)
public virtual ReadFileResponse ReadFile(ReadFileRequest request, CallSettings callSettings = null)Returns the contents of a file (inside a Workspace).
| Parameters | |
|---|---|
| Name | Description |
request |
ReadFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReadFileResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::ReadFileRequest request = new gcdv::ReadFileRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
Revision = "",
};
// Make the request
gcdv::ReadFileResponse response = dataformClient.ReadFile(request);
ReadFileAsync(ReadFileRequest, CallSettings)
public virtual Task<ReadFileResponse> ReadFileAsync(ReadFileRequest request, CallSettings callSettings = null)Returns the contents of a file (inside a Workspace).
| Parameters | |
|---|---|
| Name | Description |
request |
ReadFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReadFileResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ReadFileRequest request = new gcdv::ReadFileRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
Revision = "",
};
// Make the request
gcdv::ReadFileResponse response = await dataformClient.ReadFileAsync(request);
ReadFileAsync(ReadFileRequest, CancellationToken)
public virtual Task<ReadFileResponse> ReadFileAsync(ReadFileRequest request, CancellationToken cancellationToken)Returns the contents of a file (inside a Workspace).
| Parameters | |
|---|---|
| Name | Description |
request |
ReadFileRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReadFileResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ReadFileRequest request = new gcdv::ReadFileRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
Revision = "",
};
// Make the request
gcdv::ReadFileResponse response = await dataformClient.ReadFileAsync(request);
ReadRepositoryFile(ReadRepositoryFileRequest, CallSettings)
public virtual ReadRepositoryFileResponse ReadRepositoryFile(ReadRepositoryFileRequest request, CallSettings callSettings = null)Returns the contents of a file (inside a Repository). The Repository
must not have a value for git_remote_settings.url.
| Parameters | |
|---|---|
| Name | Description |
request |
ReadRepositoryFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::ReadRepositoryFileRequest request = new gcdv::ReadRepositoryFileRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
CommitSha = "",
Path = "",
};
// Make the request
gcdv::ReadRepositoryFileResponse response = dataformClient.ReadRepositoryFile(request);
ReadRepositoryFileAsync(ReadRepositoryFileRequest, CallSettings)
public virtual Task<ReadRepositoryFileResponse> ReadRepositoryFileAsync(ReadRepositoryFileRequest request, CallSettings callSettings = null)Returns the contents of a file (inside a Repository). The Repository
must not have a value for git_remote_settings.url.
| Parameters | |
|---|---|
| Name | Description |
request |
ReadRepositoryFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReadRepositoryFileResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ReadRepositoryFileRequest request = new gcdv::ReadRepositoryFileRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
CommitSha = "",
Path = "",
};
// Make the request
gcdv::ReadRepositoryFileResponse response = await dataformClient.ReadRepositoryFileAsync(request);
ReadRepositoryFileAsync(ReadRepositoryFileRequest, CancellationToken)
public virtual Task<ReadRepositoryFileResponse> ReadRepositoryFileAsync(ReadRepositoryFileRequest request, CancellationToken cancellationToken)Returns the contents of a file (inside a Repository). The Repository
must not have a value for git_remote_settings.url.
| Parameters | |
|---|---|
| Name | Description |
request |
ReadRepositoryFileRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReadRepositoryFileResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ReadRepositoryFileRequest request = new gcdv::ReadRepositoryFileRequest
{
RepositoryName = gcdv::RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
CommitSha = "",
Path = "",
};
// Make the request
gcdv::ReadRepositoryFileResponse response = await dataformClient.ReadRepositoryFileAsync(request);
RemoveDirectory(RemoveDirectoryRequest, CallSettings)
public virtual RemoveDirectoryResponse RemoveDirectory(RemoveDirectoryRequest request, CallSettings callSettings = null)Deletes a directory (inside a Workspace) and all of its contents.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveDirectoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
RemoveDirectoryResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::RemoveDirectoryRequest request = new gcdv::RemoveDirectoryRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
gcdv::RemoveDirectoryResponse response = dataformClient.RemoveDirectory(request);
RemoveDirectoryAsync(RemoveDirectoryRequest, CallSettings)
public virtual Task<RemoveDirectoryResponse> RemoveDirectoryAsync(RemoveDirectoryRequest request, CallSettings callSettings = null)Deletes a directory (inside a Workspace) and all of its contents.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveDirectoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRemoveDirectoryResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RemoveDirectoryRequest request = new gcdv::RemoveDirectoryRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
gcdv::RemoveDirectoryResponse response = await dataformClient.RemoveDirectoryAsync(request);
RemoveDirectoryAsync(RemoveDirectoryRequest, CancellationToken)
public virtual Task<RemoveDirectoryResponse> RemoveDirectoryAsync(RemoveDirectoryRequest request, CancellationToken cancellationToken)Deletes a directory (inside a Workspace) and all of its contents.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveDirectoryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRemoveDirectoryResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RemoveDirectoryRequest request = new gcdv::RemoveDirectoryRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
gcdv::RemoveDirectoryResponse response = await dataformClient.RemoveDirectoryAsync(request);
RemoveFile(RemoveFileRequest, CallSettings)
public virtual RemoveFileResponse RemoveFile(RemoveFileRequest request, CallSettings callSettings = null)Deletes a file (inside a Workspace).
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
RemoveFileResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::RemoveFileRequest request = new gcdv::RemoveFileRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
gcdv::RemoveFileResponse response = dataformClient.RemoveFile(request);
RemoveFileAsync(RemoveFileRequest, CallSettings)
public virtual Task<RemoveFileResponse> RemoveFileAsync(RemoveFileRequest request, CallSettings callSettings = null)Deletes a file (inside a Workspace).
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRemoveFileResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RemoveFileRequest request = new gcdv::RemoveFileRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
gcdv::RemoveFileResponse response = await dataformClient.RemoveFileAsync(request);
RemoveFileAsync(RemoveFileRequest, CancellationToken)
public virtual Task<RemoveFileResponse> RemoveFileAsync(RemoveFileRequest request, CancellationToken cancellationToken)Deletes a file (inside a Workspace).
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveFileRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRemoveFileResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::RemoveFileRequest request = new gcdv::RemoveFileRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
gcdv::RemoveFileResponse response = await dataformClient.RemoveFileAsync(request);
ResetWorkspaceChanges(ResetWorkspaceChangesRequest, CallSettings)
public virtual ResetWorkspaceChangesResponse ResetWorkspaceChanges(ResetWorkspaceChangesRequest request, CallSettings callSettings = null)Performs a Git reset for uncommitted files in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
ResetWorkspaceChangesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ResetWorkspaceChangesResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::ResetWorkspaceChangesRequest request = new gcdv::ResetWorkspaceChangesRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Paths = { "", },
Clean = false,
};
// Make the request
gcdv::ResetWorkspaceChangesResponse response = dataformClient.ResetWorkspaceChanges(request);
ResetWorkspaceChangesAsync(ResetWorkspaceChangesRequest, CallSettings)
public virtual Task<ResetWorkspaceChangesResponse> ResetWorkspaceChangesAsync(ResetWorkspaceChangesRequest request, CallSettings callSettings = null)Performs a Git reset for uncommitted files in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
ResetWorkspaceChangesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskResetWorkspaceChangesResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ResetWorkspaceChangesRequest request = new gcdv::ResetWorkspaceChangesRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Paths = { "", },
Clean = false,
};
// Make the request
gcdv::ResetWorkspaceChangesResponse response = await dataformClient.ResetWorkspaceChangesAsync(request);
ResetWorkspaceChangesAsync(ResetWorkspaceChangesRequest, CancellationToken)
public virtual Task<ResetWorkspaceChangesResponse> ResetWorkspaceChangesAsync(ResetWorkspaceChangesRequest request, CancellationToken cancellationToken)Performs a Git reset for uncommitted files in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
ResetWorkspaceChangesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskResetWorkspaceChangesResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ResetWorkspaceChangesRequest request = new gcdv::ResetWorkspaceChangesRequest
{
WorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Paths = { "", },
Clean = false,
};
// Make the request
gcdv::ResetWorkspaceChangesResponse response = await dataformClient.ResetWorkspaceChangesAsync(request);
SearchFiles(SearchFilesRequest, CallSettings)
public virtual PagedEnumerable<SearchFilesResponse, SearchResult> SearchFiles(SearchFilesRequest request, CallSettings callSettings = null)Finds the contents of a given Workspace directory by filter.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchFilesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableSearchFilesResponseSearchResult |
A pageable sequence of SearchResult resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::SearchFilesRequest request = new gcdv::SearchFilesRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Filter = "",
};
// Make the request
PagedEnumerable<gcdv::SearchFilesResponse, gcdv::SearchResult> response = dataformClient.SearchFiles(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::SearchResult item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::SearchFilesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::SearchResult item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::SearchResult> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::SearchResult item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchFilesAsync(SearchFilesRequest, CallSettings)
public virtual PagedAsyncEnumerable<SearchFilesResponse, SearchResult> SearchFilesAsync(SearchFilesRequest request, CallSettings callSettings = null)Finds the contents of a given Workspace directory by filter.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchFilesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableSearchFilesResponseSearchResult |
A pageable asynchronous sequence of SearchResult resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::SearchFilesRequest request = new gcdv::SearchFilesRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Filter = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::SearchFilesResponse, gcdv::SearchResult> response = dataformClient.SearchFilesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::SearchResult item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::SearchFilesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::SearchResult item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::SearchResult> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::SearchResult item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchTeamFolders(SearchTeamFoldersRequest, CallSettings)
public virtual PagedEnumerable<SearchTeamFoldersResponse, SearchTeamFoldersResponse.Types.TeamFolderSearchResult> SearchTeamFolders(SearchTeamFoldersRequest request, CallSettings callSettings = null)Returns all TeamFolders in a given location that the caller has access to and match the provided filter.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchTeamFoldersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableSearchTeamFoldersResponseSearchTeamFoldersResponseTypesTeamFolderSearchResult |
A pageable sequence of SearchTeamFoldersResponse.Types.TeamFolderSearchResult resources. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::SearchTeamFoldersRequest request = new gcdv::SearchTeamFoldersRequest
{
LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
OrderBy = "",
Filter = "",
};
// Make the request
PagedEnumerable<gcdv::SearchTeamFoldersResponse, gcdv::SearchTeamFoldersResponse.Types.TeamFolderSearchResult> response = dataformClient.SearchTeamFolders(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (gcdv::SearchTeamFoldersResponse.Types.TeamFolderSearchResult item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (gcdv::SearchTeamFoldersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::SearchTeamFoldersResponse.Types.TeamFolderSearchResult item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::SearchTeamFoldersResponse.Types.TeamFolderSearchResult> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::SearchTeamFoldersResponse.Types.TeamFolderSearchResult item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchTeamFoldersAsync(SearchTeamFoldersRequest, CallSettings)
public virtual PagedAsyncEnumerable<SearchTeamFoldersResponse, SearchTeamFoldersResponse.Types.TeamFolderSearchResult> SearchTeamFoldersAsync(SearchTeamFoldersRequest request, CallSettings callSettings = null)Returns all TeamFolders in a given location that the caller has access to and match the provided filter.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchTeamFoldersRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableSearchTeamFoldersResponseSearchTeamFoldersResponseTypesTeamFolderSearchResult |
A pageable asynchronous sequence of SearchTeamFoldersResponse.Types.TeamFolderSearchResult resources. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::SearchTeamFoldersRequest request = new gcdv::SearchTeamFoldersRequest
{
LocationAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
OrderBy = "",
Filter = "",
};
// Make the request
PagedAsyncEnumerable<gcdv::SearchTeamFoldersResponse, gcdv::SearchTeamFoldersResponse.Types.TeamFolderSearchResult> response = dataformClient.SearchTeamFoldersAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await foreach (gcdv::SearchTeamFoldersResponse.Types.TeamFolderSearchResult item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
await foreach (gcdv::SearchTeamFoldersResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (gcdv::SearchTeamFoldersResponse.Types.TeamFolderSearchResult item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<gcdv::SearchTeamFoldersResponse.Types.TeamFolderSearchResult> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (gcdv::SearchTeamFoldersResponse.Types.TeamFolderSearchResult item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SetIamPolicy(SetIamPolicyRequest, CallSettings)
public virtual Policy SetIamPolicy(SetIamPolicyRequest request, CallSettings callSettings = null)Sets the access control policy on the specified resource. Replaces any existing policy.
Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
SetIamPolicyRequest request = new SetIamPolicyRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Policy = new Policy(),
UpdateMask = new FieldMask(),
};
// Make the request
Policy response = dataformClient.SetIamPolicy(request);
SetIamPolicyAsync(SetIamPolicyRequest, CallSettings)
public virtual Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallSettings callSettings = null)Sets the access control policy on the specified resource. Replaces any existing policy.
Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
SetIamPolicyRequest request = new SetIamPolicyRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Policy = new Policy(),
UpdateMask = new FieldMask(),
};
// Make the request
Policy response = await dataformClient.SetIamPolicyAsync(request);
SetIamPolicyAsync(SetIamPolicyRequest, CancellationToken)
public virtual Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CancellationToken cancellationToken)Sets the access control policy on the specified resource. Replaces any existing policy.
Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
SetIamPolicyRequest request = new SetIamPolicyRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Policy = new Policy(),
UpdateMask = new FieldMask(),
};
// Make the request
Policy response = await dataformClient.SetIamPolicyAsync(request);
ShutdownDefaultChannelsAsync()
public static Task ShutdownDefaultChannelsAsync()Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
| Returns | |
|---|---|
| Type | Description |
Task |
A task representing the asynchronous shutdown operation. |
After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.
TestIamPermissions(TestIamPermissionsRequest, CallSettings)
public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallSettings callSettings = null)Returns permissions that a caller has on the specified resource.
If the resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.
Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
TestIamPermissionsRequest request = new TestIamPermissionsRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Permissions = { "", },
};
// Make the request
TestIamPermissionsResponse response = dataformClient.TestIamPermissions(request);
TestIamPermissionsAsync(TestIamPermissionsRequest, CallSettings)
public virtual Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallSettings callSettings = null)Returns permissions that a caller has on the specified resource.
If the resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.
Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTestIamPermissionsResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
TestIamPermissionsRequest request = new TestIamPermissionsRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Permissions = { "", },
};
// Make the request
TestIamPermissionsResponse response = await dataformClient.TestIamPermissionsAsync(request);
TestIamPermissionsAsync(TestIamPermissionsRequest, CancellationToken)
public virtual Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CancellationToken cancellationToken)Returns permissions that a caller has on the specified resource.
If the resource does not exist, this will return an empty set of
permissions, not a NOT_FOUND error.
Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTestIamPermissionsResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
TestIamPermissionsRequest request = new TestIamPermissionsRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Permissions = { "", },
};
// Make the request
TestIamPermissionsResponse response = await dataformClient.TestIamPermissionsAsync(request);
UpdateConfig(Config, FieldMask, CallSettings)
public virtual Config UpdateConfig(Config config, FieldMask updateMask, CallSettings callSettings = null)Update default config for a given project and location.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
config |
ConfigRequired. The config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the config. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Config |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::Config config = new gcdv::Config();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::Config response = dataformClient.UpdateConfig(config, updateMask);
UpdateConfig(UpdateConfigRequest, CallSettings)
public virtual Config UpdateConfig(UpdateConfigRequest request, CallSettings callSettings = null)Update default config for a given project and location.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Config |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::UpdateConfigRequest request = new gcdv::UpdateConfigRequest
{
Config = new gcdv::Config(),
UpdateMask = new FieldMask(),
};
// Make the request
gcdv::Config response = dataformClient.UpdateConfig(request);
UpdateConfigAsync(Config, FieldMask, CallSettings)
public virtual Task<Config> UpdateConfigAsync(Config config, FieldMask updateMask, CallSettings callSettings = null)Update default config for a given project and location.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
config |
ConfigRequired. The config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the config. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::Config config = new gcdv::Config();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::Config response = await dataformClient.UpdateConfigAsync(config, updateMask);
UpdateConfigAsync(Config, FieldMask, CancellationToken)
public virtual Task<Config> UpdateConfigAsync(Config config, FieldMask updateMask, CancellationToken cancellationToken)Update default config for a given project and location.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
config |
ConfigRequired. The config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the config. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::Config config = new gcdv::Config();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::Config response = await dataformClient.UpdateConfigAsync(config, updateMask);
UpdateConfigAsync(UpdateConfigRequest, CallSettings)
public virtual Task<Config> UpdateConfigAsync(UpdateConfigRequest request, CallSettings callSettings = null)Update default config for a given project and location.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateConfigRequest request = new gcdv::UpdateConfigRequest
{
Config = new gcdv::Config(),
UpdateMask = new FieldMask(),
};
// Make the request
gcdv::Config response = await dataformClient.UpdateConfigAsync(request);
UpdateConfigAsync(UpdateConfigRequest, CancellationToken)
public virtual Task<Config> UpdateConfigAsync(UpdateConfigRequest request, CancellationToken cancellationToken)Update default config for a given project and location.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateConfigRequest request = new gcdv::UpdateConfigRequest
{
Config = new gcdv::Config(),
UpdateMask = new FieldMask(),
};
// Make the request
gcdv::Config response = await dataformClient.UpdateConfigAsync(request);
UpdateFolder(Folder, FieldMask, CallSettings)
public virtual Folder UpdateFolder(Folder folder, FieldMask updateMask, CallSettings callSettings = null)Updates a single Folder.
| Parameters | |
|---|---|
| Name | Description |
folder |
FolderRequired. The updated Folder. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the Folder. If left unset, all fields that can be updated, will be updated. A few fields cannot be updated and will be ignored if specified in the update_mask (e.g. parent_name, team_folder_name). |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Folder |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::Folder folder = new gcdv::Folder();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::Folder response = dataformClient.UpdateFolder(folder, updateMask);
UpdateFolder(UpdateFolderRequest, CallSettings)
public virtual Folder UpdateFolder(UpdateFolderRequest request, CallSettings callSettings = null)Updates a single Folder.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Folder |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::UpdateFolderRequest request = new gcdv::UpdateFolderRequest
{
UpdateMask = new FieldMask(),
Folder = new gcdv::Folder(),
};
// Make the request
gcdv::Folder response = dataformClient.UpdateFolder(request);
UpdateFolderAsync(Folder, FieldMask, CallSettings)
public virtual Task<Folder> UpdateFolderAsync(Folder folder, FieldMask updateMask, CallSettings callSettings = null)Updates a single Folder.
| Parameters | |
|---|---|
| Name | Description |
folder |
FolderRequired. The updated Folder. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the Folder. If left unset, all fields that can be updated, will be updated. A few fields cannot be updated and will be ignored if specified in the update_mask (e.g. parent_name, team_folder_name). |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::Folder folder = new gcdv::Folder();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::Folder response = await dataformClient.UpdateFolderAsync(folder, updateMask);
UpdateFolderAsync(Folder, FieldMask, CancellationToken)
public virtual Task<Folder> UpdateFolderAsync(Folder folder, FieldMask updateMask, CancellationToken cancellationToken)Updates a single Folder.
| Parameters | |
|---|---|
| Name | Description |
folder |
FolderRequired. The updated Folder. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the Folder. If left unset, all fields that can be updated, will be updated. A few fields cannot be updated and will be ignored if specified in the update_mask (e.g. parent_name, team_folder_name). |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::Folder folder = new gcdv::Folder();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::Folder response = await dataformClient.UpdateFolderAsync(folder, updateMask);
UpdateFolderAsync(UpdateFolderRequest, CallSettings)
public virtual Task<Folder> UpdateFolderAsync(UpdateFolderRequest request, CallSettings callSettings = null)Updates a single Folder.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateFolderRequest request = new gcdv::UpdateFolderRequest
{
UpdateMask = new FieldMask(),
Folder = new gcdv::Folder(),
};
// Make the request
gcdv::Folder response = await dataformClient.UpdateFolderAsync(request);
UpdateFolderAsync(UpdateFolderRequest, CancellationToken)
public virtual Task<Folder> UpdateFolderAsync(UpdateFolderRequest request, CancellationToken cancellationToken)Updates a single Folder.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateFolderRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateFolderRequest request = new gcdv::UpdateFolderRequest
{
UpdateMask = new FieldMask(),
Folder = new gcdv::Folder(),
};
// Make the request
gcdv::Folder response = await dataformClient.UpdateFolderAsync(request);
UpdateReleaseConfig(ReleaseConfig, FieldMask, CallSettings)
public virtual ReleaseConfig UpdateReleaseConfig(ReleaseConfig releaseConfig, FieldMask updateMask, CallSettings callSettings = null)Updates a single ReleaseConfig.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
releaseConfig |
ReleaseConfigRequired. The release config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReleaseConfig |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::ReleaseConfig releaseConfig = new gcdv::ReleaseConfig();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::ReleaseConfig response = dataformClient.UpdateReleaseConfig(releaseConfig, updateMask);
UpdateReleaseConfig(UpdateReleaseConfigRequest, CallSettings)
public virtual ReleaseConfig UpdateReleaseConfig(UpdateReleaseConfigRequest request, CallSettings callSettings = null)Updates a single ReleaseConfig.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateReleaseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReleaseConfig |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::UpdateReleaseConfigRequest request = new gcdv::UpdateReleaseConfigRequest
{
UpdateMask = new FieldMask(),
ReleaseConfig = new gcdv::ReleaseConfig(),
};
// Make the request
gcdv::ReleaseConfig response = dataformClient.UpdateReleaseConfig(request);
UpdateReleaseConfigAsync(ReleaseConfig, FieldMask, CallSettings)
public virtual Task<ReleaseConfig> UpdateReleaseConfigAsync(ReleaseConfig releaseConfig, FieldMask updateMask, CallSettings callSettings = null)Updates a single ReleaseConfig.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
releaseConfig |
ReleaseConfigRequired. The release config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ReleaseConfig releaseConfig = new gcdv::ReleaseConfig();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::ReleaseConfig response = await dataformClient.UpdateReleaseConfigAsync(releaseConfig, updateMask);
UpdateReleaseConfigAsync(ReleaseConfig, FieldMask, CancellationToken)
public virtual Task<ReleaseConfig> UpdateReleaseConfigAsync(ReleaseConfig releaseConfig, FieldMask updateMask, CancellationToken cancellationToken)Updates a single ReleaseConfig.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
releaseConfig |
ReleaseConfigRequired. The release config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::ReleaseConfig releaseConfig = new gcdv::ReleaseConfig();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::ReleaseConfig response = await dataformClient.UpdateReleaseConfigAsync(releaseConfig, updateMask);
UpdateReleaseConfigAsync(UpdateReleaseConfigRequest, CallSettings)
public virtual Task<ReleaseConfig> UpdateReleaseConfigAsync(UpdateReleaseConfigRequest request, CallSettings callSettings = null)Updates a single ReleaseConfig.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateReleaseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateReleaseConfigRequest request = new gcdv::UpdateReleaseConfigRequest
{
UpdateMask = new FieldMask(),
ReleaseConfig = new gcdv::ReleaseConfig(),
};
// Make the request
gcdv::ReleaseConfig response = await dataformClient.UpdateReleaseConfigAsync(request);
UpdateReleaseConfigAsync(UpdateReleaseConfigRequest, CancellationToken)
public virtual Task<ReleaseConfig> UpdateReleaseConfigAsync(UpdateReleaseConfigRequest request, CancellationToken cancellationToken)Updates a single ReleaseConfig.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateReleaseConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateReleaseConfigRequest request = new gcdv::UpdateReleaseConfigRequest
{
UpdateMask = new FieldMask(),
ReleaseConfig = new gcdv::ReleaseConfig(),
};
// Make the request
gcdv::ReleaseConfig response = await dataformClient.UpdateReleaseConfigAsync(request);
UpdateRepository(Repository, FieldMask, CallSettings)
public virtual Repository UpdateRepository(Repository repository, FieldMask updateMask, CallSettings callSettings = null)Updates a single Repository.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
repository |
RepositoryRequired. The repository to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::Repository repository = new gcdv::Repository();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::Repository response = dataformClient.UpdateRepository(repository, updateMask);
UpdateRepository(UpdateRepositoryRequest, CallSettings)
public virtual Repository UpdateRepository(UpdateRepositoryRequest request, CallSettings callSettings = null)Updates a single Repository.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::UpdateRepositoryRequest request = new gcdv::UpdateRepositoryRequest
{
UpdateMask = new FieldMask(),
Repository = new gcdv::Repository(),
};
// Make the request
gcdv::Repository response = dataformClient.UpdateRepository(request);
UpdateRepositoryAsync(Repository, FieldMask, CallSettings)
public virtual Task<Repository> UpdateRepositoryAsync(Repository repository, FieldMask updateMask, CallSettings callSettings = null)Updates a single Repository.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
repository |
RepositoryRequired. The repository to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::Repository repository = new gcdv::Repository();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::Repository response = await dataformClient.UpdateRepositoryAsync(repository, updateMask);
UpdateRepositoryAsync(Repository, FieldMask, CancellationToken)
public virtual Task<Repository> UpdateRepositoryAsync(Repository repository, FieldMask updateMask, CancellationToken cancellationToken)Updates a single Repository.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
repository |
RepositoryRequired. The repository to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::Repository repository = new gcdv::Repository();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::Repository response = await dataformClient.UpdateRepositoryAsync(repository, updateMask);
UpdateRepositoryAsync(UpdateRepositoryRequest, CallSettings)
public virtual Task<Repository> UpdateRepositoryAsync(UpdateRepositoryRequest request, CallSettings callSettings = null)Updates a single Repository.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateRepositoryRequest request = new gcdv::UpdateRepositoryRequest
{
UpdateMask = new FieldMask(),
Repository = new gcdv::Repository(),
};
// Make the request
gcdv::Repository response = await dataformClient.UpdateRepositoryAsync(request);
UpdateRepositoryAsync(UpdateRepositoryRequest, CancellationToken)
public virtual Task<Repository> UpdateRepositoryAsync(UpdateRepositoryRequest request, CancellationToken cancellationToken)Updates a single Repository.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateRepositoryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateRepositoryRequest request = new gcdv::UpdateRepositoryRequest
{
UpdateMask = new FieldMask(),
Repository = new gcdv::Repository(),
};
// Make the request
gcdv::Repository response = await dataformClient.UpdateRepositoryAsync(request);
UpdateTeamFolder(TeamFolder, FieldMask, CallSettings)
public virtual TeamFolder UpdateTeamFolder(TeamFolder teamFolder, FieldMask updateMask, CallSettings callSettings = null)Updates a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
teamFolder |
TeamFolderRequired. The updated TeamFolder. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the Folder. If left unset, all fields will be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TeamFolder |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::TeamFolder teamFolder = new gcdv::TeamFolder();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::TeamFolder response = dataformClient.UpdateTeamFolder(teamFolder, updateMask);
UpdateTeamFolder(UpdateTeamFolderRequest, CallSettings)
public virtual TeamFolder UpdateTeamFolder(UpdateTeamFolderRequest request, CallSettings callSettings = null)Updates a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTeamFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TeamFolder |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::UpdateTeamFolderRequest request = new gcdv::UpdateTeamFolderRequest
{
UpdateMask = new FieldMask(),
TeamFolder = new gcdv::TeamFolder(),
};
// Make the request
gcdv::TeamFolder response = dataformClient.UpdateTeamFolder(request);
UpdateTeamFolderAsync(TeamFolder, FieldMask, CallSettings)
public virtual Task<TeamFolder> UpdateTeamFolderAsync(TeamFolder teamFolder, FieldMask updateMask, CallSettings callSettings = null)Updates a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
teamFolder |
TeamFolderRequired. The updated TeamFolder. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the Folder. If left unset, all fields will be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTeamFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::TeamFolder teamFolder = new gcdv::TeamFolder();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::TeamFolder response = await dataformClient.UpdateTeamFolderAsync(teamFolder, updateMask);
UpdateTeamFolderAsync(TeamFolder, FieldMask, CancellationToken)
public virtual Task<TeamFolder> UpdateTeamFolderAsync(TeamFolder teamFolder, FieldMask updateMask, CancellationToken cancellationToken)Updates a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
teamFolder |
TeamFolderRequired. The updated TeamFolder. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the Folder. If left unset, all fields will be updated. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTeamFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::TeamFolder teamFolder = new gcdv::TeamFolder();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::TeamFolder response = await dataformClient.UpdateTeamFolderAsync(teamFolder, updateMask);
UpdateTeamFolderAsync(UpdateTeamFolderRequest, CallSettings)
public virtual Task<TeamFolder> UpdateTeamFolderAsync(UpdateTeamFolderRequest request, CallSettings callSettings = null)Updates a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTeamFolderRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTeamFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateTeamFolderRequest request = new gcdv::UpdateTeamFolderRequest
{
UpdateMask = new FieldMask(),
TeamFolder = new gcdv::TeamFolder(),
};
// Make the request
gcdv::TeamFolder response = await dataformClient.UpdateTeamFolderAsync(request);
UpdateTeamFolderAsync(UpdateTeamFolderRequest, CancellationToken)
public virtual Task<TeamFolder> UpdateTeamFolderAsync(UpdateTeamFolderRequest request, CancellationToken cancellationToken)Updates a single TeamFolder.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateTeamFolderRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskTeamFolder |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateTeamFolderRequest request = new gcdv::UpdateTeamFolderRequest
{
UpdateMask = new FieldMask(),
TeamFolder = new gcdv::TeamFolder(),
};
// Make the request
gcdv::TeamFolder response = await dataformClient.UpdateTeamFolderAsync(request);
UpdateWorkflowConfig(UpdateWorkflowConfigRequest, CallSettings)
public virtual WorkflowConfig UpdateWorkflowConfig(UpdateWorkflowConfigRequest request, CallSettings callSettings = null)Updates a single WorkflowConfig.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowConfig |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::UpdateWorkflowConfigRequest request = new gcdv::UpdateWorkflowConfigRequest
{
UpdateMask = new FieldMask(),
WorkflowConfig = new gcdv::WorkflowConfig(),
};
// Make the request
gcdv::WorkflowConfig response = dataformClient.UpdateWorkflowConfig(request);
UpdateWorkflowConfig(WorkflowConfig, FieldMask, CallSettings)
public virtual WorkflowConfig UpdateWorkflowConfig(WorkflowConfig workflowConfig, FieldMask updateMask, CallSettings callSettings = null)Updates a single WorkflowConfig.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
workflowConfig |
WorkflowConfigRequired. The workflow config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowConfig |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::WorkflowConfig workflowConfig = new gcdv::WorkflowConfig();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::WorkflowConfig response = dataformClient.UpdateWorkflowConfig(workflowConfig, updateMask);
UpdateWorkflowConfigAsync(UpdateWorkflowConfigRequest, CallSettings)
public virtual Task<WorkflowConfig> UpdateWorkflowConfigAsync(UpdateWorkflowConfigRequest request, CallSettings callSettings = null)Updates a single WorkflowConfig.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateWorkflowConfigRequest request = new gcdv::UpdateWorkflowConfigRequest
{
UpdateMask = new FieldMask(),
WorkflowConfig = new gcdv::WorkflowConfig(),
};
// Make the request
gcdv::WorkflowConfig response = await dataformClient.UpdateWorkflowConfigAsync(request);
UpdateWorkflowConfigAsync(UpdateWorkflowConfigRequest, CancellationToken)
public virtual Task<WorkflowConfig> UpdateWorkflowConfigAsync(UpdateWorkflowConfigRequest request, CancellationToken cancellationToken)Updates a single WorkflowConfig.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::UpdateWorkflowConfigRequest request = new gcdv::UpdateWorkflowConfigRequest
{
UpdateMask = new FieldMask(),
WorkflowConfig = new gcdv::WorkflowConfig(),
};
// Make the request
gcdv::WorkflowConfig response = await dataformClient.UpdateWorkflowConfigAsync(request);
UpdateWorkflowConfigAsync(WorkflowConfig, FieldMask, CallSettings)
public virtual Task<WorkflowConfig> UpdateWorkflowConfigAsync(WorkflowConfig workflowConfig, FieldMask updateMask, CallSettings callSettings = null)Updates a single WorkflowConfig.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
workflowConfig |
WorkflowConfigRequired. The workflow config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::WorkflowConfig workflowConfig = new gcdv::WorkflowConfig();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::WorkflowConfig response = await dataformClient.UpdateWorkflowConfigAsync(workflowConfig, updateMask);
UpdateWorkflowConfigAsync(WorkflowConfig, FieldMask, CancellationToken)
public virtual Task<WorkflowConfig> UpdateWorkflowConfigAsync(WorkflowConfig workflowConfig, FieldMask updateMask, CancellationToken cancellationToken)Updates a single WorkflowConfig.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
workflowConfig |
WorkflowConfigRequired. The workflow config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::WorkflowConfig workflowConfig = new gcdv::WorkflowConfig();
FieldMask updateMask = new FieldMask();
// Make the request
gcdv::WorkflowConfig response = await dataformClient.UpdateWorkflowConfigAsync(workflowConfig, updateMask);
WriteFile(WriteFileRequest, CallSettings)
public virtual WriteFileResponse WriteFile(WriteFileRequest request, CallSettings callSettings = null)Writes to a file (inside a Workspace).
| Parameters | |
|---|---|
| Name | Description |
request |
WriteFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WriteFileResponse |
The RPC response. |
// Create client
gcdv::DataformClient dataformClient = gcdv::DataformClient.Create();
// Initialize request argument(s)
gcdv::WriteFileRequest request = new gcdv::WriteFileRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
Contents = ByteString.Empty,
};
// Make the request
gcdv::WriteFileResponse response = dataformClient.WriteFile(request);
WriteFileAsync(WriteFileRequest, CallSettings)
public virtual Task<WriteFileResponse> WriteFileAsync(WriteFileRequest request, CallSettings callSettings = null)Writes to a file (inside a Workspace).
| Parameters | |
|---|---|
| Name | Description |
request |
WriteFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWriteFileResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::WriteFileRequest request = new gcdv::WriteFileRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
Contents = ByteString.Empty,
};
// Make the request
gcdv::WriteFileResponse response = await dataformClient.WriteFileAsync(request);
WriteFileAsync(WriteFileRequest, CancellationToken)
public virtual Task<WriteFileResponse> WriteFileAsync(WriteFileRequest request, CancellationToken cancellationToken)Writes to a file (inside a Workspace).
| Parameters | |
|---|---|
| Name | Description |
request |
WriteFileRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWriteFileResponse |
A Task containing the RPC response. |
// Create client
gcdv::DataformClient dataformClient = await gcdv::DataformClient.CreateAsync();
// Initialize request argument(s)
gcdv::WriteFileRequest request = new gcdv::WriteFileRequest
{
WorkspaceAsWorkspaceName = gcdv::WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
Contents = ByteString.Empty,
};
// Make the request
gcdv::WriteFileResponse response = await dataformClient.WriteFileAsync(request);