public abstract class DataformClientReference documentation and code samples for the Dataform v1beta1 API class DataformClient.
Dataform client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.Dataform.V1Beta1Assembly
Google.Cloud.Dataform.V1Beta1.dll
Remarks
Dataform is a service to develop, create, document, test, and update curated tables in BigQuery.
Properties
DefaultEndpoint
public static string DefaultEndpoint { get; }The default endpoint for the Dataform service, which is a host of "dataform.googleapis.com" and a port of 443.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }The default Dataform scopes.
| Property Value | |
|---|---|
| Type | Description |
IReadOnlyListstring |
|
The default Dataform scopes are:
GrpcClient
public virtual Dataform.DataformClient GrpcClient { get; }The underlying gRPC Dataform client
| Property Value | |
|---|---|
| Type | Description |
DataformDataformClient |
|
IAMPolicyClient
public virtual IAMPolicyClient IAMPolicyClient { get; }The IAMPolicyClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
IAMPolicyClient |
|
LocationsClient
public virtual LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }The service metadata associated with this client type.
| Property Value | |
|---|---|
| Type | Description |
ServiceMetadata |
|
Methods
CancelWorkflowInvocation(CancelWorkflowInvocationRequest, CallSettings)
public virtual CancelWorkflowInvocationResponse CancelWorkflowInvocation(CancelWorkflowInvocationRequest request, CallSettings callSettings = null)Requests cancellation of a running WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CancelWorkflowInvocationResponse |
The RPC response. |
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
CancelWorkflowInvocationRequest request = new CancelWorkflowInvocationRequest
{
WorkflowInvocationName = WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
CancelWorkflowInvocationResponse response = dataformClient.CancelWorkflowInvocation(request);
CancelWorkflowInvocationAsync(CancelWorkflowInvocationRequest, CallSettings)
public virtual Task<CancelWorkflowInvocationResponse> CancelWorkflowInvocationAsync(CancelWorkflowInvocationRequest request, CallSettings callSettings = null)Requests cancellation of a running WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCancelWorkflowInvocationResponse |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CancelWorkflowInvocationRequest request = new CancelWorkflowInvocationRequest
{
WorkflowInvocationName = WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
CancelWorkflowInvocationResponse response = await dataformClient.CancelWorkflowInvocationAsync(request);
CancelWorkflowInvocationAsync(CancelWorkflowInvocationRequest, CancellationToken)
public virtual Task<CancelWorkflowInvocationResponse> CancelWorkflowInvocationAsync(CancelWorkflowInvocationRequest request, CancellationToken cancellationToken)Requests cancellation of a running WorkflowInvocation.
| Parameters | |
|---|---|
| Name | Description |
request |
CancelWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCancelWorkflowInvocationResponse |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
CancelWorkflowInvocationRequest request = new CancelWorkflowInvocationRequest
{
WorkflowInvocationName = WorkflowInvocationName.FromProjectLocationRepositoryWorkflowInvocation("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKFLOW_INVOCATION]"),
};
// Make the request
CancelWorkflowInvocationResponse response = await dataformClient.CancelWorkflowInvocationAsync(request);
CommitRepositoryChanges(CommitRepositoryChangesRequest, CallSettings)
public virtual CommitRepositoryChangesResponse CommitRepositoryChanges(CommitRepositoryChangesRequest request, CallSettings callSettings = null)Applies a Git commit to a Repository. The Repository must not have a value
for git_remote_settings.url.
| Parameters | |
|---|---|
| Name | Description |
request |
CommitRepositoryChangesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CommitRepositoryChangesResponse |
The RPC response. |
// Create client
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
CommitRepositoryChangesResponse response = dataformClient.CommitRepositoryChanges(request);
CommitRepositoryChangesAsync(CommitRepositoryChangesRequest, CallSettings)
public virtual Task<CommitRepositoryChangesResponse> CommitRepositoryChangesAsync(CommitRepositoryChangesRequest request, CallSettings callSettings = null)Applies a Git commit to a Repository. The Repository must not have a value
for git_remote_settings.url.
| Parameters | |
|---|---|
| Name | Description |
request |
CommitRepositoryChangesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCommitRepositoryChangesResponse |
A Task containing the RPC response. |
// Create client
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
CommitRepositoryChangesResponse response = await dataformClient.CommitRepositoryChangesAsync(request);
CommitRepositoryChangesAsync(CommitRepositoryChangesRequest, CancellationToken)
public virtual Task<CommitRepositoryChangesResponse> CommitRepositoryChangesAsync(CommitRepositoryChangesRequest request, CancellationToken cancellationToken)Applies a Git commit to a Repository. The Repository must not have a value
for git_remote_settings.url.
| Parameters | |
|---|---|
| Name | Description |
request |
CommitRepositoryChangesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCommitRepositoryChangesResponse |
A Task containing the RPC response. |
// Create client
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
CommitRepositoryChangesResponse response = await dataformClient.CommitRepositoryChangesAsync(request);
CommitWorkspaceChanges(CommitWorkspaceChangesRequest, CallSettings)
public virtual CommitWorkspaceChangesResponse CommitWorkspaceChanges(CommitWorkspaceChangesRequest request, CallSettings callSettings = null)Applies a Git commit for uncommitted files in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
CommitWorkspaceChangesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CommitWorkspaceChangesResponse |
The RPC response. |
// Create client
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
CommitWorkspaceChangesResponse response = dataformClient.CommitWorkspaceChanges(request);
CommitWorkspaceChangesAsync(CommitWorkspaceChangesRequest, CallSettings)
public virtual Task<CommitWorkspaceChangesResponse> CommitWorkspaceChangesAsync(CommitWorkspaceChangesRequest request, CallSettings callSettings = null)Applies a Git commit for uncommitted files in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
CommitWorkspaceChangesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCommitWorkspaceChangesResponse |
A Task containing the RPC response. |
// Create client
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
CommitWorkspaceChangesResponse response = await dataformClient.CommitWorkspaceChangesAsync(request);
CommitWorkspaceChangesAsync(CommitWorkspaceChangesRequest, CancellationToken)
public virtual Task<CommitWorkspaceChangesResponse> CommitWorkspaceChangesAsync(CommitWorkspaceChangesRequest request, CancellationToken cancellationToken)Applies a Git commit for uncommitted files in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
CommitWorkspaceChangesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCommitWorkspaceChangesResponse |
A Task containing the RPC response. |
// Create client
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
CommitWorkspaceChangesResponse response = await dataformClient.CommitWorkspaceChangesAsync(request);
ComputeRepositoryAccessTokenStatus(ComputeRepositoryAccessTokenStatusRequest, CallSettings)
public virtual ComputeRepositoryAccessTokenStatusResponse ComputeRepositoryAccessTokenStatus(ComputeRepositoryAccessTokenStatusRequest request, CallSettings callSettings = null)Computes a Repository's Git access token status.
| Parameters | |
|---|---|
| Name | Description |
request |
ComputeRepositoryAccessTokenStatusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ComputeRepositoryAccessTokenStatusResponse |
The RPC response. |
// Create client
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 |
ComputeRepositoryAccessTokenStatusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskComputeRepositoryAccessTokenStatusResponse |
A Task containing the RPC response. |
// Create client
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 |
ComputeRepositoryAccessTokenStatusRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskComputeRepositoryAccessTokenStatusResponse |
A Task containing the RPC response. |
// Create client
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 |
CancellationTokenThe CancellationToken to use while creating the client. |
| Returns | |
|---|---|
| Type | Description |
TaskDataformClient |
The task representing the created DataformClient. |
CreateCompilationResult(CreateCompilationResultRequest, CallSettings)
public virtual CompilationResult CreateCompilationResult(CreateCompilationResultRequest request, CallSettings callSettings = null)Creates a new CompilationResult in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCompilationResultRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CompilationResult |
The RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository in which to create the compilation result. Must be
in the format |
compilationResult |
CompilationResultRequired. The compilation result to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CompilationResult |
The RPC response. |
// Create client
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 |
stringRequired. The repository in which to create the compilation result. Must be
in the format |
compilationResult |
CompilationResultRequired. The compilation result to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CompilationResult |
The RPC response. |
// Create client
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 |
CreateCompilationResultRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
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 |
CreateCompilationResultRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository in which to create the compilation result. Must be
in the format |
compilationResult |
CompilationResultRequired. The compilation result to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository in which to create the compilation result. Must be
in the format |
compilationResult |
CompilationResultRequired. The compilation result to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The repository in which to create the compilation result. Must be
in the format |
compilationResult |
CompilationResultRequired. The compilation result to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The repository in which to create the compilation result. Must be
in the format |
compilationResult |
CompilationResultRequired. The compilation result to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
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 |
CreateReleaseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReleaseConfig |
The RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository in which to create the release config. Must be in
the format |
releaseConfig |
ReleaseConfigRequired. The release config to create. |
releaseConfigId |
stringRequired. The ID to use for the release config, which will become the final component of the release config's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReleaseConfig |
The RPC response. |
// Create client
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 |
stringRequired. The repository in which to create the release config. Must be in
the format |
releaseConfig |
ReleaseConfigRequired. The release config to create. |
releaseConfigId |
stringRequired. The ID to use for the release config, which will become the final component of the release config's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReleaseConfig |
The RPC response. |
// Create client
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 |
CreateReleaseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
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 |
CreateReleaseConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository in which to create the release config. Must be in
the format |
releaseConfig |
ReleaseConfigRequired. The release config to create. |
releaseConfigId |
stringRequired. The ID to use for the release config, which will become the final component of the release config's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository in which to create the release config. Must be in
the format |
releaseConfig |
ReleaseConfigRequired. The release config to create. |
releaseConfigId |
stringRequired. The ID to use for the release config, which will become the final component of the release config's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The repository in which to create the release config. Must be in
the format |
releaseConfig |
ReleaseConfigRequired. The release config to create. |
releaseConfigId |
stringRequired. The ID to use for the release config, which will become the final component of the release config's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The repository in which to create the release config. Must be in
the format |
releaseConfig |
ReleaseConfigRequired. The release config to create. |
releaseConfigId |
stringRequired. The ID to use for the release config, which will become the final component of the release config's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
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 |
LocationNameRequired. The location in which to create the repository. Must be in the
format |
repository |
RepositoryRequired. The repository to create. |
repositoryId |
stringRequired. The ID to use for the repository, which will become the final component of the repository's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
// Create client
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 |
CreateRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
// Create client
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 |
stringRequired. The location in which to create the repository. Must be in the
format |
repository |
RepositoryRequired. The repository to create. |
repositoryId |
stringRequired. The ID to use for the repository, which will become the final component of the repository's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
// Create client
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 |
LocationNameRequired. The location in which to create the repository. Must be in the
format |
repository |
RepositoryRequired. The repository to create. |
repositoryId |
stringRequired. The ID to use for the repository, which will become the final component of the repository's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
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 |
LocationNameRequired. The location in which to create the repository. Must be in the
format |
repository |
RepositoryRequired. The repository to create. |
repositoryId |
stringRequired. The ID to use for the repository, which will become the final component of the repository's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
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 |
CreateRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
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 |
CreateRepositoryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The location in which to create the repository. Must be in the
format |
repository |
RepositoryRequired. The repository to create. |
repositoryId |
stringRequired. The ID to use for the repository, which will become the final component of the repository's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The location in which to create the repository. Must be in the
format |
repository |
RepositoryRequired. The repository to create. |
repositoryId |
stringRequired. The ID to use for the repository, which will become the final component of the repository's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
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 |
CreateWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowConfig |
The RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository in which to create the workflow config. Must be in
the format |
workflowConfig |
WorkflowConfigRequired. The workflow config to create. |
workflowConfigId |
stringRequired. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowConfig |
The RPC response. |
// Create client
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 |
stringRequired. The repository in which to create the workflow config. Must be in
the format |
workflowConfig |
WorkflowConfigRequired. The workflow config to create. |
workflowConfigId |
stringRequired. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowConfig |
The RPC response. |
// Create client
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 |
CreateWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
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 |
CreateWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository in which to create the workflow config. Must be in
the format |
workflowConfig |
WorkflowConfigRequired. The workflow config to create. |
workflowConfigId |
stringRequired. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository in which to create the workflow config. Must be in
the format |
workflowConfig |
WorkflowConfigRequired. The workflow config to create. |
workflowConfigId |
stringRequired. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The repository in which to create the workflow config. Must be in
the format |
workflowConfig |
WorkflowConfigRequired. The workflow config to create. |
workflowConfigId |
stringRequired. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The repository in which to create the workflow config. Must be in
the format |
workflowConfig |
WorkflowConfigRequired. The workflow config to create. |
workflowConfigId |
stringRequired. The ID to use for the workflow config, which will become the final component of the workflow config's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
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 |
CreateWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowInvocation |
The RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository in which to create the workflow invocation. Must
be in the format |
workflowInvocation |
WorkflowInvocationRequired. The workflow invocation resource to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowInvocation |
The RPC response. |
// Create client
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 |
stringRequired. The repository in which to create the workflow invocation. Must
be in the format |
workflowInvocation |
WorkflowInvocationRequired. The workflow invocation resource to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowInvocation |
The RPC response. |
// Create client
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 |
CreateWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
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 |
CreateWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository in which to create the workflow invocation. Must
be in the format |
workflowInvocation |
WorkflowInvocationRequired. The workflow invocation resource to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository in which to create the workflow invocation. Must
be in the format |
workflowInvocation |
WorkflowInvocationRequired. The workflow invocation resource to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The repository in which to create the workflow invocation. Must
be in the format |
workflowInvocation |
WorkflowInvocationRequired. The workflow invocation resource to create. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The repository in which to create the workflow invocation. Must
be in the format |
workflowInvocation |
WorkflowInvocationRequired. The workflow invocation resource to create. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
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 |
CreateWorkspaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Workspace |
The RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository in which to create the workspace. Must be in the
format |
workspace |
WorkspaceRequired. The workspace to create. |
workspaceId |
stringRequired. The ID to use for the workspace, which will become the final component of the workspace's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Workspace |
The RPC response. |
// Create client
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 |
stringRequired. The repository in which to create the workspace. Must be in the
format |
workspace |
WorkspaceRequired. The workspace to create. |
workspaceId |
stringRequired. The ID to use for the workspace, which will become the final component of the workspace's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Workspace |
The RPC response. |
// Create client
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 |
CreateWorkspaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
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 |
CreateWorkspaceRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository in which to create the workspace. Must be in the
format |
workspace |
WorkspaceRequired. The workspace to create. |
workspaceId |
stringRequired. The ID to use for the workspace, which will become the final component of the workspace's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository in which to create the workspace. Must be in the
format |
workspace |
WorkspaceRequired. The workspace to create. |
workspaceId |
stringRequired. The ID to use for the workspace, which will become the final component of the workspace's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The repository in which to create the workspace. Must be in the
format |
workspace |
WorkspaceRequired. The workspace to create. |
workspaceId |
stringRequired. The ID to use for the workspace, which will become the final component of the workspace's resource name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The repository in which to create the workspace. Must be in the
format |
workspace |
WorkspaceRequired. The workspace to create. |
workspaceId |
stringRequired. The ID to use for the workspace, which will become the final component of the workspace's resource name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
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 |
DeleteReleaseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 |
ReleaseConfigNameRequired. The release config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 |
stringRequired. The release config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 |
DeleteReleaseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
DeleteReleaseConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
ReleaseConfigNameRequired. The release config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
ReleaseConfigNameRequired. The release config's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The release config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The release config's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
DeleteRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 |
RepositoryNameRequired. The repository's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 |
stringRequired. The repository's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 |
DeleteRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
DeleteRepositoryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The repository's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The repository's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
DeleteWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 |
WorkflowConfigNameRequired. The workflow config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 |
stringRequired. The workflow config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 |
DeleteWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
DeleteWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
WorkflowConfigNameRequired. The workflow config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
WorkflowConfigNameRequired. The workflow config's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The workflow config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The workflow config's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
DeleteWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 |
WorkflowInvocationNameRequired. The workflow invocation resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 |
stringRequired. The workflow invocation resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 |
DeleteWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
DeleteWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
WorkflowInvocationNameRequired. The workflow invocation resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
WorkflowInvocationNameRequired. The workflow invocation resource's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The workflow invocation resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The workflow invocation resource's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
DeleteWorkspaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 |
WorkspaceNameRequired. The workspace resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 |
stringRequired. The workspace resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
// 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 |
DeleteWorkspaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
DeleteWorkspaceRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
WorkspaceNameRequired. The workspace resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
WorkspaceNameRequired. The workspace resource's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The workspace resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The workspace resource's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
// Create client
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 |
FetchFileDiffRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FetchFileDiffResponse |
The RPC response. |
// Create client
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 |
FetchFileDiffRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchFileDiffResponse |
A Task containing the RPC response. |
// Create client
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 |
FetchFileDiffRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchFileDiffResponse |
A Task containing the RPC response. |
// Create client
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 |
FetchFileGitStatusesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FetchFileGitStatusesResponse |
The RPC response. |
// Create client
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 |
FetchFileGitStatusesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchFileGitStatusesResponse |
A Task containing the RPC response. |
// Create client
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 |
FetchFileGitStatusesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchFileGitStatusesResponse |
A Task containing the RPC response. |
// Create client
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 |
FetchGitAheadBehindRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FetchGitAheadBehindResponse |
The RPC response. |
// Create client
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 |
FetchGitAheadBehindRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchGitAheadBehindResponse |
A Task containing the RPC response. |
// Create client
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 |
FetchGitAheadBehindRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchGitAheadBehindResponse |
A Task containing the RPC response. |
// Create client
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 |
FetchRemoteBranchesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
FetchRemoteBranchesResponse |
The RPC response. |
// Create client
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 |
FetchRemoteBranchesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchRemoteBranchesResponse |
A Task containing the RPC response. |
// Create client
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 |
FetchRemoteBranchesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchRemoteBranchesResponse |
A Task containing the RPC response. |
// Create client
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 |
FetchRepositoryHistoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableFetchRepositoryHistoryResponseCommitLogEntry |
A pageable sequence of CommitLogEntry resources. |
// Create client
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 |
FetchRepositoryHistoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableFetchRepositoryHistoryResponseCommitLogEntry |
A pageable asynchronous sequence of CommitLogEntry resources. |
// Create client
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 |
CompilationResultNameRequired. The compilation result's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CompilationResult |
The RPC response. |
// Create client
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 |
GetCompilationResultRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CompilationResult |
The RPC response. |
// Create client
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 |
stringRequired. The compilation result's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CompilationResult |
The RPC response. |
// Create client
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 |
CompilationResultNameRequired. The compilation result's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
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 |
CompilationResultNameRequired. The compilation result's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
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 |
GetCompilationResultRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
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 |
GetCompilationResultRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The compilation result's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The compilation result's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskCompilationResult |
A Task containing the RPC response. |
// Create client
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);
GetConfig(ConfigName, CallSettings)
public virtual Config GetConfig(ConfigName name, CallSettings callSettings = null)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
name |
ConfigNameRequired. The config name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Config |
The RPC response. |
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
ConfigName name = ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Config response = dataformClient.GetConfig(name);
GetConfig(GetConfigRequest, CallSettings)
public virtual Config GetConfig(GetConfigRequest request, CallSettings callSettings = null)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
GetConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Config |
The RPC response. |
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
GetConfigRequest request = new GetConfigRequest
{
ConfigName = ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
Config response = dataformClient.GetConfig(request);
GetConfig(string, CallSettings)
public virtual Config GetConfig(string name, CallSettings callSettings = null)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The config name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Config |
The RPC response. |
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/config";
// Make the request
Config response = dataformClient.GetConfig(name);
GetConfigAsync(ConfigName, CallSettings)
public virtual Task<Config> GetConfigAsync(ConfigName name, CallSettings callSettings = null)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
name |
ConfigNameRequired. The config name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ConfigName name = ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Config response = await dataformClient.GetConfigAsync(name);
GetConfigAsync(ConfigName, CancellationToken)
public virtual Task<Config> GetConfigAsync(ConfigName name, CancellationToken cancellationToken)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
name |
ConfigNameRequired. The config name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ConfigName name = ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]");
// Make the request
Config response = await dataformClient.GetConfigAsync(name);
GetConfigAsync(GetConfigRequest, CallSettings)
public virtual Task<Config> GetConfigAsync(GetConfigRequest request, CallSettings callSettings = null)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
GetConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
GetConfigRequest request = new GetConfigRequest
{
ConfigName = ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
Config response = await dataformClient.GetConfigAsync(request);
GetConfigAsync(GetConfigRequest, CancellationToken)
public virtual Task<Config> GetConfigAsync(GetConfigRequest request, CancellationToken cancellationToken)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
GetConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
GetConfigRequest request = new GetConfigRequest
{
ConfigName = ConfigName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
};
// Make the request
Config response = await dataformClient.GetConfigAsync(request);
GetConfigAsync(string, CallSettings)
public virtual Task<Config> GetConfigAsync(string name, CallSettings callSettings = null)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The config name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/config";
// Make the request
Config response = await dataformClient.GetConfigAsync(name);
GetConfigAsync(string, CancellationToken)
public virtual Task<Config> GetConfigAsync(string name, CancellationToken cancellationToken)Get default config for a given project and location.
| Parameters | |
|---|---|
| Name | Description |
name |
stringRequired. The config name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/config";
// Make the request
Config response = await dataformClient.GetConfigAsync(name);
GetReleaseConfig(GetReleaseConfigRequest, CallSettings)
public virtual ReleaseConfig GetReleaseConfig(GetReleaseConfigRequest request, CallSettings callSettings = null)Fetches a single ReleaseConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
GetReleaseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReleaseConfig |
The RPC response. |
// Create client
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 |
ReleaseConfigNameRequired. The release config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReleaseConfig |
The RPC response. |
// Create client
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 |
stringRequired. The release config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReleaseConfig |
The RPC response. |
// Create client
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 |
GetReleaseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
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 |
GetReleaseConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
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 |
ReleaseConfigNameRequired. The release config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
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 |
ReleaseConfigNameRequired. The release config's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The release config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The release config's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
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 |
GetRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
// 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 |
stringRequired. The repository's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
// 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 |
GetRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
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 |
GetRepositoryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
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 |
RepositoryNameRequired. The repository's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The repository's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The repository's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
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 |
GetWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowConfig |
The RPC response. |
// Create client
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 |
WorkflowConfigNameRequired. The workflow config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowConfig |
The RPC response. |
// Create client
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 |
stringRequired. The workflow config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowConfig |
The RPC response. |
// Create client
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 |
GetWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
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 |
GetWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
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 |
WorkflowConfigNameRequired. The workflow config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
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 |
WorkflowConfigNameRequired. The workflow config's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The workflow config's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The workflow config's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
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 |
GetWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowInvocation |
The RPC response. |
// Create client
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 |
WorkflowInvocationNameRequired. The workflow invocation resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowInvocation |
The RPC response. |
// Create client
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 |
stringRequired. The workflow invocation resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowInvocation |
The RPC response. |
// Create client
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 |
GetWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
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 |
GetWorkflowInvocationRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
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 |
WorkflowInvocationNameRequired. The workflow invocation resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
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 |
WorkflowInvocationNameRequired. The workflow invocation resource's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The workflow invocation resource's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The workflow invocation resource's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowInvocation |
A Task containing the RPC response. |
// Create client
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 |
GetWorkspaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Workspace |
The RPC response. |
// Create client
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 |
WorkspaceNameRequired. The workspace's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Workspace |
The RPC response. |
// 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 |
stringRequired. The workspace's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Workspace |
The RPC response. |
// 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 |
GetWorkspaceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
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 |
GetWorkspaceRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
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 |
WorkspaceNameRequired. The workspace's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
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 |
WorkspaceNameRequired. The workspace's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The workspace's name. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
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 |
stringRequired. The workspace's name. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkspace |
A Task containing the RPC response. |
// Create client
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 |
InstallNpmPackagesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
InstallNpmPackagesResponse |
The RPC response. |
// Create client
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 |
InstallNpmPackagesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskInstallNpmPackagesResponse |
A Task containing the RPC response. |
// Create client
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 |
InstallNpmPackagesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskInstallNpmPackagesResponse |
A Task containing the RPC response. |
// Create client
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 |
ListCompilationResultsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCompilationResultsResponseCompilationResult |
A pageable sequence of CompilationResult resources. |
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
ListCompilationResultsRequest request = new ListCompilationResultsRequest
{
ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
OrderBy = "",
Filter = "",
};
// 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 |
RepositoryNameRequired. The repository in which to list compilation results. Must be in
the format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCompilationResultsResponseCompilationResult |
A pageable sequence of CompilationResult resources. |
// Create client
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 |
stringRequired. The repository in which to list compilation results. Must be in
the format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCompilationResultsResponseCompilationResult |
A pageable sequence of CompilationResult resources. |
// Create client
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 |
ListCompilationResultsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCompilationResultsResponseCompilationResult |
A pageable asynchronous sequence of CompilationResult resources. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ListCompilationResultsRequest request = new ListCompilationResultsRequest
{
ParentAsRepositoryName = RepositoryName.FromProjectLocationRepository("[PROJECT]", "[LOCATION]", "[REPOSITORY]"),
OrderBy = "",
Filter = "",
};
// 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 |
RepositoryNameRequired. The repository in which to list compilation results. Must be in
the format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCompilationResultsResponseCompilationResult |
A pageable asynchronous sequence of CompilationResult resources. |
// Create client
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 |
stringRequired. The repository in which to list compilation results. Must be in
the format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCompilationResultsResponseCompilationResult |
A pageable asynchronous sequence of CompilationResult resources. |
// Create client
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 |
ListReleaseConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListReleaseConfigsResponseReleaseConfig |
A pageable sequence of ReleaseConfig resources. |
// Create client
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 |
RepositoryNameRequired. The repository in which to list release configs. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListReleaseConfigsResponseReleaseConfig |
A pageable sequence of ReleaseConfig resources. |
// Create client
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 |
stringRequired. The repository in which to list release configs. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListReleaseConfigsResponseReleaseConfig |
A pageable sequence of ReleaseConfig resources. |
// Create client
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 |
ListReleaseConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListReleaseConfigsResponseReleaseConfig |
A pageable asynchronous sequence of ReleaseConfig resources. |
// Create client
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 |
RepositoryNameRequired. The repository in which to list release configs. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListReleaseConfigsResponseReleaseConfig |
A pageable asynchronous sequence of ReleaseConfig resources. |
// Create client
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 |
stringRequired. The repository in which to list release configs. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListReleaseConfigsResponseReleaseConfig |
A pageable asynchronous sequence of ReleaseConfig resources. |
// Create client
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.
Note: This method can return repositories not shown in the Dataform UI.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The location in which to list repositories. Must be in the format
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListRepositoriesResponseRepository |
A pageable sequence of Repository resources. |
// Create client
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.
Note: This method can return repositories not shown in the Dataform UI.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRepositoriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListRepositoriesResponseRepository |
A pageable sequence of Repository resources. |
// Create client
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.
Note: This method can return repositories not shown in the Dataform UI.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The location in which to list repositories. Must be in the format
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListRepositoriesResponseRepository |
A pageable sequence of Repository resources. |
// Create client
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.
Note: This method can return repositories not shown in the Dataform UI.
| Parameters | |
|---|---|
| Name | Description |
parent |
LocationNameRequired. The location in which to list repositories. Must be in the format
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListRepositoriesResponseRepository |
A pageable asynchronous sequence of Repository resources. |
// Create client
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.
Note: This method can return repositories not shown in the Dataform UI.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRepositoriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListRepositoriesResponseRepository |
A pageable asynchronous sequence of Repository resources. |
// Create client
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.
Note: This method can return repositories not shown in the Dataform UI.
| Parameters | |
|---|---|
| Name | Description |
parent |
stringRequired. The location in which to list repositories. Must be in the format
|
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListRepositoriesResponseRepository |
A pageable asynchronous sequence of Repository resources. |
// Create client
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 |
ListWorkflowConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkflowConfigsResponseWorkflowConfig |
A pageable sequence of WorkflowConfig resources. |
// Create client
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 |
RepositoryNameRequired. The repository in which to list workflow configs. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkflowConfigsResponseWorkflowConfig |
A pageable sequence of WorkflowConfig resources. |
// Create client
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 |
stringRequired. The repository in which to list workflow configs. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkflowConfigsResponseWorkflowConfig |
A pageable sequence of WorkflowConfig resources. |
// Create client
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 |
ListWorkflowConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkflowConfigsResponseWorkflowConfig |
A pageable asynchronous sequence of WorkflowConfig resources. |
// Create client
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 |
RepositoryNameRequired. The repository in which to list workflow configs. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkflowConfigsResponseWorkflowConfig |
A pageable asynchronous sequence of WorkflowConfig resources. |
// Create client
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 |
stringRequired. The repository in which to list workflow configs. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkflowConfigsResponseWorkflowConfig |
A pageable asynchronous sequence of WorkflowConfig resources. |
// Create client
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 |
ListWorkflowInvocationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkflowInvocationsResponseWorkflowInvocation |
A pageable sequence of WorkflowInvocation resources. |
// Create client
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 |
RepositoryNameRequired. The parent resource of the WorkflowInvocation type. Must be in
the format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkflowInvocationsResponseWorkflowInvocation |
A pageable sequence of WorkflowInvocation resources. |
// Create client
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 |
stringRequired. The parent resource of the WorkflowInvocation type. Must be in
the format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkflowInvocationsResponseWorkflowInvocation |
A pageable sequence of WorkflowInvocation resources. |
// Create client
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 |
ListWorkflowInvocationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkflowInvocationsResponseWorkflowInvocation |
A pageable asynchronous sequence of WorkflowInvocation resources. |
// Create client
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 |
RepositoryNameRequired. The parent resource of the WorkflowInvocation type. Must be in
the format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkflowInvocationsResponseWorkflowInvocation |
A pageable asynchronous sequence of WorkflowInvocation resources. |
// Create client
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 |
stringRequired. The parent resource of the WorkflowInvocation type. Must be in
the format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkflowInvocationsResponseWorkflowInvocation |
A pageable asynchronous sequence of WorkflowInvocation resources. |
// Create client
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 |
ListWorkspacesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkspacesResponseWorkspace |
A pageable sequence of Workspace resources. |
// Create client
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 |
RepositoryNameRequired. The repository in which to list workspaces. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkspacesResponseWorkspace |
A pageable sequence of Workspace resources. |
// Create client
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 |
stringRequired. The repository in which to list workspaces. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListWorkspacesResponseWorkspace |
A pageable sequence of Workspace resources. |
// Create client
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 |
ListWorkspacesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkspacesResponseWorkspace |
A pageable asynchronous sequence of Workspace resources. |
// Create client
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 |
RepositoryNameRequired. The repository in which to list workspaces. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkspacesResponseWorkspace |
A pageable asynchronous sequence of Workspace resources. |
// Create client
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 |
stringRequired. The repository in which to list workspaces. Must be in the
format |
pageToken |
stringThe token returned from the previous request. A value of |
pageSize |
intThe size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListWorkspacesResponseWorkspace |
A pageable asynchronous sequence of Workspace resources. |
// Create client
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 |
MakeDirectoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MakeDirectoryResponse |
The RPC response. |
// Create client
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 |
MakeDirectoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMakeDirectoryResponse |
A Task containing the RPC response. |
// Create client
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 |
MakeDirectoryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMakeDirectoryResponse |
A Task containing the RPC response. |
// Create client
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 |
MoveDirectoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MoveDirectoryResponse |
The RPC response. |
// Create client
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 |
MoveDirectoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMoveDirectoryResponse |
A Task containing the RPC response. |
// Create client
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 |
MoveDirectoryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMoveDirectoryResponse |
A Task containing the RPC response. |
// Create client
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 |
MoveFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
MoveFileResponse |
The RPC response. |
// Create client
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 |
MoveFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskMoveFileResponse |
A Task containing the RPC response. |
// Create client
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 |
MoveFileRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskMoveFileResponse |
A Task containing the RPC response. |
// Create client
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 PullGitCommitsResponse PullGitCommits(PullGitCommitsRequest request, CallSettings callSettings = null)Pulls Git commits from the Repository's remote into a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
PullGitCommitsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PullGitCommitsResponse |
The RPC response. |
// Create client
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
PullGitCommitsResponse response = dataformClient.PullGitCommits(request);
PullGitCommitsAsync(PullGitCommitsRequest, CallSettings)
public virtual Task<PullGitCommitsResponse> PullGitCommitsAsync(PullGitCommitsRequest request, CallSettings callSettings = null)Pulls Git commits from the Repository's remote into a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
PullGitCommitsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPullGitCommitsResponse |
A Task containing the RPC response. |
// Create client
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
PullGitCommitsResponse response = await dataformClient.PullGitCommitsAsync(request);
PullGitCommitsAsync(PullGitCommitsRequest, CancellationToken)
public virtual Task<PullGitCommitsResponse> PullGitCommitsAsync(PullGitCommitsRequest request, CancellationToken cancellationToken)Pulls Git commits from the Repository's remote into a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
PullGitCommitsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPullGitCommitsResponse |
A Task containing the RPC response. |
// Create client
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
PullGitCommitsResponse response = await dataformClient.PullGitCommitsAsync(request);
PushGitCommits(PushGitCommitsRequest, CallSettings)
public virtual PushGitCommitsResponse PushGitCommits(PushGitCommitsRequest request, CallSettings callSettings = null)Pushes Git commits from a Workspace to the Repository's remote.
| Parameters | |
|---|---|
| Name | Description |
request |
PushGitCommitsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PushGitCommitsResponse |
The RPC response. |
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
PushGitCommitsRequest request = new PushGitCommitsRequest
{
WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
RemoteBranch = "",
};
// Make the request
PushGitCommitsResponse response = dataformClient.PushGitCommits(request);
PushGitCommitsAsync(PushGitCommitsRequest, CallSettings)
public virtual Task<PushGitCommitsResponse> PushGitCommitsAsync(PushGitCommitsRequest request, CallSettings callSettings = null)Pushes Git commits from a Workspace to the Repository's remote.
| Parameters | |
|---|---|
| Name | Description |
request |
PushGitCommitsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPushGitCommitsResponse |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
PushGitCommitsRequest request = new PushGitCommitsRequest
{
WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
RemoteBranch = "",
};
// Make the request
PushGitCommitsResponse response = await dataformClient.PushGitCommitsAsync(request);
PushGitCommitsAsync(PushGitCommitsRequest, CancellationToken)
public virtual Task<PushGitCommitsResponse> PushGitCommitsAsync(PushGitCommitsRequest request, CancellationToken cancellationToken)Pushes Git commits from a Workspace to the Repository's remote.
| Parameters | |
|---|---|
| Name | Description |
request |
PushGitCommitsRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskPushGitCommitsResponse |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
PushGitCommitsRequest request = new PushGitCommitsRequest
{
WorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
RemoteBranch = "",
};
// Make the request
PushGitCommitsResponse response = await dataformClient.PushGitCommitsAsync(request);
QueryCompilationResultActions(QueryCompilationResultActionsRequest, CallSettings)
public virtual PagedEnumerable<QueryCompilationResultActionsResponse, CompilationResultAction> QueryCompilationResultActions(QueryCompilationResultActionsRequest request, CallSettings callSettings = null)Returns CompilationResultActions in a given CompilationResult.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryCompilationResultActionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryCompilationResultActionsResponseCompilationResultAction |
A pageable sequence of CompilationResultAction resources. |
// Create client
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 |
QueryCompilationResultActionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryCompilationResultActionsResponseCompilationResultAction |
A pageable asynchronous sequence of CompilationResultAction resources. |
// Create client
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 |
QueryDirectoryContentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryDirectoryContentsResponseDirectoryEntry |
A pageable sequence of DirectoryEntry resources. |
// Create client
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 |
QueryDirectoryContentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryDirectoryContentsResponseDirectoryEntry |
A pageable asynchronous sequence of DirectoryEntry resources. |
// Create client
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 |
QueryRepositoryDirectoryContentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryRepositoryDirectoryContentsResponseDirectoryEntry |
A pageable sequence of DirectoryEntry resources. |
// Create client
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 |
QueryRepositoryDirectoryContentsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryRepositoryDirectoryContentsResponseDirectoryEntry |
A pageable asynchronous sequence of DirectoryEntry resources. |
// Create client
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 |
QueryWorkflowInvocationActionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryWorkflowInvocationActionsResponseWorkflowInvocationAction |
A pageable sequence of WorkflowInvocationAction resources. |
// Create client
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 |
QueryWorkflowInvocationActionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryWorkflowInvocationActionsResponseWorkflowInvocationAction |
A pageable asynchronous sequence of WorkflowInvocationAction resources. |
// Create client
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 |
ReadFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReadFileResponse |
The RPC response. |
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
ReadFileRequest request = new ReadFileRequest
{
WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
Revision = "",
};
// 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 |
ReadFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReadFileResponse |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ReadFileRequest request = new ReadFileRequest
{
WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
Revision = "",
};
// 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 |
ReadFileRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReadFileResponse |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
ReadFileRequest request = new ReadFileRequest
{
WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
Revision = "",
};
// 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 |
ReadRepositoryFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReadRepositoryFileResponse |
The RPC response. |
// Create client
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 |
ReadRepositoryFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReadRepositoryFileResponse |
A Task containing the RPC response. |
// Create client
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 |
ReadRepositoryFileRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReadRepositoryFileResponse |
A Task containing the RPC response. |
// Create client
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 RemoveDirectoryResponse RemoveDirectory(RemoveDirectoryRequest request, CallSettings callSettings = null)Deletes a directory (inside a Workspace) and all of its contents.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveDirectoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
RemoveDirectoryResponse |
The RPC response. |
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
RemoveDirectoryRequest request = new RemoveDirectoryRequest
{
WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
RemoveDirectoryResponse response = dataformClient.RemoveDirectory(request);
RemoveDirectoryAsync(RemoveDirectoryRequest, CallSettings)
public virtual Task<RemoveDirectoryResponse> RemoveDirectoryAsync(RemoveDirectoryRequest request, CallSettings callSettings = null)Deletes a directory (inside a Workspace) and all of its contents.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveDirectoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRemoveDirectoryResponse |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RemoveDirectoryRequest request = new RemoveDirectoryRequest
{
WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
RemoveDirectoryResponse response = await dataformClient.RemoveDirectoryAsync(request);
RemoveDirectoryAsync(RemoveDirectoryRequest, CancellationToken)
public virtual Task<RemoveDirectoryResponse> RemoveDirectoryAsync(RemoveDirectoryRequest request, CancellationToken cancellationToken)Deletes a directory (inside a Workspace) and all of its contents.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveDirectoryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRemoveDirectoryResponse |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RemoveDirectoryRequest request = new RemoveDirectoryRequest
{
WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
RemoveDirectoryResponse response = await dataformClient.RemoveDirectoryAsync(request);
RemoveFile(RemoveFileRequest, CallSettings)
public virtual RemoveFileResponse RemoveFile(RemoveFileRequest request, CallSettings callSettings = null)Deletes a file (inside a Workspace).
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
RemoveFileResponse |
The RPC response. |
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
RemoveFileRequest request = new RemoveFileRequest
{
WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
RemoveFileResponse response = dataformClient.RemoveFile(request);
RemoveFileAsync(RemoveFileRequest, CallSettings)
public virtual Task<RemoveFileResponse> RemoveFileAsync(RemoveFileRequest request, CallSettings callSettings = null)Deletes a file (inside a Workspace).
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRemoveFileResponse |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RemoveFileRequest request = new RemoveFileRequest
{
WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
RemoveFileResponse response = await dataformClient.RemoveFileAsync(request);
RemoveFileAsync(RemoveFileRequest, CancellationToken)
public virtual Task<RemoveFileResponse> RemoveFileAsync(RemoveFileRequest request, CancellationToken cancellationToken)Deletes a file (inside a Workspace).
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveFileRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRemoveFileResponse |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
RemoveFileRequest request = new RemoveFileRequest
{
WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Path = "",
};
// Make the request
RemoveFileResponse response = await dataformClient.RemoveFileAsync(request);
ResetWorkspaceChanges(ResetWorkspaceChangesRequest, CallSettings)
public virtual ResetWorkspaceChangesResponse ResetWorkspaceChanges(ResetWorkspaceChangesRequest request, CallSettings callSettings = null)Performs a Git reset for uncommitted files in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
ResetWorkspaceChangesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ResetWorkspaceChangesResponse |
The RPC response. |
// Create client
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
ResetWorkspaceChangesResponse response = dataformClient.ResetWorkspaceChanges(request);
ResetWorkspaceChangesAsync(ResetWorkspaceChangesRequest, CallSettings)
public virtual Task<ResetWorkspaceChangesResponse> ResetWorkspaceChangesAsync(ResetWorkspaceChangesRequest request, CallSettings callSettings = null)Performs a Git reset for uncommitted files in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
ResetWorkspaceChangesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskResetWorkspaceChangesResponse |
A Task containing the RPC response. |
// Create client
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
ResetWorkspaceChangesResponse response = await dataformClient.ResetWorkspaceChangesAsync(request);
ResetWorkspaceChangesAsync(ResetWorkspaceChangesRequest, CancellationToken)
public virtual Task<ResetWorkspaceChangesResponse> ResetWorkspaceChangesAsync(ResetWorkspaceChangesRequest request, CancellationToken cancellationToken)Performs a Git reset for uncommitted files in a Workspace.
| Parameters | |
|---|---|
| Name | Description |
request |
ResetWorkspaceChangesRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskResetWorkspaceChangesResponse |
A Task containing the RPC response. |
// Create client
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
ResetWorkspaceChangesResponse response = await dataformClient.ResetWorkspaceChangesAsync(request);
SearchFiles(SearchFilesRequest, CallSettings)
public virtual PagedEnumerable<SearchFilesResponse, SearchResult> SearchFiles(SearchFilesRequest request, CallSettings callSettings = null)Finds the contents of a given Workspace directory by filter.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchFilesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableSearchFilesResponseSearchResult |
A pageable sequence of SearchResult resources. |
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
SearchFilesRequest request = new SearchFilesRequest
{
WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Filter = "",
};
// Make the request
PagedEnumerable<SearchFilesResponse, SearchResult> response = dataformClient.SearchFiles(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (SearchResult item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (SearchFilesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SearchResult item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SearchResult> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SearchResult item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
SearchFilesAsync(SearchFilesRequest, CallSettings)
public virtual PagedAsyncEnumerable<SearchFilesResponse, SearchResult> SearchFilesAsync(SearchFilesRequest request, CallSettings callSettings = null)Finds the contents of a given Workspace directory by filter.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchFilesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableSearchFilesResponseSearchResult |
A pageable asynchronous sequence of SearchResult resources. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
SearchFilesRequest request = new SearchFilesRequest
{
WorkspaceAsWorkspaceName = WorkspaceName.FromProjectLocationRepositoryWorkspace("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[WORKSPACE]"),
Filter = "",
};
// Make the request
PagedAsyncEnumerable<SearchFilesResponse, SearchResult> response = dataformClient.SearchFilesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((SearchResult 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((SearchFilesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (SearchResult item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<SearchResult> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (SearchResult item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ShutdownDefaultChannelsAsync()
public static Task ShutdownDefaultChannelsAsync()Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.
| Returns | |
|---|---|
| Type | Description |
Task |
A task representing the asynchronous shutdown operation. |
After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.
UpdateConfig(Config, FieldMask, CallSettings)
public virtual Config UpdateConfig(Config config, FieldMask updateMask, CallSettings callSettings = null)Update default config for a given project and location.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
config |
ConfigRequired. The config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the config. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Config |
The RPC response. |
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
Config config = new Config();
FieldMask updateMask = new FieldMask();
// Make the request
Config response = dataformClient.UpdateConfig(config, updateMask);
UpdateConfig(UpdateConfigRequest, CallSettings)
public virtual Config UpdateConfig(UpdateConfigRequest request, CallSettings callSettings = null)Update default config for a given project and location.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Config |
The RPC response. |
// Create client
DataformClient dataformClient = DataformClient.Create();
// Initialize request argument(s)
UpdateConfigRequest request = new UpdateConfigRequest
{
Config = new Config(),
UpdateMask = new FieldMask(),
};
// Make the request
Config response = dataformClient.UpdateConfig(request);
UpdateConfigAsync(Config, FieldMask, CallSettings)
public virtual Task<Config> UpdateConfigAsync(Config config, FieldMask updateMask, CallSettings callSettings = null)Update default config for a given project and location.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
config |
ConfigRequired. The config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the config. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
Config config = new Config();
FieldMask updateMask = new FieldMask();
// Make the request
Config response = await dataformClient.UpdateConfigAsync(config, updateMask);
UpdateConfigAsync(Config, FieldMask, CancellationToken)
public virtual Task<Config> UpdateConfigAsync(Config config, FieldMask updateMask, CancellationToken cancellationToken)Update default config for a given project and location.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
config |
ConfigRequired. The config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the config. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
Config config = new Config();
FieldMask updateMask = new FieldMask();
// Make the request
Config response = await dataformClient.UpdateConfigAsync(config, updateMask);
UpdateConfigAsync(UpdateConfigRequest, CallSettings)
public virtual Task<Config> UpdateConfigAsync(UpdateConfigRequest request, CallSettings callSettings = null)Update default config for a given project and location.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
UpdateConfigRequest request = new UpdateConfigRequest
{
Config = new Config(),
UpdateMask = new FieldMask(),
};
// Make the request
Config response = await dataformClient.UpdateConfigAsync(request);
UpdateConfigAsync(UpdateConfigRequest, CancellationToken)
public virtual Task<Config> UpdateConfigAsync(UpdateConfigRequest request, CancellationToken cancellationToken)Update default config for a given project and location.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskConfig |
A Task containing the RPC response. |
// Create client
DataformClient dataformClient = await DataformClient.CreateAsync();
// Initialize request argument(s)
UpdateConfigRequest request = new UpdateConfigRequest
{
Config = new Config(),
UpdateMask = new FieldMask(),
};
// Make the request
Config response = await dataformClient.UpdateConfigAsync(request);
UpdateReleaseConfig(ReleaseConfig, FieldMask, CallSettings)
public virtual ReleaseConfig UpdateReleaseConfig(ReleaseConfig releaseConfig, FieldMask updateMask, CallSettings callSettings = null)Updates a single ReleaseConfig.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
releaseConfig |
ReleaseConfigRequired. The release config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReleaseConfig |
The RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateReleaseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ReleaseConfig |
The RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
releaseConfig |
ReleaseConfigRequired. The release config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
releaseConfig |
ReleaseConfigRequired. The release config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the release config. If left unset, all fields will be updated. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateReleaseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateReleaseConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskReleaseConfig |
A Task containing the RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
repository |
RepositoryRequired. The repository to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Repository |
The RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
repository |
RepositoryRequired. The repository to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
repository |
RepositoryRequired. The repository to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the repository. If left unset, all fields will be updated. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateRepositoryRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateRepositoryRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskRepository |
A Task containing the RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowConfig |
The RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
workflowConfig |
WorkflowConfigRequired. The workflow config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WorkflowConfig |
The RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateWorkflowConfigRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
workflowConfig |
WorkflowConfigRequired. The workflow config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
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.
Note: This method does not fully implement
AIP/134. The wildcard entry (*) is treated
as a bad request, and when the field_mask is omitted, the request is
treated as a full update on all modifiable fields.
| Parameters | |
|---|---|
| Name | Description |
workflowConfig |
WorkflowConfigRequired. The workflow config to update. |
updateMask |
FieldMaskOptional. Specifies the fields to be updated in the workflow config. If left unset, all fields will be updated. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWorkflowConfig |
A Task containing the RPC response. |
// Create client
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 |
WriteFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WriteFileResponse |
The RPC response. |
// Create client
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 |
WriteFileRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskWriteFileResponse |
A Task containing the RPC response. |
// Create client
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 |
WriteFileRequestThe request object containing all of the parameters for the API call. |
cancellationToken |
CancellationTokenA CancellationToken to use for this RPC. |
| Returns | |
|---|---|
| Type | Description |
TaskWriteFileResponse |
A Task containing the RPC response. |
// Create client
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);