Package cloud.google.com/go/dataform/apiv1beta1/dataformpb (v0.12.0)

Variables

Repository_GitRemoteSettings_TokenStatus_name, Repository_GitRemoteSettings_TokenStatus_value

var (
	Repository_GitRemoteSettings_TokenStatus_name = map[int32]string{
		0: "TOKEN_STATUS_UNSPECIFIED",
		1: "NOT_FOUND",
		2: "INVALID",
		3: "VALID",
	}
	Repository_GitRemoteSettings_TokenStatus_value = map[string]int32{
		"TOKEN_STATUS_UNSPECIFIED": 0,
		"NOT_FOUND":                1,
		"INVALID":                  2,
		"VALID":                    3,
	}
)

Enum value maps for Repository_GitRemoteSettings_TokenStatus.

ComputeRepositoryAccessTokenStatusResponse_TokenStatus_name, ComputeRepositoryAccessTokenStatusResponse_TokenStatus_value

var (
	ComputeRepositoryAccessTokenStatusResponse_TokenStatus_name = map[int32]string{
		0: "TOKEN_STATUS_UNSPECIFIED",
		1: "NOT_FOUND",
		2: "INVALID",
		3: "VALID",
	}
	ComputeRepositoryAccessTokenStatusResponse_TokenStatus_value = map[string]int32{
		"TOKEN_STATUS_UNSPECIFIED": 0,
		"NOT_FOUND":                1,
		"INVALID":                  2,
		"VALID":                    3,
	}
)

Enum value maps for ComputeRepositoryAccessTokenStatusResponse_TokenStatus.

FetchFileGitStatusesResponse_UncommittedFileChange_State_name, FetchFileGitStatusesResponse_UncommittedFileChange_State_value

var (
	FetchFileGitStatusesResponse_UncommittedFileChange_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ADDED",
		2: "DELETED",
		3: "MODIFIED",
		4: "HAS_CONFLICTS",
	}
	FetchFileGitStatusesResponse_UncommittedFileChange_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ADDED":             1,
		"DELETED":           2,
		"MODIFIED":          3,
		"HAS_CONFLICTS":     4,
	}
)

Enum value maps for FetchFileGitStatusesResponse_UncommittedFileChange_State.

CompilationResultAction_Relation_RelationType_name, CompilationResultAction_Relation_RelationType_value

var (
	CompilationResultAction_Relation_RelationType_name = map[int32]string{
		0: "RELATION_TYPE_UNSPECIFIED",
		1: "TABLE",
		2: "VIEW",
		3: "INCREMENTAL_TABLE",
		4: "MATERIALIZED_VIEW",
	}
	CompilationResultAction_Relation_RelationType_value = map[string]int32{
		"RELATION_TYPE_UNSPECIFIED": 0,
		"TABLE":                     1,
		"VIEW":                      2,
		"INCREMENTAL_TABLE":         3,
		"MATERIALIZED_VIEW":         4,
	}
)

Enum value maps for CompilationResultAction_Relation_RelationType.

WorkflowInvocation_State_name, WorkflowInvocation_State_value

var (
	WorkflowInvocation_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "RUNNING",
		2: "SUCCEEDED",
		3: "CANCELLED",
		4: "FAILED",
		5: "CANCELING",
	}
	WorkflowInvocation_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"RUNNING":           1,
		"SUCCEEDED":         2,
		"CANCELLED":         3,
		"FAILED":            4,
		"CANCELING":         5,
	}
)

Enum value maps for WorkflowInvocation_State.

WorkflowInvocationAction_State_name, WorkflowInvocationAction_State_value

var (
	WorkflowInvocationAction_State_name = map[int32]string{
		0: "PENDING",
		1: "RUNNING",
		2: "SKIPPED",
		3: "DISABLED",
		4: "SUCCEEDED",
		5: "CANCELLED",
		6: "FAILED",
	}
	WorkflowInvocationAction_State_value = map[string]int32{
		"PENDING":   0,
		"RUNNING":   1,
		"SKIPPED":   2,
		"DISABLED":  3,
		"SUCCEEDED": 4,
		"CANCELLED": 5,
		"FAILED":    6,
	}
)

