Dataform v1beta1 API - Class DataformClient (1.0.0-beta05)

public abstract class DataformClient

Reference documentation and code samples for the Dataform v1beta1 API class DataformClient.

Dataform client wrapper, for convenient use.

Inheritance

object > DataformClient

Derived Types

Namespace

Google.Cloud.Dataform.V1Beta1

Assembly

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
Remarks

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

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 void CancelWorkflowInvocation(CancelWorkflowInvocationRequest request, CallSettings callSettings = null)

Requests cancellation of a running WorkflowInvocation.

Parameters
Name Description
request CancelWorkflowInvocationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
CancelWorkflowInvocationRequest request = new CancelWorkflowInvocationRequest
{
    WorkflowInvocationName = WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
dataformClient.CancelWorkflowInvocation(request);

CancelWorkflowInvocationAsync(CancelWorkflowInvocationRequest, CallSettings)

public virtual Task CancelWorkflowInvocationAsync(CancelWorkflowInvocationRequest request, CallSettings callSettings = null)

Requests cancellation of a running WorkflowInvocation.

Parameters
Name Description
request CancelWorkflowInvocationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CancelWorkflowInvocationRequest request = new CancelWorkflowInvocationRequest
{
    WorkflowInvocationName = WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
await dataformClient.CancelWorkflowInvocationAsync(request);

CancelWorkflowInvocationAsync(CancelWorkflowInvocationRequest, CancellationToken)

public virtual Task CancelWorkflowInvocationAsync(CancelWorkflowInvocationRequest request, CancellationToken cancellationToken)

Requests cancellation of a running WorkflowInvocation.

Parameters
Name Description
request CancelWorkflowInvocationRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CancelWorkflowInvocationRequest request = new CancelWorkflowInvocationRequest
{
    WorkflowInvocationName = WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
await dataformClient.CancelWorkflowInvocationAsync(request);

CommitRepositoryChanges(CommitRepositoryChangesRequest, CallSettings)

public virtual void 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 CommitRepositoryChangesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
CommitRepositoryChangesRequest request = new CommitRepositoryChangesRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    CommitMetadata = new CommitMetadata(),
    FileOperations =
    {
        {
            "",
            new CommitRepositoryChangesRequest.Types.FileOperation()
        },
    },
    RequiredHeadCommitSha = "",
};
// Make the request
dataformClient.CommitRepositoryChanges(request);

CommitRepositoryChangesAsync(CommitRepositoryChangesRequest, CallSettings)

public virtual Task 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 CommitRepositoryChangesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CommitRepositoryChangesRequest request = new CommitRepositoryChangesRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    CommitMetadata = new CommitMetadata(),
    FileOperations =
    {
        {
            "",
            new CommitRepositoryChangesRequest.Types.FileOperation()
        },
    },
    RequiredHeadCommitSha = "",
};
// Make the request
await dataformClient.CommitRepositoryChangesAsync(request);

CommitRepositoryChangesAsync(CommitRepositoryChangesRequest, CancellationToken)

public virtual Task 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 CommitRepositoryChangesRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CommitRepositoryChangesRequest request = new CommitRepositoryChangesRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    CommitMetadata = new CommitMetadata(),
    FileOperations =
    {
        {
            "",
            new CommitRepositoryChangesRequest.Types.FileOperation()
        },
    },
    RequiredHeadCommitSha = "",
};
// Make the request
await dataformClient.CommitRepositoryChangesAsync(request);

CommitWorkspaceChanges(CommitWorkspaceChangesRequest, CallSettings)

public virtual void CommitWorkspaceChanges(CommitWorkspaceChangesRequest request, CallSettings callSettings = null)

Applies a Git commit for uncommitted files in a Workspace.

Parameters
Name Description
request CommitWorkspaceChangesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
CommitWorkspaceChangesRequest request = new CommitWorkspaceChangesRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    CommitMessage = "",
    Paths = { "", },
    Author = new CommitAuthor(),
};
// Make the request
dataformClient.CommitWorkspaceChanges(request);

CommitWorkspaceChangesAsync(CommitWorkspaceChangesRequest, CallSettings)

public virtual Task CommitWorkspaceChangesAsync(CommitWorkspaceChangesRequest request, CallSettings callSettings = null)

Applies a Git commit for uncommitted files in a Workspace.

Parameters
Name Description
request CommitWorkspaceChangesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CommitWorkspaceChangesRequest request = new CommitWorkspaceChangesRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    CommitMessage = "",
    Paths = { "", },
    Author = new CommitAuthor(),
};
// Make the request
await dataformClient.CommitWorkspaceChangesAsync(request);

CommitWorkspaceChangesAsync(CommitWorkspaceChangesRequest, CancellationToken)

public virtual Task CommitWorkspaceChangesAsync(CommitWorkspaceChangesRequest request, CancellationToken cancellationToken)

Applies a Git commit for uncommitted files in a Workspace.

Parameters
Name Description
request CommitWorkspaceChangesRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CommitWorkspaceChangesRequest request = new CommitWorkspaceChangesRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    CommitMessage = "",
    Paths = { "", },
    Author = new CommitAuthor(),
};
// Make the request
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 ComputeRepositoryAccessTokenStatusRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ComputeRepositoryAccessTokenStatusResponse

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
ComputeRepositoryAccessTokenStatusRequest request = new ComputeRepositoryAccessTokenStatusRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
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 ComputeRepositoryAccessTokenStatusRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskComputeRepositoryAccessTokenStatusResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ComputeRepositoryAccessTokenStatusRequest request = new ComputeRepositoryAccessTokenStatusRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
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 ComputeRepositoryAccessTokenStatusRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskComputeRepositoryAccessTokenStatusResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ComputeRepositoryAccessTokenStatusRequest request = new ComputeRepositoryAccessTokenStatusRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
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 CancellationToken

The 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 CreateCompilationResultRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CompilationResult

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
CreateCompilationResultRequest request = new CreateCompilationResultRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    CompilationResult = new CompilationResult(),
};
// Make the request
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 RepositoryName

Required. The repository in which to create the compilation result. Must be in the format projects/*/locations/*/repositories/*.

compilationResult CompilationResult

Required. The compilation result to create.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CompilationResult

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
CompilationResult compilationResult = new CompilationResult();
// Make the request
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 string

Required. The repository in which to create the compilation result. Must be in the format projects/*/locations/*/repositories/*.

compilationResult CompilationResult

Required. The compilation result to create.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CompilationResult

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
CompilationResult compilationResult = new CompilationResult();
// Make the request
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 CreateCompilationResultRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCompilationResult

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CreateCompilationResultRequest request = new CreateCompilationResultRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    CompilationResult = new CompilationResult(),
};
// Make the request
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 CreateCompilationResultRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCompilationResult

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CreateCompilationResultRequest request = new CreateCompilationResultRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    CompilationResult = new CompilationResult(),
};
// Make the request
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 RepositoryName

Required. The repository in which to create the compilation result. Must be in the format projects/*/locations/*/repositories/*.

compilationResult CompilationResult

Required. The compilation result to create.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCompilationResult

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
CompilationResult compilationResult = new CompilationResult();
// Make the request
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 RepositoryName

Required. The repository in which to create the compilation result. Must be in the format projects/*/locations/*/repositories/*.

compilationResult CompilationResult

Required. The compilation result to create.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCompilationResult

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
CompilationResult compilationResult = new CompilationResult();
// Make the request
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 string

Required. The repository in which to create the compilation result. Must be in the format projects/*/locations/*/repositories/*.

compilationResult CompilationResult

Required. The compilation result to create.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCompilationResult

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
CompilationResult compilationResult = new CompilationResult();
// Make the request
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 string

Required. The repository in which to create the compilation result. Must be in the format projects/*/locations/*/repositories/*.

compilationResult CompilationResult

Required. The compilation result to create.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCompilationResult

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
CompilationResult compilationResult = new CompilationResult();
// Make the request
CompilationResult response = await dataformClient.CreateCompilationResultAsync(parent, compilationResult);

CreateReleaseConfig(CreateReleaseConfigRequest, CallSettings)

public virtual ReleaseConfig CreateReleaseConfig(CreateReleaseConfigRequest request, CallSettings callSettings = null)

Creates a new ReleaseConfig in a given Repository.

Parameters
Name Description
request CreateReleaseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ReleaseConfig

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
CreateReleaseConfigRequest request = new CreateReleaseConfigRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    ReleaseConfig = new ReleaseConfig(),
    ReleaseConfigId = "",
};
// Make the request
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 RepositoryName

Required. The repository in which to create the release config. Must be in the format projects/*/locations/*/repositories/*.

releaseConfig ReleaseConfig

Required. The release config to create.

releaseConfigId string

Required. The ID to use for the release config, which will become the final component of the release config's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ReleaseConfig

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
ReleaseConfig releaseConfig = new ReleaseConfig();
string releaseConfigId = "";
// Make the request
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 string

Required. The repository in which to create the release config. Must be in the format projects/*/locations/*/repositories/*.

releaseConfig ReleaseConfig

Required. The release config to create.

releaseConfigId string

Required. The ID to use for the release config, which will become the final component of the release config's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ReleaseConfig

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
ReleaseConfig releaseConfig = new ReleaseConfig();
string releaseConfigId = "";
// Make the request
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 CreateReleaseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskReleaseConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CreateReleaseConfigRequest request = new CreateReleaseConfigRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    ReleaseConfig = new ReleaseConfig(),
    ReleaseConfigId = "",
};
// Make the request
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 CreateReleaseConfigRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskReleaseConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CreateReleaseConfigRequest request = new CreateReleaseConfigRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    ReleaseConfig = new ReleaseConfig(),
    ReleaseConfigId = "",
};
// Make the request
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 RepositoryName

Required. The repository in which to create the release config. Must be in the format projects/*/locations/*/repositories/*.

releaseConfig ReleaseConfig

Required. The release config to create.

releaseConfigId string

Required. The ID to use for the release config, which will become the final component of the release config's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskReleaseConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
ReleaseConfig releaseConfig = new ReleaseConfig();
string releaseConfigId = "";
// Make the request
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 RepositoryName

Required. The repository in which to create the release config. Must be in the format projects/*/locations/*/repositories/*.

releaseConfig ReleaseConfig

Required. The release config to create.

releaseConfigId string

Required. The ID to use for the release config, which will become the final component of the release config's resource name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskReleaseConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
ReleaseConfig releaseConfig = new ReleaseConfig();
string releaseConfigId = "";
// Make the request
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 string

Required. The repository in which to create the release config. Must be in the format projects/*/locations/*/repositories/*.

releaseConfig ReleaseConfig

Required. The release config to create.

releaseConfigId string

Required. The ID to use for the release config, which will become the final component of the release config's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskReleaseConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
ReleaseConfig releaseConfig = new ReleaseConfig();
string releaseConfigId = "";
// Make the request
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 string

Required. The repository in which to create the release config. Must be in the format projects/*/locations/*/repositories/*.

releaseConfig ReleaseConfig

Required. The release config to create.

releaseConfigId string

Required. The ID to use for the release config, which will become the final component of the release config's resource name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskReleaseConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
ReleaseConfig releaseConfig = new ReleaseConfig();
string releaseConfigId = "";
// Make the request
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 LocationName

Required. The location in which to create the repository. Must be in the format projects/*/locations/*.

repository Repository

Required. The repository to create.

repositoryId string

Required. The ID to use for the repository, which will become the final component of the repository's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Repository

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Repository repository = new Repository();
string repositoryId = "";
// Make the request
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 CreateRepositoryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Repository

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
CreateRepositoryRequest request = new CreateRepositoryRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Repository = new Repository(),
    RepositoryId = "",
};
// Make the request
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 string

Required. The location in which to create the repository. Must be in the format projects/*/locations/*.

repository Repository

Required. The repository to create.

repositoryId string

Required. The ID to use for the repository, which will become the final component of the repository's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Repository

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Repository repository = new Repository();
string repositoryId = "";
// Make the request
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 LocationName

Required. The location in which to create the repository. Must be in the format projects/*/locations/*.

repository Repository

Required. The repository to create.

repositoryId string

Required. The ID to use for the repository, which will become the final component of the repository's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRepository

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Repository repository = new Repository();
string repositoryId = "";
// Make the request
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 LocationName

Required. The location in which to create the repository. Must be in the format projects/*/locations/*.

repository Repository

Required. The repository to create.

repositoryId string

Required. The ID to use for the repository, which will become the final component of the repository's resource name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskRepository

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
Repository repository = new Repository();
string repositoryId = "";
// Make the request
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 CreateRepositoryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRepository

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CreateRepositoryRequest request = new CreateRepositoryRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Repository = new Repository(),
    RepositoryId = "",
};
// Make the request
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 CreateRepositoryRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskRepository

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CreateRepositoryRequest request = new CreateRepositoryRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    Repository = new Repository(),
    RepositoryId = "",
};
// Make the request
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 string

Required. The location in which to create the repository. Must be in the format projects/*/locations/*.

repository Repository

Required. The repository to create.

repositoryId string

Required. The ID to use for the repository, which will become the final component of the repository's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRepository

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Repository repository = new Repository();
string repositoryId = "";
// Make the request
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 string

Required. The location in which to create the repository. Must be in the format projects/*/locations/*.

repository Repository

Required. The repository to create.

repositoryId string

Required. The ID to use for the repository, which will become the final component of the repository's resource name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskRepository

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
Repository repository = new Repository();
string repositoryId = "";
// Make the request
Repository response = await dataformClient.CreateRepositoryAsync(parent, repository, repositoryId);

CreateWorkflowConfig(CreateWorkflowConfigRequest, CallSettings)

public virtual WorkflowConfig CreateWorkflowConfig(CreateWorkflowConfigRequest request, CallSettings callSettings = null)

Creates a new WorkflowConfig in a given Repository.

Parameters
Name Description
request CreateWorkflowConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WorkflowConfig

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
CreateWorkflowConfigRequest request = new CreateWorkflowConfigRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    WorkflowConfig = new WorkflowConfig(),
    WorkflowConfigId = "",
};
// Make the request
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 RepositoryName

Required. The repository in which to create the workflow config. Must be in the format projects/*/locations/*/repositories/*.

workflowConfig WorkflowConfig

Required. The workflow config to create.

workflowConfigId string

Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WorkflowConfig

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
WorkflowConfig workflowConfig = new WorkflowConfig();
string workflowConfigId = "";
// Make the request
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 string

Required. The repository in which to create the workflow config. Must be in the format projects/*/locations/*/repositories/*.

workflowConfig WorkflowConfig

Required. The workflow config to create.

workflowConfigId string

Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WorkflowConfig

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
WorkflowConfig workflowConfig = new WorkflowConfig();
string workflowConfigId = "";
// Make the request
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 CreateWorkflowConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkflowConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CreateWorkflowConfigRequest request = new CreateWorkflowConfigRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    WorkflowConfig = new WorkflowConfig(),
    WorkflowConfigId = "",
};
// Make the request
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 CreateWorkflowConfigRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkflowConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CreateWorkflowConfigRequest request = new CreateWorkflowConfigRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    WorkflowConfig = new WorkflowConfig(),
    WorkflowConfigId = "",
};
// Make the request
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 RepositoryName

Required. The repository in which to create the workflow config. Must be in the format projects/*/locations/*/repositories/*.

workflowConfig WorkflowConfig

Required. The workflow config to create.

workflowConfigId string

Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkflowConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
WorkflowConfig workflowConfig = new WorkflowConfig();
string workflowConfigId = "";
// Make the request
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 RepositoryName

Required. The repository in which to create the workflow config. Must be in the format projects/*/locations/*/repositories/*.

workflowConfig WorkflowConfig

Required. The workflow config to create.

workflowConfigId string

Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkflowConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
WorkflowConfig workflowConfig = new WorkflowConfig();
string workflowConfigId = "";
// Make the request
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 string

Required. The repository in which to create the workflow config. Must be in the format projects/*/locations/*/repositories/*.

workflowConfig WorkflowConfig

Required. The workflow config to create.

workflowConfigId string

Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkflowConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
WorkflowConfig workflowConfig = new WorkflowConfig();
string workflowConfigId = "";
// Make the request
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 string

Required. The repository in which to create the workflow config. Must be in the format projects/*/locations/*/repositories/*.

workflowConfig WorkflowConfig

Required. The workflow config to create.

workflowConfigId string

Required. The ID to use for the workflow config, which will become the final component of the workflow config's resource name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkflowConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
WorkflowConfig workflowConfig = new WorkflowConfig();
string workflowConfigId = "";
// Make the request
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 CreateWorkflowInvocationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WorkflowInvocation

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
CreateWorkflowInvocationRequest request = new CreateWorkflowInvocationRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    WorkflowInvocation = new WorkflowInvocation(),
};
// Make the request
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 RepositoryName

Required. The repository in which to create the workflow invocation. Must be in the format projects/*/locations/*/repositories/*.

workflowInvocation WorkflowInvocation

Required. The workflow invocation resource to create.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WorkflowInvocation

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
WorkflowInvocation workflowInvocation = new WorkflowInvocation();
// Make the request
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 string

Required. The repository in which to create the workflow invocation. Must be in the format projects/*/locations/*/repositories/*.

workflowInvocation WorkflowInvocation

Required. The workflow invocation resource to create.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WorkflowInvocation

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
WorkflowInvocation workflowInvocation = new WorkflowInvocation();
// Make the request
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 CreateWorkflowInvocationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkflowInvocation

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CreateWorkflowInvocationRequest request = new CreateWorkflowInvocationRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    WorkflowInvocation = new WorkflowInvocation(),
};
// Make the request
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 CreateWorkflowInvocationRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkflowInvocation

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CreateWorkflowInvocationRequest request = new CreateWorkflowInvocationRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    WorkflowInvocation = new WorkflowInvocation(),
};
// Make the request
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 RepositoryName

Required. The repository in which to create the workflow invocation. Must be in the format projects/*/locations/*/repositories/*.

workflowInvocation WorkflowInvocation

Required. The workflow invocation resource to create.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkflowInvocation

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
WorkflowInvocation workflowInvocation = new WorkflowInvocation();
// Make the request
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 RepositoryName

Required. The repository in which to create the workflow invocation. Must be in the format projects/*/locations/*/repositories/*.

workflowInvocation WorkflowInvocation

Required. The workflow invocation resource to create.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkflowInvocation

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
WorkflowInvocation workflowInvocation = new WorkflowInvocation();
// Make the request
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 string

Required. The repository in which to create the workflow invocation. Must be in the format projects/*/locations/*/repositories/*.

workflowInvocation WorkflowInvocation

Required. The workflow invocation resource to create.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkflowInvocation

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
WorkflowInvocation workflowInvocation = new WorkflowInvocation();
// Make the request
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 string

Required. The repository in which to create the workflow invocation. Must be in the format projects/*/locations/*/repositories/*.

workflowInvocation WorkflowInvocation

Required. The workflow invocation resource to create.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkflowInvocation

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
WorkflowInvocation workflowInvocation = new WorkflowInvocation();
// Make the request
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 CreateWorkspaceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Workspace

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
CreateWorkspaceRequest request = new CreateWorkspaceRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    Workspace = new Workspace(),
    WorkspaceId = "",
};
// Make the request
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 RepositoryName

Required. The repository in which to create the workspace. Must be in the format projects/*/locations/*/repositories/*.

workspace Workspace

Required. The workspace to create.

workspaceId string

Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Workspace

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
Workspace workspace = new Workspace();
string workspaceId = "";
// Make the request
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 string

Required. The repository in which to create the workspace. Must be in the format projects/*/locations/*/repositories/*.

workspace Workspace

Required. The workspace to create.

workspaceId string

Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Workspace

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
Workspace workspace = new Workspace();
string workspaceId = "";
// Make the request
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 CreateWorkspaceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkspace

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CreateWorkspaceRequest request = new CreateWorkspaceRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    Workspace = new Workspace(),
    WorkspaceId = "",
};
// Make the request
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 CreateWorkspaceRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkspace

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CreateWorkspaceRequest request = new CreateWorkspaceRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    Workspace = new Workspace(),
    WorkspaceId = "",
};
// Make the request
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 RepositoryName

Required. The repository in which to create the workspace. Must be in the format projects/*/locations/*/repositories/*.

workspace Workspace

Required. The workspace to create.

workspaceId string

Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkspace

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
Workspace workspace = new Workspace();
string workspaceId = "";
// Make the request
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 RepositoryName

Required. The repository in which to create the workspace. Must be in the format projects/*/locations/*/repositories/*.

workspace Workspace

Required. The workspace to create.

workspaceId string

Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkspace

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
Workspace workspace = new Workspace();
string workspaceId = "";
// Make the request
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 string

Required. The repository in which to create the workspace. Must be in the format projects/*/locations/*/repositories/*.

workspace Workspace

Required. The workspace to create.

workspaceId string

Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkspace

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
Workspace workspace = new Workspace();
string workspaceId = "";
// Make the request
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 string

Required. The repository in which to create the workspace. Must be in the format projects/*/locations/*/repositories/*.

workspace Workspace

Required. The workspace to create.

workspaceId string

Required. The ID to use for the workspace, which will become the final component of the workspace's resource name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkspace

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
Workspace workspace = new Workspace();
string workspaceId = "";
// Make the request
Workspace response = await dataformClient.CreateWorkspaceAsync(parent, workspace, workspaceId);

DeleteReleaseConfig(DeleteReleaseConfigRequest, CallSettings)

public virtual void DeleteReleaseConfig(DeleteReleaseConfigRequest request, CallSettings callSettings = null)

Deletes a single ReleaseConfig.

Parameters
Name Description
request DeleteReleaseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
DeleteReleaseConfigRequest request = new DeleteReleaseConfigRequest
{
    ReleaseConfigName = 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 ReleaseConfigName

Required. The release config's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
ReleaseConfigName name = 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 string

Required. The release config's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = 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 DeleteReleaseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
DeleteReleaseConfigRequest request = new DeleteReleaseConfigRequest
{
    ReleaseConfigName = 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 DeleteReleaseConfigRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
DeleteReleaseConfigRequest request = new DeleteReleaseConfigRequest
{
    ReleaseConfigName = 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 ReleaseConfigName

Required. The release config's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ReleaseConfigName name = 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 ReleaseConfigName

Required. The release config's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ReleaseConfigName name = 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 string

Required. The release config's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await 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 string

Required. The release config's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await 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 DeleteRepositoryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
DeleteRepositoryRequest request = new DeleteRepositoryRequest
{
    RepositoryName = 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 RepositoryName

Required. The repository's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
RepositoryName name = 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 string

Required. The repository's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = 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 DeleteRepositoryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
DeleteRepositoryRequest request = new DeleteRepositoryRequest
{
    RepositoryName = 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 DeleteRepositoryRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
DeleteRepositoryRequest request = new DeleteRepositoryRequest
{
    RepositoryName = 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 RepositoryName

Required. The repository's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName name = 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 RepositoryName

Required. The repository's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName name = 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 string

Required. The repository's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await 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 string

Required. The repository's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
await dataformClient.DeleteRepositoryAsync(name);

DeleteWorkflowConfig(DeleteWorkflowConfigRequest, CallSettings)

public virtual void DeleteWorkflowConfig(DeleteWorkflowConfigRequest request, CallSettings callSettings = null)

Deletes a single WorkflowConfig.

Parameters
Name Description
request DeleteWorkflowConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
DeleteWorkflowConfigRequest request = new DeleteWorkflowConfigRequest
{
    WorkflowConfigName = 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 WorkflowConfigName

Required. The workflow config's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
WorkflowConfigName name = 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 string

Required. The workflow config's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = 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 DeleteWorkflowConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
DeleteWorkflowConfigRequest request = new DeleteWorkflowConfigRequest
{
    WorkflowConfigName = 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 DeleteWorkflowConfigRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
DeleteWorkflowConfigRequest request = new DeleteWorkflowConfigRequest
{
    WorkflowConfigName = 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 WorkflowConfigName

Required. The workflow config's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
WorkflowConfigName name = 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 WorkflowConfigName

Required. The workflow config's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
WorkflowConfigName name = 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 string

Required. The workflow config's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await 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 string

Required. The workflow config's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await 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 DeleteWorkflowInvocationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
DeleteWorkflowInvocationRequest request = new DeleteWorkflowInvocationRequest
{
    WorkflowInvocationName = 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 WorkflowInvocationName

Required. The workflow invocation resource's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
WorkflowInvocationName name = 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 string

Required. The workflow invocation resource's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = 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 DeleteWorkflowInvocationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
DeleteWorkflowInvocationRequest request = new DeleteWorkflowInvocationRequest
{
    WorkflowInvocationName = 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 DeleteWorkflowInvocationRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
DeleteWorkflowInvocationRequest request = new DeleteWorkflowInvocationRequest
{
    WorkflowInvocationName = 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 WorkflowInvocationName

Required. The workflow invocation resource's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
WorkflowInvocationName name = 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 WorkflowInvocationName

Required. The workflow invocation resource's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
WorkflowInvocationName name = 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 string

Required. The workflow invocation resource's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await 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 string

Required. The workflow invocation resource's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await 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 DeleteWorkspaceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
DeleteWorkspaceRequest request = new DeleteWorkspaceRequest
{
    WorkspaceName = 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 WorkspaceName

Required. The workspace resource's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
WorkspaceName name = 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 string

Required. The workspace resource's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = 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 DeleteWorkspaceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
DeleteWorkspaceRequest request = new DeleteWorkspaceRequest
{
    WorkspaceName = 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 DeleteWorkspaceRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
DeleteWorkspaceRequest request = new DeleteWorkspaceRequest
{
    WorkspaceName = 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 WorkspaceName

Required. The workspace resource's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
WorkspaceName name = 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 WorkspaceName

Required. The workspace resource's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
WorkspaceName name = 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 string

Required. The workspace resource's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await 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 string

Required. The workspace resource's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await 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 FetchFileDiffRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FetchFileDiffResponse

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
FetchFileDiffRequest request = new FetchFileDiffRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
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 FetchFileDiffRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFetchFileDiffResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
FetchFileDiffRequest request = new FetchFileDiffRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
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 FetchFileDiffRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskFetchFileDiffResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
FetchFileDiffRequest request = new FetchFileDiffRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
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 FetchFileGitStatusesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FetchFileGitStatusesResponse

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
FetchFileGitStatusesRequest request = new FetchFileGitStatusesRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
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 FetchFileGitStatusesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFetchFileGitStatusesResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
FetchFileGitStatusesRequest request = new FetchFileGitStatusesRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
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 FetchFileGitStatusesRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskFetchFileGitStatusesResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
FetchFileGitStatusesRequest request = new FetchFileGitStatusesRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
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 FetchGitAheadBehindRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FetchGitAheadBehindResponse

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
FetchGitAheadBehindRequest request = new FetchGitAheadBehindRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    RemoteBranch = "",
};
// Make the request
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 FetchGitAheadBehindRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFetchGitAheadBehindResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
FetchGitAheadBehindRequest request = new FetchGitAheadBehindRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    RemoteBranch = "",
};
// Make the request
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 FetchGitAheadBehindRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskFetchGitAheadBehindResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
FetchGitAheadBehindRequest request = new FetchGitAheadBehindRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    RemoteBranch = "",
};
// Make the request
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 FetchRemoteBranchesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FetchRemoteBranchesResponse

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
FetchRemoteBranchesRequest request = new FetchRemoteBranchesRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
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 FetchRemoteBranchesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFetchRemoteBranchesResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
FetchRemoteBranchesRequest request = new FetchRemoteBranchesRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
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 FetchRemoteBranchesRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskFetchRemoteBranchesResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
FetchRemoteBranchesRequest request = new FetchRemoteBranchesRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
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 FetchRepositoryHistoryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableFetchRepositoryHistoryResponseCommitLogEntry

A pageable sequence of CommitLogEntry resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
FetchRepositoryHistoryRequest request = new FetchRepositoryHistoryRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
PagedEnumerable<FetchRepositoryHistoryResponse, CommitLogEntry> response = dataformClient.FetchRepositoryHistory(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (FetchRepositoryHistoryResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 FetchRepositoryHistoryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableFetchRepositoryHistoryResponseCommitLogEntry

A pageable asynchronous sequence of CommitLogEntry resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
FetchRepositoryHistoryRequest request = new FetchRepositoryHistoryRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
PagedAsyncEnumerable<FetchRepositoryHistoryResponse, CommitLogEntry> response = dataformClient.FetchRepositoryHistoryAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CommitLogEntry item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((FetchRepositoryHistoryResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 CompilationResultName

Required. The compilation result's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CompilationResult

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
CompilationResultName name = CompilationResultName.FromProjectLocationRepositoryCompilationResult("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]");
// Make the request
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 GetCompilationResultRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CompilationResult

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
GetCompilationResultRequest request = new GetCompilationResultRequest
{
    CompilationResultName = CompilationResultName.FromProjectLocationRepositoryCompilationResult("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]"),
};
// Make the request
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 string

Required. The compilation result's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
CompilationResult

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/compilationResults/[COMPILATION_RESULT]";
// Make the request
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 CompilationResultName

Required. The compilation result's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCompilationResult

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CompilationResultName name = CompilationResultName.FromProjectLocationRepositoryCompilationResult("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]");
// Make the request
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 CompilationResultName

Required. The compilation result's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCompilationResult

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CompilationResultName name = CompilationResultName.FromProjectLocationRepositoryCompilationResult("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]");
// Make the request
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 GetCompilationResultRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCompilationResult

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
GetCompilationResultRequest request = new GetCompilationResultRequest
{
    CompilationResultName = CompilationResultName.FromProjectLocationRepositoryCompilationResult("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]"),
};
// Make the request
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 GetCompilationResultRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCompilationResult

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
GetCompilationResultRequest request = new GetCompilationResultRequest
{
    CompilationResultName = CompilationResultName.FromProjectLocationRepositoryCompilationResult("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]"),
};
// Make the request
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 string

Required. The compilation result's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskCompilationResult

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/compilationResults/[COMPILATION_RESULT]";
// Make the request
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 string

Required. The compilation result's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskCompilationResult

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/compilationResults/[COMPILATION_RESULT]";
// Make the request
CompilationResult response = await dataformClient.GetCompilationResultAsync(name);

GetReleaseConfig(GetReleaseConfigRequest, CallSettings)

public virtual ReleaseConfig GetReleaseConfig(GetReleaseConfigRequest request, CallSettings callSettings = null)

Fetches a single ReleaseConfig.

Parameters
Name Description
request GetReleaseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ReleaseConfig

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
GetReleaseConfigRequest request = new GetReleaseConfigRequest
{
    ReleaseConfigName = ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]"),
};
// Make the request
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 ReleaseConfigName

Required. The release config's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ReleaseConfig

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
ReleaseConfigName name = ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]");
// Make the request
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 string

Required. The release config's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ReleaseConfig

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/releaseConfigs/[RELEASE_CONFIG]";
// Make the request
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 GetReleaseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskReleaseConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
GetReleaseConfigRequest request = new GetReleaseConfigRequest
{
    ReleaseConfigName = ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]"),
};
// Make the request
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 GetReleaseConfigRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskReleaseConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
GetReleaseConfigRequest request = new GetReleaseConfigRequest
{
    ReleaseConfigName = ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]"),
};
// Make the request
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 ReleaseConfigName

Required. The release config's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskReleaseConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ReleaseConfigName name = ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]");
// Make the request
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 ReleaseConfigName

Required. The release config's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskReleaseConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ReleaseConfigName name = ReleaseConfigName.FromProjectLocationRepositoryReleaseConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[RELEASE_CONFIG]");
// Make the request
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 string

Required. The release config's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskReleaseConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/releaseConfigs/[RELEASE_CONFIG]";
// Make the request
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 string

Required. The release config's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskReleaseConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/releaseConfigs/[RELEASE_CONFIG]";
// Make the request
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 GetRepositoryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Repository

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
GetRepositoryRequest request = new GetRepositoryRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
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 RepositoryName

Required. The repository's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Repository

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
RepositoryName name = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
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 string

Required. The repository's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Repository

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
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 GetRepositoryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRepository

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
GetRepositoryRequest request = new GetRepositoryRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
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 GetRepositoryRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskRepository

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
GetRepositoryRequest request = new GetRepositoryRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
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 RepositoryName

Required. The repository's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRepository

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName name = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
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 RepositoryName

Required. The repository's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskRepository

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName name = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
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 string

Required. The repository's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRepository

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
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 string

Required. The repository's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskRepository

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
Repository response = await dataformClient.GetRepositoryAsync(name);

GetWorkflowConfig(GetWorkflowConfigRequest, CallSettings)

public virtual WorkflowConfig GetWorkflowConfig(GetWorkflowConfigRequest request, CallSettings callSettings = null)

Fetches a single WorkflowConfig.

Parameters
Name Description
request GetWorkflowConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WorkflowConfig

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
GetWorkflowConfigRequest request = new GetWorkflowConfigRequest
{
    WorkflowConfigName = WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]"),
};
// Make the request
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 WorkflowConfigName

Required. The workflow config's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WorkflowConfig

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
WorkflowConfigName name = WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]");
// Make the request
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 string

Required. The workflow config's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WorkflowConfig

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowConfigs/[WORKFLOW_CONFIG]";
// Make the request
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 GetWorkflowConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkflowConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
GetWorkflowConfigRequest request = new GetWorkflowConfigRequest
{
    WorkflowConfigName = WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]"),
};
// Make the request
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 GetWorkflowConfigRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkflowConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
GetWorkflowConfigRequest request = new GetWorkflowConfigRequest
{
    WorkflowConfigName = WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]"),
};
// Make the request
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 WorkflowConfigName

Required. The workflow config's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkflowConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
WorkflowConfigName name = WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]");
// Make the request
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 WorkflowConfigName

Required. The workflow config's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkflowConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
WorkflowConfigName name = WorkflowConfigName.FromProjectLocationRepositoryWorkflowConfig("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_CONFIG]");
// Make the request
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 string

Required. The workflow config's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkflowConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowConfigs/[WORKFLOW_CONFIG]";
// Make the request
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 string

Required. The workflow config's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkflowConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowConfigs/[WORKFLOW_CONFIG]";
// Make the request
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 GetWorkflowInvocationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WorkflowInvocation

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
GetWorkflowInvocationRequest request = new GetWorkflowInvocationRequest
{
    WorkflowInvocationName = WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
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 WorkflowInvocationName

Required. The workflow invocation resource's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WorkflowInvocation

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
WorkflowInvocationName name = WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]");
// Make the request
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 string

Required. The workflow invocation resource's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WorkflowInvocation

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowInvocations/[WORKFLOW_INVOCATION]";
// Make the request
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 GetWorkflowInvocationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkflowInvocation

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
GetWorkflowInvocationRequest request = new GetWorkflowInvocationRequest
{
    WorkflowInvocationName = WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
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 GetWorkflowInvocationRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkflowInvocation

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
GetWorkflowInvocationRequest request = new GetWorkflowInvocationRequest
{
    WorkflowInvocationName = WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
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 WorkflowInvocationName

Required. The workflow invocation resource's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkflowInvocation

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
WorkflowInvocationName name = WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]");
// Make the request
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 WorkflowInvocationName

Required. The workflow invocation resource's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkflowInvocation

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
WorkflowInvocationName name = WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]");
// Make the request
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 string

Required. The workflow invocation resource's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkflowInvocation

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowInvocations/[WORKFLOW_INVOCATION]";
// Make the request
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 string

Required. The workflow invocation resource's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkflowInvocation

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workflowInvocations/[WORKFLOW_INVOCATION]";
// Make the request
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 GetWorkspaceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Workspace

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
GetWorkspaceRequest request = new GetWorkspaceRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
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 WorkspaceName

Required. The workspace's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Workspace

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
WorkspaceName name = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]");
// Make the request
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 string

Required. The workspace's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Workspace

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workspaces/[WORKSPACE]";
// Make the request
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 GetWorkspaceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkspace

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
GetWorkspaceRequest request = new GetWorkspaceRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
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 GetWorkspaceRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkspace

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
GetWorkspaceRequest request = new GetWorkspaceRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
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 WorkspaceName

Required. The workspace's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkspace

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
WorkspaceName name = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]");
// Make the request
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 WorkspaceName

Required. The workspace's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkspace

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
WorkspaceName name = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]");
// Make the request
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 string

Required. The workspace's name.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkspace

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workspaces/[WORKSPACE]";
// Make the request
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 string

Required. The workspace's name.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkspace

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]/workspaces/[WORKSPACE]";
// Make the request
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 InstallNpmPackagesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InstallNpmPackagesResponse

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
InstallNpmPackagesRequest request = new InstallNpmPackagesRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
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 InstallNpmPackagesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInstallNpmPackagesResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
InstallNpmPackagesRequest request = new InstallNpmPackagesRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
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 InstallNpmPackagesRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskInstallNpmPackagesResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
InstallNpmPackagesRequest request = new InstallNpmPackagesRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
};
// Make the request
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 ListCompilationResultsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListCompilationResultsResponseCompilationResult

A pageable sequence of CompilationResult resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
ListCompilationResultsRequest request = new ListCompilationResultsRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
PagedEnumerable<ListCompilationResultsResponse, CompilationResult> response = dataformClient.ListCompilationResults(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListCompilationResultsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 RepositoryName

Required. The repository in which to list compilation results. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListCompilationResultsResponseCompilationResult

A pageable sequence of CompilationResult resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedEnumerable<ListCompilationResultsResponse, CompilationResult> response = dataformClient.ListCompilationResults(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListCompilationResultsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 string

Required. The repository in which to list compilation results. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListCompilationResultsResponseCompilationResult

A pageable sequence of CompilationResult resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedEnumerable<ListCompilationResultsResponse, CompilationResult> response = dataformClient.ListCompilationResults(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListCompilationResultsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 ListCompilationResultsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListCompilationResultsResponseCompilationResult

A pageable asynchronous sequence of CompilationResult resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ListCompilationResultsRequest request = new ListCompilationResultsRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
PagedAsyncEnumerable<ListCompilationResultsResponse, CompilationResult> response = dataformClient.ListCompilationResultsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CompilationResult item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCompilationResultsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 RepositoryName

Required. The repository in which to list compilation results. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListCompilationResultsResponseCompilationResult

A pageable asynchronous sequence of CompilationResult resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedAsyncEnumerable<ListCompilationResultsResponse, CompilationResult> response = dataformClient.ListCompilationResultsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CompilationResult item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCompilationResultsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 string

Required. The repository in which to list compilation results. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListCompilationResultsResponseCompilationResult

A pageable asynchronous sequence of CompilationResult resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedAsyncEnumerable<ListCompilationResultsResponse, CompilationResult> response = dataformClient.ListCompilationResultsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CompilationResult item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListCompilationResultsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 ListReleaseConfigsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListReleaseConfigsResponseReleaseConfig

A pageable sequence of ReleaseConfig resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
ListReleaseConfigsRequest request = new ListReleaseConfigsRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
PagedEnumerable<ListReleaseConfigsResponse, ReleaseConfig> response = dataformClient.ListReleaseConfigs(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListReleaseConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 RepositoryName

Required. The repository in which to list release configs. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListReleaseConfigsResponseReleaseConfig

A pageable sequence of ReleaseConfig resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedEnumerable<ListReleaseConfigsResponse, ReleaseConfig> response = dataformClient.ListReleaseConfigs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListReleaseConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 string

Required. The repository in which to list release configs. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListReleaseConfigsResponseReleaseConfig

A pageable sequence of ReleaseConfig resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedEnumerable<ListReleaseConfigsResponse, ReleaseConfig> response = dataformClient.ListReleaseConfigs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListReleaseConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 ListReleaseConfigsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListReleaseConfigsResponseReleaseConfig

A pageable asynchronous sequence of ReleaseConfig resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ListReleaseConfigsRequest request = new ListReleaseConfigsRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
PagedAsyncEnumerable<ListReleaseConfigsResponse, ReleaseConfig> response = dataformClient.ListReleaseConfigsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ReleaseConfig item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListReleaseConfigsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 RepositoryName

Required. The repository in which to list release configs. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListReleaseConfigsResponseReleaseConfig

A pageable asynchronous sequence of ReleaseConfig resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedAsyncEnumerable<ListReleaseConfigsResponse, ReleaseConfig> response = dataformClient.ListReleaseConfigsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ReleaseConfig item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListReleaseConfigsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 string

Required. The repository in which to list release configs. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListReleaseConfigsResponseReleaseConfig

A pageable asynchronous sequence of ReleaseConfig resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedAsyncEnumerable<ListReleaseConfigsResponse, ReleaseConfig> response = dataformClient.ListReleaseConfigsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((ReleaseConfig item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListReleaseConfigsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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.

Parameters
Name Description
parent LocationName

Required. The location in which to list repositories. Must be in the format projects/*/locations/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListRepositoriesResponseRepository

A pageable sequence of Repository resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedEnumerable<ListRepositoriesResponse, Repository> response = dataformClient.ListRepositories(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListRepositoriesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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.

Parameters
Name Description
request ListRepositoriesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListRepositoriesResponseRepository

A pageable sequence of Repository resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
ListRepositoriesRequest request = new ListRepositoriesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    OrderBy = "",
    Filter = "",
};
// Make the request
PagedEnumerable<ListRepositoriesResponse, Repository> response = dataformClient.ListRepositories(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListRepositoriesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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.

Parameters
Name Description
parent string

Required. The location in which to list repositories. Must be in the format projects/*/locations/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListRepositoriesResponseRepository

A pageable sequence of Repository resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedEnumerable<ListRepositoriesResponse, Repository> response = dataformClient.ListRepositories(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListRepositoriesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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.

Parameters
Name Description
parent LocationName

Required. The location in which to list repositories. Must be in the format projects/*/locations/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListRepositoriesResponseRepository

A pageable asynchronous sequence of Repository resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
PagedAsyncEnumerable<ListRepositoriesResponse, Repository> response = dataformClient.ListRepositoriesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Repository item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListRepositoriesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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.

Parameters
Name Description
request ListRepositoriesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListRepositoriesResponseRepository

A pageable asynchronous sequence of Repository resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ListRepositoriesRequest request = new ListRepositoriesRequest
{
    ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
    OrderBy = "",
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListRepositoriesResponse, Repository> response = dataformClient.ListRepositoriesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Repository item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListRepositoriesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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.

Parameters
Name Description
parent string

Required. The location in which to list repositories. Must be in the format projects/*/locations/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListRepositoriesResponseRepository

A pageable asynchronous sequence of Repository resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]";
// Make the request
PagedAsyncEnumerable<ListRepositoriesResponse, Repository> response = dataformClient.ListRepositoriesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Repository item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListRepositoriesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 ListWorkflowConfigsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListWorkflowConfigsResponseWorkflowConfig

A pageable sequence of WorkflowConfig resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
ListWorkflowConfigsRequest request = new ListWorkflowConfigsRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
PagedEnumerable<ListWorkflowConfigsResponse, WorkflowConfig> response = dataformClient.ListWorkflowConfigs(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListWorkflowConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 RepositoryName

Required. The repository in which to list workflow configs. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListWorkflowConfigsResponseWorkflowConfig

A pageable sequence of WorkflowConfig resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedEnumerable<ListWorkflowConfigsResponse, WorkflowConfig> response = dataformClient.ListWorkflowConfigs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListWorkflowConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 string

Required. The repository in which to list workflow configs. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListWorkflowConfigsResponseWorkflowConfig

A pageable sequence of WorkflowConfig resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedEnumerable<ListWorkflowConfigsResponse, WorkflowConfig> response = dataformClient.ListWorkflowConfigs(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListWorkflowConfigsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 ListWorkflowConfigsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListWorkflowConfigsResponseWorkflowConfig

A pageable asynchronous sequence of WorkflowConfig resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ListWorkflowConfigsRequest request = new ListWorkflowConfigsRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
};
// Make the request
PagedAsyncEnumerable<ListWorkflowConfigsResponse, WorkflowConfig> response = dataformClient.ListWorkflowConfigsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((WorkflowConfig item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListWorkflowConfigsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 RepositoryName

Required. The repository in which to list workflow configs. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListWorkflowConfigsResponseWorkflowConfig

A pageable asynchronous sequence of WorkflowConfig resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedAsyncEnumerable<ListWorkflowConfigsResponse, WorkflowConfig> response = dataformClient.ListWorkflowConfigsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((WorkflowConfig item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListWorkflowConfigsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 string

Required. The repository in which to list workflow configs. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListWorkflowConfigsResponseWorkflowConfig

A pageable asynchronous sequence of WorkflowConfig resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedAsyncEnumerable<ListWorkflowConfigsResponse, WorkflowConfig> response = dataformClient.ListWorkflowConfigsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((WorkflowConfig item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListWorkflowConfigsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 ListWorkflowInvocationsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListWorkflowInvocationsResponseWorkflowInvocation

A pageable sequence of WorkflowInvocation resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
ListWorkflowInvocationsRequest request = new ListWorkflowInvocationsRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    OrderBy = "",
    Filter = "",
};
// Make the request
PagedEnumerable<ListWorkflowInvocationsResponse, WorkflowInvocation> response = dataformClient.ListWorkflowInvocations(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListWorkflowInvocationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 RepositoryName

Required. The parent resource of the WorkflowInvocation type. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListWorkflowInvocationsResponseWorkflowInvocation

A pageable sequence of WorkflowInvocation resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedEnumerable<ListWorkflowInvocationsResponse, WorkflowInvocation> response = dataformClient.ListWorkflowInvocations(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListWorkflowInvocationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 string

Required. The parent resource of the WorkflowInvocation type. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListWorkflowInvocationsResponseWorkflowInvocation

A pageable sequence of WorkflowInvocation resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedEnumerable<ListWorkflowInvocationsResponse, WorkflowInvocation> response = dataformClient.ListWorkflowInvocations(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListWorkflowInvocationsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 ListWorkflowInvocationsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListWorkflowInvocationsResponseWorkflowInvocation

A pageable asynchronous sequence of WorkflowInvocation resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ListWorkflowInvocationsRequest request = new ListWorkflowInvocationsRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    OrderBy = "",
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListWorkflowInvocationsResponse, WorkflowInvocation> response = dataformClient.ListWorkflowInvocationsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((WorkflowInvocation item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListWorkflowInvocationsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 RepositoryName

Required. The parent resource of the WorkflowInvocation type. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListWorkflowInvocationsResponseWorkflowInvocation

A pageable asynchronous sequence of WorkflowInvocation resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedAsyncEnumerable<ListWorkflowInvocationsResponse, WorkflowInvocation> response = dataformClient.ListWorkflowInvocationsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((WorkflowInvocation item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListWorkflowInvocationsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 string

Required. The parent resource of the WorkflowInvocation type. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListWorkflowInvocationsResponseWorkflowInvocation

A pageable asynchronous sequence of WorkflowInvocation resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedAsyncEnumerable<ListWorkflowInvocationsResponse, WorkflowInvocation> response = dataformClient.ListWorkflowInvocationsAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((WorkflowInvocation item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListWorkflowInvocationsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 ListWorkspacesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListWorkspacesResponseWorkspace

A pageable sequence of Workspace resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
ListWorkspacesRequest request = new ListWorkspacesRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    OrderBy = "",
    Filter = "",
};
// Make the request
PagedEnumerable<ListWorkspacesResponse, Workspace> response = dataformClient.ListWorkspaces(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListWorkspacesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 RepositoryName

Required. The repository in which to list workspaces. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListWorkspacesResponseWorkspace

A pageable sequence of Workspace resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedEnumerable<ListWorkspacesResponse, Workspace> response = dataformClient.ListWorkspaces(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListWorkspacesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 string

Required. The repository in which to list workspaces. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListWorkspacesResponseWorkspace

A pageable sequence of Workspace resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedEnumerable<ListWorkspacesResponse, Workspace> response = dataformClient.ListWorkspaces(parent);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (ListWorkspacesResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 ListWorkspacesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListWorkspacesResponseWorkspace

A pageable asynchronous sequence of Workspace resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ListWorkspacesRequest request = new ListWorkspacesRequest
{
    ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    OrderBy = "",
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<ListWorkspacesResponse, Workspace> response = dataformClient.ListWorkspacesAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Workspace item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListWorkspacesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 RepositoryName

Required. The repository in which to list workspaces. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListWorkspacesResponseWorkspace

A pageable asynchronous sequence of Workspace resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RepositoryName parent = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]");
// Make the request
PagedAsyncEnumerable<ListWorkspacesResponse, Workspace> response = dataformClient.ListWorkspacesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Workspace item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListWorkspacesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 string

Required. The repository in which to list workspaces. Must be in the format projects/*/locations/*/repositories/*.

pageToken string

The token returned from the previous request. A value of null or an empty string retrieves the first page.

pageSize int

The size of page to request. The response will not be larger than this, but may be smaller. A value of null or 0 uses a server-defined page size.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListWorkspacesResponseWorkspace

A pageable asynchronous sequence of Workspace resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/locations/[LOCATION]/repositories/[REPOSITORY]";
// Make the request
PagedAsyncEnumerable<ListWorkspacesResponse, Workspace> response = dataformClient.ListWorkspacesAsync(parent);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((Workspace item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListWorkspacesResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 MakeDirectoryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
MakeDirectoryResponse

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
MakeDirectoryRequest request = new MakeDirectoryRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
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 MakeDirectoryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskMakeDirectoryResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
MakeDirectoryRequest request = new MakeDirectoryRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
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 MakeDirectoryRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskMakeDirectoryResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
MakeDirectoryRequest request = new MakeDirectoryRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
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 MoveDirectoryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
MoveDirectoryResponse

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
MoveDirectoryRequest request = new MoveDirectoryRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
    NewPath = "",
};
// Make the request
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 MoveDirectoryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskMoveDirectoryResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
MoveDirectoryRequest request = new MoveDirectoryRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
    NewPath = "",
};
// Make the request
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 MoveDirectoryRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskMoveDirectoryResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
MoveDirectoryRequest request = new MoveDirectoryRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
    NewPath = "",
};
// Make the request
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 MoveFileRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
MoveFileResponse

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
MoveFileRequest request = new MoveFileRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
    NewPath = "",
};
// Make the request
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 MoveFileRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskMoveFileResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
MoveFileRequest request = new MoveFileRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
    NewPath = "",
};
// Make the request
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 MoveFileRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskMoveFileResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
MoveFileRequest request = new MoveFileRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
    NewPath = "",
};
// Make the request
MoveFileResponse response = await dataformClient.MoveFileAsync(request);

PullGitCommits(PullGitCommitsRequest, CallSettings)

public virtual void PullGitCommits(PullGitCommitsRequest request, CallSettings callSettings = null)

Pulls Git commits from the Repository's remote into a Workspace.

Parameters
Name Description
request PullGitCommitsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
PullGitCommitsRequest request = new PullGitCommitsRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    RemoteBranch = "",
    Author = new CommitAuthor(),
};
// Make the request
dataformClient.PullGitCommits(request);

PullGitCommitsAsync(PullGitCommitsRequest, CallSettings)

public virtual Task PullGitCommitsAsync(PullGitCommitsRequest request, CallSettings callSettings = null)

Pulls Git commits from the Repository's remote into a Workspace.

Parameters
Name Description
request PullGitCommitsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
PullGitCommitsRequest request = new PullGitCommitsRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    RemoteBranch = "",
    Author = new CommitAuthor(),
};
// Make the request
await dataformClient.PullGitCommitsAsync(request);

PullGitCommitsAsync(PullGitCommitsRequest, CancellationToken)

public virtual Task PullGitCommitsAsync(PullGitCommitsRequest request, CancellationToken cancellationToken)

Pulls Git commits from the Repository's remote into a Workspace.

Parameters
Name Description
request PullGitCommitsRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
PullGitCommitsRequest request = new PullGitCommitsRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    RemoteBranch = "",
    Author = new CommitAuthor(),
};
// Make the request
await dataformClient.PullGitCommitsAsync(request);

PushGitCommits(PushGitCommitsRequest, CallSettings)

public virtual void PushGitCommits(PushGitCommitsRequest request, CallSettings callSettings = null)

Pushes Git commits from a Workspace to the Repository's remote.

Parameters
Name Description
request PushGitCommitsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
PushGitCommitsRequest request = new PushGitCommitsRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    RemoteBranch = "",
};
// Make the request
dataformClient.PushGitCommits(request);

PushGitCommitsAsync(PushGitCommitsRequest, CallSettings)

public virtual Task PushGitCommitsAsync(PushGitCommitsRequest request, CallSettings callSettings = null)

Pushes Git commits from a Workspace to the Repository's remote.

Parameters
Name Description
request PushGitCommitsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
PushGitCommitsRequest request = new PushGitCommitsRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    RemoteBranch = "",
};
// Make the request
await dataformClient.PushGitCommitsAsync(request);

PushGitCommitsAsync(PushGitCommitsRequest, CancellationToken)

public virtual Task PushGitCommitsAsync(PushGitCommitsRequest request, CancellationToken cancellationToken)

Pushes Git commits from a Workspace to the Repository's remote.

Parameters
Name Description
request PushGitCommitsRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
PushGitCommitsRequest request = new PushGitCommitsRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    RemoteBranch = "",
};
// Make the request
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 QueryCompilationResultActionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableQueryCompilationResultActionsResponseCompilationResultAction

A pageable sequence of CompilationResultAction resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
QueryCompilationResultActionsRequest request = new QueryCompilationResultActionsRequest
{
    CompilationResultName = CompilationResultName.FromProjectLocationRepositoryCompilationResult("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]"),
    Filter = "",
};
// Make the request
PagedEnumerable<QueryCompilationResultActionsResponse, CompilationResultAction> response = dataformClient.QueryCompilationResultActions(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (QueryCompilationResultActionsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 QueryCompilationResultActionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableQueryCompilationResultActionsResponseCompilationResultAction

A pageable asynchronous sequence of CompilationResultAction resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
QueryCompilationResultActionsRequest request = new QueryCompilationResultActionsRequest
{
    CompilationResultName = CompilationResultName.FromProjectLocationRepositoryCompilationResult("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[COMPILATION_RESULT]"),
    Filter = "",
};
// Make the request
PagedAsyncEnumerable<QueryCompilationResultActionsResponse, CompilationResultAction> response = dataformClient.QueryCompilationResultActionsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((CompilationResultAction item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((QueryCompilationResultActionsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 QueryDirectoryContentsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableQueryDirectoryContentsResponseDirectoryEntry

A pageable sequence of DirectoryEntry resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
QueryDirectoryContentsRequest request = new QueryDirectoryContentsRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
PagedEnumerable<QueryDirectoryContentsResponse, DirectoryEntry> response = dataformClient.QueryDirectoryContents(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (QueryDirectoryContentsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 QueryDirectoryContentsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableQueryDirectoryContentsResponseDirectoryEntry

A pageable asynchronous sequence of DirectoryEntry resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
QueryDirectoryContentsRequest request = new QueryDirectoryContentsRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
PagedAsyncEnumerable<QueryDirectoryContentsResponse, DirectoryEntry> response = dataformClient.QueryDirectoryContentsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DirectoryEntry item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((QueryDirectoryContentsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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;

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 QueryRepositoryDirectoryContentsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableQueryRepositoryDirectoryContentsResponseDirectoryEntry

A pageable sequence of DirectoryEntry resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
QueryRepositoryDirectoryContentsRequest request = new QueryRepositoryDirectoryContentsRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    CommitSha = "",
    Path = "",
};
// Make the request
PagedEnumerable<QueryRepositoryDirectoryContentsResponse, DirectoryEntry> response = dataformClient.QueryRepositoryDirectoryContents(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (QueryRepositoryDirectoryContentsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 QueryRepositoryDirectoryContentsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableQueryRepositoryDirectoryContentsResponseDirectoryEntry

A pageable asynchronous sequence of DirectoryEntry resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
QueryRepositoryDirectoryContentsRequest request = new QueryRepositoryDirectoryContentsRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    CommitSha = "",
    Path = "",
};
// Make the request
PagedAsyncEnumerable<QueryRepositoryDirectoryContentsResponse, DirectoryEntry> response = dataformClient.QueryRepositoryDirectoryContentsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((DirectoryEntry item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((QueryRepositoryDirectoryContentsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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;

QueryWorkflowInvocationActions(QueryWorkflowInvocationActionsRequest, CallSettings)

public virtual PagedEnumerable<QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> QueryWorkflowInvocationActions(QueryWorkflowInvocationActionsRequest request, CallSettings callSettings = null)

Returns WorkflowInvocationActions in a given WorkflowInvocation.

Parameters
Name Description
request QueryWorkflowInvocationActionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableQueryWorkflowInvocationActionsResponseWorkflowInvocationAction

A pageable sequence of WorkflowInvocationAction resources.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
QueryWorkflowInvocationActionsRequest request = new QueryWorkflowInvocationActionsRequest
{
    WorkflowInvocationName = WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
PagedEnumerable<QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> response = dataformClient.QueryWorkflowInvocationActions(request);

// Iterate over all response items, lazily performing RPCs as required
foreach (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 (QueryWorkflowInvocationActionsResponse page in response.AsRawResponses())
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 QueryWorkflowInvocationActionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableQueryWorkflowInvocationActionsResponseWorkflowInvocationAction

A pageable asynchronous sequence of WorkflowInvocationAction resources.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
QueryWorkflowInvocationActionsRequest request = new QueryWorkflowInvocationActionsRequest
{
    WorkflowInvocationName = WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
PagedAsyncEnumerable<QueryWorkflowInvocationActionsResponse, WorkflowInvocationAction> response = dataformClient.QueryWorkflowInvocationActionsAsync(request);

// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((WorkflowInvocationAction item) =>
{
    // Do something with each item
    Console.WriteLine(item);
});

// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((QueryWorkflowInvocationActionsResponse page) =>
{
    // Do something with each page of items
    Console.WriteLine("A page of results:");
    foreach (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<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 (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 ReadFileRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ReadFileResponse

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
ReadFileRequest request = new ReadFileRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
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 ReadFileRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskReadFileResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ReadFileRequest request = new ReadFileRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
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 ReadFileRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskReadFileResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ReadFileRequest request = new ReadFileRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
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 ReadRepositoryFileRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ReadRepositoryFileResponse

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
ReadRepositoryFileRequest request = new ReadRepositoryFileRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    CommitSha = "",
    Path = "",
};
// Make the request
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 ReadRepositoryFileRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskReadRepositoryFileResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ReadRepositoryFileRequest request = new ReadRepositoryFileRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    CommitSha = "",
    Path = "",
};
// Make the request
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 ReadRepositoryFileRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskReadRepositoryFileResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ReadRepositoryFileRequest request = new ReadRepositoryFileRequest
{
    RepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
    CommitSha = "",
    Path = "",
};
// Make the request
ReadRepositoryFileResponse response = await dataformClient.ReadRepositoryFileAsync(request);

RemoveDirectory(RemoveDirectoryRequest, CallSettings)

public virtual void RemoveDirectory(RemoveDirectoryRequest request, CallSettings callSettings = null)

Deletes a directory (inside a Workspace) and all of its contents.

Parameters
Name Description
request RemoveDirectoryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
RemoveDirectoryRequest request = new RemoveDirectoryRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
dataformClient.RemoveDirectory(request);

RemoveDirectoryAsync(RemoveDirectoryRequest, CallSettings)

public virtual Task RemoveDirectoryAsync(RemoveDirectoryRequest request, CallSettings callSettings = null)

Deletes a directory (inside a Workspace) and all of its contents.

Parameters
Name Description
request RemoveDirectoryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RemoveDirectoryRequest request = new RemoveDirectoryRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
await dataformClient.RemoveDirectoryAsync(request);

RemoveDirectoryAsync(RemoveDirectoryRequest, CancellationToken)

public virtual Task RemoveDirectoryAsync(RemoveDirectoryRequest request, CancellationToken cancellationToken)

Deletes a directory (inside a Workspace) and all of its contents.

Parameters
Name Description
request RemoveDirectoryRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RemoveDirectoryRequest request = new RemoveDirectoryRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
await dataformClient.RemoveDirectoryAsync(request);

RemoveFile(RemoveFileRequest, CallSettings)

public virtual void RemoveFile(RemoveFileRequest request, CallSettings callSettings = null)

Deletes a file (inside a Workspace).

Parameters
Name Description
request RemoveFileRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
RemoveFileRequest request = new RemoveFileRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
dataformClient.RemoveFile(request);

RemoveFileAsync(RemoveFileRequest, CallSettings)

public virtual Task RemoveFileAsync(RemoveFileRequest request, CallSettings callSettings = null)

Deletes a file (inside a Workspace).

Parameters
Name Description
request RemoveFileRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RemoveFileRequest request = new RemoveFileRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
await dataformClient.RemoveFileAsync(request);

RemoveFileAsync(RemoveFileRequest, CancellationToken)

public virtual Task RemoveFileAsync(RemoveFileRequest request, CancellationToken cancellationToken)

Deletes a file (inside a Workspace).

Parameters
Name Description
request RemoveFileRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RemoveFileRequest request = new RemoveFileRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
};
// Make the request
await dataformClient.RemoveFileAsync(request);

ResetWorkspaceChanges(ResetWorkspaceChangesRequest, CallSettings)

public virtual void ResetWorkspaceChanges(ResetWorkspaceChangesRequest request, CallSettings callSettings = null)

Performs a Git reset for uncommitted files in a Workspace.

Parameters
Name Description
request ResetWorkspaceChangesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
ResetWorkspaceChangesRequest request = new ResetWorkspaceChangesRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Paths = { "", },
    Clean = false,
};
// Make the request
dataformClient.ResetWorkspaceChanges(request);

ResetWorkspaceChangesAsync(ResetWorkspaceChangesRequest, CallSettings)

public virtual Task ResetWorkspaceChangesAsync(ResetWorkspaceChangesRequest request, CallSettings callSettings = null)

Performs a Git reset for uncommitted files in a Workspace.

Parameters
Name Description
request ResetWorkspaceChangesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ResetWorkspaceChangesRequest request = new ResetWorkspaceChangesRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Paths = { "", },
    Clean = false,
};
// Make the request
await dataformClient.ResetWorkspaceChangesAsync(request);

ResetWorkspaceChangesAsync(ResetWorkspaceChangesRequest, CancellationToken)

public virtual Task ResetWorkspaceChangesAsync(ResetWorkspaceChangesRequest request, CancellationToken cancellationToken)

Performs a Git reset for uncommitted files in a Workspace.

Parameters
Name Description
request ResetWorkspaceChangesRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
Task

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ResetWorkspaceChangesRequest request = new ResetWorkspaceChangesRequest
{
    WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Paths = { "", },
    Clean = false,
};
// Make the request
await dataformClient.ResetWorkspaceChangesAsync(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.

Remarks

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.

UpdateReleaseConfig(ReleaseConfig, FieldMask, CallSettings)

public virtual ReleaseConfig UpdateReleaseConfig(ReleaseConfig releaseConfig, FieldMask updateMask, CallSettings callSettings = null)

Updates a single ReleaseConfig.

Parameters
Name Description
releaseConfig ReleaseConfig

Required. The release config to update.

updateMask FieldMask

Optional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ReleaseConfig

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
ReleaseConfig releaseConfig = new ReleaseConfig();
FieldMask updateMask = new FieldMask();
// Make the request
ReleaseConfig response = dataformClient.UpdateReleaseConfig(releaseConfig, updateMask);

UpdateReleaseConfig(UpdateReleaseConfigRequest, CallSettings)

public virtual ReleaseConfig UpdateReleaseConfig(UpdateReleaseConfigRequest request, CallSettings callSettings = null)

Updates a single ReleaseConfig.

Parameters
Name Description
request UpdateReleaseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ReleaseConfig

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
UpdateReleaseConfigRequest request = new UpdateReleaseConfigRequest
{
    UpdateMask = new FieldMask(),
    ReleaseConfig = new ReleaseConfig(),
};
// Make the request
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.

Parameters
Name Description
releaseConfig ReleaseConfig

Required. The release config to update.

updateMask FieldMask

Optional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskReleaseConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ReleaseConfig releaseConfig = new ReleaseConfig();
FieldMask updateMask = new FieldMask();
// Make the request
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.

Parameters
Name Description
releaseConfig ReleaseConfig

Required. The release config to update.

updateMask FieldMask

Optional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskReleaseConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ReleaseConfig releaseConfig = new ReleaseConfig();
FieldMask updateMask = new FieldMask();
// Make the request
ReleaseConfig response = await dataformClient.UpdateReleaseConfigAsync(releaseConfig, updateMask);

UpdateReleaseConfigAsync(UpdateReleaseConfigRequest, CallSettings)

public virtual Task<ReleaseConfig> UpdateReleaseConfigAsync(UpdateReleaseConfigRequest request, CallSettings callSettings = null)

Updates a single ReleaseConfig.

Parameters
Name Description
request UpdateReleaseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskReleaseConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
UpdateReleaseConfigRequest request = new UpdateReleaseConfigRequest
{
    UpdateMask = new FieldMask(),
    ReleaseConfig = new ReleaseConfig(),
};
// Make the request
ReleaseConfig response = await dataformClient.UpdateReleaseConfigAsync(request);

UpdateReleaseConfigAsync(UpdateReleaseConfigRequest, CancellationToken)

public virtual Task<ReleaseConfig> UpdateReleaseConfigAsync(UpdateReleaseConfigRequest request, CancellationToken cancellationToken)

Updates a single ReleaseConfig.

Parameters
Name Description
request UpdateReleaseConfigRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskReleaseConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
UpdateReleaseConfigRequest request = new UpdateReleaseConfigRequest
{
    UpdateMask = new FieldMask(),
    ReleaseConfig = new ReleaseConfig(),
};
// Make the request
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.

Parameters
Name Description
repository Repository

Required. The repository to update.

updateMask FieldMask

Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Repository

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
Repository repository = new Repository();
FieldMask updateMask = new FieldMask();
// Make the request
Repository response = dataformClient.UpdateRepository(repository, updateMask);

UpdateRepository(UpdateRepositoryRequest, CallSettings)

public virtual Repository UpdateRepository(UpdateRepositoryRequest request, CallSettings callSettings = null)

Updates a single Repository.

Parameters
Name Description
request UpdateRepositoryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Repository

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
UpdateRepositoryRequest request = new UpdateRepositoryRequest
{
    UpdateMask = new FieldMask(),
    Repository = new Repository(),
};
// Make the request
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.

Parameters
Name Description
repository Repository

Required. The repository to update.

updateMask FieldMask

Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRepository

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
Repository repository = new Repository();
FieldMask updateMask = new FieldMask();
// Make the request
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.

Parameters
Name Description
repository Repository

Required. The repository to update.

updateMask FieldMask

Optional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskRepository

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
Repository repository = new Repository();
FieldMask updateMask = new FieldMask();
// Make the request
Repository response = await dataformClient.UpdateRepositoryAsync(repository, updateMask);

UpdateRepositoryAsync(UpdateRepositoryRequest, CallSettings)

public virtual Task<Repository> UpdateRepositoryAsync(UpdateRepositoryRequest request, CallSettings callSettings = null)

Updates a single Repository.

Parameters
Name Description
request UpdateRepositoryRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRepository

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
UpdateRepositoryRequest request = new UpdateRepositoryRequest
{
    UpdateMask = new FieldMask(),
    Repository = new Repository(),
};
// Make the request
Repository response = await dataformClient.UpdateRepositoryAsync(request);

UpdateRepositoryAsync(UpdateRepositoryRequest, CancellationToken)

public virtual Task<Repository> UpdateRepositoryAsync(UpdateRepositoryRequest request, CancellationToken cancellationToken)

Updates a single Repository.

Parameters
Name Description
request UpdateRepositoryRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskRepository

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
UpdateRepositoryRequest request = new UpdateRepositoryRequest
{
    UpdateMask = new FieldMask(),
    Repository = new Repository(),
};
// Make the request
Repository response = await dataformClient.UpdateRepositoryAsync(request);

UpdateWorkflowConfig(UpdateWorkflowConfigRequest, CallSettings)

public virtual WorkflowConfig UpdateWorkflowConfig(UpdateWorkflowConfigRequest request, CallSettings callSettings = null)

Updates a single WorkflowConfig.

Parameters
Name Description
request UpdateWorkflowConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WorkflowConfig

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
UpdateWorkflowConfigRequest request = new UpdateWorkflowConfigRequest
{
    UpdateMask = new FieldMask(),
    WorkflowConfig = new WorkflowConfig(),
};
// Make the request
WorkflowConfig response = dataformClient.UpdateWorkflowConfig(request);

UpdateWorkflowConfig(WorkflowConfig, FieldMask, CallSettings)

public virtual WorkflowConfig UpdateWorkflowConfig(WorkflowConfig workflowConfig, FieldMask updateMask, CallSettings callSettings = null)

Updates a single WorkflowConfig.

Parameters
Name Description
workflowConfig WorkflowConfig

Required. The workflow config to update.

updateMask FieldMask

Optional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WorkflowConfig

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
WorkflowConfig workflowConfig = new WorkflowConfig();
FieldMask updateMask = new FieldMask();
// Make the request
WorkflowConfig response = dataformClient.UpdateWorkflowConfig(workflowConfig, updateMask);

UpdateWorkflowConfigAsync(UpdateWorkflowConfigRequest, CallSettings)

public virtual Task<WorkflowConfig> UpdateWorkflowConfigAsync(UpdateWorkflowConfigRequest request, CallSettings callSettings = null)

Updates a single WorkflowConfig.

Parameters
Name Description
request UpdateWorkflowConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkflowConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
UpdateWorkflowConfigRequest request = new UpdateWorkflowConfigRequest
{
    UpdateMask = new FieldMask(),
    WorkflowConfig = new WorkflowConfig(),
};
// Make the request
WorkflowConfig response = await dataformClient.UpdateWorkflowConfigAsync(request);

UpdateWorkflowConfigAsync(UpdateWorkflowConfigRequest, CancellationToken)

public virtual Task<WorkflowConfig> UpdateWorkflowConfigAsync(UpdateWorkflowConfigRequest request, CancellationToken cancellationToken)

Updates a single WorkflowConfig.

Parameters
Name Description
request UpdateWorkflowConfigRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkflowConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
UpdateWorkflowConfigRequest request = new UpdateWorkflowConfigRequest
{
    UpdateMask = new FieldMask(),
    WorkflowConfig = new WorkflowConfig(),
};
// Make the request
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.

Parameters
Name Description
workflowConfig WorkflowConfig

Required. The workflow config to update.

updateMask FieldMask

Optional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWorkflowConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
WorkflowConfig workflowConfig = new WorkflowConfig();
FieldMask updateMask = new FieldMask();
// Make the request
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.

Parameters
Name Description
workflowConfig WorkflowConfig

Required. The workflow config to update.

updateMask FieldMask

Optional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWorkflowConfig

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
WorkflowConfig workflowConfig = new WorkflowConfig();
FieldMask updateMask = new FieldMask();
// Make the request
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 WriteFileRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
WriteFileResponse

The RPC response.

Example
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
WriteFileRequest request = new WriteFileRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
    Contents = ByteString.Empty,
};
// Make the request
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 WriteFileRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskWriteFileResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
WriteFileRequest request = new WriteFileRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
    Contents = ByteString.Empty,
};
// Make the request
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 WriteFileRequest

The request object containing all of the parameters for the API call.

cancellationToken CancellationToken

A CancellationToken to use for this RPC.

Returns
Type Description
TaskWriteFileResponse

A Task containing the RPC response.

Example
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
WriteFileRequest request = new WriteFileRequest
{
    WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
    Path = "",
    Contents = ByteString.Empty,
};
// Make the request
WriteFileResponse response = await dataformClient.WriteFileAsync(request);