Enum value maps for WorkflowInvocationAction_State.

File_google_cloud_dataform_v1beta1_dataform_proto

var File_google_cloud_dataform_v1beta1_dataform_proto protoreflect.FileDescriptor

Functions

func RegisterDataformServer

func RegisterDataformServer(s *grpc.Server, srv DataformServer)

CancelWorkflowInvocationRequest

type CancelWorkflowInvocationRequest struct {

	// Required. The workflow invocation resource's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

CancelWorkflowInvocation request message.

func (*CancelWorkflowInvocationRequest) Descriptor

func (*CancelWorkflowInvocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelWorkflowInvocationRequest.ProtoReflect.Descriptor instead.

func (*CancelWorkflowInvocationRequest) GetName

func (*CancelWorkflowInvocationRequest) ProtoMessage

func (*CancelWorkflowInvocationRequest) ProtoMessage()

func (*CancelWorkflowInvocationRequest) ProtoReflect

func (*CancelWorkflowInvocationRequest) Reset

func (*CancelWorkflowInvocationRequest) String

CancelWorkflowInvocationResponse

type CancelWorkflowInvocationResponse struct {
	// contains filtered or unexported fields
}

CancelWorkflowInvocation response message.

func (*CancelWorkflowInvocationResponse) Descriptor

func (*CancelWorkflowInvocationResponse) Descriptor() ([]byte, []int)

Deprecated: Use CancelWorkflowInvocationResponse.ProtoReflect.Descriptor instead.

func (*CancelWorkflowInvocationResponse) ProtoMessage

func (*CancelWorkflowInvocationResponse) ProtoMessage()

func (*CancelWorkflowInvocationResponse) ProtoReflect

func (*CancelWorkflowInvocationResponse) Reset

func (*CancelWorkflowInvocationResponse) String

CodeCompilationConfig

type CodeCompilationConfig struct {

	// Optional. The default database (Google Cloud project ID).
	DefaultDatabase string `protobuf:"bytes,1,opt,name=default_database,json=defaultDatabase,proto3" json:"default_database,omitempty"`
	// Optional. The default schema (BigQuery dataset ID).
	DefaultSchema string `protobuf:"bytes,2,opt,name=default_schema,json=defaultSchema,proto3" json:"default_schema,omitempty"`
	// Optional. The default BigQuery location to use. Defaults to "US".
	// See the BigQuery docs for a full list of locations:
	// https://cloud.google.com/bigquery/docs/locations.
	DefaultLocation string `protobuf:"bytes,8,opt,name=default_location,json=defaultLocation,proto3" json:"default_location,omitempty"`
	// Optional. The default schema (BigQuery dataset ID) for assertions.
	AssertionSchema string `protobuf:"bytes,3,opt,name=assertion_schema,json=assertionSchema,proto3" json:"assertion_schema,omitempty"`
	// Optional. User-defined variables that are made available to project code
	// during compilation.
	Vars map[string]string `protobuf:"bytes,4,rep,name=vars,proto3" json:"vars,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// Optional. The suffix that should be appended to all database (Google Cloud
	// project ID) names.
	DatabaseSuffix string `protobuf:"bytes,5,opt,name=database_suffix,json=databaseSuffix,proto3" json:"database_suffix,omitempty"`
	// Optional. The suffix that should be appended to all schema (BigQuery
	// dataset ID) names.
	SchemaSuffix string `protobuf:"bytes,6,opt,name=schema_suffix,json=schemaSuffix,proto3" json:"schema_suffix,omitempty"`
	// Optional. The prefix that should be prepended to all table names.
	TablePrefix string `protobuf:"bytes,7,opt,name=table_prefix,json=tablePrefix,proto3" json:"table_prefix,omitempty"`
	// Optional. The prefix to prepend to built-in assertion names.
	BuiltinAssertionNamePrefix string `protobuf:"bytes,10,opt,name=builtin_assertion_name_prefix,json=builtinAssertionNamePrefix,proto3" json:"builtin_assertion_name_prefix,omitempty"`
	// Optional. The default notebook runtime options.
	DefaultNotebookRuntimeOptions *NotebookRuntimeOptions `protobuf:"bytes,9,opt,name=default_notebook_runtime_options,json=defaultNotebookRuntimeOptions,proto3" json:"default_notebook_runtime_options,omitempty"`
	// contains filtered or unexported fields
}

Configures various aspects of Dataform code compilation.

func (*CodeCompilationConfig) Descriptor

func (*CodeCompilationConfig) Descriptor() ([]byte, []int)

Deprecated: Use CodeCompilationConfig.ProtoReflect.Descriptor instead.

func (*CodeCompilationConfig) GetAssertionSchema

func (x *CodeCompilationConfig) GetAssertionSchema() string

func (*CodeCompilationConfig) GetBuiltinAssertionNamePrefix

func (x *CodeCompilationConfig) GetBuiltinAssertionNamePrefix() string

func (*CodeCompilationConfig) GetDatabaseSuffix

func (x *CodeCompilationConfig) GetDatabaseSuffix() string

func (*CodeCompilationConfig) GetDefaultDatabase

func (x *CodeCompilationConfig) GetDefaultDatabase() string

func (*CodeCompilationConfig) GetDefaultLocation

func (x *CodeCompilationConfig) GetDefaultLocation() string

func (*CodeCompilationConfig) GetDefaultNotebookRuntimeOptions

func (x *CodeCompilationConfig) GetDefaultNotebookRuntimeOptions() *NotebookRuntimeOptions

func (*CodeCompilationConfig) GetDefaultSchema

func (x *CodeCompilationConfig) GetDefaultSchema() string

func (*CodeCompilationConfig) GetSchemaSuffix

func (x *CodeCompilationConfig) GetSchemaSuffix() string

func (*CodeCompilationConfig) GetTablePrefix

func (x *CodeCompilationConfig) GetTablePrefix() string

func (*CodeCompilationConfig) GetVars

func (x *CodeCompilationConfig) GetVars() map[string]string

func (*CodeCompilationConfig) ProtoMessage

func (*CodeCompilationConfig) ProtoMessage()

func (*CodeCompilationConfig) ProtoReflect

func (x *CodeCompilationConfig) ProtoReflect() protoreflect.Message

func (*CodeCompilationConfig) Reset

func (x *CodeCompilationConfig) Reset()

func (*CodeCompilationConfig) String

func (x *CodeCompilationConfig) String() string

CommitAuthor

type CommitAuthor struct {

	// Required. The commit author's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The commit author's email address.
	EmailAddress string `protobuf:"bytes,2,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
	// contains filtered or unexported fields
}

Represents the author of a Git commit.

func (*CommitAuthor) Descriptor

func (*CommitAuthor) Descriptor() ([]byte, []int)

Deprecated: Use CommitAuthor.ProtoReflect.Descriptor instead.

func (*CommitAuthor) GetEmailAddress

func (x *CommitAuthor) GetEmailAddress() string

func (*CommitAuthor) GetName

func (x *CommitAuthor) GetName() string

func (*CommitAuthor) ProtoMessage

func (*CommitAuthor) ProtoMessage()

func (*CommitAuthor) ProtoReflect

func (x *CommitAuthor) ProtoReflect() protoreflect.Message

func (*CommitAuthor) Reset

func (x *CommitAuthor) Reset()

func (*CommitAuthor) String

func (x *CommitAuthor) String() string

CommitLogEntry

type CommitLogEntry struct {

	// Commit timestamp.
	CommitTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=commit_time,json=commitTime,proto3" json:"commit_time,omitempty"`
	// The commit SHA for this commit log entry.
	CommitSha string `protobuf:"bytes,2,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"`
	// The commit author for this commit log entry.
	Author *CommitAuthor `protobuf:"bytes,3,opt,name=author,proto3" json:"author,omitempty"`
	// The commit message for this commit log entry.
	CommitMessage string `protobuf:"bytes,4,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"`
	// contains filtered or unexported fields
}

Represents a single commit log.

func (*CommitLogEntry) Descriptor

func (*CommitLogEntry) Descriptor() ([]byte, []int)

Deprecated: Use CommitLogEntry.ProtoReflect.Descriptor instead.

func (*CommitLogEntry) GetAuthor

func (x *CommitLogEntry) GetAuthor() *CommitAuthor

func (*CommitLogEntry) GetCommitMessage

func (x *CommitLogEntry) GetCommitMessage() string

func (*CommitLogEntry) GetCommitSha

func (x *CommitLogEntry) GetCommitSha() string

func (*CommitLogEntry) GetCommitTime

func (x *CommitLogEntry) GetCommitTime() *timestamppb.Timestamp

func (*CommitLogEntry) ProtoMessage

func (*CommitLogEntry) ProtoMessage()

func (*CommitLogEntry) ProtoReflect

func (x *CommitLogEntry) ProtoReflect() protoreflect.Message

func (*CommitLogEntry) Reset

func (x *CommitLogEntry) Reset()

func (*CommitLogEntry) String

func (x *CommitLogEntry) String() string

CommitMetadata

type CommitMetadata struct {

	// Required. The commit's author.
	Author *CommitAuthor `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"`
	// Optional. The commit's message.
	CommitMessage string `protobuf:"bytes,2,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"`
	// contains filtered or unexported fields
}

Represents a Dataform Git commit.

func (*CommitMetadata) Descriptor

func (*CommitMetadata) Descriptor() ([]byte, []int)

Deprecated: Use CommitMetadata.ProtoReflect.Descriptor instead.

func (*CommitMetadata) GetAuthor

func (x *CommitMetadata) GetAuthor() *CommitAuthor

func (*CommitMetadata) GetCommitMessage

func (x *CommitMetadata) GetCommitMessage() string

func (*CommitMetadata) ProtoMessage

func (*CommitMetadata) ProtoMessage()

func (*CommitMetadata) ProtoReflect

func (x *CommitMetadata) ProtoReflect() protoreflect.Message

func (*CommitMetadata) Reset

func (x *CommitMetadata) Reset()

func (*CommitMetadata) String

func (x *CommitMetadata) String() string

CommitRepositoryChangesRequest

type CommitRepositoryChangesRequest struct {

	// Required. The repository's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The changes to commit to the repository.
	CommitMetadata *CommitMetadata `protobuf:"bytes,2,opt,name=commit_metadata,json=commitMetadata,proto3" json:"commit_metadata,omitempty"`
	// Optional. The commit SHA which must be the repository's current HEAD before
	// applying this commit; otherwise this request will fail. If unset, no
	// validation on the current HEAD commit SHA is performed.
	RequiredHeadCommitSha string `protobuf:"bytes,4,opt,name=required_head_commit_sha,json=requiredHeadCommitSha,proto3" json:"required_head_commit_sha,omitempty"`
	// Optional. A map to the path of the file to the operation. The path is the
	// full file path including filename, from repository root.
	FileOperations map[string]*CommitRepositoryChangesRequest_FileOperation `protobuf:"bytes,3,rep,name=file_operations,json=fileOperations,proto3" json:"file_operations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// contains filtered or unexported fields
}

CommitRepositoryChanges request message.

func (*CommitRepositoryChangesRequest) Descriptor

func (*CommitRepositoryChangesRequest) Descriptor() ([]byte, []int)

Deprecated: Use CommitRepositoryChangesRequest.ProtoReflect.Descriptor instead.

func (*CommitRepositoryChangesRequest) GetCommitMetadata

func (x *CommitRepositoryChangesRequest) GetCommitMetadata() *CommitMetadata

func (*CommitRepositoryChangesRequest) GetFileOperations

func (*CommitRepositoryChangesRequest) GetName

func (*CommitRepositoryChangesRequest) GetRequiredHeadCommitSha

func (x *CommitRepositoryChangesRequest) GetRequiredHeadCommitSha() string

func (*CommitRepositoryChangesRequest) ProtoMessage

func (*CommitRepositoryChangesRequest) ProtoMessage()

func (*CommitRepositoryChangesRequest) ProtoReflect

func (*CommitRepositoryChangesRequest) Reset

func (x *CommitRepositoryChangesRequest) Reset()

func (*CommitRepositoryChangesRequest) String

CommitRepositoryChangesRequest_FileOperation

type CommitRepositoryChangesRequest_FileOperation struct {

	// The operation to perform on the file.
	//
	// Types that are assignable to Operation:
	//
	//	*CommitRepositoryChangesRequest_FileOperation_WriteFile_
	//	*CommitRepositoryChangesRequest_FileOperation_DeleteFile_
	Operation isCommitRepositoryChangesRequest_FileOperation_Operation `protobuf_oneof:"operation"`
	// contains filtered or unexported fields
}

Represents a single file operation to the repository.

func (*CommitRepositoryChangesRequest_FileOperation) Descriptor

Deprecated: Use CommitRepositoryChangesRequest_FileOperation.ProtoReflect.Descriptor instead.

func (*CommitRepositoryChangesRequest_FileOperation) GetDeleteFile

func (*CommitRepositoryChangesRequest_FileOperation) GetOperation

func (m *CommitRepositoryChangesRequest_FileOperation) GetOperation() isCommitRepositoryChangesRequest_FileOperation_Operation

func (*CommitRepositoryChangesRequest_FileOperation) GetWriteFile

func (*CommitRepositoryChangesRequest_FileOperation) ProtoMessage

func (*CommitRepositoryChangesRequest_FileOperation) ProtoReflect

func (*CommitRepositoryChangesRequest_FileOperation) Reset

func (*CommitRepositoryChangesRequest_FileOperation) String

CommitRepositoryChangesRequest_FileOperation_DeleteFile

type CommitRepositoryChangesRequest_FileOperation_DeleteFile struct {
	// contains filtered or unexported fields
}

Represents the delete file operation.

func (*CommitRepositoryChangesRequest_FileOperation_DeleteFile) Descriptor

Deprecated: Use CommitRepositoryChangesRequest_FileOperation_DeleteFile.ProtoReflect.Descriptor instead.

func (*CommitRepositoryChangesRequest_FileOperation_DeleteFile) ProtoMessage

func (*CommitRepositoryChangesRequest_FileOperation_DeleteFile) ProtoReflect

func (*CommitRepositoryChangesRequest_FileOperation_DeleteFile) Reset

func (*CommitRepositoryChangesRequest_FileOperation_DeleteFile) String

CommitRepositoryChangesRequest_FileOperation_DeleteFile_

type CommitRepositoryChangesRequest_FileOperation_DeleteFile_ struct {
	// Represents the delete operation.
	DeleteFile *CommitRepositoryChangesRequest_FileOperation_DeleteFile `protobuf:"bytes,2,opt,name=delete_file,json=deleteFile,proto3,oneof"`
}

CommitRepositoryChangesRequest_FileOperation_WriteFile

type CommitRepositoryChangesRequest_FileOperation_WriteFile struct {

	// The file's contents.
	Contents []byte `protobuf:"bytes,1,opt,name=contents,proto3" json:"contents,omitempty"`
	// contains filtered or unexported fields
}

Represents the write file operation (for files added or modified).

func (*CommitRepositoryChangesRequest_FileOperation_WriteFile) Descriptor