audit

package
v0.0.0-...-5fefd90 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 12 Imported by: 97

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ViolationInfo_PolicyType_name = map[int32]string{
		0: "POLICY_TYPE_UNSPECIFIED",
		1: "BOOLEAN_CONSTRAINT",
		2: "LIST_CONSTRAINT",
		3: "CUSTOM_CONSTRAINT",
	}
	ViolationInfo_PolicyType_value = map[string]int32{
		"POLICY_TYPE_UNSPECIFIED": 0,
		"BOOLEAN_CONSTRAINT":      1,
		"LIST_CONSTRAINT":         2,
		"CUSTOM_CONSTRAINT":       3,
	}
)

Enum value maps for ViolationInfo_PolicyType.

View Source
var (
	BigQueryAuditMetadata_CreateDisposition_name = map[int32]string{
		0: "CREATE_DISPOSITION_UNSPECIFIED",
		1: "CREATE_NEVER",
		2: "CREATE_IF_NEEDED",
	}
	BigQueryAuditMetadata_CreateDisposition_value = map[string]int32{
		"CREATE_DISPOSITION_UNSPECIFIED": 0,
		"CREATE_NEVER":                   1,
		"CREATE_IF_NEEDED":               2,
	}
)

Enum value maps for BigQueryAuditMetadata_CreateDisposition.

View Source
var (
	BigQueryAuditMetadata_WriteDisposition_name = map[int32]string{
		0: "WRITE_DISPOSITION_UNSPECIFIED",
		1: "WRITE_EMPTY",
		2: "WRITE_TRUNCATE",
		3: "WRITE_APPEND",
	}
	BigQueryAuditMetadata_WriteDisposition_value = map[string]int32{
		"WRITE_DISPOSITION_UNSPECIFIED": 0,
		"WRITE_EMPTY":                   1,
		"WRITE_TRUNCATE":                2,
		"WRITE_APPEND":                  3,
	}
)

Enum value maps for BigQueryAuditMetadata_WriteDisposition.

View Source
var (
	BigQueryAuditMetadata_OperationType_name = map[int32]string{
		0: "OPERATION_TYPE_UNSPECIFIED",
		1: "COPY",
		2: "SNAPSHOT",
		3: "RESTORE",
	}
	BigQueryAuditMetadata_OperationType_value = map[string]int32{
		"OPERATION_TYPE_UNSPECIFIED": 0,
		"COPY":                       1,
		"SNAPSHOT":                   2,
		"RESTORE":                    3,
	}
)

Enum value maps for BigQueryAuditMetadata_OperationType.

View Source
var (
	BigQueryAuditMetadata_JobState_name = map[int32]string{
		0: "JOB_STATE_UNSPECIFIED",
		1: "PENDING",
		2: "RUNNING",
		3: "DONE",
	}
	BigQueryAuditMetadata_JobState_value = map[string]int32{
		"JOB_STATE_UNSPECIFIED": 0,
		"PENDING":               1,
		"RUNNING":               2,
		"DONE":                  3,
	}
)

Enum value maps for BigQueryAuditMetadata_JobState.

View Source
var (
	BigQueryAuditMetadata_QueryStatementType_name = map[int32]string{
		0:  "QUERY_STATEMENT_TYPE_UNSPECIFIED",
		1:  "SELECT",
		23: "ASSERT",
		2:  "INSERT",
		3:  "UPDATE",
		4:  "DELETE",
		5:  "MERGE",
		6:  "CREATE_TABLE",
		7:  "CREATE_TABLE_AS_SELECT",
		8:  "CREATE_VIEW",
		9:  "CREATE_MODEL",
		13: "CREATE_MATERIALIZED_VIEW",
		14: "CREATE_FUNCTION",
		56: "CREATE_TABLE_FUNCTION",
		20: "CREATE_PROCEDURE",
		24: "CREATE_ROW_ACCESS_POLICY",
		53: "CREATE_SCHEMA",
		59: "CREATE_SNAPSHOT_TABLE",
		10: "DROP_TABLE",
		33: "DROP_EXTERNAL_TABLE",
		11: "DROP_VIEW",
		12: "DROP_MODEL",
		15: "DROP_MATERIALIZED_VIEW",
		16: "DROP_FUNCTION",
		21: "DROP_PROCEDURE",
		54: "DROP_SCHEMA",
		25: "DROP_ROW_ACCESS_POLICY",
		62: "DROP_SNAPSHOT_TABLE",
		17: "ALTER_TABLE",
		18: "ALTER_VIEW",
		22: "ALTER_MATERIALIZED_VIEW",
		55: "ALTER_SCHEMA",
		19: "SCRIPT",
		26: "TRUNCATE_TABLE",
		27: "CREATE_EXTERNAL_TABLE",
		28: "EXPORT_DATA",
		29: "CALL",
	}
	BigQueryAuditMetadata_QueryStatementType_value = map[string]int32{
		"QUERY_STATEMENT_TYPE_UNSPECIFIED": 0,
		"SELECT":                           1,
		"ASSERT":                           23,
		"INSERT":                           2,
		"UPDATE":                           3,
		"DELETE":                           4,
		"MERGE":                            5,
		"CREATE_TABLE":                     6,
		"CREATE_TABLE_AS_SELECT":           7,
		"CREATE_VIEW":                      8,
		"CREATE_MODEL":                     9,
		"CREATE_MATERIALIZED_VIEW":         13,
		"CREATE_FUNCTION":                  14,
		"CREATE_TABLE_FUNCTION":            56,
		"CREATE_PROCEDURE":                 20,
		"CREATE_ROW_ACCESS_POLICY":         24,
		"CREATE_SCHEMA":                    53,
		"CREATE_SNAPSHOT_TABLE":            59,
		"DROP_TABLE":                       10,
		"DROP_EXTERNAL_TABLE":              33,
		"DROP_VIEW":                        11,
		"DROP_MODEL":                       12,
		"DROP_MATERIALIZED_VIEW":           15,
		"DROP_FUNCTION":                    16,
		"DROP_PROCEDURE":                   21,
		"DROP_SCHEMA":                      54,
		"DROP_ROW_ACCESS_POLICY":           25,
		"DROP_SNAPSHOT_TABLE":              62,
		"ALTER_TABLE":                      17,
		"ALTER_VIEW":                       18,
		"ALTER_MATERIALIZED_VIEW":          22,
		"ALTER_SCHEMA":                     55,
		"SCRIPT":                           19,
		"TRUNCATE_TABLE":                   26,
		"CREATE_EXTERNAL_TABLE":            27,
		"EXPORT_DATA":                      28,
		"CALL":                             29,
	}
)

Enum value maps for BigQueryAuditMetadata_QueryStatementType.

View Source
var (
	BigQueryAuditMetadata_JobInsertion_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "JOB_INSERT_REQUEST",
		2: "QUERY_REQUEST",
	}
	BigQueryAuditMetadata_JobInsertion_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED": 0,
		"JOB_INSERT_REQUEST": 1,
		"QUERY_REQUEST":      2,
	}
)

Enum value maps for BigQueryAuditMetadata_JobInsertion_Reason.

View Source
var (
	BigQueryAuditMetadata_JobDeletion_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "JOB_DELETE_REQUEST",
	}
	BigQueryAuditMetadata_JobDeletion_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED": 0,
		"JOB_DELETE_REQUEST": 1,
	}
)

Enum value maps for BigQueryAuditMetadata_JobDeletion_Reason.

View Source
var (
	BigQueryAuditMetadata_DatasetCreation_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "CREATE",
		2: "QUERY",
	}
	BigQueryAuditMetadata_DatasetCreation_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED": 0,
		"CREATE":             1,
		"QUERY":              2,
	}
)

Enum value maps for BigQueryAuditMetadata_DatasetCreation_Reason.

View Source
var (
	BigQueryAuditMetadata_DatasetChange_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "UPDATE",
		2: "SET_IAM_POLICY",
		3: "QUERY",
	}
	BigQueryAuditMetadata_DatasetChange_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED": 0,
		"UPDATE":             1,
		"SET_IAM_POLICY":     2,
		"QUERY":              3,
	}
)

Enum value maps for BigQueryAuditMetadata_DatasetChange_Reason.

View Source
var (
	BigQueryAuditMetadata_DatasetDeletion_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "DELETE",
		2: "QUERY",
	}
	BigQueryAuditMetadata_DatasetDeletion_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED": 0,
		"DELETE":             1,
		"QUERY":              2,
	}
)

Enum value maps for BigQueryAuditMetadata_DatasetDeletion_Reason.

View Source
var (
	BigQueryAuditMetadata_TableCreation_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "JOB",
		2: "QUERY",
		3: "TABLE_INSERT_REQUEST",
	}
	BigQueryAuditMetadata_TableCreation_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED":   0,
		"JOB":                  1,
		"QUERY":                2,
		"TABLE_INSERT_REQUEST": 3,
	}
)

Enum value maps for BigQueryAuditMetadata_TableCreation_Reason.

View Source
var (
	BigQueryAuditMetadata_ModelCreation_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		2: "QUERY",
	}
	BigQueryAuditMetadata_ModelCreation_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED": 0,
		"QUERY":              2,
	}
)

Enum value maps for BigQueryAuditMetadata_ModelCreation_Reason.

View Source
var (
	BigQueryAuditMetadata_RoutineCreation_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "QUERY",
		2: "ROUTINE_INSERT_REQUEST",
	}
	BigQueryAuditMetadata_RoutineCreation_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED":     0,
		"QUERY":                  1,
		"ROUTINE_INSERT_REQUEST": 2,
	}
)

Enum value maps for BigQueryAuditMetadata_RoutineCreation_Reason.

View Source
var (
	BigQueryAuditMetadata_TableDataRead_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "JOB",
		2: "TABLEDATA_LIST_REQUEST",
		3: "GET_QUERY_RESULTS_REQUEST",
		4: "QUERY_REQUEST",
		5: "CREATE_READ_SESSION",
		6: "MATERIALIZED_VIEW_REFRESH",
	}
	BigQueryAuditMetadata_TableDataRead_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED":        0,
		"JOB":                       1,
		"TABLEDATA_LIST_REQUEST":    2,
		"GET_QUERY_RESULTS_REQUEST": 3,
		"QUERY_REQUEST":             4,
		"CREATE_READ_SESSION":       5,
		"MATERIALIZED_VIEW_REFRESH": 6,
	}
)

Enum value maps for BigQueryAuditMetadata_TableDataRead_Reason.

View Source
var (
	BigQueryAuditMetadata_TableChange_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "TABLE_UPDATE_REQUEST",
		2: "JOB",
		3: "QUERY",
	}
	BigQueryAuditMetadata_TableChange_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED":   0,
		"TABLE_UPDATE_REQUEST": 1,
		"JOB":                  2,
		"QUERY":                3,
	}
)

Enum value maps for BigQueryAuditMetadata_TableChange_Reason.

View Source
var (
	BigQueryAuditMetadata_ModelMetadataChange_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "MODEL_PATCH_REQUEST",
		2: "QUERY",
	}
	BigQueryAuditMetadata_ModelMetadataChange_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED":  0,
		"MODEL_PATCH_REQUEST": 1,
		"QUERY":               2,
	}
)

Enum value maps for BigQueryAuditMetadata_ModelMetadataChange_Reason.

View Source
var (
	BigQueryAuditMetadata_RoutineChange_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "QUERY",
		2: "ROUTINE_UPDATE_REQUEST",
	}
	BigQueryAuditMetadata_RoutineChange_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED":     0,
		"QUERY":                  1,
		"ROUTINE_UPDATE_REQUEST": 2,
	}
)

Enum value maps for BigQueryAuditMetadata_RoutineChange_Reason.

View Source
var (
	BigQueryAuditMetadata_TableDataChange_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "JOB",
		2: "QUERY",
		3: "MATERIALIZED_VIEW_REFRESH",
		4: "WRITE_API",
	}
	BigQueryAuditMetadata_TableDataChange_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED":        0,
		"JOB":                       1,
		"QUERY":                     2,
		"MATERIALIZED_VIEW_REFRESH": 3,
		"WRITE_API":                 4,
	}
)

Enum value maps for BigQueryAuditMetadata_TableDataChange_Reason.

View Source
var (
	BigQueryAuditMetadata_ModelDataChange_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "QUERY",
	}
	BigQueryAuditMetadata_ModelDataChange_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED": 0,
		"QUERY":              1,
	}
)

Enum value maps for BigQueryAuditMetadata_ModelDataChange_Reason.

View Source
var (
	BigQueryAuditMetadata_ModelDataRead_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "JOB",
	}
	BigQueryAuditMetadata_ModelDataRead_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED": 0,
		"JOB":                1,
	}
)

Enum value maps for BigQueryAuditMetadata_ModelDataRead_Reason.

View Source
var (
	BigQueryAuditMetadata_TableDeletion_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		2: "TABLE_DELETE_REQUEST",
		3: "EXPIRED",
		4: "QUERY",
	}
	BigQueryAuditMetadata_TableDeletion_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED":   0,
		"TABLE_DELETE_REQUEST": 2,
		"EXPIRED":              3,
		"QUERY":                4,
	}
)

Enum value maps for BigQueryAuditMetadata_TableDeletion_Reason.

View Source
var (
	BigQueryAuditMetadata_ModelDeletion_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "MODEL_DELETE_REQUEST",
		2: "EXPIRED",
		3: "QUERY",
	}
	BigQueryAuditMetadata_ModelDeletion_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED":   0,
		"MODEL_DELETE_REQUEST": 1,
		"EXPIRED":              2,
		"QUERY":                3,
	}
)

Enum value maps for BigQueryAuditMetadata_ModelDeletion_Reason.

View Source
var (
	BigQueryAuditMetadata_RoutineDeletion_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "QUERY",
		2: "ROUTINE_DELETE_REQUEST",
	}
	BigQueryAuditMetadata_RoutineDeletion_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED":     0,
		"QUERY":                  1,
		"ROUTINE_DELETE_REQUEST": 2,
	}
)

Enum value maps for BigQueryAuditMetadata_RoutineDeletion_Reason.

View Source
var (
	BigQueryAuditMetadata_UnlinkDataset_Reason_name = map[int32]string{
		0: "REASON_UNSPECIFIED",
		1: "UNLINK_API",
	}
	BigQueryAuditMetadata_UnlinkDataset_Reason_value = map[string]int32{
		"REASON_UNSPECIFIED": 0,
		"UNLINK_API":         1,
	}
)

Enum value maps for BigQueryAuditMetadata_UnlinkDataset_Reason.

View Source
var (
	BigQueryAuditMetadata_JobConfig_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "QUERY",
		2: "COPY",
		3: "EXPORT",
		4: "IMPORT",
	}
	BigQueryAuditMetadata_JobConfig_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"QUERY":            1,
		"COPY":             2,
		"EXPORT":           3,
		"IMPORT":           4,
	}
)

Enum value maps for BigQueryAuditMetadata_JobConfig_Type.

View Source
var (
	BigQueryAuditMetadata_JobConfig_Query_Priority_name = map[int32]string{
		0: "PRIORITY_UNSPECIFIED",
		1: "QUERY_INTERACTIVE",
		2: "QUERY_BATCH",
	}
	BigQueryAuditMetadata_JobConfig_Query_Priority_value = map[string]int32{
		"PRIORITY_UNSPECIFIED": 0,
		"QUERY_INTERACTIVE":    1,
		"QUERY_BATCH":          2,
	}
)

Enum value maps for BigQueryAuditMetadata_JobConfig_Query_Priority.

View Source
var File_google_cloud_audit_audit_log_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_audit_bigquery_audit_metadata_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuditLog

type AuditLog struct {

	// The name of the API service performing the operation. For example,
	// `"compute.googleapis.com"`.
	ServiceName string `protobuf:"bytes,7,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// The name of the service method or operation.
	// For API calls, this should be the name of the API method.
	// For example,
	//
	//	"google.cloud.bigquery.v2.TableService.InsertTable"
	//	"google.logging.v2.ConfigServiceV2.CreateSink"
	MethodName string `protobuf:"bytes,8,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
	// The resource or collection that is the target of the operation.
	// The name is a scheme-less URI, not including the API service name.
	// For example:
	//
	//	"projects/PROJECT_ID/zones/us-central1-a/instances"
	//	"projects/PROJECT_ID/datasets/DATASET_ID"
	ResourceName string `protobuf:"bytes,11,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// The resource location information.
	ResourceLocation *ResourceLocation `protobuf:"bytes,20,opt,name=resource_location,json=resourceLocation,proto3" json:"resource_location,omitempty"`
	// The resource's original state before mutation. Present only for
	// operations which have successfully modified the targeted resource(s).
	// In general, this field should contain all changed fields, except those
	// that are already been included in `request`, `response`, `metadata` or
	// `service_data` fields.
	// When the JSON object represented here has a proto equivalent,
	// the proto name will be indicated in the `@type` property.
	ResourceOriginalState *structpb.Struct `` /* 127-byte string literal not displayed */
	// The number of items returned from a List or Query API method,
	// if applicable.
	NumResponseItems int64 `protobuf:"varint,12,opt,name=num_response_items,json=numResponseItems,proto3" json:"num_response_items,omitempty"`
	// The status of the overall operation.
	Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// Authentication information.
	AuthenticationInfo *AuthenticationInfo `protobuf:"bytes,3,opt,name=authentication_info,json=authenticationInfo,proto3" json:"authentication_info,omitempty"`
	// Authorization information. If there are multiple
	// resources or permissions involved, then there is
	// one AuthorizationInfo element for each {resource, permission} tuple.
	AuthorizationInfo []*AuthorizationInfo `protobuf:"bytes,9,rep,name=authorization_info,json=authorizationInfo,proto3" json:"authorization_info,omitempty"`
	// Indicates the policy violations for this request. If the request
	// is denied by the policy, violation information will be logged
	// here.
	PolicyViolationInfo *PolicyViolationInfo `protobuf:"bytes,25,opt,name=policy_violation_info,json=policyViolationInfo,proto3" json:"policy_violation_info,omitempty"`
	// Metadata about the operation.
	RequestMetadata *RequestMetadata `protobuf:"bytes,4,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
	// The operation request. This may not include all request parameters,
	// such as those that are too large, privacy-sensitive, or duplicated
	// elsewhere in the log record.
	// It should never include user-generated data, such as file contents.
	// When the JSON object represented here has a proto equivalent, the proto
	// name will be indicated in the `@type` property.
	Request *structpb.Struct `protobuf:"bytes,16,opt,name=request,proto3" json:"request,omitempty"`
	// The operation response. This may not include all response elements,
	// such as those that are too large, privacy-sensitive, or duplicated
	// elsewhere in the log record.
	// It should never include user-generated data, such as file contents.
	// When the JSON object represented here has a proto equivalent, the proto
	// name will be indicated in the `@type` property.
	Response *structpb.Struct `protobuf:"bytes,17,opt,name=response,proto3" json:"response,omitempty"`
	// Other service-specific data about the request, response, and other
	// information associated with the current audited event.
	Metadata *structpb.Struct `protobuf:"bytes,18,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Deprecated. Use the `metadata` field instead.
	// Other service-specific data about the request, response, and other
	// activities.
	//
	// Deprecated: Do not use.
	ServiceData *anypb.Any `protobuf:"bytes,15,opt,name=service_data,json=serviceData,proto3" json:"service_data,omitempty"`
	// contains filtered or unexported fields
}

Common audit log format for Google Cloud Platform API operations.

func (*AuditLog) Descriptor deprecated

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

Deprecated: Use AuditLog.ProtoReflect.Descriptor instead.

func (*AuditLog) GetAuthenticationInfo

func (x *AuditLog) GetAuthenticationInfo() *AuthenticationInfo

func (*AuditLog) GetAuthorizationInfo

func (x *AuditLog) GetAuthorizationInfo() []*AuthorizationInfo

func (*AuditLog) GetMetadata

func (x *AuditLog) GetMetadata() *structpb.Struct

func (*AuditLog) GetMethodName

func (x *AuditLog) GetMethodName() string

func (*AuditLog) GetNumResponseItems

func (x *AuditLog) GetNumResponseItems() int64

func (*AuditLog) GetPolicyViolationInfo

func (x *AuditLog) GetPolicyViolationInfo() *PolicyViolationInfo

func (*AuditLog) GetRequest

func (x *AuditLog) GetRequest() *structpb.Struct

func (*AuditLog) GetRequestMetadata

func (x *AuditLog) GetRequestMetadata() *RequestMetadata

func (*AuditLog) GetResourceLocation

func (x *AuditLog) GetResourceLocation() *ResourceLocation

func (*AuditLog) GetResourceName

func (x *AuditLog) GetResourceName() string

func (*AuditLog) GetResourceOriginalState

func (x *AuditLog) GetResourceOriginalState() *structpb.Struct

func (*AuditLog) GetResponse

func (x *AuditLog) GetResponse() *structpb.Struct

func (*AuditLog) GetServiceData deprecated

func (x *AuditLog) GetServiceData() *anypb.Any

Deprecated: Do not use.

func (*AuditLog) GetServiceName

func (x *AuditLog) GetServiceName() string

func (*AuditLog) GetStatus

func (x *AuditLog) GetStatus() *status.Status

func (*AuditLog) ProtoMessage

func (*AuditLog) ProtoMessage()

func (*AuditLog) ProtoReflect

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

func (*AuditLog) Reset

func (x *AuditLog) Reset()

func (*AuditLog) String

func (x *AuditLog) String() string

type AuthenticationInfo

type AuthenticationInfo struct {

	// The email address of the authenticated user (or service account on behalf
	// of third party principal) making the request. For third party identity
	// callers, the `principal_subject` field is populated instead of this field.
	// For privacy reasons, the principal email address is sometimes redacted.
	// For more information, see [Caller identities in audit
	// logs](https://cloud.google.com/logging/docs/audit#user-id).
	PrincipalEmail string `protobuf:"bytes,1,opt,name=principal_email,json=principalEmail,proto3" json:"principal_email,omitempty"`
	// The authority selector specified by the requestor, if any.
	// It is not guaranteed that the principal was allowed to use this authority.
	AuthoritySelector string `protobuf:"bytes,2,opt,name=authority_selector,json=authoritySelector,proto3" json:"authority_selector,omitempty"`
	// The third party identification (if any) of the authenticated user making
	// the request.
	// When the JSON object represented here has a proto equivalent, the proto
	// name will be indicated in the `@type` property.
	ThirdPartyPrincipal *structpb.Struct `protobuf:"bytes,4,opt,name=third_party_principal,json=thirdPartyPrincipal,proto3" json:"third_party_principal,omitempty"`
	// The name of the service account key used to create or exchange
	// credentials for authenticating the service account making the request.
	// This is a scheme-less URI full resource name. For example:
	//
	// "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}"
	ServiceAccountKeyName string `` /* 128-byte string literal not displayed */
	// Identity delegation history of an authenticated service account that makes
	// the request. It contains information on the real authorities that try to
	// access GCP resources by delegating on a service account. When multiple
	// authorities present, they are guaranteed to be sorted based on the original
	// ordering of the identity delegation events.
	ServiceAccountDelegationInfo []*ServiceAccountDelegationInfo `` /* 149-byte string literal not displayed */
	// String representation of identity of requesting party.
	// Populated for both first and third party identities.
	PrincipalSubject string `protobuf:"bytes,8,opt,name=principal_subject,json=principalSubject,proto3" json:"principal_subject,omitempty"`
	// contains filtered or unexported fields
}

Authentication information for the operation.

func (*AuthenticationInfo) Descriptor deprecated

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

Deprecated: Use AuthenticationInfo.ProtoReflect.Descriptor instead.

func (*AuthenticationInfo) GetAuthoritySelector

func (x *AuthenticationInfo) GetAuthoritySelector() string

func (*AuthenticationInfo) GetPrincipalEmail

func (x *AuthenticationInfo) GetPrincipalEmail() string

func (*AuthenticationInfo) GetPrincipalSubject

func (x *AuthenticationInfo) GetPrincipalSubject() string

func (*AuthenticationInfo) GetServiceAccountDelegationInfo

func (x *AuthenticationInfo) GetServiceAccountDelegationInfo() []*ServiceAccountDelegationInfo

func (*AuthenticationInfo) GetServiceAccountKeyName

func (x *AuthenticationInfo) GetServiceAccountKeyName() string

func (*AuthenticationInfo) GetThirdPartyPrincipal

func (x *AuthenticationInfo) GetThirdPartyPrincipal() *structpb.Struct

func (*AuthenticationInfo) ProtoMessage

func (*AuthenticationInfo) ProtoMessage()

func (*AuthenticationInfo) ProtoReflect

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

func (*AuthenticationInfo) Reset

func (x *AuthenticationInfo) Reset()

func (*AuthenticationInfo) String

func (x *AuthenticationInfo) String() string

type AuthorizationInfo

type AuthorizationInfo struct {

	// The resource being accessed, as a REST-style or cloud resource string.
	// For example:
	//
	//	bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID
	//
	// or
	//
	//	projects/PROJECTID/datasets/DATASETID
	Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// The required IAM permission.
	Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"`
	// Whether or not authorization for `resource` and `permission`
	// was granted.
	Granted bool `protobuf:"varint,3,opt,name=granted,proto3" json:"granted,omitempty"`
	// Resource attributes used in IAM condition evaluation. This field contains
	// resource attributes like resource type and resource name.
	//
	// To get the whole view of the attributes used in IAM
	// condition evaluation, the user must also look into
	// `AuditLog.request_metadata.request_attributes`.
	ResourceAttributes *attribute_context.AttributeContext_Resource `protobuf:"bytes,5,opt,name=resource_attributes,json=resourceAttributes,proto3" json:"resource_attributes,omitempty"`
	// contains filtered or unexported fields
}

Authorization information for the operation.

func (*AuthorizationInfo) Descriptor deprecated

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

Deprecated: Use AuthorizationInfo.ProtoReflect.Descriptor instead.

func (*AuthorizationInfo) GetGranted

func (x *AuthorizationInfo) GetGranted() bool

func (*AuthorizationInfo) GetPermission

func (x *AuthorizationInfo) GetPermission() string

func (*AuthorizationInfo) GetResource

func (x *AuthorizationInfo) GetResource() string

func (*AuthorizationInfo) GetResourceAttributes

func (*AuthorizationInfo) ProtoMessage

func (*AuthorizationInfo) ProtoMessage()

func (*AuthorizationInfo) ProtoReflect

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

func (*AuthorizationInfo) Reset

func (x *AuthorizationInfo) Reset()

func (*AuthorizationInfo) String

func (x *AuthorizationInfo) String() string

type BigQueryAuditMetadata

type BigQueryAuditMetadata struct {

	// BigQuery event information.
	//
	// Types that are assignable to Event:
	//
	//	*BigQueryAuditMetadata_JobInsertion_
	//	*BigQueryAuditMetadata_JobChange_
	//	*BigQueryAuditMetadata_JobDeletion_
	//	*BigQueryAuditMetadata_DatasetCreation_
	//	*BigQueryAuditMetadata_DatasetChange_
	//	*BigQueryAuditMetadata_DatasetDeletion_
	//	*BigQueryAuditMetadata_TableCreation_
	//	*BigQueryAuditMetadata_TableChange_
	//	*BigQueryAuditMetadata_TableDeletion_
	//	*BigQueryAuditMetadata_TableDataRead_
	//	*BigQueryAuditMetadata_TableDataChange_
	//	*BigQueryAuditMetadata_ModelDeletion_
	//	*BigQueryAuditMetadata_ModelCreation_
	//	*BigQueryAuditMetadata_ModelMetadataChange_
	//	*BigQueryAuditMetadata_ModelDataChange_
	//	*BigQueryAuditMetadata_ModelDataRead_
	//	*BigQueryAuditMetadata_RoutineCreation_
	//	*BigQueryAuditMetadata_RoutineChange_
	//	*BigQueryAuditMetadata_RoutineDeletion_
	//	*BigQueryAuditMetadata_RowAccessPolicyCreation_
	//	*BigQueryAuditMetadata_RowAccessPolicyChange_
	//	*BigQueryAuditMetadata_RowAccessPolicyDeletion_
	//	*BigQueryAuditMetadata_UnlinkDataset_
	Event isBigQueryAuditMetadata_Event `protobuf_oneof:"event"`
	// First party (Google) application specific metadata.
	FirstPartyAppMetadata *BigQueryAuditMetadata_FirstPartyAppMetadata `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Audit log format for BigQuery cloud audit logs metadata.

func (*BigQueryAuditMetadata) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata) GetDatasetChange

func (*BigQueryAuditMetadata) GetDatasetCreation

func (*BigQueryAuditMetadata) GetDatasetDeletion

func (*BigQueryAuditMetadata) GetEvent

func (m *BigQueryAuditMetadata) GetEvent() isBigQueryAuditMetadata_Event

func (*BigQueryAuditMetadata) GetFirstPartyAppMetadata

func (*BigQueryAuditMetadata) GetJobChange

func (*BigQueryAuditMetadata) GetJobDeletion

func (*BigQueryAuditMetadata) GetJobInsertion

func (*BigQueryAuditMetadata) GetModelCreation

func (*BigQueryAuditMetadata) GetModelDataChange

func (*BigQueryAuditMetadata) GetModelDataRead

func (*BigQueryAuditMetadata) GetModelDeletion

func (*BigQueryAuditMetadata) GetModelMetadataChange

func (*BigQueryAuditMetadata) GetRoutineChange

func (*BigQueryAuditMetadata) GetRoutineCreation

func (*BigQueryAuditMetadata) GetRoutineDeletion

func (*BigQueryAuditMetadata) GetRowAccessPolicyChange

func (*BigQueryAuditMetadata) GetRowAccessPolicyCreation

func (*BigQueryAuditMetadata) GetRowAccessPolicyDeletion

func (*BigQueryAuditMetadata) GetTableChange

func (*BigQueryAuditMetadata) GetTableCreation

func (*BigQueryAuditMetadata) GetTableDataChange

func (*BigQueryAuditMetadata) GetTableDataRead

func (*BigQueryAuditMetadata) GetTableDeletion

func (*BigQueryAuditMetadata) GetUnlinkDataset

func (*BigQueryAuditMetadata) ProtoMessage

func (*BigQueryAuditMetadata) ProtoMessage()

func (*BigQueryAuditMetadata) ProtoReflect

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

func (*BigQueryAuditMetadata) Reset

func (x *BigQueryAuditMetadata) Reset()

func (*BigQueryAuditMetadata) String

func (x *BigQueryAuditMetadata) String() string

type BigQueryAuditMetadata_BigQueryAcl

type BigQueryAuditMetadata_BigQueryAcl struct {

	// IAM policy for the resource.
	Policy *v1.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	// List of authorized views for a dataset.
	//
	// Format: `projects/<project_id>/datasets/<dataset_id>/tables/<view_id>`.
	AuthorizedViews []string `protobuf:"bytes,2,rep,name=authorized_views,json=authorizedViews,proto3" json:"authorized_views,omitempty"`
	// contains filtered or unexported fields
}

An access control list.

func (*BigQueryAuditMetadata_BigQueryAcl) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_BigQueryAcl.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_BigQueryAcl) GetAuthorizedViews

func (x *BigQueryAuditMetadata_BigQueryAcl) GetAuthorizedViews() []string

func (*BigQueryAuditMetadata_BigQueryAcl) GetPolicy

func (*BigQueryAuditMetadata_BigQueryAcl) ProtoMessage

func (*BigQueryAuditMetadata_BigQueryAcl) ProtoMessage()

func (*BigQueryAuditMetadata_BigQueryAcl) ProtoReflect

func (*BigQueryAuditMetadata_BigQueryAcl) Reset

func (*BigQueryAuditMetadata_BigQueryAcl) String

type BigQueryAuditMetadata_CreateDisposition

type BigQueryAuditMetadata_CreateDisposition int32

Describes whether a job should create a destination table if it doesn't exist.

const (
	// Unknown.
	BigQueryAuditMetadata_CREATE_DISPOSITION_UNSPECIFIED BigQueryAuditMetadata_CreateDisposition = 0
	// This job should never create tables.
	BigQueryAuditMetadata_CREATE_NEVER BigQueryAuditMetadata_CreateDisposition = 1
	// This job should create a table if it doesn't already exist.
	BigQueryAuditMetadata_CREATE_IF_NEEDED BigQueryAuditMetadata_CreateDisposition = 2
)

func (BigQueryAuditMetadata_CreateDisposition) Descriptor

func (BigQueryAuditMetadata_CreateDisposition) Enum

func (BigQueryAuditMetadata_CreateDisposition) EnumDescriptor deprecated

func (BigQueryAuditMetadata_CreateDisposition) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_CreateDisposition.Descriptor instead.

func (BigQueryAuditMetadata_CreateDisposition) Number

func (BigQueryAuditMetadata_CreateDisposition) String

func (BigQueryAuditMetadata_CreateDisposition) Type

type BigQueryAuditMetadata_Dataset

type BigQueryAuditMetadata_Dataset struct {

	// Dataset URI.
	//
	// Format: `projects/<project_id>/datasets/<dataset_id>`.
	DatasetName string `protobuf:"bytes,1,opt,name=dataset_name,json=datasetName,proto3" json:"dataset_name,omitempty"`
	// User-provided metadata for the dataset.
	DatasetInfo *BigQueryAuditMetadata_EntityInfo `protobuf:"bytes,7,opt,name=dataset_info,json=datasetInfo,proto3" json:"dataset_info,omitempty"`
	// Dataset creation time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Dataset metadata last update time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The access control list for the dataset.
	Acl *BigQueryAuditMetadata_BigQueryAcl `protobuf:"bytes,5,opt,name=acl,proto3" json:"acl,omitempty"`
	// Default expiration time for tables in the dataset.
	DefaultTableExpireDuration *durationpb.Duration `` /* 143-byte string literal not displayed */
	// Default encryption for tables in the dataset.
	DefaultEncryption *BigQueryAuditMetadata_EncryptionInfo `protobuf:"bytes,8,opt,name=default_encryption,json=defaultEncryption,proto3" json:"default_encryption,omitempty"`
	// Default collation for the dataset.
	DefaultCollation string `protobuf:"bytes,9,opt,name=default_collation,json=defaultCollation,proto3" json:"default_collation,omitempty"`
	// contains filtered or unexported fields
}

BigQuery dataset.

func (*BigQueryAuditMetadata_Dataset) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_Dataset.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_Dataset) GetAcl

func (*BigQueryAuditMetadata_Dataset) GetCreateTime

func (*BigQueryAuditMetadata_Dataset) GetDatasetInfo

func (*BigQueryAuditMetadata_Dataset) GetDatasetName

func (x *BigQueryAuditMetadata_Dataset) GetDatasetName() string

func (*BigQueryAuditMetadata_Dataset) GetDefaultCollation

func (x *BigQueryAuditMetadata_Dataset) GetDefaultCollation() string

func (*BigQueryAuditMetadata_Dataset) GetDefaultEncryption

func (*BigQueryAuditMetadata_Dataset) GetDefaultTableExpireDuration

func (x *BigQueryAuditMetadata_Dataset) GetDefaultTableExpireDuration() *durationpb.Duration

func (*BigQueryAuditMetadata_Dataset) GetUpdateTime

func (*BigQueryAuditMetadata_Dataset) ProtoMessage

func (*BigQueryAuditMetadata_Dataset) ProtoMessage()

func (*BigQueryAuditMetadata_Dataset) ProtoReflect

func (*BigQueryAuditMetadata_Dataset) Reset

func (x *BigQueryAuditMetadata_Dataset) Reset()

func (*BigQueryAuditMetadata_Dataset) String

type BigQueryAuditMetadata_DatasetChange

type BigQueryAuditMetadata_DatasetChange struct {

	// Dataset metadata after the change.
	Dataset *BigQueryAuditMetadata_Dataset `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
	// Describes how the dataset was changed.
	Reason BigQueryAuditMetadata_DatasetChange_Reason `` /* 133-byte string literal not displayed */
	// The URI of the job that updated the dataset.
	// Present if the reason is QUERY.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,3,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Dataset change event.

func (*BigQueryAuditMetadata_DatasetChange) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_DatasetChange.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_DatasetChange) GetDataset

func (*BigQueryAuditMetadata_DatasetChange) GetJobName

func (*BigQueryAuditMetadata_DatasetChange) GetReason

func (*BigQueryAuditMetadata_DatasetChange) ProtoMessage

func (*BigQueryAuditMetadata_DatasetChange) ProtoMessage()

func (*BigQueryAuditMetadata_DatasetChange) ProtoReflect

func (*BigQueryAuditMetadata_DatasetChange) Reset

func (*BigQueryAuditMetadata_DatasetChange) String

type BigQueryAuditMetadata_DatasetChange_

type BigQueryAuditMetadata_DatasetChange_ struct {
	// Dataset change event.
	DatasetChange *BigQueryAuditMetadata_DatasetChange `protobuf:"bytes,4,opt,name=dataset_change,json=datasetChange,proto3,oneof"`
}

type BigQueryAuditMetadata_DatasetChange_Reason

type BigQueryAuditMetadata_DatasetChange_Reason int32

Describes how the dataset was changed.

const (
	// Unknown.
	BigQueryAuditMetadata_DatasetChange_REASON_UNSPECIFIED BigQueryAuditMetadata_DatasetChange_Reason = 0
	// Dataset was changed using the datasets.update or datasets.patch API.
	BigQueryAuditMetadata_DatasetChange_UPDATE BigQueryAuditMetadata_DatasetChange_Reason = 1
	// Dataset was changed using the SetIamPolicy API.
	BigQueryAuditMetadata_DatasetChange_SET_IAM_POLICY BigQueryAuditMetadata_DatasetChange_Reason = 2
	// Dataset was changed using a query job, e.g., ALTER SCHEMA statement.
	BigQueryAuditMetadata_DatasetChange_QUERY BigQueryAuditMetadata_DatasetChange_Reason = 3
)

func (BigQueryAuditMetadata_DatasetChange_Reason) Descriptor

func (BigQueryAuditMetadata_DatasetChange_Reason) Enum

func (BigQueryAuditMetadata_DatasetChange_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_DatasetChange_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_DatasetChange_Reason.Descriptor instead.

func (BigQueryAuditMetadata_DatasetChange_Reason) Number

func (BigQueryAuditMetadata_DatasetChange_Reason) String

func (BigQueryAuditMetadata_DatasetChange_Reason) Type

type BigQueryAuditMetadata_DatasetCreation

type BigQueryAuditMetadata_DatasetCreation struct {

	// Dataset metadata.
	Dataset *BigQueryAuditMetadata_Dataset `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
	// Describes how the dataset was created.
	Reason BigQueryAuditMetadata_DatasetCreation_Reason `` /* 135-byte string literal not displayed */
	// The URI of the job that created the dataset.
	// Present if the reason is QUERY.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,3,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Dataset creation event.

func (*BigQueryAuditMetadata_DatasetCreation) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_DatasetCreation.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_DatasetCreation) GetDataset

func (*BigQueryAuditMetadata_DatasetCreation) GetJobName

func (*BigQueryAuditMetadata_DatasetCreation) GetReason

func (*BigQueryAuditMetadata_DatasetCreation) ProtoMessage

func (*BigQueryAuditMetadata_DatasetCreation) ProtoMessage()

func (*BigQueryAuditMetadata_DatasetCreation) ProtoReflect

func (*BigQueryAuditMetadata_DatasetCreation) Reset

func (*BigQueryAuditMetadata_DatasetCreation) String

type BigQueryAuditMetadata_DatasetCreation_

type BigQueryAuditMetadata_DatasetCreation_ struct {
	// Dataset creation event.
	DatasetCreation *BigQueryAuditMetadata_DatasetCreation `protobuf:"bytes,3,opt,name=dataset_creation,json=datasetCreation,proto3,oneof"`
}

type BigQueryAuditMetadata_DatasetCreation_Reason

type BigQueryAuditMetadata_DatasetCreation_Reason int32

Describes how the dataset was created.

const (
	// Unknown.
	BigQueryAuditMetadata_DatasetCreation_REASON_UNSPECIFIED BigQueryAuditMetadata_DatasetCreation_Reason = 0
	// Dataset was created using the datasets.create API.
	BigQueryAuditMetadata_DatasetCreation_CREATE BigQueryAuditMetadata_DatasetCreation_Reason = 1
	// Dataset was created using a query job, e.g., CREATE SCHEMA statement.
	BigQueryAuditMetadata_DatasetCreation_QUERY BigQueryAuditMetadata_DatasetCreation_Reason = 2
)

func (BigQueryAuditMetadata_DatasetCreation_Reason) Descriptor

func (BigQueryAuditMetadata_DatasetCreation_Reason) Enum

func (BigQueryAuditMetadata_DatasetCreation_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_DatasetCreation_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_DatasetCreation_Reason.Descriptor instead.

func (BigQueryAuditMetadata_DatasetCreation_Reason) Number

func (BigQueryAuditMetadata_DatasetCreation_Reason) String

func (BigQueryAuditMetadata_DatasetCreation_Reason) Type

type BigQueryAuditMetadata_DatasetDeletion

type BigQueryAuditMetadata_DatasetDeletion struct {

	// Describes how the dataset was deleted.
	Reason BigQueryAuditMetadata_DatasetDeletion_Reason `` /* 135-byte string literal not displayed */
	// The URI of the job that deleted the dataset.
	// Present if the reason is QUERY.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,2,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Dataset deletion event.

func (*BigQueryAuditMetadata_DatasetDeletion) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_DatasetDeletion.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_DatasetDeletion) GetJobName

func (*BigQueryAuditMetadata_DatasetDeletion) GetReason

func (*BigQueryAuditMetadata_DatasetDeletion) ProtoMessage

func (*BigQueryAuditMetadata_DatasetDeletion) ProtoMessage()

func (*BigQueryAuditMetadata_DatasetDeletion) ProtoReflect

func (*BigQueryAuditMetadata_DatasetDeletion) Reset

func (*BigQueryAuditMetadata_DatasetDeletion) String

type BigQueryAuditMetadata_DatasetDeletion_

type BigQueryAuditMetadata_DatasetDeletion_ struct {
	// Dataset deletion event.
	DatasetDeletion *BigQueryAuditMetadata_DatasetDeletion `protobuf:"bytes,5,opt,name=dataset_deletion,json=datasetDeletion,proto3,oneof"`
}

type BigQueryAuditMetadata_DatasetDeletion_Reason

type BigQueryAuditMetadata_DatasetDeletion_Reason int32

Describes how the dataset was deleted.

const (
	// Unknown.
	BigQueryAuditMetadata_DatasetDeletion_REASON_UNSPECIFIED BigQueryAuditMetadata_DatasetDeletion_Reason = 0
	// Dataset was deleted using the datasets.delete API.
	BigQueryAuditMetadata_DatasetDeletion_DELETE BigQueryAuditMetadata_DatasetDeletion_Reason = 1
	// Dataset was deleted using a query job, e.g., DROP SCHEMA statement.
	BigQueryAuditMetadata_DatasetDeletion_QUERY BigQueryAuditMetadata_DatasetDeletion_Reason = 2
)

func (BigQueryAuditMetadata_DatasetDeletion_Reason) Descriptor

func (BigQueryAuditMetadata_DatasetDeletion_Reason) Enum

func (BigQueryAuditMetadata_DatasetDeletion_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_DatasetDeletion_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_DatasetDeletion_Reason.Descriptor instead.

func (BigQueryAuditMetadata_DatasetDeletion_Reason) Number

func (BigQueryAuditMetadata_DatasetDeletion_Reason) String

func (BigQueryAuditMetadata_DatasetDeletion_Reason) Type

type BigQueryAuditMetadata_EncryptionInfo

type BigQueryAuditMetadata_EncryptionInfo struct {

	// Cloud kms key identifier.
	//
	// Format:
	// `projects/<project_id>/locations/<location>/keyRings/<key_ring_name>/cryptoKeys/<key_name>`
	KmsKeyName string `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"`
	// contains filtered or unexported fields
}

Encryption properties for a table or a job

func (*BigQueryAuditMetadata_EncryptionInfo) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_EncryptionInfo.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_EncryptionInfo) GetKmsKeyName

func (x *BigQueryAuditMetadata_EncryptionInfo) GetKmsKeyName() string

func (*BigQueryAuditMetadata_EncryptionInfo) ProtoMessage

func (*BigQueryAuditMetadata_EncryptionInfo) ProtoMessage()

func (*BigQueryAuditMetadata_EncryptionInfo) ProtoReflect

func (*BigQueryAuditMetadata_EncryptionInfo) Reset

func (*BigQueryAuditMetadata_EncryptionInfo) String

type BigQueryAuditMetadata_EntityInfo

type BigQueryAuditMetadata_EntityInfo struct {

	// A short name for the entity.
	FriendlyName string `protobuf:"bytes,1,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"`
	// A long description for the entity.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Labels provided for the entity.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

User-provided metadata for an entity, for e.g. dataset, table or model.

func (*BigQueryAuditMetadata_EntityInfo) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_EntityInfo.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_EntityInfo) GetDescription

func (x *BigQueryAuditMetadata_EntityInfo) GetDescription() string

func (*BigQueryAuditMetadata_EntityInfo) GetFriendlyName

func (x *BigQueryAuditMetadata_EntityInfo) GetFriendlyName() string

func (*BigQueryAuditMetadata_EntityInfo) GetLabels

func (x *BigQueryAuditMetadata_EntityInfo) GetLabels() map[string]string

func (*BigQueryAuditMetadata_EntityInfo) ProtoMessage

func (*BigQueryAuditMetadata_EntityInfo) ProtoMessage()

func (*BigQueryAuditMetadata_EntityInfo) ProtoReflect

func (*BigQueryAuditMetadata_EntityInfo) Reset

func (*BigQueryAuditMetadata_EntityInfo) String

type BigQueryAuditMetadata_FirstPartyAppMetadata

type BigQueryAuditMetadata_FirstPartyAppMetadata struct {

	// Types that are assignable to Metadata:
	//
	//	*BigQueryAuditMetadata_FirstPartyAppMetadata_SheetsMetadata
	Metadata isBigQueryAuditMetadata_FirstPartyAppMetadata_Metadata `protobuf_oneof:"metadata"`
	// contains filtered or unexported fields
}

First party (Google) application specific request metadata.

func (*BigQueryAuditMetadata_FirstPartyAppMetadata) Descriptor deprecated

Deprecated: Use BigQueryAuditMetadata_FirstPartyAppMetadata.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_FirstPartyAppMetadata) GetMetadata

func (m *BigQueryAuditMetadata_FirstPartyAppMetadata) GetMetadata() isBigQueryAuditMetadata_FirstPartyAppMetadata_Metadata

func (*BigQueryAuditMetadata_FirstPartyAppMetadata) GetSheetsMetadata

func (*BigQueryAuditMetadata_FirstPartyAppMetadata) ProtoMessage

func (*BigQueryAuditMetadata_FirstPartyAppMetadata) ProtoReflect

func (*BigQueryAuditMetadata_FirstPartyAppMetadata) Reset

func (*BigQueryAuditMetadata_FirstPartyAppMetadata) String

type BigQueryAuditMetadata_FirstPartyAppMetadata_SheetsMetadata

type BigQueryAuditMetadata_FirstPartyAppMetadata_SheetsMetadata struct {
	// Google Sheets metadata.
	SheetsMetadata *BigQueryAuditMetadata_SheetsMetadata `protobuf:"bytes,1,opt,name=sheets_metadata,json=sheetsMetadata,proto3,oneof"`
}

type BigQueryAuditMetadata_Job

type BigQueryAuditMetadata_Job struct {

	// Job URI.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// Job configuration.
	JobConfig *BigQueryAuditMetadata_JobConfig `protobuf:"bytes,2,opt,name=job_config,json=jobConfig,proto3" json:"job_config,omitempty"`
	// Job status.
	JobStatus *BigQueryAuditMetadata_JobStatus `protobuf:"bytes,3,opt,name=job_status,json=jobStatus,proto3" json:"job_status,omitempty"`
	// Job statistics.
	JobStats *BigQueryAuditMetadata_JobStats `protobuf:"bytes,4,opt,name=job_stats,json=jobStats,proto3" json:"job_stats,omitempty"`
	// contains filtered or unexported fields
}

BigQuery job.

func (*BigQueryAuditMetadata_Job) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_Job.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_Job) GetJobConfig

func (*BigQueryAuditMetadata_Job) GetJobName

func (x *BigQueryAuditMetadata_Job) GetJobName() string

func (*BigQueryAuditMetadata_Job) GetJobStats

func (*BigQueryAuditMetadata_Job) GetJobStatus

func (*BigQueryAuditMetadata_Job) ProtoMessage

func (*BigQueryAuditMetadata_Job) ProtoMessage()

func (*BigQueryAuditMetadata_Job) ProtoReflect

func (*BigQueryAuditMetadata_Job) Reset

func (x *BigQueryAuditMetadata_Job) Reset()

func (*BigQueryAuditMetadata_Job) String

func (x *BigQueryAuditMetadata_Job) String() string

type BigQueryAuditMetadata_JobChange

type BigQueryAuditMetadata_JobChange struct {

	// Job state before the job state change.
	Before BigQueryAuditMetadata_JobState `protobuf:"varint,1,opt,name=before,proto3,enum=google.cloud.audit.BigQueryAuditMetadata_JobState" json:"before,omitempty"`
	// Job state after the job state change.
	After BigQueryAuditMetadata_JobState `protobuf:"varint,2,opt,name=after,proto3,enum=google.cloud.audit.BigQueryAuditMetadata_JobState" json:"after,omitempty"`
	// Job metadata.
	Job *BigQueryAuditMetadata_Job `protobuf:"bytes,3,opt,name=job,proto3" json:"job,omitempty"`
	// contains filtered or unexported fields
}

Job state change event.

func (*BigQueryAuditMetadata_JobChange) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_JobChange.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_JobChange) GetAfter

func (*BigQueryAuditMetadata_JobChange) GetBefore

func (*BigQueryAuditMetadata_JobChange) GetJob

func (*BigQueryAuditMetadata_JobChange) ProtoMessage

func (*BigQueryAuditMetadata_JobChange) ProtoMessage()

func (*BigQueryAuditMetadata_JobChange) ProtoReflect

func (*BigQueryAuditMetadata_JobChange) Reset

func (*BigQueryAuditMetadata_JobChange) String

type BigQueryAuditMetadata_JobChange_

type BigQueryAuditMetadata_JobChange_ struct {
	// Job state change event.
	JobChange *BigQueryAuditMetadata_JobChange `protobuf:"bytes,2,opt,name=job_change,json=jobChange,proto3,oneof"`
}

type BigQueryAuditMetadata_JobConfig

type BigQueryAuditMetadata_JobConfig struct {

	// Job type.
	Type BigQueryAuditMetadata_JobConfig_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.audit.BigQueryAuditMetadata_JobConfig_Type" json:"type,omitempty"`
	// Job configuration information.
	//
	// Types that are assignable to Config:
	//
	//	*BigQueryAuditMetadata_JobConfig_QueryConfig
	//	*BigQueryAuditMetadata_JobConfig_LoadConfig
	//	*BigQueryAuditMetadata_JobConfig_ExtractConfig
	//	*BigQueryAuditMetadata_JobConfig_TableCopyConfig
	Config isBigQueryAuditMetadata_JobConfig_Config `protobuf_oneof:"config"`
	// Labels provided for the job.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Job configuration. See the [Jobs](https://cloud.google.com/bigquery/docs/reference/v2/jobs) API resource for more details on individual fields.

func (*BigQueryAuditMetadata_JobConfig) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_JobConfig.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_JobConfig) GetConfig

func (m *BigQueryAuditMetadata_JobConfig) GetConfig() isBigQueryAuditMetadata_JobConfig_Config

func (*BigQueryAuditMetadata_JobConfig) GetExtractConfig

func (*BigQueryAuditMetadata_JobConfig) GetLabels

func (x *BigQueryAuditMetadata_JobConfig) GetLabels() map[string]string

func (*BigQueryAuditMetadata_JobConfig) GetLoadConfig

func (*BigQueryAuditMetadata_JobConfig) GetQueryConfig

func (*BigQueryAuditMetadata_JobConfig) GetTableCopyConfig

func (*BigQueryAuditMetadata_JobConfig) GetType

func (*BigQueryAuditMetadata_JobConfig) ProtoMessage

func (*BigQueryAuditMetadata_JobConfig) ProtoMessage()

func (*BigQueryAuditMetadata_JobConfig) ProtoReflect

func (*BigQueryAuditMetadata_JobConfig) Reset

func (*BigQueryAuditMetadata_JobConfig) String

type BigQueryAuditMetadata_JobConfig_Extract

type BigQueryAuditMetadata_JobConfig_Extract struct {

	// URIs where extracted data should be written. Entire list is truncated
	// if exceeds 50K.
	DestinationUris []string `protobuf:"bytes,1,rep,name=destination_uris,json=destinationUris,proto3" json:"destination_uris,omitempty"`
	// True if the destination_URIs field was truncated.
	DestinationUrisTruncated bool `` /* 136-byte string literal not displayed */
	// Types that are assignable to Source:
	//
	//	*BigQueryAuditMetadata_JobConfig_Extract_SourceTable
	//	*BigQueryAuditMetadata_JobConfig_Extract_SourceModel
	Source isBigQueryAuditMetadata_JobConfig_Extract_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

Extract job configuration.

func (*BigQueryAuditMetadata_JobConfig_Extract) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_JobConfig_Extract.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_JobConfig_Extract) GetDestinationUris

func (x *BigQueryAuditMetadata_JobConfig_Extract) GetDestinationUris() []string

func (*BigQueryAuditMetadata_JobConfig_Extract) GetDestinationUrisTruncated

func (x *BigQueryAuditMetadata_JobConfig_Extract) GetDestinationUrisTruncated() bool

func (*BigQueryAuditMetadata_JobConfig_Extract) GetSource

func (m *BigQueryAuditMetadata_JobConfig_Extract) GetSource() isBigQueryAuditMetadata_JobConfig_Extract_Source

func (*BigQueryAuditMetadata_JobConfig_Extract) GetSourceModel

func (x *BigQueryAuditMetadata_JobConfig_Extract) GetSourceModel() string

func (*BigQueryAuditMetadata_JobConfig_Extract) GetSourceTable

func (x *BigQueryAuditMetadata_JobConfig_Extract) GetSourceTable() string

func (*BigQueryAuditMetadata_JobConfig_Extract) ProtoMessage

func (*BigQueryAuditMetadata_JobConfig_Extract) ProtoReflect

func (*BigQueryAuditMetadata_JobConfig_Extract) Reset

func (*BigQueryAuditMetadata_JobConfig_Extract) String

type BigQueryAuditMetadata_JobConfig_ExtractConfig

type BigQueryAuditMetadata_JobConfig_ExtractConfig struct {
	// Extract job information.
	ExtractConfig *BigQueryAuditMetadata_JobConfig_Extract `protobuf:"bytes,4,opt,name=extract_config,json=extractConfig,proto3,oneof"`
}

type BigQueryAuditMetadata_JobConfig_Extract_SourceModel

type BigQueryAuditMetadata_JobConfig_Extract_SourceModel struct {
	// The source model.
	SourceModel string `protobuf:"bytes,4,opt,name=source_model,json=sourceModel,proto3,oneof"`
}

type BigQueryAuditMetadata_JobConfig_Extract_SourceTable

type BigQueryAuditMetadata_JobConfig_Extract_SourceTable struct {
	// The source table.
	SourceTable string `protobuf:"bytes,2,opt,name=source_table,json=sourceTable,proto3,oneof"`
}

type BigQueryAuditMetadata_JobConfig_Load

type BigQueryAuditMetadata_JobConfig_Load struct {

	// URIs for the data to be imported. Entire list is truncated if exceeds
	// 40K.
	SourceUris []string `protobuf:"bytes,1,rep,name=source_uris,json=sourceUris,proto3" json:"source_uris,omitempty"`
	// True if the source_URIs field was truncated.
	SourceUrisTruncated bool `protobuf:"varint,7,opt,name=source_uris_truncated,json=sourceUrisTruncated,proto3" json:"source_uris_truncated,omitempty"`
	// The table schema in JSON format. Entire field is truncated if exceeds
	// 40K.
	SchemaJson string `protobuf:"bytes,2,opt,name=schema_json,json=schemaJson,proto3" json:"schema_json,omitempty"`
	// True if the schema_json field was truncated.
	SchemaJsonTruncated bool `protobuf:"varint,8,opt,name=schema_json_truncated,json=schemaJsonTruncated,proto3" json:"schema_json_truncated,omitempty"`
	// The destination table for the import.
	DestinationTable string `protobuf:"bytes,3,opt,name=destination_table,json=destinationTable,proto3" json:"destination_table,omitempty"`
	// Destination table create disposition.
	CreateDisposition BigQueryAuditMetadata_CreateDisposition `` /* 177-byte string literal not displayed */
	// Destination table write disposition.
	WriteDisposition BigQueryAuditMetadata_WriteDisposition `` /* 173-byte string literal not displayed */
	// Result table encryption information. Set when non-default encryption is
	// used.
	DestinationTableEncryption *BigQueryAuditMetadata_EncryptionInfo `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

Load job configuration.

func (*BigQueryAuditMetadata_JobConfig_Load) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_JobConfig_Load.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_JobConfig_Load) GetCreateDisposition

func (*BigQueryAuditMetadata_JobConfig_Load) GetDestinationTable

func (x *BigQueryAuditMetadata_JobConfig_Load) GetDestinationTable() string

func (*BigQueryAuditMetadata_JobConfig_Load) GetDestinationTableEncryption

func (*BigQueryAuditMetadata_JobConfig_Load) GetSchemaJson

func (x *BigQueryAuditMetadata_JobConfig_Load) GetSchemaJson() string

func (*BigQueryAuditMetadata_JobConfig_Load) GetSchemaJsonTruncated

func (x *BigQueryAuditMetadata_JobConfig_Load) GetSchemaJsonTruncated() bool

func (*BigQueryAuditMetadata_JobConfig_Load) GetSourceUris

func (x *BigQueryAuditMetadata_JobConfig_Load) GetSourceUris() []string

func (*BigQueryAuditMetadata_JobConfig_Load) GetSourceUrisTruncated

func (x *BigQueryAuditMetadata_JobConfig_Load) GetSourceUrisTruncated() bool

func (*BigQueryAuditMetadata_JobConfig_Load) GetWriteDisposition

func (*BigQueryAuditMetadata_JobConfig_Load) ProtoMessage

func (*BigQueryAuditMetadata_JobConfig_Load) ProtoMessage()

func (*BigQueryAuditMetadata_JobConfig_Load) ProtoReflect

func (*BigQueryAuditMetadata_JobConfig_Load) Reset

func (*BigQueryAuditMetadata_JobConfig_Load) String

type BigQueryAuditMetadata_JobConfig_LoadConfig

type BigQueryAuditMetadata_JobConfig_LoadConfig struct {
	// Load job information.
	LoadConfig *BigQueryAuditMetadata_JobConfig_Load `protobuf:"bytes,3,opt,name=load_config,json=loadConfig,proto3,oneof"`
}

type BigQueryAuditMetadata_JobConfig_Query

type BigQueryAuditMetadata_JobConfig_Query struct {

	// The SQL query to run. Truncated if exceeds 50K.
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// True if the query field was truncated.
	QueryTruncated bool `protobuf:"varint,10,opt,name=query_truncated,json=queryTruncated,proto3" json:"query_truncated,omitempty"`
	// The destination table for the query results.
	DestinationTable string `protobuf:"bytes,2,opt,name=destination_table,json=destinationTable,proto3" json:"destination_table,omitempty"`
	// Destination table create disposition.
	CreateDisposition BigQueryAuditMetadata_CreateDisposition `` /* 177-byte string literal not displayed */
	// Destination table write disposition.
	WriteDisposition BigQueryAuditMetadata_WriteDisposition `` /* 173-byte string literal not displayed */
	// Default dataset for the query.
	DefaultDataset string `protobuf:"bytes,5,opt,name=default_dataset,json=defaultDataset,proto3" json:"default_dataset,omitempty"`
	// External data sources used in the query.
	TableDefinitions []*BigQueryAuditMetadata_TableDefinition `protobuf:"bytes,6,rep,name=table_definitions,json=tableDefinitions,proto3" json:"table_definitions,omitempty"`
	// Priority given to the query.
	Priority BigQueryAuditMetadata_JobConfig_Query_Priority `` /* 141-byte string literal not displayed */
	// Result table encryption information. Set when non-default encryption is
	// used.
	DestinationTableEncryption *BigQueryAuditMetadata_EncryptionInfo `` /* 141-byte string literal not displayed */
	// Type of the query.
	StatementType BigQueryAuditMetadata_QueryStatementType `` /* 166-byte string literal not displayed */
	// contains filtered or unexported fields
}

Query job configuration.

func (*BigQueryAuditMetadata_JobConfig_Query) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_JobConfig_Query.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_JobConfig_Query) GetCreateDisposition

func (*BigQueryAuditMetadata_JobConfig_Query) GetDefaultDataset

func (x *BigQueryAuditMetadata_JobConfig_Query) GetDefaultDataset() string

func (*BigQueryAuditMetadata_JobConfig_Query) GetDestinationTable

func (x *BigQueryAuditMetadata_JobConfig_Query) GetDestinationTable() string

func (*BigQueryAuditMetadata_JobConfig_Query) GetDestinationTableEncryption

func (*BigQueryAuditMetadata_JobConfig_Query) GetPriority

func (*BigQueryAuditMetadata_JobConfig_Query) GetQuery

func (*BigQueryAuditMetadata_JobConfig_Query) GetQueryTruncated

func (x *BigQueryAuditMetadata_JobConfig_Query) GetQueryTruncated() bool

func (*BigQueryAuditMetadata_JobConfig_Query) GetStatementType

func (*BigQueryAuditMetadata_JobConfig_Query) GetTableDefinitions

func (*BigQueryAuditMetadata_JobConfig_Query) GetWriteDisposition

func (*BigQueryAuditMetadata_JobConfig_Query) ProtoMessage

func (*BigQueryAuditMetadata_JobConfig_Query) ProtoMessage()

func (*BigQueryAuditMetadata_JobConfig_Query) ProtoReflect

func (*BigQueryAuditMetadata_JobConfig_Query) Reset

func (*BigQueryAuditMetadata_JobConfig_Query) String

type BigQueryAuditMetadata_JobConfig_QueryConfig

type BigQueryAuditMetadata_JobConfig_QueryConfig struct {
	// Query job information.
	QueryConfig *BigQueryAuditMetadata_JobConfig_Query `protobuf:"bytes,2,opt,name=query_config,json=queryConfig,proto3,oneof"`
}

type BigQueryAuditMetadata_JobConfig_Query_Priority

type BigQueryAuditMetadata_JobConfig_Query_Priority int32

Priority given to the query.

const (
	// Unknown.
	BigQueryAuditMetadata_JobConfig_Query_PRIORITY_UNSPECIFIED BigQueryAuditMetadata_JobConfig_Query_Priority = 0
	// Interactive query.
	BigQueryAuditMetadata_JobConfig_Query_QUERY_INTERACTIVE BigQueryAuditMetadata_JobConfig_Query_Priority = 1
	// Batch query.
	BigQueryAuditMetadata_JobConfig_Query_QUERY_BATCH BigQueryAuditMetadata_JobConfig_Query_Priority = 2
)

func (BigQueryAuditMetadata_JobConfig_Query_Priority) Descriptor

func (BigQueryAuditMetadata_JobConfig_Query_Priority) Enum

func (BigQueryAuditMetadata_JobConfig_Query_Priority) EnumDescriptor deprecated

Deprecated: Use BigQueryAuditMetadata_JobConfig_Query_Priority.Descriptor instead.

func (BigQueryAuditMetadata_JobConfig_Query_Priority) Number

func (BigQueryAuditMetadata_JobConfig_Query_Priority) String

func (BigQueryAuditMetadata_JobConfig_Query_Priority) Type

type BigQueryAuditMetadata_JobConfig_TableCopy

type BigQueryAuditMetadata_JobConfig_TableCopy struct {

	// Source tables. Entire list is truncated if exceeds 50K.
	SourceTables []string `protobuf:"bytes,1,rep,name=source_tables,json=sourceTables,proto3" json:"source_tables,omitempty"`
	// True if the source_tables field was truncated.
	SourceTablesTruncated bool `` /* 127-byte string literal not displayed */
	// Destination table.
	DestinationTable string `protobuf:"bytes,2,opt,name=destination_table,json=destinationTable,proto3" json:"destination_table,omitempty"`
	// Destination table create disposition.
	CreateDisposition BigQueryAuditMetadata_CreateDisposition `` /* 177-byte string literal not displayed */
	// Destination table write disposition.
	WriteDisposition BigQueryAuditMetadata_WriteDisposition `` /* 173-byte string literal not displayed */
	// Result table encryption information. Set when non-default encryption is
	// used.
	DestinationTableEncryption *BigQueryAuditMetadata_EncryptionInfo `` /* 141-byte string literal not displayed */
	// Supported operation types in the table copy job.
	OperationType BigQueryAuditMetadata_OperationType `` /* 161-byte string literal not displayed */
	// Expiration time set on the destination table. Expired tables will be
	// deleted and their storage reclaimed.
	DestinationExpirationTime *timestamppb.Timestamp `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

Table copy job configuration.

func (*BigQueryAuditMetadata_JobConfig_TableCopy) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_JobConfig_TableCopy.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_JobConfig_TableCopy) GetCreateDisposition

func (*BigQueryAuditMetadata_JobConfig_TableCopy) GetDestinationExpirationTime

func (x *BigQueryAuditMetadata_JobConfig_TableCopy) GetDestinationExpirationTime() *timestamppb.Timestamp

func (*BigQueryAuditMetadata_JobConfig_TableCopy) GetDestinationTable

func (x *BigQueryAuditMetadata_JobConfig_TableCopy) GetDestinationTable() string

func (*BigQueryAuditMetadata_JobConfig_TableCopy) GetDestinationTableEncryption

func (*BigQueryAuditMetadata_JobConfig_TableCopy) GetOperationType

func (*BigQueryAuditMetadata_JobConfig_TableCopy) GetSourceTables

func (x *BigQueryAuditMetadata_JobConfig_TableCopy) GetSourceTables() []string

func (*BigQueryAuditMetadata_JobConfig_TableCopy) GetSourceTablesTruncated

func (x *BigQueryAuditMetadata_JobConfig_TableCopy) GetSourceTablesTruncated() bool

func (*BigQueryAuditMetadata_JobConfig_TableCopy) GetWriteDisposition

func (*BigQueryAuditMetadata_JobConfig_TableCopy) ProtoMessage

func (*BigQueryAuditMetadata_JobConfig_TableCopy) ProtoReflect

func (*BigQueryAuditMetadata_JobConfig_TableCopy) Reset

func (*BigQueryAuditMetadata_JobConfig_TableCopy) String

type BigQueryAuditMetadata_JobConfig_TableCopyConfig

type BigQueryAuditMetadata_JobConfig_TableCopyConfig struct {
	// TableCopy job information.
	TableCopyConfig *BigQueryAuditMetadata_JobConfig_TableCopy `protobuf:"bytes,5,opt,name=table_copy_config,json=tableCopyConfig,proto3,oneof"`
}

type BigQueryAuditMetadata_JobConfig_Type

type BigQueryAuditMetadata_JobConfig_Type int32

Job type.

const (
	// Unknown.
	BigQueryAuditMetadata_JobConfig_TYPE_UNSPECIFIED BigQueryAuditMetadata_JobConfig_Type = 0
	// Query job.
	BigQueryAuditMetadata_JobConfig_QUERY BigQueryAuditMetadata_JobConfig_Type = 1
	// Table copy job.
	BigQueryAuditMetadata_JobConfig_COPY BigQueryAuditMetadata_JobConfig_Type = 2
	// Export (extract) job.
	BigQueryAuditMetadata_JobConfig_EXPORT BigQueryAuditMetadata_JobConfig_Type = 3
	// Import (load) job.
	BigQueryAuditMetadata_JobConfig_IMPORT BigQueryAuditMetadata_JobConfig_Type = 4
)

func (BigQueryAuditMetadata_JobConfig_Type) Descriptor

func (BigQueryAuditMetadata_JobConfig_Type) Enum

func (BigQueryAuditMetadata_JobConfig_Type) EnumDescriptor deprecated

func (BigQueryAuditMetadata_JobConfig_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_JobConfig_Type.Descriptor instead.

func (BigQueryAuditMetadata_JobConfig_Type) Number

func (BigQueryAuditMetadata_JobConfig_Type) String

func (BigQueryAuditMetadata_JobConfig_Type) Type

type BigQueryAuditMetadata_JobDeletion

type BigQueryAuditMetadata_JobDeletion struct {

	// Job URI.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,1,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// Describes how the job was deleted.
	Reason BigQueryAuditMetadata_JobDeletion_Reason `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

Job deletion event.

func (*BigQueryAuditMetadata_JobDeletion) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_JobDeletion.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_JobDeletion) GetJobName

func (x *BigQueryAuditMetadata_JobDeletion) GetJobName() string

func (*BigQueryAuditMetadata_JobDeletion) GetReason

func (*BigQueryAuditMetadata_JobDeletion) ProtoMessage

func (*BigQueryAuditMetadata_JobDeletion) ProtoMessage()

func (*BigQueryAuditMetadata_JobDeletion) ProtoReflect

func (*BigQueryAuditMetadata_JobDeletion) Reset

func (*BigQueryAuditMetadata_JobDeletion) String

type BigQueryAuditMetadata_JobDeletion_

type BigQueryAuditMetadata_JobDeletion_ struct {
	// Job deletion event.
	JobDeletion *BigQueryAuditMetadata_JobDeletion `protobuf:"bytes,23,opt,name=job_deletion,json=jobDeletion,proto3,oneof"`
}

type BigQueryAuditMetadata_JobDeletion_Reason

type BigQueryAuditMetadata_JobDeletion_Reason int32

Describes how the job was deleted.

const (
	// Unknown.
	BigQueryAuditMetadata_JobDeletion_REASON_UNSPECIFIED BigQueryAuditMetadata_JobDeletion_Reason = 0
	// Job was deleted using the jobs.delete API.
	BigQueryAuditMetadata_JobDeletion_JOB_DELETE_REQUEST BigQueryAuditMetadata_JobDeletion_Reason = 1
)

func (BigQueryAuditMetadata_JobDeletion_Reason) Descriptor

func (BigQueryAuditMetadata_JobDeletion_Reason) Enum

func (BigQueryAuditMetadata_JobDeletion_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_JobDeletion_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_JobDeletion_Reason.Descriptor instead.

func (BigQueryAuditMetadata_JobDeletion_Reason) Number

func (BigQueryAuditMetadata_JobDeletion_Reason) String

func (BigQueryAuditMetadata_JobDeletion_Reason) Type

type BigQueryAuditMetadata_JobInsertion

type BigQueryAuditMetadata_JobInsertion struct {

	// Job metadata.
	Job *BigQueryAuditMetadata_Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
	// Describes how the job was inserted.
	Reason BigQueryAuditMetadata_JobInsertion_Reason `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

Job insertion event.

func (*BigQueryAuditMetadata_JobInsertion) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_JobInsertion.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_JobInsertion) GetJob

func (*BigQueryAuditMetadata_JobInsertion) GetReason

func (*BigQueryAuditMetadata_JobInsertion) ProtoMessage

func (*BigQueryAuditMetadata_JobInsertion) ProtoMessage()

func (*BigQueryAuditMetadata_JobInsertion) ProtoReflect

func (*BigQueryAuditMetadata_JobInsertion) Reset

func (*BigQueryAuditMetadata_JobInsertion) String

type BigQueryAuditMetadata_JobInsertion_

type BigQueryAuditMetadata_JobInsertion_ struct {
	// Job insertion event.
	JobInsertion *BigQueryAuditMetadata_JobInsertion `protobuf:"bytes,1,opt,name=job_insertion,json=jobInsertion,proto3,oneof"`
}

type BigQueryAuditMetadata_JobInsertion_Reason

type BigQueryAuditMetadata_JobInsertion_Reason int32

Describes how the job was inserted.

const (
	// Unknown.
	BigQueryAuditMetadata_JobInsertion_REASON_UNSPECIFIED BigQueryAuditMetadata_JobInsertion_Reason = 0
	// Job was inserted using the jobs.insert API.
	BigQueryAuditMetadata_JobInsertion_JOB_INSERT_REQUEST BigQueryAuditMetadata_JobInsertion_Reason = 1
	// Job was inserted using the jobs.query RPC.
	BigQueryAuditMetadata_JobInsertion_QUERY_REQUEST BigQueryAuditMetadata_JobInsertion_Reason = 2
)

func (BigQueryAuditMetadata_JobInsertion_Reason) Descriptor

func (BigQueryAuditMetadata_JobInsertion_Reason) Enum

func (BigQueryAuditMetadata_JobInsertion_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_JobInsertion_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_JobInsertion_Reason.Descriptor instead.

func (BigQueryAuditMetadata_JobInsertion_Reason) Number

func (BigQueryAuditMetadata_JobInsertion_Reason) String

func (BigQueryAuditMetadata_JobInsertion_Reason) Type

type BigQueryAuditMetadata_JobState

type BigQueryAuditMetadata_JobState int32

State of a job.

const (
	// State unknown.
	BigQueryAuditMetadata_JOB_STATE_UNSPECIFIED BigQueryAuditMetadata_JobState = 0
	// Job is waiting for the resources.
	BigQueryAuditMetadata_PENDING BigQueryAuditMetadata_JobState = 1
	// Job is running.
	BigQueryAuditMetadata_RUNNING BigQueryAuditMetadata_JobState = 2
	// Job is done.
	BigQueryAuditMetadata_DONE BigQueryAuditMetadata_JobState = 3
)

func (BigQueryAuditMetadata_JobState) Descriptor

func (BigQueryAuditMetadata_JobState) Enum

func (BigQueryAuditMetadata_JobState) EnumDescriptor deprecated

func (BigQueryAuditMetadata_JobState) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_JobState.Descriptor instead.

func (BigQueryAuditMetadata_JobState) Number

func (BigQueryAuditMetadata_JobState) String

func (BigQueryAuditMetadata_JobState) Type

type BigQueryAuditMetadata_JobStats

type BigQueryAuditMetadata_JobStats struct {

	// Job creation time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Job execution start time.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Job completion time.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Statistics specific to the job type.
	//
	// Types that are assignable to Extended:
	//
	//	*BigQueryAuditMetadata_JobStats_QueryStats
	//	*BigQueryAuditMetadata_JobStats_LoadStats
	//	*BigQueryAuditMetadata_JobStats_ExtractStats
	Extended isBigQueryAuditMetadata_JobStats_Extended `protobuf_oneof:"extended"`
	// The total number of slot-ms consumed by the query job.
	TotalSlotMs int64 `protobuf:"varint,10,opt,name=total_slot_ms,json=totalSlotMs,proto3" json:"total_slot_ms,omitempty"`
	// Reservation usage attributed from each tier of a reservation hierarchy.
	ReservationUsage []*BigQueryAuditMetadata_JobStats_ReservationResourceUsage `protobuf:"bytes,11,rep,name=reservation_usage,json=reservationUsage,proto3" json:"reservation_usage,omitempty"`
	// Parent job name. Only present for child jobs.
	ParentJobName string `protobuf:"bytes,12,opt,name=parent_job_name,json=parentJobName,proto3" json:"parent_job_name,omitempty"`
	// contains filtered or unexported fields
}

Job statistics.

func (*BigQueryAuditMetadata_JobStats) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_JobStats.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_JobStats) GetCreateTime

func (*BigQueryAuditMetadata_JobStats) GetEndTime

func (*BigQueryAuditMetadata_JobStats) GetExtended

func (m *BigQueryAuditMetadata_JobStats) GetExtended() isBigQueryAuditMetadata_JobStats_Extended

func (*BigQueryAuditMetadata_JobStats) GetExtractStats

func (*BigQueryAuditMetadata_JobStats) GetLoadStats

func (*BigQueryAuditMetadata_JobStats) GetParentJobName

func (x *BigQueryAuditMetadata_JobStats) GetParentJobName() string

func (*BigQueryAuditMetadata_JobStats) GetQueryStats

func (*BigQueryAuditMetadata_JobStats) GetReservationUsage

func (*BigQueryAuditMetadata_JobStats) GetStartTime

func (*BigQueryAuditMetadata_JobStats) GetTotalSlotMs

func (x *BigQueryAuditMetadata_JobStats) GetTotalSlotMs() int64

func (*BigQueryAuditMetadata_JobStats) ProtoMessage

func (*BigQueryAuditMetadata_JobStats) ProtoMessage()

func (*BigQueryAuditMetadata_JobStats) ProtoReflect

func (*BigQueryAuditMetadata_JobStats) Reset

func (x *BigQueryAuditMetadata_JobStats) Reset()

func (*BigQueryAuditMetadata_JobStats) String

type BigQueryAuditMetadata_JobStats_Extract

type BigQueryAuditMetadata_JobStats_Extract struct {

	// Total bytes exported by the extract job.
	TotalInputBytes int64 `protobuf:"varint,1,opt,name=total_input_bytes,json=totalInputBytes,proto3" json:"total_input_bytes,omitempty"`
	// contains filtered or unexported fields
}

Extract job statistics.

func (*BigQueryAuditMetadata_JobStats_Extract) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_JobStats_Extract.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_JobStats_Extract) GetTotalInputBytes

func (x *BigQueryAuditMetadata_JobStats_Extract) GetTotalInputBytes() int64

func (*BigQueryAuditMetadata_JobStats_Extract) ProtoMessage

func (*BigQueryAuditMetadata_JobStats_Extract) ProtoReflect

func (*BigQueryAuditMetadata_JobStats_Extract) Reset

func (*BigQueryAuditMetadata_JobStats_Extract) String

type BigQueryAuditMetadata_JobStats_ExtractStats

type BigQueryAuditMetadata_JobStats_ExtractStats struct {
	// Extract job statistics.
	ExtractStats *BigQueryAuditMetadata_JobStats_Extract `protobuf:"bytes,13,opt,name=extract_stats,json=extractStats,proto3,oneof"`
}

type BigQueryAuditMetadata_JobStats_Load

type BigQueryAuditMetadata_JobStats_Load struct {

	// Total bytes loaded by the import job.
	TotalOutputBytes int64 `protobuf:"varint,1,opt,name=total_output_bytes,json=totalOutputBytes,proto3" json:"total_output_bytes,omitempty"`
	// contains filtered or unexported fields
}

Load job statistics.

func (*BigQueryAuditMetadata_JobStats_Load) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_JobStats_Load.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_JobStats_Load) GetTotalOutputBytes

func (x *BigQueryAuditMetadata_JobStats_Load) GetTotalOutputBytes() int64

func (*BigQueryAuditMetadata_JobStats_Load) ProtoMessage

func (*BigQueryAuditMetadata_JobStats_Load) ProtoMessage()

func (*BigQueryAuditMetadata_JobStats_Load) ProtoReflect

func (*BigQueryAuditMetadata_JobStats_Load) Reset

func (*BigQueryAuditMetadata_JobStats_Load) String

type BigQueryAuditMetadata_JobStats_LoadStats

type BigQueryAuditMetadata_JobStats_LoadStats struct {
	// Load job statistics.
	LoadStats *BigQueryAuditMetadata_JobStats_Load `protobuf:"bytes,9,opt,name=load_stats,json=loadStats,proto3,oneof"`
}

type BigQueryAuditMetadata_JobStats_Query

type BigQueryAuditMetadata_JobStats_Query struct {

	// Total bytes processed by the query job.
	TotalProcessedBytes int64 `protobuf:"varint,1,opt,name=total_processed_bytes,json=totalProcessedBytes,proto3" json:"total_processed_bytes,omitempty"`
	// Total bytes billed by the query job.
	TotalBilledBytes int64 `protobuf:"varint,2,opt,name=total_billed_bytes,json=totalBilledBytes,proto3" json:"total_billed_bytes,omitempty"`
	// The tier assigned by the CPU-based billing.
	BillingTier int32 `protobuf:"varint,3,opt,name=billing_tier,json=billingTier,proto3" json:"billing_tier,omitempty"`
	// Tables accessed by the query job.
	ReferencedTables []string `protobuf:"bytes,6,rep,name=referenced_tables,json=referencedTables,proto3" json:"referenced_tables,omitempty"`
	// Views accessed by the query job.
	ReferencedViews []string `protobuf:"bytes,7,rep,name=referenced_views,json=referencedViews,proto3" json:"referenced_views,omitempty"`
	// Routines accessed by the query job.
	ReferencedRoutines []string `protobuf:"bytes,10,rep,name=referenced_routines,json=referencedRoutines,proto3" json:"referenced_routines,omitempty"`
	// Number of output rows produced by the query job.
	OutputRowCount int64 `protobuf:"varint,8,opt,name=output_row_count,json=outputRowCount,proto3" json:"output_row_count,omitempty"`
	// True if the query job results were read from the query cache.
	CacheHit bool `protobuf:"varint,9,opt,name=cache_hit,json=cacheHit,proto3" json:"cache_hit,omitempty"`
	// contains filtered or unexported fields
}

Query job statistics.

func (*BigQueryAuditMetadata_JobStats_Query) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_JobStats_Query.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_JobStats_Query) GetBillingTier

func (x *BigQueryAuditMetadata_JobStats_Query) GetBillingTier() int32

func (*BigQueryAuditMetadata_JobStats_Query) GetCacheHit

func (x *BigQueryAuditMetadata_JobStats_Query) GetCacheHit() bool

func (*BigQueryAuditMetadata_JobStats_Query) GetOutputRowCount

func (x *BigQueryAuditMetadata_JobStats_Query) GetOutputRowCount() int64

func (*BigQueryAuditMetadata_JobStats_Query) GetReferencedRoutines

func (x *BigQueryAuditMetadata_JobStats_Query) GetReferencedRoutines() []string

func (*BigQueryAuditMetadata_JobStats_Query) GetReferencedTables

func (x *BigQueryAuditMetadata_JobStats_Query) GetReferencedTables() []string

func (*BigQueryAuditMetadata_JobStats_Query) GetReferencedViews

func (x *BigQueryAuditMetadata_JobStats_Query) GetReferencedViews() []string

func (*BigQueryAuditMetadata_JobStats_Query) GetTotalBilledBytes

func (x *BigQueryAuditMetadata_JobStats_Query) GetTotalBilledBytes() int64

func (*BigQueryAuditMetadata_JobStats_Query) GetTotalProcessedBytes

func (x *BigQueryAuditMetadata_JobStats_Query) GetTotalProcessedBytes() int64

func (*BigQueryAuditMetadata_JobStats_Query) ProtoMessage

func (*BigQueryAuditMetadata_JobStats_Query) ProtoMessage()

func (*BigQueryAuditMetadata_JobStats_Query) ProtoReflect

func (*BigQueryAuditMetadata_JobStats_Query) Reset

func (*BigQueryAuditMetadata_JobStats_Query) String

type BigQueryAuditMetadata_JobStats_QueryStats

type BigQueryAuditMetadata_JobStats_QueryStats struct {
	// Query job statistics.
	QueryStats *BigQueryAuditMetadata_JobStats_Query `protobuf:"bytes,8,opt,name=query_stats,json=queryStats,proto3,oneof"`
}

type BigQueryAuditMetadata_JobStats_ReservationResourceUsage

type BigQueryAuditMetadata_JobStats_ReservationResourceUsage struct {

	// Reservation name or "unreserved" for on-demand resources usage.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Total slot milliseconds used by the reservation for a particular job.
	SlotMs int64 `protobuf:"varint,2,opt,name=slot_ms,json=slotMs,proto3" json:"slot_ms,omitempty"`
	// contains filtered or unexported fields
}

Job resource usage breakdown by reservation.

func (*BigQueryAuditMetadata_JobStats_ReservationResourceUsage) Descriptor deprecated

Deprecated: Use BigQueryAuditMetadata_JobStats_ReservationResourceUsage.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_JobStats_ReservationResourceUsage) GetName

func (*BigQueryAuditMetadata_JobStats_ReservationResourceUsage) GetSlotMs

func (*BigQueryAuditMetadata_JobStats_ReservationResourceUsage) ProtoMessage

func (*BigQueryAuditMetadata_JobStats_ReservationResourceUsage) ProtoReflect

func (*BigQueryAuditMetadata_JobStats_ReservationResourceUsage) Reset

func (*BigQueryAuditMetadata_JobStats_ReservationResourceUsage) String

type BigQueryAuditMetadata_JobStatus

type BigQueryAuditMetadata_JobStatus struct {

	// State of the job.
	JobState BigQueryAuditMetadata_JobState `` /* 141-byte string literal not displayed */
	// Job error, if the job failed.
	ErrorResult *status.Status `protobuf:"bytes,2,opt,name=error_result,json=errorResult,proto3" json:"error_result,omitempty"`
	// Errors encountered during the running of the job. Does not necessarily
	// mean that the job has completed or was unsuccessful.
	Errors []*status.Status `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

Status of a job.

func (*BigQueryAuditMetadata_JobStatus) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_JobStatus.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_JobStatus) GetErrorResult

func (x *BigQueryAuditMetadata_JobStatus) GetErrorResult() *status.Status

func (*BigQueryAuditMetadata_JobStatus) GetErrors

func (x *BigQueryAuditMetadata_JobStatus) GetErrors() []*status.Status

func (*BigQueryAuditMetadata_JobStatus) GetJobState

func (*BigQueryAuditMetadata_JobStatus) ProtoMessage

func (*BigQueryAuditMetadata_JobStatus) ProtoMessage()

func (*BigQueryAuditMetadata_JobStatus) ProtoReflect

func (*BigQueryAuditMetadata_JobStatus) Reset

func (*BigQueryAuditMetadata_JobStatus) String

type BigQueryAuditMetadata_Model

type BigQueryAuditMetadata_Model struct {

	// Model URI.
	//
	// Format: `projects/<project_id>/datasets/<dataset_id>/models/<model_id>`.
	ModelName string `protobuf:"bytes,1,opt,name=model_name,json=modelName,proto3" json:"model_name,omitempty"`
	// User-provided metadata for the model.
	ModelInfo *BigQueryAuditMetadata_EntityInfo `protobuf:"bytes,2,opt,name=model_info,json=modelInfo,proto3" json:"model_info,omitempty"`
	// Model expiration time.
	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// Model creation time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Model last update time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Model encryption information. Set when non-default encryption is used.
	Encryption *BigQueryAuditMetadata_EncryptionInfo `protobuf:"bytes,8,opt,name=encryption,proto3" json:"encryption,omitempty"`
	// contains filtered or unexported fields
}

Trained BigQuery ML model.

func (*BigQueryAuditMetadata_Model) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_Model.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_Model) GetCreateTime

func (*BigQueryAuditMetadata_Model) GetEncryption

func (*BigQueryAuditMetadata_Model) GetExpireTime

func (*BigQueryAuditMetadata_Model) GetModelInfo

func (*BigQueryAuditMetadata_Model) GetModelName

func (x *BigQueryAuditMetadata_Model) GetModelName() string

func (*BigQueryAuditMetadata_Model) GetUpdateTime

func (*BigQueryAuditMetadata_Model) ProtoMessage

func (*BigQueryAuditMetadata_Model) ProtoMessage()

func (*BigQueryAuditMetadata_Model) ProtoReflect

func (*BigQueryAuditMetadata_Model) Reset

func (x *BigQueryAuditMetadata_Model) Reset()

func (*BigQueryAuditMetadata_Model) String

func (x *BigQueryAuditMetadata_Model) String() string

type BigQueryAuditMetadata_ModelCreation

type BigQueryAuditMetadata_ModelCreation struct {

	// Model metadata.
	Model *BigQueryAuditMetadata_Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// Describes how the model was created.
	Reason BigQueryAuditMetadata_ModelCreation_Reason `` /* 133-byte string literal not displayed */
	// The URI of the job that created the model.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,4,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Model creation event.

func (*BigQueryAuditMetadata_ModelCreation) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_ModelCreation.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_ModelCreation) GetJobName

func (*BigQueryAuditMetadata_ModelCreation) GetModel

func (*BigQueryAuditMetadata_ModelCreation) GetReason

func (*BigQueryAuditMetadata_ModelCreation) ProtoMessage

func (*BigQueryAuditMetadata_ModelCreation) ProtoMessage()

func (*BigQueryAuditMetadata_ModelCreation) ProtoReflect

func (*BigQueryAuditMetadata_ModelCreation) Reset

func (*BigQueryAuditMetadata_ModelCreation) String

type BigQueryAuditMetadata_ModelCreation_

type BigQueryAuditMetadata_ModelCreation_ struct {
	// Model creation event.
	ModelCreation *BigQueryAuditMetadata_ModelCreation `protobuf:"bytes,13,opt,name=model_creation,json=modelCreation,proto3,oneof"`
}

type BigQueryAuditMetadata_ModelCreation_Reason

type BigQueryAuditMetadata_ModelCreation_Reason int32

Describes how the model was created.

const (
	// Unknown.
	BigQueryAuditMetadata_ModelCreation_REASON_UNSPECIFIED BigQueryAuditMetadata_ModelCreation_Reason = 0
	// Model was created using a DDL query.
	BigQueryAuditMetadata_ModelCreation_QUERY BigQueryAuditMetadata_ModelCreation_Reason = 2
)

func (BigQueryAuditMetadata_ModelCreation_Reason) Descriptor

func (BigQueryAuditMetadata_ModelCreation_Reason) Enum

func (BigQueryAuditMetadata_ModelCreation_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_ModelCreation_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_ModelCreation_Reason.Descriptor instead.

func (BigQueryAuditMetadata_ModelCreation_Reason) Number

func (BigQueryAuditMetadata_ModelCreation_Reason) String

func (BigQueryAuditMetadata_ModelCreation_Reason) Type

type BigQueryAuditMetadata_ModelDataChange

type BigQueryAuditMetadata_ModelDataChange struct {

	// Describes how the model data was changed.
	Reason BigQueryAuditMetadata_ModelDataChange_Reason `` /* 135-byte string literal not displayed */
	// The URI of the job that changed the model data.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,2,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Model data change event.

func (*BigQueryAuditMetadata_ModelDataChange) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_ModelDataChange.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_ModelDataChange) GetJobName

func (*BigQueryAuditMetadata_ModelDataChange) GetReason

func (*BigQueryAuditMetadata_ModelDataChange) ProtoMessage

func (*BigQueryAuditMetadata_ModelDataChange) ProtoMessage()

func (*BigQueryAuditMetadata_ModelDataChange) ProtoReflect

func (*BigQueryAuditMetadata_ModelDataChange) Reset

func (*BigQueryAuditMetadata_ModelDataChange) String

type BigQueryAuditMetadata_ModelDataChange_

type BigQueryAuditMetadata_ModelDataChange_ struct {
	// Model data change event.
	ModelDataChange *BigQueryAuditMetadata_ModelDataChange `protobuf:"bytes,15,opt,name=model_data_change,json=modelDataChange,proto3,oneof"`
}

type BigQueryAuditMetadata_ModelDataChange_Reason

type BigQueryAuditMetadata_ModelDataChange_Reason int32

Describes how the model data was changed.

const (
	// Unknown.
	BigQueryAuditMetadata_ModelDataChange_REASON_UNSPECIFIED BigQueryAuditMetadata_ModelDataChange_Reason = 0
	// Model data was changed using a DDL query.
	BigQueryAuditMetadata_ModelDataChange_QUERY BigQueryAuditMetadata_ModelDataChange_Reason = 1
)

func (BigQueryAuditMetadata_ModelDataChange_Reason) Descriptor

func (BigQueryAuditMetadata_ModelDataChange_Reason) Enum

func (BigQueryAuditMetadata_ModelDataChange_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_ModelDataChange_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_ModelDataChange_Reason.Descriptor instead.

func (BigQueryAuditMetadata_ModelDataChange_Reason) Number

func (BigQueryAuditMetadata_ModelDataChange_Reason) String

func (BigQueryAuditMetadata_ModelDataChange_Reason) Type

type BigQueryAuditMetadata_ModelDataRead

type BigQueryAuditMetadata_ModelDataRead struct {

	// Describes how the model data was read.
	Reason BigQueryAuditMetadata_ModelDataRead_Reason `` /* 133-byte string literal not displayed */
	// The URI of the job that read the model data.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,2,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Model data read event.

func (*BigQueryAuditMetadata_ModelDataRead) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_ModelDataRead.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_ModelDataRead) GetJobName

func (*BigQueryAuditMetadata_ModelDataRead) GetReason

func (*BigQueryAuditMetadata_ModelDataRead) ProtoMessage

func (*BigQueryAuditMetadata_ModelDataRead) ProtoMessage()

func (*BigQueryAuditMetadata_ModelDataRead) ProtoReflect

func (*BigQueryAuditMetadata_ModelDataRead) Reset

func (*BigQueryAuditMetadata_ModelDataRead) String

type BigQueryAuditMetadata_ModelDataRead_

type BigQueryAuditMetadata_ModelDataRead_ struct {
	// Model data read event.
	ModelDataRead *BigQueryAuditMetadata_ModelDataRead `protobuf:"bytes,19,opt,name=model_data_read,json=modelDataRead,proto3,oneof"`
}

type BigQueryAuditMetadata_ModelDataRead_Reason

type BigQueryAuditMetadata_ModelDataRead_Reason int32

Describes how the model data was read.

const (
	// Unknown.
	BigQueryAuditMetadata_ModelDataRead_REASON_UNSPECIFIED BigQueryAuditMetadata_ModelDataRead_Reason = 0
	// Model was used as a source model during a BigQuery job.
	BigQueryAuditMetadata_ModelDataRead_JOB BigQueryAuditMetadata_ModelDataRead_Reason = 1
)

func (BigQueryAuditMetadata_ModelDataRead_Reason) Descriptor

func (BigQueryAuditMetadata_ModelDataRead_Reason) Enum

func (BigQueryAuditMetadata_ModelDataRead_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_ModelDataRead_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_ModelDataRead_Reason.Descriptor instead.

func (BigQueryAuditMetadata_ModelDataRead_Reason) Number

func (BigQueryAuditMetadata_ModelDataRead_Reason) String

func (BigQueryAuditMetadata_ModelDataRead_Reason) Type

type BigQueryAuditMetadata_ModelDeletion

type BigQueryAuditMetadata_ModelDeletion struct {

	// Describes how the model was deleted.
	Reason BigQueryAuditMetadata_ModelDeletion_Reason `` /* 133-byte string literal not displayed */
	// The URI of the job that deleted a model.
	// Present if the reason is QUERY.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,2,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Model deletion event.

func (*BigQueryAuditMetadata_ModelDeletion) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_ModelDeletion.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_ModelDeletion) GetJobName

func (*BigQueryAuditMetadata_ModelDeletion) GetReason

func (*BigQueryAuditMetadata_ModelDeletion) ProtoMessage

func (*BigQueryAuditMetadata_ModelDeletion) ProtoMessage()

func (*BigQueryAuditMetadata_ModelDeletion) ProtoReflect

func (*BigQueryAuditMetadata_ModelDeletion) Reset

func (*BigQueryAuditMetadata_ModelDeletion) String

type BigQueryAuditMetadata_ModelDeletion_

type BigQueryAuditMetadata_ModelDeletion_ struct {
	// Model deletion event.
	ModelDeletion *BigQueryAuditMetadata_ModelDeletion `protobuf:"bytes,12,opt,name=model_deletion,json=modelDeletion,proto3,oneof"`
}

type BigQueryAuditMetadata_ModelDeletion_Reason

type BigQueryAuditMetadata_ModelDeletion_Reason int32

Describes how the model was deleted.

const (
	// Unknown.
	BigQueryAuditMetadata_ModelDeletion_REASON_UNSPECIFIED BigQueryAuditMetadata_ModelDeletion_Reason = 0
	// Model was deleted using the models.delete API.
	BigQueryAuditMetadata_ModelDeletion_MODEL_DELETE_REQUEST BigQueryAuditMetadata_ModelDeletion_Reason = 1
	// Model expired.
	BigQueryAuditMetadata_ModelDeletion_EXPIRED BigQueryAuditMetadata_ModelDeletion_Reason = 2
	// Model was deleted using DDL query.
	BigQueryAuditMetadata_ModelDeletion_QUERY BigQueryAuditMetadata_ModelDeletion_Reason = 3
)

func (BigQueryAuditMetadata_ModelDeletion_Reason) Descriptor

func (BigQueryAuditMetadata_ModelDeletion_Reason) Enum

func (BigQueryAuditMetadata_ModelDeletion_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_ModelDeletion_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_ModelDeletion_Reason.Descriptor instead.

func (BigQueryAuditMetadata_ModelDeletion_Reason) Number

func (BigQueryAuditMetadata_ModelDeletion_Reason) String

func (BigQueryAuditMetadata_ModelDeletion_Reason) Type

type BigQueryAuditMetadata_ModelMetadataChange

type BigQueryAuditMetadata_ModelMetadataChange struct {

	// Updated model.
	Model *BigQueryAuditMetadata_Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// Describes how the model metadata was changed.
	Reason BigQueryAuditMetadata_ModelMetadataChange_Reason `` /* 139-byte string literal not displayed */
	// The URI of the job that changed the model metadata.
	// Present if and only if the reason is QUERY.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,3,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Model metadata change event.

func (*BigQueryAuditMetadata_ModelMetadataChange) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_ModelMetadataChange.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_ModelMetadataChange) GetJobName

func (*BigQueryAuditMetadata_ModelMetadataChange) GetModel

func (*BigQueryAuditMetadata_ModelMetadataChange) GetReason

func (*BigQueryAuditMetadata_ModelMetadataChange) ProtoMessage

func (*BigQueryAuditMetadata_ModelMetadataChange) ProtoReflect

func (*BigQueryAuditMetadata_ModelMetadataChange) Reset

func (*BigQueryAuditMetadata_ModelMetadataChange) String

type BigQueryAuditMetadata_ModelMetadataChange_

type BigQueryAuditMetadata_ModelMetadataChange_ struct {
	// Model metadata change event.
	ModelMetadataChange *BigQueryAuditMetadata_ModelMetadataChange `protobuf:"bytes,14,opt,name=model_metadata_change,json=modelMetadataChange,proto3,oneof"`
}

type BigQueryAuditMetadata_ModelMetadataChange_Reason

type BigQueryAuditMetadata_ModelMetadataChange_Reason int32

Describes how the model metadata was changed.

const (
	// Unknown.
	BigQueryAuditMetadata_ModelMetadataChange_REASON_UNSPECIFIED BigQueryAuditMetadata_ModelMetadataChange_Reason = 0
	// Model metadata was updated using the models.patch API.
	BigQueryAuditMetadata_ModelMetadataChange_MODEL_PATCH_REQUEST BigQueryAuditMetadata_ModelMetadataChange_Reason = 1
	// Model metadata was updated using a DDL query.
	BigQueryAuditMetadata_ModelMetadataChange_QUERY BigQueryAuditMetadata_ModelMetadataChange_Reason = 2
)

func (BigQueryAuditMetadata_ModelMetadataChange_Reason) Descriptor

func (BigQueryAuditMetadata_ModelMetadataChange_Reason) Enum

func (BigQueryAuditMetadata_ModelMetadataChange_Reason) EnumDescriptor deprecated

Deprecated: Use BigQueryAuditMetadata_ModelMetadataChange_Reason.Descriptor instead.

func (BigQueryAuditMetadata_ModelMetadataChange_Reason) Number

func (BigQueryAuditMetadata_ModelMetadataChange_Reason) String

func (BigQueryAuditMetadata_ModelMetadataChange_Reason) Type

type BigQueryAuditMetadata_OperationType

type BigQueryAuditMetadata_OperationType int32

Table copy job operation type.

const (
	// Unspecified operation type.
	BigQueryAuditMetadata_OPERATION_TYPE_UNSPECIFIED BigQueryAuditMetadata_OperationType = 0
	// The source and the destination table have the same table type.
	BigQueryAuditMetadata_COPY BigQueryAuditMetadata_OperationType = 1
	// The source table type is TABLE and
	// the destination table type is SNAPSHOT.
	BigQueryAuditMetadata_SNAPSHOT BigQueryAuditMetadata_OperationType = 2
	// The source table type is SNAPSHOT and
	// the destination table type is TABLE.
	BigQueryAuditMetadata_RESTORE BigQueryAuditMetadata_OperationType = 3
)

func (BigQueryAuditMetadata_OperationType) Descriptor

func (BigQueryAuditMetadata_OperationType) Enum

func (BigQueryAuditMetadata_OperationType) EnumDescriptor deprecated

func (BigQueryAuditMetadata_OperationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_OperationType.Descriptor instead.

func (BigQueryAuditMetadata_OperationType) Number

func (BigQueryAuditMetadata_OperationType) String

func (BigQueryAuditMetadata_OperationType) Type

type BigQueryAuditMetadata_QueryStatementType

type BigQueryAuditMetadata_QueryStatementType int32

Type of the statement (e.g. SELECT, INSERT, CREATE_TABLE, CREATE_MODEL..)

const (
	// Unknown.
	BigQueryAuditMetadata_QUERY_STATEMENT_TYPE_UNSPECIFIED BigQueryAuditMetadata_QueryStatementType = 0
	// SELECT ... FROM &lt;Table list&gt; ...
	BigQueryAuditMetadata_SELECT BigQueryAuditMetadata_QueryStatementType = 1
	// ASSERT &lt;condition&gt; AS 'description'
	BigQueryAuditMetadata_ASSERT BigQueryAuditMetadata_QueryStatementType = 23
	// INSERT INTO &lt;Table&gt; ....
	BigQueryAuditMetadata_INSERT BigQueryAuditMetadata_QueryStatementType = 2
	// UPDATE &lt;Table&gt; SET ...
	BigQueryAuditMetadata_UPDATE BigQueryAuditMetadata_QueryStatementType = 3
	// DELETE &lt;Table&gt; ...
	BigQueryAuditMetadata_DELETE BigQueryAuditMetadata_QueryStatementType = 4
	// MERGE INTO &lt;Table&gt; ....
	BigQueryAuditMetadata_MERGE BigQueryAuditMetadata_QueryStatementType = 5
	// CREATE TABLE &lt;Table&gt; &lt;column list&gt;
	BigQueryAuditMetadata_CREATE_TABLE BigQueryAuditMetadata_QueryStatementType = 6
	// CREATE TABLE &lt;Table&gt; AS SELECT
	BigQueryAuditMetadata_CREATE_TABLE_AS_SELECT BigQueryAuditMetadata_QueryStatementType = 7
	// CREATE VIEW &lt;View&gt;
	BigQueryAuditMetadata_CREATE_VIEW BigQueryAuditMetadata_QueryStatementType = 8
	// CREATE MODEL &lt;Model&gt; AS &lt;Query&gt;
	BigQueryAuditMetadata_CREATE_MODEL BigQueryAuditMetadata_QueryStatementType = 9
	// CREATE MATERIALIZED VIEW &lt;View&gt; AS ...
	BigQueryAuditMetadata_CREATE_MATERIALIZED_VIEW BigQueryAuditMetadata_QueryStatementType = 13
	// CREATE FUNCTION &lt;Function&gt;(&lt;Signature&gt;) AS ...
	BigQueryAuditMetadata_CREATE_FUNCTION BigQueryAuditMetadata_QueryStatementType = 14
	// CREATE TABLE FUNCTION &lt;Function&gt;(&lt;Signature&gt;) AS ...
	BigQueryAuditMetadata_CREATE_TABLE_FUNCTION BigQueryAuditMetadata_QueryStatementType = 56
	// CREATE PROCEDURE &lt;Procedure&gt;
	BigQueryAuditMetadata_CREATE_PROCEDURE BigQueryAuditMetadata_QueryStatementType = 20
	// CREATE ROW ACCESS POLICY &lt;RowAccessPolicy&gt ON &lt;Table&gt;
	BigQueryAuditMetadata_CREATE_ROW_ACCESS_POLICY BigQueryAuditMetadata_QueryStatementType = 24
	// CREATE SCHEMA &lt;Schema&gt;
	BigQueryAuditMetadata_CREATE_SCHEMA BigQueryAuditMetadata_QueryStatementType = 53
	// CREATE SNAPSHOT TABLE &lt;Snapshot&gt CLONE &lt;Table&gt;
	BigQueryAuditMetadata_CREATE_SNAPSHOT_TABLE BigQueryAuditMetadata_QueryStatementType = 59
	// DROP TABLE &lt;Table&gt;
	BigQueryAuditMetadata_DROP_TABLE BigQueryAuditMetadata_QueryStatementType = 10
	// DROP EXTERNAL TABLE &lt;Table&gt;
	BigQueryAuditMetadata_DROP_EXTERNAL_TABLE BigQueryAuditMetadata_QueryStatementType = 33
	// DROP VIEW &lt;View&gt;
	BigQueryAuditMetadata_DROP_VIEW BigQueryAuditMetadata_QueryStatementType = 11
	// DROP MODEL &lt;Model&gt;
	BigQueryAuditMetadata_DROP_MODEL BigQueryAuditMetadata_QueryStatementType = 12
	// DROP MATERIALIZED VIEW &lt;View&gt;
	BigQueryAuditMetadata_DROP_MATERIALIZED_VIEW BigQueryAuditMetadata_QueryStatementType = 15
	// DROP FUNCTION &lt;Function&gt;
	BigQueryAuditMetadata_DROP_FUNCTION BigQueryAuditMetadata_QueryStatementType = 16
	// DROP PROCEDURE &lt;Procedure&gt;
	BigQueryAuditMetadata_DROP_PROCEDURE BigQueryAuditMetadata_QueryStatementType = 21
	// DROP SCHEMA &lt;Schema&gt;
	BigQueryAuditMetadata_DROP_SCHEMA BigQueryAuditMetadata_QueryStatementType = 54
	// DROP ROW ACCESS POLICY &lt;RowAccessPolicy&gt ON &lt;Table&gt; <or> DROP
	// ALL ROW ACCESS POLICIES ON ON &lt;Table&gt;
	BigQueryAuditMetadata_DROP_ROW_ACCESS_POLICY BigQueryAuditMetadata_QueryStatementType = 25
	// DROP SNAPSHOT TABLE &lt;Snapshot&gt;
	BigQueryAuditMetadata_DROP_SNAPSHOT_TABLE BigQueryAuditMetadata_QueryStatementType = 62
	// ALTER TABLE &lt;Table&gt;
	BigQueryAuditMetadata_ALTER_TABLE BigQueryAuditMetadata_QueryStatementType = 17
	// ALTER VIEW &lt;View&gt;
	BigQueryAuditMetadata_ALTER_VIEW BigQueryAuditMetadata_QueryStatementType = 18
	// ALTER MATERIALIZED_VIEW &lt;view&gt;
	BigQueryAuditMetadata_ALTER_MATERIALIZED_VIEW BigQueryAuditMetadata_QueryStatementType = 22
	// ALTER SCHEMA &lt;Schema&gt;
	BigQueryAuditMetadata_ALTER_SCHEMA BigQueryAuditMetadata_QueryStatementType = 55
	// Script
	BigQueryAuditMetadata_SCRIPT BigQueryAuditMetadata_QueryStatementType = 19
	// TRUNCATE TABLE &lt;Table&gt;
	BigQueryAuditMetadata_TRUNCATE_TABLE BigQueryAuditMetadata_QueryStatementType = 26
	// CREATE EXTERNAL TABLE &lt;TABLE&gt;
	BigQueryAuditMetadata_CREATE_EXTERNAL_TABLE BigQueryAuditMetadata_QueryStatementType = 27
	// EXPORT DATA;
	BigQueryAuditMetadata_EXPORT_DATA BigQueryAuditMetadata_QueryStatementType = 28
	// CALL &lt;stored procedure&gt;
	BigQueryAuditMetadata_CALL BigQueryAuditMetadata_QueryStatementType = 29
)

func (BigQueryAuditMetadata_QueryStatementType) Descriptor

func (BigQueryAuditMetadata_QueryStatementType) Enum

func (BigQueryAuditMetadata_QueryStatementType) EnumDescriptor deprecated

func (BigQueryAuditMetadata_QueryStatementType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_QueryStatementType.Descriptor instead.

func (BigQueryAuditMetadata_QueryStatementType) Number

func (BigQueryAuditMetadata_QueryStatementType) String

func (BigQueryAuditMetadata_QueryStatementType) Type

type BigQueryAuditMetadata_Routine

type BigQueryAuditMetadata_Routine struct {

	// Routine URI.
	//
	// Format:
	// `projects/<project_id>/datasets/<dataset_id>/routines/<routine_id>`.
	RoutineName string `protobuf:"bytes,1,opt,name=routine_name,json=routineName,proto3" json:"routine_name,omitempty"`
	// Routine creation time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Routine last update time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

User Defined Function (UDF) or Stored Procedure.

func (*BigQueryAuditMetadata_Routine) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_Routine.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_Routine) GetCreateTime

func (*BigQueryAuditMetadata_Routine) GetRoutineName

func (x *BigQueryAuditMetadata_Routine) GetRoutineName() string

func (*BigQueryAuditMetadata_Routine) GetUpdateTime

func (*BigQueryAuditMetadata_Routine) ProtoMessage

func (*BigQueryAuditMetadata_Routine) ProtoMessage()

func (*BigQueryAuditMetadata_Routine) ProtoReflect

func (*BigQueryAuditMetadata_Routine) Reset

func (x *BigQueryAuditMetadata_Routine) Reset()

func (*BigQueryAuditMetadata_Routine) String

type BigQueryAuditMetadata_RoutineChange

type BigQueryAuditMetadata_RoutineChange struct {

	// Updated routine.
	Routine *BigQueryAuditMetadata_Routine `protobuf:"bytes,1,opt,name=routine,proto3" json:"routine,omitempty"`
	// Describes how the routine was updated.
	Reason BigQueryAuditMetadata_RoutineChange_Reason `` /* 133-byte string literal not displayed */
	// The URI of the job that updated the routine.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,4,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Routine change event.

func (*BigQueryAuditMetadata_RoutineChange) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_RoutineChange.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_RoutineChange) GetJobName

func (*BigQueryAuditMetadata_RoutineChange) GetReason

func (*BigQueryAuditMetadata_RoutineChange) GetRoutine

func (*BigQueryAuditMetadata_RoutineChange) ProtoMessage

func (*BigQueryAuditMetadata_RoutineChange) ProtoMessage()

func (*BigQueryAuditMetadata_RoutineChange) ProtoReflect

func (*BigQueryAuditMetadata_RoutineChange) Reset

func (*BigQueryAuditMetadata_RoutineChange) String

type BigQueryAuditMetadata_RoutineChange_

type BigQueryAuditMetadata_RoutineChange_ struct {
	// Routine change event.
	RoutineChange *BigQueryAuditMetadata_RoutineChange `protobuf:"bytes,17,opt,name=routine_change,json=routineChange,proto3,oneof"`
}

type BigQueryAuditMetadata_RoutineChange_Reason

type BigQueryAuditMetadata_RoutineChange_Reason int32

Describes how the routine was updated.

const (
	// Unknown.
	BigQueryAuditMetadata_RoutineChange_REASON_UNSPECIFIED BigQueryAuditMetadata_RoutineChange_Reason = 0
	// Routine was updated using a DDL query.
	BigQueryAuditMetadata_RoutineChange_QUERY BigQueryAuditMetadata_RoutineChange_Reason = 1
	// Routine was updated using the routines.update or routines.patch API.
	BigQueryAuditMetadata_RoutineChange_ROUTINE_UPDATE_REQUEST BigQueryAuditMetadata_RoutineChange_Reason = 2
)

func (BigQueryAuditMetadata_RoutineChange_Reason) Descriptor

func (BigQueryAuditMetadata_RoutineChange_Reason) Enum

func (BigQueryAuditMetadata_RoutineChange_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_RoutineChange_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_RoutineChange_Reason.Descriptor instead.

func (BigQueryAuditMetadata_RoutineChange_Reason) Number

func (BigQueryAuditMetadata_RoutineChange_Reason) String

func (BigQueryAuditMetadata_RoutineChange_Reason) Type

type BigQueryAuditMetadata_RoutineCreation

type BigQueryAuditMetadata_RoutineCreation struct {

	// Created routine.
	Routine *BigQueryAuditMetadata_Routine `protobuf:"bytes,1,opt,name=routine,proto3" json:"routine,omitempty"`
	// Describes how the routine was created.
	Reason BigQueryAuditMetadata_RoutineCreation_Reason `` /* 135-byte string literal not displayed */
	// The URI of the job that created the routine.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,4,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Routine creation event.

func (*BigQueryAuditMetadata_RoutineCreation) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_RoutineCreation.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_RoutineCreation) GetJobName

func (*BigQueryAuditMetadata_RoutineCreation) GetReason

func (*BigQueryAuditMetadata_RoutineCreation) GetRoutine

func (*BigQueryAuditMetadata_RoutineCreation) ProtoMessage

func (*BigQueryAuditMetadata_RoutineCreation) ProtoMessage()

func (*BigQueryAuditMetadata_RoutineCreation) ProtoReflect

func (*BigQueryAuditMetadata_RoutineCreation) Reset

func (*BigQueryAuditMetadata_RoutineCreation) String

type BigQueryAuditMetadata_RoutineCreation_

type BigQueryAuditMetadata_RoutineCreation_ struct {
	// Routine creation event.
	RoutineCreation *BigQueryAuditMetadata_RoutineCreation `protobuf:"bytes,16,opt,name=routine_creation,json=routineCreation,proto3,oneof"`
}

type BigQueryAuditMetadata_RoutineCreation_Reason

type BigQueryAuditMetadata_RoutineCreation_Reason int32

Describes how the routine was created.

const (
	// Unknown.
	BigQueryAuditMetadata_RoutineCreation_REASON_UNSPECIFIED BigQueryAuditMetadata_RoutineCreation_Reason = 0
	// Routine was created using a DDL query.
	BigQueryAuditMetadata_RoutineCreation_QUERY BigQueryAuditMetadata_RoutineCreation_Reason = 1
	// Routine was created using the routines.create API.
	BigQueryAuditMetadata_RoutineCreation_ROUTINE_INSERT_REQUEST BigQueryAuditMetadata_RoutineCreation_Reason = 2
)

func (BigQueryAuditMetadata_RoutineCreation_Reason) Descriptor

func (BigQueryAuditMetadata_RoutineCreation_Reason) Enum

func (BigQueryAuditMetadata_RoutineCreation_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_RoutineCreation_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_RoutineCreation_Reason.Descriptor instead.

func (BigQueryAuditMetadata_RoutineCreation_Reason) Number

func (BigQueryAuditMetadata_RoutineCreation_Reason) String

func (BigQueryAuditMetadata_RoutineCreation_Reason) Type

type BigQueryAuditMetadata_RoutineDeletion

type BigQueryAuditMetadata_RoutineDeletion struct {

	// Deleted routine.
	Routine *BigQueryAuditMetadata_Routine `protobuf:"bytes,1,opt,name=routine,proto3" json:"routine,omitempty"`
	// Describes how the routine was deleted.
	Reason BigQueryAuditMetadata_RoutineDeletion_Reason `` /* 135-byte string literal not displayed */
	// The URI of the job that deleted the routine.
	// Present if the reason is QUERY.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,4,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Routine deletion event.

func (*BigQueryAuditMetadata_RoutineDeletion) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_RoutineDeletion.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_RoutineDeletion) GetJobName

func (*BigQueryAuditMetadata_RoutineDeletion) GetReason

func (*BigQueryAuditMetadata_RoutineDeletion) GetRoutine

func (*BigQueryAuditMetadata_RoutineDeletion) ProtoMessage

func (*BigQueryAuditMetadata_RoutineDeletion) ProtoMessage()

func (*BigQueryAuditMetadata_RoutineDeletion) ProtoReflect

func (*BigQueryAuditMetadata_RoutineDeletion) Reset

func (*BigQueryAuditMetadata_RoutineDeletion) String

type BigQueryAuditMetadata_RoutineDeletion_

type BigQueryAuditMetadata_RoutineDeletion_ struct {
	// Routine deletion event.
	RoutineDeletion *BigQueryAuditMetadata_RoutineDeletion `protobuf:"bytes,18,opt,name=routine_deletion,json=routineDeletion,proto3,oneof"`
}

type BigQueryAuditMetadata_RoutineDeletion_Reason

type BigQueryAuditMetadata_RoutineDeletion_Reason int32

Describes how the routine was deleted.

const (
	// Unknown.
	BigQueryAuditMetadata_RoutineDeletion_REASON_UNSPECIFIED BigQueryAuditMetadata_RoutineDeletion_Reason = 0
	// Routine was deleted using DDL query.
	BigQueryAuditMetadata_RoutineDeletion_QUERY BigQueryAuditMetadata_RoutineDeletion_Reason = 1
	// Routine was deleted using the API.
	BigQueryAuditMetadata_RoutineDeletion_ROUTINE_DELETE_REQUEST BigQueryAuditMetadata_RoutineDeletion_Reason = 2
)

func (BigQueryAuditMetadata_RoutineDeletion_Reason) Descriptor

func (BigQueryAuditMetadata_RoutineDeletion_Reason) Enum

func (BigQueryAuditMetadata_RoutineDeletion_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_RoutineDeletion_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_RoutineDeletion_Reason.Descriptor instead.

func (BigQueryAuditMetadata_RoutineDeletion_Reason) Number

func (BigQueryAuditMetadata_RoutineDeletion_Reason) String

func (BigQueryAuditMetadata_RoutineDeletion_Reason) Type

type BigQueryAuditMetadata_RowAccessPolicy

type BigQueryAuditMetadata_RowAccessPolicy struct {

	// Row access policy URI.
	//
	// Format:
	// `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>/rowAccessPolicies/<row_access_policy_id>`
	RowAccessPolicyName string `protobuf:"bytes,1,opt,name=row_access_policy_name,json=rowAccessPolicyName,proto3" json:"row_access_policy_name,omitempty"`
	// contains filtered or unexported fields
}

BigQuery row access policy.

func (*BigQueryAuditMetadata_RowAccessPolicy) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_RowAccessPolicy.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_RowAccessPolicy) GetRowAccessPolicyName

func (x *BigQueryAuditMetadata_RowAccessPolicy) GetRowAccessPolicyName() string

func (*BigQueryAuditMetadata_RowAccessPolicy) ProtoMessage

func (*BigQueryAuditMetadata_RowAccessPolicy) ProtoMessage()

func (*BigQueryAuditMetadata_RowAccessPolicy) ProtoReflect

func (*BigQueryAuditMetadata_RowAccessPolicy) Reset

func (*BigQueryAuditMetadata_RowAccessPolicy) String

type BigQueryAuditMetadata_RowAccessPolicyChange

type BigQueryAuditMetadata_RowAccessPolicyChange struct {

	// The row access policy that was changed by this event.
	RowAccessPolicy *BigQueryAuditMetadata_RowAccessPolicy `protobuf:"bytes,1,opt,name=row_access_policy,json=rowAccessPolicy,proto3" json:"row_access_policy,omitempty"`
	// The URI of the job that created this row access policy.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,2,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Row access policy change event.

func (*BigQueryAuditMetadata_RowAccessPolicyChange) Descriptor deprecated

Deprecated: Use BigQueryAuditMetadata_RowAccessPolicyChange.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_RowAccessPolicyChange) GetJobName

func (*BigQueryAuditMetadata_RowAccessPolicyChange) GetRowAccessPolicy

func (*BigQueryAuditMetadata_RowAccessPolicyChange) ProtoMessage

func (*BigQueryAuditMetadata_RowAccessPolicyChange) ProtoReflect

func (*BigQueryAuditMetadata_RowAccessPolicyChange) Reset

func (*BigQueryAuditMetadata_RowAccessPolicyChange) String

type BigQueryAuditMetadata_RowAccessPolicyChange_

type BigQueryAuditMetadata_RowAccessPolicyChange_ struct {
	// Row access policy change event.
	RowAccessPolicyChange *BigQueryAuditMetadata_RowAccessPolicyChange `protobuf:"bytes,21,opt,name=row_access_policy_change,json=rowAccessPolicyChange,proto3,oneof"`
}

type BigQueryAuditMetadata_RowAccessPolicyCreation

type BigQueryAuditMetadata_RowAccessPolicyCreation struct {

	// The row access policy created by this event.
	RowAccessPolicy *BigQueryAuditMetadata_RowAccessPolicy `protobuf:"bytes,1,opt,name=row_access_policy,json=rowAccessPolicy,proto3" json:"row_access_policy,omitempty"`
	// The URI of the job that created this row access policy.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,2,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Row access policy creation event.

func (*BigQueryAuditMetadata_RowAccessPolicyCreation) Descriptor deprecated

Deprecated: Use BigQueryAuditMetadata_RowAccessPolicyCreation.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_RowAccessPolicyCreation) GetJobName

func (*BigQueryAuditMetadata_RowAccessPolicyCreation) GetRowAccessPolicy

func (*BigQueryAuditMetadata_RowAccessPolicyCreation) ProtoMessage

func (*BigQueryAuditMetadata_RowAccessPolicyCreation) ProtoReflect

func (*BigQueryAuditMetadata_RowAccessPolicyCreation) Reset

func (*BigQueryAuditMetadata_RowAccessPolicyCreation) String

type BigQueryAuditMetadata_RowAccessPolicyCreation_

type BigQueryAuditMetadata_RowAccessPolicyCreation_ struct {
	// Row access policy create event.
	RowAccessPolicyCreation *BigQueryAuditMetadata_RowAccessPolicyCreation `protobuf:"bytes,20,opt,name=row_access_policy_creation,json=rowAccessPolicyCreation,proto3,oneof"`
}

type BigQueryAuditMetadata_RowAccessPolicyDeletion

type BigQueryAuditMetadata_RowAccessPolicyDeletion struct {

	// The row access policies that were deleted. At present, only populated
	// when a single policy is dropped.
	RowAccessPolicies []*BigQueryAuditMetadata_RowAccessPolicy `protobuf:"bytes,1,rep,name=row_access_policies,json=rowAccessPolicies,proto3" json:"row_access_policies,omitempty"`
	// The job that deleted these row access policies.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,2,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// This field is set to true when a DROP ALL command has been executed, thus
	// removing all row access policies on the table.
	AllRowAccessPoliciesDropped bool `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Row access policy deletion event.

func (*BigQueryAuditMetadata_RowAccessPolicyDeletion) Descriptor deprecated

Deprecated: Use BigQueryAuditMetadata_RowAccessPolicyDeletion.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_RowAccessPolicyDeletion) GetAllRowAccessPoliciesDropped

func (x *BigQueryAuditMetadata_RowAccessPolicyDeletion) GetAllRowAccessPoliciesDropped() bool

func (*BigQueryAuditMetadata_RowAccessPolicyDeletion) GetJobName

func (*BigQueryAuditMetadata_RowAccessPolicyDeletion) GetRowAccessPolicies

func (*BigQueryAuditMetadata_RowAccessPolicyDeletion) ProtoMessage

func (*BigQueryAuditMetadata_RowAccessPolicyDeletion) ProtoReflect

func (*BigQueryAuditMetadata_RowAccessPolicyDeletion) Reset

func (*BigQueryAuditMetadata_RowAccessPolicyDeletion) String

type BigQueryAuditMetadata_RowAccessPolicyDeletion_

type BigQueryAuditMetadata_RowAccessPolicyDeletion_ struct {
	// Row access policy deletion event.
	RowAccessPolicyDeletion *BigQueryAuditMetadata_RowAccessPolicyDeletion `protobuf:"bytes,22,opt,name=row_access_policy_deletion,json=rowAccessPolicyDeletion,proto3,oneof"`
}

type BigQueryAuditMetadata_SheetsMetadata

type BigQueryAuditMetadata_SheetsMetadata struct {

	// The ID of the spreadsheet from which the request is sent.
	DocId string `protobuf:"bytes,1,opt,name=doc_id,json=docId,proto3" json:"doc_id,omitempty"`
	// contains filtered or unexported fields
}

Google Sheets specific request metadata.

func (*BigQueryAuditMetadata_SheetsMetadata) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_SheetsMetadata.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_SheetsMetadata) GetDocId

func (*BigQueryAuditMetadata_SheetsMetadata) ProtoMessage

func (*BigQueryAuditMetadata_SheetsMetadata) ProtoMessage()

func (*BigQueryAuditMetadata_SheetsMetadata) ProtoReflect

func (*BigQueryAuditMetadata_SheetsMetadata) Reset

func (*BigQueryAuditMetadata_SheetsMetadata) String

type BigQueryAuditMetadata_Table

type BigQueryAuditMetadata_Table struct {

	// Table URI.
	//
	// Format: `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>`.
	TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// User-provided metadata for the table.
	TableInfo *BigQueryAuditMetadata_EntityInfo `protobuf:"bytes,10,opt,name=table_info,json=tableInfo,proto3" json:"table_info,omitempty"`
	// A JSON representation of the table's schema. Entire field is truncated
	// if exceeds 40K.
	SchemaJson string `protobuf:"bytes,3,opt,name=schema_json,json=schemaJson,proto3" json:"schema_json,omitempty"`
	// True if the schema_json field was truncated.
	SchemaJsonTruncated bool `protobuf:"varint,11,opt,name=schema_json_truncated,json=schemaJsonTruncated,proto3" json:"schema_json_truncated,omitempty"`
	// View metadata. Only present for views.
	View *BigQueryAuditMetadata_TableViewDefinition `protobuf:"bytes,4,opt,name=view,proto3" json:"view,omitempty"`
	// Table expiration time.
	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// The table creation time.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The last time metadata update time.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The last table truncation time.
	TruncateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=truncate_time,json=truncateTime,proto3" json:"truncate_time,omitempty"`
	// Table encryption information. Set when non-default encryption is used.
	Encryption *BigQueryAuditMetadata_EncryptionInfo `protobuf:"bytes,9,opt,name=encryption,proto3" json:"encryption,omitempty"`
	// contains filtered or unexported fields
}

BigQuery table.

func (*BigQueryAuditMetadata_Table) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_Table.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_Table) GetCreateTime

func (*BigQueryAuditMetadata_Table) GetEncryption

func (*BigQueryAuditMetadata_Table) GetExpireTime

func (*BigQueryAuditMetadata_Table) GetSchemaJson

func (x *BigQueryAuditMetadata_Table) GetSchemaJson() string

func (*BigQueryAuditMetadata_Table) GetSchemaJsonTruncated

func (x *BigQueryAuditMetadata_Table) GetSchemaJsonTruncated() bool

func (*BigQueryAuditMetadata_Table) GetTableInfo

func (*BigQueryAuditMetadata_Table) GetTableName

func (x *BigQueryAuditMetadata_Table) GetTableName() string

func (*BigQueryAuditMetadata_Table) GetTruncateTime

func (x *BigQueryAuditMetadata_Table) GetTruncateTime() *timestamppb.Timestamp

func (*BigQueryAuditMetadata_Table) GetUpdateTime

func (*BigQueryAuditMetadata_Table) GetView

func (*BigQueryAuditMetadata_Table) ProtoMessage

func (*BigQueryAuditMetadata_Table) ProtoMessage()

func (*BigQueryAuditMetadata_Table) ProtoReflect

func (*BigQueryAuditMetadata_Table) Reset

func (x *BigQueryAuditMetadata_Table) Reset()

func (*BigQueryAuditMetadata_Table) String

func (x *BigQueryAuditMetadata_Table) String() string

type BigQueryAuditMetadata_TableChange

type BigQueryAuditMetadata_TableChange struct {

	// Updated table metadata.
	Table *BigQueryAuditMetadata_Table `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
	// True if the table was truncated.
	Truncated bool `protobuf:"varint,4,opt,name=truncated,proto3" json:"truncated,omitempty"`
	// Describes how the table metadata was changed.
	Reason BigQueryAuditMetadata_TableChange_Reason `` /* 131-byte string literal not displayed */
	// The URI of the job that changed a table.
	// Present if the reason is JOB or QUERY.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,6,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Table metadata change event.

func (*BigQueryAuditMetadata_TableChange) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_TableChange.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_TableChange) GetJobName

func (x *BigQueryAuditMetadata_TableChange) GetJobName() string

func (*BigQueryAuditMetadata_TableChange) GetReason

func (*BigQueryAuditMetadata_TableChange) GetTable

func (*BigQueryAuditMetadata_TableChange) GetTruncated

func (x *BigQueryAuditMetadata_TableChange) GetTruncated() bool

func (*BigQueryAuditMetadata_TableChange) ProtoMessage

func (*BigQueryAuditMetadata_TableChange) ProtoMessage()

func (*BigQueryAuditMetadata_TableChange) ProtoReflect

func (*BigQueryAuditMetadata_TableChange) Reset

func (*BigQueryAuditMetadata_TableChange) String

type BigQueryAuditMetadata_TableChange_

type BigQueryAuditMetadata_TableChange_ struct {
	// Table metadata change event.
	TableChange *BigQueryAuditMetadata_TableChange `protobuf:"bytes,8,opt,name=table_change,json=tableChange,proto3,oneof"`
}

type BigQueryAuditMetadata_TableChange_Reason

type BigQueryAuditMetadata_TableChange_Reason int32

Describes how the table metadata was changed.

const (
	// Unknown.
	BigQueryAuditMetadata_TableChange_REASON_UNSPECIFIED BigQueryAuditMetadata_TableChange_Reason = 0
	// Table metadata was updated using the tables.update or tables.patch API.
	BigQueryAuditMetadata_TableChange_TABLE_UPDATE_REQUEST BigQueryAuditMetadata_TableChange_Reason = 1
	// Table was used as a job destination table.
	BigQueryAuditMetadata_TableChange_JOB BigQueryAuditMetadata_TableChange_Reason = 2
	// Table metadata was updated using a DML or DDL query.
	BigQueryAuditMetadata_TableChange_QUERY BigQueryAuditMetadata_TableChange_Reason = 3
)

func (BigQueryAuditMetadata_TableChange_Reason) Descriptor

func (BigQueryAuditMetadata_TableChange_Reason) Enum

func (BigQueryAuditMetadata_TableChange_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_TableChange_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_TableChange_Reason.Descriptor instead.

func (BigQueryAuditMetadata_TableChange_Reason) Number

func (BigQueryAuditMetadata_TableChange_Reason) String

func (BigQueryAuditMetadata_TableChange_Reason) Type

type BigQueryAuditMetadata_TableCreation

type BigQueryAuditMetadata_TableCreation struct {

	// Table metadata.
	Table *BigQueryAuditMetadata_Table `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"`
	// Describes how the table was created.
	Reason BigQueryAuditMetadata_TableCreation_Reason `` /* 133-byte string literal not displayed */
	// The URI of the job that created a table.
	// Present if the reason is JOB or QUERY.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,4,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Table creation event.

func (*BigQueryAuditMetadata_TableCreation) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_TableCreation.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_TableCreation) GetJobName

func (*BigQueryAuditMetadata_TableCreation) GetReason

func (*BigQueryAuditMetadata_TableCreation) GetTable

func (*BigQueryAuditMetadata_TableCreation) ProtoMessage

func (*BigQueryAuditMetadata_TableCreation) ProtoMessage()

func (*BigQueryAuditMetadata_TableCreation) ProtoReflect

func (*BigQueryAuditMetadata_TableCreation) Reset

func (*BigQueryAuditMetadata_TableCreation) String

type BigQueryAuditMetadata_TableCreation_

type BigQueryAuditMetadata_TableCreation_ struct {
	// Table creation event.
	TableCreation *BigQueryAuditMetadata_TableCreation `protobuf:"bytes,6,opt,name=table_creation,json=tableCreation,proto3,oneof"`
}

type BigQueryAuditMetadata_TableCreation_Reason

type BigQueryAuditMetadata_TableCreation_Reason int32

Describes how the table was created.

const (
	// Unknown.
	BigQueryAuditMetadata_TableCreation_REASON_UNSPECIFIED BigQueryAuditMetadata_TableCreation_Reason = 0
	// Table was created as a destination table during a query, load or copy
	// job.
	BigQueryAuditMetadata_TableCreation_JOB BigQueryAuditMetadata_TableCreation_Reason = 1
	// Table was created using a DDL query.
	BigQueryAuditMetadata_TableCreation_QUERY BigQueryAuditMetadata_TableCreation_Reason = 2
	// Table was created using the tables.create API.
	BigQueryAuditMetadata_TableCreation_TABLE_INSERT_REQUEST BigQueryAuditMetadata_TableCreation_Reason = 3
)

func (BigQueryAuditMetadata_TableCreation_Reason) Descriptor

func (BigQueryAuditMetadata_TableCreation_Reason) Enum

func (BigQueryAuditMetadata_TableCreation_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_TableCreation_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_TableCreation_Reason.Descriptor instead.

func (BigQueryAuditMetadata_TableCreation_Reason) Number

func (BigQueryAuditMetadata_TableCreation_Reason) String

func (BigQueryAuditMetadata_TableCreation_Reason) Type

type BigQueryAuditMetadata_TableDataChange

type BigQueryAuditMetadata_TableDataChange struct {

	// Number of deleted rows.
	DeletedRowsCount int64 `protobuf:"varint,1,opt,name=deleted_rows_count,json=deletedRowsCount,proto3" json:"deleted_rows_count,omitempty"`
	// Number of inserted rows.
	InsertedRowsCount int64 `protobuf:"varint,2,opt,name=inserted_rows_count,json=insertedRowsCount,proto3" json:"inserted_rows_count,omitempty"`
	// True if the table was truncated.
	Truncated bool `protobuf:"varint,3,opt,name=truncated,proto3" json:"truncated,omitempty"`
	// Describes how the table data was changed.
	Reason BigQueryAuditMetadata_TableDataChange_Reason `` /* 135-byte string literal not displayed */
	// The URI of the job that changed a table.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,5,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// If written from WRITE_API, the name of the stream.
	//
	// Format:
	// `projects/<project_id>/datasets/<dataset_id>/tables/<table_id>/streams/<stream_id>`
	StreamName string `protobuf:"bytes,6,opt,name=stream_name,json=streamName,proto3" json:"stream_name,omitempty"`
	// contains filtered or unexported fields
}

Table data change event.

func (*BigQueryAuditMetadata_TableDataChange) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_TableDataChange.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_TableDataChange) GetDeletedRowsCount

func (x *BigQueryAuditMetadata_TableDataChange) GetDeletedRowsCount() int64

func (*BigQueryAuditMetadata_TableDataChange) GetInsertedRowsCount

func (x *BigQueryAuditMetadata_TableDataChange) GetInsertedRowsCount() int64

func (*BigQueryAuditMetadata_TableDataChange) GetJobName

func (*BigQueryAuditMetadata_TableDataChange) GetReason

func (*BigQueryAuditMetadata_TableDataChange) GetStreamName

func (x *BigQueryAuditMetadata_TableDataChange) GetStreamName() string

func (*BigQueryAuditMetadata_TableDataChange) GetTruncated

func (x *BigQueryAuditMetadata_TableDataChange) GetTruncated() bool

func (*BigQueryAuditMetadata_TableDataChange) ProtoMessage

func (*BigQueryAuditMetadata_TableDataChange) ProtoMessage()

func (*BigQueryAuditMetadata_TableDataChange) ProtoReflect

func (*BigQueryAuditMetadata_TableDataChange) Reset

func (*BigQueryAuditMetadata_TableDataChange) String

type BigQueryAuditMetadata_TableDataChange_

type BigQueryAuditMetadata_TableDataChange_ struct {
	// Table data change event.
	TableDataChange *BigQueryAuditMetadata_TableDataChange `protobuf:"bytes,11,opt,name=table_data_change,json=tableDataChange,proto3,oneof"`
}

type BigQueryAuditMetadata_TableDataChange_Reason

type BigQueryAuditMetadata_TableDataChange_Reason int32

Describes how the table data was changed.

const (
	// Unknown.
	BigQueryAuditMetadata_TableDataChange_REASON_UNSPECIFIED BigQueryAuditMetadata_TableDataChange_Reason = 0
	// Table was used as a job destination table.
	BigQueryAuditMetadata_TableDataChange_JOB BigQueryAuditMetadata_TableDataChange_Reason = 1
	// Table data was updated using a DML or DDL query.
	BigQueryAuditMetadata_TableDataChange_QUERY BigQueryAuditMetadata_TableDataChange_Reason = 2
	// Table data was updated during a materialized view refresh.
	BigQueryAuditMetadata_TableDataChange_MATERIALIZED_VIEW_REFRESH BigQueryAuditMetadata_TableDataChange_Reason = 3
	// Table data was added using the Write API.
	BigQueryAuditMetadata_TableDataChange_WRITE_API BigQueryAuditMetadata_TableDataChange_Reason = 4
)

func (BigQueryAuditMetadata_TableDataChange_Reason) Descriptor

func (BigQueryAuditMetadata_TableDataChange_Reason) Enum

func (BigQueryAuditMetadata_TableDataChange_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_TableDataChange_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_TableDataChange_Reason.Descriptor instead.

func (BigQueryAuditMetadata_TableDataChange_Reason) Number

func (BigQueryAuditMetadata_TableDataChange_Reason) String

func (BigQueryAuditMetadata_TableDataChange_Reason) Type

type BigQueryAuditMetadata_TableDataRead

type BigQueryAuditMetadata_TableDataRead struct {

	// List of the accessed fields. Entire list is truncated if the record size
	// exceeds 100K.
	Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
	// True if the fields list was truncated.
	FieldsTruncated bool `protobuf:"varint,8,opt,name=fields_truncated,json=fieldsTruncated,proto3" json:"fields_truncated,omitempty"`
	// List of the referenced policy tags. That is, policy tags attached to the
	// accessed fields or their ancestors.
	// Policy tag resource name is a string of the format:
	// `projects/<project_id>/locations/<location_id>/taxonomies/<taxonomy_id>/policyTags/<policy_tag_id>`
	PolicyTags []string `protobuf:"bytes,9,rep,name=policy_tags,json=policyTags,proto3" json:"policy_tags,omitempty"`
	// True if the policy tag list was truncated. At most 100 policy tags can be
	// saved.
	PolicyTagsTruncated bool `protobuf:"varint,10,opt,name=policy_tags_truncated,json=policyTagsTruncated,proto3" json:"policy_tags_truncated,omitempty"`
	// Describes how the table data was read.
	Reason BigQueryAuditMetadata_TableDataRead_Reason `` /* 133-byte string literal not displayed */
	// The URI of the job that read a table.
	// Present if the reason is JOB but can be redacted for privacy reasons.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,4,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// The URI of the read session that read a table.
	// Present if the reason is CREATE_READ_SESSION.
	//
	// Format:
	// `projects/<project_id>/locations/<location>/sessions/<session_id>`.
	SessionName string `protobuf:"bytes,5,opt,name=session_name,json=sessionName,proto3" json:"session_name,omitempty"`
	// contains filtered or unexported fields
}

Table data read event.

func (*BigQueryAuditMetadata_TableDataRead) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_TableDataRead.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_TableDataRead) GetFields

func (*BigQueryAuditMetadata_TableDataRead) GetFieldsTruncated

func (x *BigQueryAuditMetadata_TableDataRead) GetFieldsTruncated() bool

func (*BigQueryAuditMetadata_TableDataRead) GetJobName

func (*BigQueryAuditMetadata_TableDataRead) GetPolicyTags

func (x *BigQueryAuditMetadata_TableDataRead) GetPolicyTags() []string

func (*BigQueryAuditMetadata_TableDataRead) GetPolicyTagsTruncated

func (x *BigQueryAuditMetadata_TableDataRead) GetPolicyTagsTruncated() bool

func (*BigQueryAuditMetadata_TableDataRead) GetReason

func (*BigQueryAuditMetadata_TableDataRead) GetSessionName

func (x *BigQueryAuditMetadata_TableDataRead) GetSessionName() string

func (*BigQueryAuditMetadata_TableDataRead) ProtoMessage

func (*BigQueryAuditMetadata_TableDataRead) ProtoMessage()

func (*BigQueryAuditMetadata_TableDataRead) ProtoReflect

func (*BigQueryAuditMetadata_TableDataRead) Reset

func (*BigQueryAuditMetadata_TableDataRead) String

type BigQueryAuditMetadata_TableDataRead_

type BigQueryAuditMetadata_TableDataRead_ struct {
	// Table data read event.
	TableDataRead *BigQueryAuditMetadata_TableDataRead `protobuf:"bytes,10,opt,name=table_data_read,json=tableDataRead,proto3,oneof"`
}

type BigQueryAuditMetadata_TableDataRead_Reason

type BigQueryAuditMetadata_TableDataRead_Reason int32

Describes how the table data was read.

const (
	// Unknown.
	BigQueryAuditMetadata_TableDataRead_REASON_UNSPECIFIED BigQueryAuditMetadata_TableDataRead_Reason = 0
	// Table was used as a source table during a BigQuery job.
	BigQueryAuditMetadata_TableDataRead_JOB BigQueryAuditMetadata_TableDataRead_Reason = 1
	// Table data was accessed using the tabledata.list API.
	BigQueryAuditMetadata_TableDataRead_TABLEDATA_LIST_REQUEST BigQueryAuditMetadata_TableDataRead_Reason = 2
	// Table data was accessed using the jobs.getQueryResults API.
	BigQueryAuditMetadata_TableDataRead_GET_QUERY_RESULTS_REQUEST BigQueryAuditMetadata_TableDataRead_Reason = 3
	// Table data was accessed using the jobs.query RPC.
	BigQueryAuditMetadata_TableDataRead_QUERY_REQUEST BigQueryAuditMetadata_TableDataRead_Reason = 4
	// Table data was accessed using storage.CreateReadSession API.
	BigQueryAuditMetadata_TableDataRead_CREATE_READ_SESSION BigQueryAuditMetadata_TableDataRead_Reason = 5
	// Table data was accessed during a materialized view refresh.
	BigQueryAuditMetadata_TableDataRead_MATERIALIZED_VIEW_REFRESH BigQueryAuditMetadata_TableDataRead_Reason = 6
)

func (BigQueryAuditMetadata_TableDataRead_Reason) Descriptor

func (BigQueryAuditMetadata_TableDataRead_Reason) Enum

func (BigQueryAuditMetadata_TableDataRead_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_TableDataRead_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_TableDataRead_Reason.Descriptor instead.

func (BigQueryAuditMetadata_TableDataRead_Reason) Number

func (BigQueryAuditMetadata_TableDataRead_Reason) String

func (BigQueryAuditMetadata_TableDataRead_Reason) Type

type BigQueryAuditMetadata_TableDefinition

type BigQueryAuditMetadata_TableDefinition struct {

	// Name of the table, used in queries.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// URIs for the data.
	SourceUris []string `protobuf:"bytes,2,rep,name=source_uris,json=sourceUris,proto3" json:"source_uris,omitempty"`
	// contains filtered or unexported fields
}

Definition of an external data source used in a query.

func (*BigQueryAuditMetadata_TableDefinition) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_TableDefinition.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_TableDefinition) GetName

func (*BigQueryAuditMetadata_TableDefinition) GetSourceUris

func (x *BigQueryAuditMetadata_TableDefinition) GetSourceUris() []string

func (*BigQueryAuditMetadata_TableDefinition) ProtoMessage

func (*BigQueryAuditMetadata_TableDefinition) ProtoMessage()

func (*BigQueryAuditMetadata_TableDefinition) ProtoReflect

func (*BigQueryAuditMetadata_TableDefinition) Reset

func (*BigQueryAuditMetadata_TableDefinition) String

type BigQueryAuditMetadata_TableDeletion

type BigQueryAuditMetadata_TableDeletion struct {

	// Describes how table was deleted.
	Reason BigQueryAuditMetadata_TableDeletion_Reason `` /* 133-byte string literal not displayed */
	// The URI of the job that deleted a table.
	// Present if the reason is QUERY.
	//
	// Format: `projects/<project_id>/jobs/<job_id>`.
	JobName string `protobuf:"bytes,2,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	// contains filtered or unexported fields
}

Table deletion event.

func (*BigQueryAuditMetadata_TableDeletion) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_TableDeletion.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_TableDeletion) GetJobName

func (*BigQueryAuditMetadata_TableDeletion) GetReason

func (*BigQueryAuditMetadata_TableDeletion) ProtoMessage

func (*BigQueryAuditMetadata_TableDeletion) ProtoMessage()

func (*BigQueryAuditMetadata_TableDeletion) ProtoReflect

func (*BigQueryAuditMetadata_TableDeletion) Reset

func (*BigQueryAuditMetadata_TableDeletion) String

type BigQueryAuditMetadata_TableDeletion_

type BigQueryAuditMetadata_TableDeletion_ struct {
	// Table deletion event.
	TableDeletion *BigQueryAuditMetadata_TableDeletion `protobuf:"bytes,9,opt,name=table_deletion,json=tableDeletion,proto3,oneof"`
}

type BigQueryAuditMetadata_TableDeletion_Reason

type BigQueryAuditMetadata_TableDeletion_Reason int32

Describes how the table was deleted.

const (
	// Unknown.
	BigQueryAuditMetadata_TableDeletion_REASON_UNSPECIFIED BigQueryAuditMetadata_TableDeletion_Reason = 0
	// Table was deleted using the tables.delete API.
	BigQueryAuditMetadata_TableDeletion_TABLE_DELETE_REQUEST BigQueryAuditMetadata_TableDeletion_Reason = 2
	// Table expired.
	BigQueryAuditMetadata_TableDeletion_EXPIRED BigQueryAuditMetadata_TableDeletion_Reason = 3
	// Table deleted using a DDL query.
	BigQueryAuditMetadata_TableDeletion_QUERY BigQueryAuditMetadata_TableDeletion_Reason = 4
)

func (BigQueryAuditMetadata_TableDeletion_Reason) Descriptor

func (BigQueryAuditMetadata_TableDeletion_Reason) Enum

func (BigQueryAuditMetadata_TableDeletion_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_TableDeletion_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_TableDeletion_Reason.Descriptor instead.

func (BigQueryAuditMetadata_TableDeletion_Reason) Number

func (BigQueryAuditMetadata_TableDeletion_Reason) String

func (BigQueryAuditMetadata_TableDeletion_Reason) Type

type BigQueryAuditMetadata_TableViewDefinition

type BigQueryAuditMetadata_TableViewDefinition struct {

	// SQL query defining the view. Truncated if exceeds 40K.
	Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	// True if the schema_json field was truncated.
	QueryTruncated bool `protobuf:"varint,2,opt,name=query_truncated,json=queryTruncated,proto3" json:"query_truncated,omitempty"`
	// contains filtered or unexported fields
}

View definition.

func (*BigQueryAuditMetadata_TableViewDefinition) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_TableViewDefinition.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_TableViewDefinition) GetQuery

func (*BigQueryAuditMetadata_TableViewDefinition) GetQueryTruncated

func (x *BigQueryAuditMetadata_TableViewDefinition) GetQueryTruncated() bool

func (*BigQueryAuditMetadata_TableViewDefinition) ProtoMessage

func (*BigQueryAuditMetadata_TableViewDefinition) ProtoReflect

func (*BigQueryAuditMetadata_TableViewDefinition) Reset

func (*BigQueryAuditMetadata_TableViewDefinition) String

type BigQueryAuditMetadata_UnlinkDataset

type BigQueryAuditMetadata_UnlinkDataset struct {

	// The linked dataset URI which is unlinked from its source.
	//
	// Format: `projects/<project_id>/datasets/<dataset_id>`.
	LinkedDataset string `protobuf:"bytes,1,opt,name=linked_dataset,json=linkedDataset,proto3" json:"linked_dataset,omitempty"`
	// The source dataset URI from which the linked dataset is unlinked.
	//
	// Format: `projects/<project_id>/datasets/<dataset_id>`.
	SourceDataset string `protobuf:"bytes,2,opt,name=source_dataset,json=sourceDataset,proto3" json:"source_dataset,omitempty"`
	// Reason for unlinking linked dataset
	Reason BigQueryAuditMetadata_UnlinkDataset_Reason `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

Unlink linked dataset from its source dataset event

func (*BigQueryAuditMetadata_UnlinkDataset) Descriptor deprecated

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

Deprecated: Use BigQueryAuditMetadata_UnlinkDataset.ProtoReflect.Descriptor instead.

func (*BigQueryAuditMetadata_UnlinkDataset) GetLinkedDataset

func (x *BigQueryAuditMetadata_UnlinkDataset) GetLinkedDataset() string

func (*BigQueryAuditMetadata_UnlinkDataset) GetReason

func (*BigQueryAuditMetadata_UnlinkDataset) GetSourceDataset

func (x *BigQueryAuditMetadata_UnlinkDataset) GetSourceDataset() string

func (*BigQueryAuditMetadata_UnlinkDataset) ProtoMessage

func (*BigQueryAuditMetadata_UnlinkDataset) ProtoMessage()

func (*BigQueryAuditMetadata_UnlinkDataset) ProtoReflect

func (*BigQueryAuditMetadata_UnlinkDataset) Reset

func (*BigQueryAuditMetadata_UnlinkDataset) String

type BigQueryAuditMetadata_UnlinkDataset_

type BigQueryAuditMetadata_UnlinkDataset_ struct {
	// Unlink linked dataset from its source dataset event
	UnlinkDataset *BigQueryAuditMetadata_UnlinkDataset `protobuf:"bytes,25,opt,name=unlink_dataset,json=unlinkDataset,proto3,oneof"`
}

type BigQueryAuditMetadata_UnlinkDataset_Reason

type BigQueryAuditMetadata_UnlinkDataset_Reason int32

Describes how the unlinking operation occurred.

const (
	// Unknown.
	BigQueryAuditMetadata_UnlinkDataset_REASON_UNSPECIFIED BigQueryAuditMetadata_UnlinkDataset_Reason = 0
	// Linked dataset unlinked via API
	BigQueryAuditMetadata_UnlinkDataset_UNLINK_API BigQueryAuditMetadata_UnlinkDataset_Reason = 1
)

func (BigQueryAuditMetadata_UnlinkDataset_Reason) Descriptor

func (BigQueryAuditMetadata_UnlinkDataset_Reason) Enum

func (BigQueryAuditMetadata_UnlinkDataset_Reason) EnumDescriptor deprecated

func (BigQueryAuditMetadata_UnlinkDataset_Reason) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_UnlinkDataset_Reason.Descriptor instead.

func (BigQueryAuditMetadata_UnlinkDataset_Reason) Number

func (BigQueryAuditMetadata_UnlinkDataset_Reason) String

func (BigQueryAuditMetadata_UnlinkDataset_Reason) Type

type BigQueryAuditMetadata_WriteDisposition

type BigQueryAuditMetadata_WriteDisposition int32

Describes whether a job should overwrite or append the existing destination table if it already exists.

const (
	// Unknown.
	BigQueryAuditMetadata_WRITE_DISPOSITION_UNSPECIFIED BigQueryAuditMetadata_WriteDisposition = 0
	// This job should only be writing to empty tables.
	BigQueryAuditMetadata_WRITE_EMPTY BigQueryAuditMetadata_WriteDisposition = 1
	// This job will truncate the existing table data.
	BigQueryAuditMetadata_WRITE_TRUNCATE BigQueryAuditMetadata_WriteDisposition = 2
	// This job will append to the table.
	BigQueryAuditMetadata_WRITE_APPEND BigQueryAuditMetadata_WriteDisposition = 3
)

func (BigQueryAuditMetadata_WriteDisposition) Descriptor

func (BigQueryAuditMetadata_WriteDisposition) Enum

func (BigQueryAuditMetadata_WriteDisposition) EnumDescriptor deprecated

func (BigQueryAuditMetadata_WriteDisposition) EnumDescriptor() ([]byte, []int)

Deprecated: Use BigQueryAuditMetadata_WriteDisposition.Descriptor instead.

func (BigQueryAuditMetadata_WriteDisposition) Number

func (BigQueryAuditMetadata_WriteDisposition) String

func (BigQueryAuditMetadata_WriteDisposition) Type

type OrgPolicyViolationInfo

type OrgPolicyViolationInfo struct {

	// Optional. Resource payload that is currently in scope and is subjected to orgpolicy
	// conditions. This payload may be the subset of the actual Resource that may
	// come in the request. This payload should not contain any core content.
	Payload *structpb.Struct `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// Optional. Resource type that the orgpolicy is checked against.
	// Example: compute.googleapis.com/Instance, store.googleapis.com/bucket
	ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	// Optional. Tags referenced on the resource at the time of evaluation. These also
	// include the federated tags, if they are supplied in the CheckOrgPolicy
	// or CheckCustomConstraints Requests.
	//
	// Optional field as of now. These tags are the Cloud tags that are
	// available on the resource during the policy evaluation and will
	// be available as part of the OrgPolicy check response for logging purposes.
	ResourceTags map[string]string `` /* 185-byte string literal not displayed */
	// Optional. Policy violations
	ViolationInfo []*ViolationInfo `protobuf:"bytes,4,rep,name=violation_info,json=violationInfo,proto3" json:"violation_info,omitempty"`
	// contains filtered or unexported fields
}

Represents OrgPolicy Violation information.

func (*OrgPolicyViolationInfo) Descriptor deprecated

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

Deprecated: Use OrgPolicyViolationInfo.ProtoReflect.Descriptor instead.

func (*OrgPolicyViolationInfo) GetPayload

func (x *OrgPolicyViolationInfo) GetPayload() *structpb.Struct

func (*OrgPolicyViolationInfo) GetResourceTags

func (x *OrgPolicyViolationInfo) GetResourceTags() map[string]string

func (*OrgPolicyViolationInfo) GetResourceType

func (x *OrgPolicyViolationInfo) GetResourceType() string

func (*OrgPolicyViolationInfo) GetViolationInfo

func (x *OrgPolicyViolationInfo) GetViolationInfo() []*ViolationInfo

func (*OrgPolicyViolationInfo) ProtoMessage

func (*OrgPolicyViolationInfo) ProtoMessage()

func (*OrgPolicyViolationInfo) ProtoReflect

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

func (*OrgPolicyViolationInfo) Reset

func (x *OrgPolicyViolationInfo) Reset()

func (*OrgPolicyViolationInfo) String

func (x *OrgPolicyViolationInfo) String() string

type PolicyViolationInfo

type PolicyViolationInfo struct {

	// Indicates the orgpolicy violations for this resource.
	OrgPolicyViolationInfo *OrgPolicyViolationInfo `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

Information related to policy violations for this request.

func (*PolicyViolationInfo) Descriptor deprecated

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

Deprecated: Use PolicyViolationInfo.ProtoReflect.Descriptor instead.

func (*PolicyViolationInfo) GetOrgPolicyViolationInfo

func (x *PolicyViolationInfo) GetOrgPolicyViolationInfo() *OrgPolicyViolationInfo

func (*PolicyViolationInfo) ProtoMessage

func (*PolicyViolationInfo) ProtoMessage()

func (*PolicyViolationInfo) ProtoReflect

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

func (*PolicyViolationInfo) Reset

func (x *PolicyViolationInfo) Reset()

func (*PolicyViolationInfo) String

func (x *PolicyViolationInfo) String() string

type RequestMetadata

type RequestMetadata struct {

	// The IP address of the caller.
	// For a caller from the internet, this will be the public IPv4 or IPv6
	// address. For calls made from inside Google's internal production network
	// from one GCP service to another, `caller_ip` will be redacted to "private".
	// For a caller from a Compute Engine VM with a external IP address,
	// `caller_ip` will be the VM's external IP address. For a caller from a
	// Compute Engine VM without a external IP address, if the VM is in the same
	// organization (or project) as the accessed resource, `caller_ip` will be the
	// VM's internal IPv4 address, otherwise `caller_ip` will be redacted to
	// "gce-internal-ip". See https://cloud.google.com/compute/docs/vpc/ for more
	// information.
	CallerIp string `protobuf:"bytes,1,opt,name=caller_ip,json=callerIp,proto3" json:"caller_ip,omitempty"`
	// The user agent of the caller.
	// This information is not authenticated and should be treated accordingly.
	// For example:
	//
	//   - `google-api-python-client/1.4.0`:
	//     The request was made by the Google API client for Python.
	//   - `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`:
	//     The request was made by the Google Cloud SDK CLI (gcloud).
	//   - `AppEngine-Google; (+http://code.google.com/appengine; appid:
	//
	// s~my-project`:
	//
	//	The request was made from the `my-project` App Engine app.
	CallerSuppliedUserAgent string `` /* 134-byte string literal not displayed */
	// The network of the caller.
	// Set only if the network host project is part of the same GCP organization
	// (or project) as the accessed resource.
	// See https://cloud.google.com/compute/docs/vpc/ for more information.
	// This is a scheme-less URI full resource name. For example:
	//
	//	"//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID"
	CallerNetwork string `protobuf:"bytes,3,opt,name=caller_network,json=callerNetwork,proto3" json:"caller_network,omitempty"`
	// Request attributes used in IAM condition evaluation. This field contains
	// request attributes like request time and access levels associated with
	// the request.
	//
	// To get the whole view of the attributes used in IAM
	// condition evaluation, the user must also look into
	// `AuditLog.authentication_info.resource_attributes`.
	RequestAttributes *attribute_context.AttributeContext_Request `protobuf:"bytes,7,opt,name=request_attributes,json=requestAttributes,proto3" json:"request_attributes,omitempty"`
	// The destination of a network activity, such as accepting a TCP connection.
	// In a multi hop network activity, the destination represents the receiver of
	// the last hop. Only two fields are used in this message, Peer.port and
	// Peer.ip. These fields are optionally populated by those services utilizing
	// the IAM condition feature.
	DestinationAttributes *attribute_context.AttributeContext_Peer `protobuf:"bytes,8,opt,name=destination_attributes,json=destinationAttributes,proto3" json:"destination_attributes,omitempty"`
	// contains filtered or unexported fields
}

Metadata about the request.

func (*RequestMetadata) Descriptor deprecated

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

Deprecated: Use RequestMetadata.ProtoReflect.Descriptor instead.

func (*RequestMetadata) GetCallerIp

func (x *RequestMetadata) GetCallerIp() string

func (*RequestMetadata) GetCallerNetwork

func (x *RequestMetadata) GetCallerNetwork() string

func (*RequestMetadata) GetCallerSuppliedUserAgent

func (x *RequestMetadata) GetCallerSuppliedUserAgent() string

func (*RequestMetadata) GetDestinationAttributes

func (x *RequestMetadata) GetDestinationAttributes() *attribute_context.AttributeContext_Peer

func (*RequestMetadata) GetRequestAttributes

func (x *RequestMetadata) GetRequestAttributes() *attribute_context.AttributeContext_Request

func (*RequestMetadata) ProtoMessage

func (*RequestMetadata) ProtoMessage()

func (*RequestMetadata) ProtoReflect

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

func (*RequestMetadata) Reset

func (x *RequestMetadata) Reset()

func (*RequestMetadata) String

func (x *RequestMetadata) String() string

type ResourceLocation

type ResourceLocation struct {

	// The locations of a resource after the execution of the operation.
	// Requests to create or delete a location based resource must populate
	// the 'current_locations' field and not the 'original_locations' field.
	// For example:
	//
	//	"europe-west1-a"
	//	"us-east1"
	//	"nam3"
	CurrentLocations []string `protobuf:"bytes,1,rep,name=current_locations,json=currentLocations,proto3" json:"current_locations,omitempty"`
	// The locations of a resource prior to the execution of the operation.
	// Requests that mutate the resource's location must populate both the
	// 'original_locations' as well as the 'current_locations' fields.
	// For example:
	//
	//	"europe-west1-a"
	//	"us-east1"
	//	"nam3"
	OriginalLocations []string `protobuf:"bytes,2,rep,name=original_locations,json=originalLocations,proto3" json:"original_locations,omitempty"`
	// contains filtered or unexported fields
}

Location information about a resource.

func (*ResourceLocation) Descriptor deprecated

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

Deprecated: Use ResourceLocation.ProtoReflect.Descriptor instead.

func (*ResourceLocation) GetCurrentLocations

func (x *ResourceLocation) GetCurrentLocations() []string

func (*ResourceLocation) GetOriginalLocations

func (x *ResourceLocation) GetOriginalLocations() []string

func (*ResourceLocation) ProtoMessage

func (*ResourceLocation) ProtoMessage()

func (*ResourceLocation) ProtoReflect

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

func (*ResourceLocation) Reset

func (x *ResourceLocation) Reset()

func (*ResourceLocation) String

func (x *ResourceLocation) String() string

type ServiceAccountDelegationInfo

type ServiceAccountDelegationInfo struct {

	// A string representing the principal_subject associated with the identity.
	// For most identities, the format will be
	// `principal://iam.googleapis.com/{identity pool name}/subject/{subject)`
	// except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD)
	// that are still in the legacy format `serviceAccount:{identity pool
	// name}[{subject}]`
	PrincipalSubject string `protobuf:"bytes,3,opt,name=principal_subject,json=principalSubject,proto3" json:"principal_subject,omitempty"`
	// Entity that creates credentials for service account and assumes its
	// identity for authentication.
	//
	// Types that are assignable to Authority:
	//
	//	*ServiceAccountDelegationInfo_FirstPartyPrincipal_
	//	*ServiceAccountDelegationInfo_ThirdPartyPrincipal_
	Authority isServiceAccountDelegationInfo_Authority `protobuf_oneof:"Authority"`
	// contains filtered or unexported fields
}

Identity delegation history of an authenticated service account.

func (*ServiceAccountDelegationInfo) Descriptor deprecated

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

Deprecated: Use ServiceAccountDelegationInfo.ProtoReflect.Descriptor instead.

func (*ServiceAccountDelegationInfo) GetAuthority

func (m *ServiceAccountDelegationInfo) GetAuthority() isServiceAccountDelegationInfo_Authority

func (*ServiceAccountDelegationInfo) GetFirstPartyPrincipal

func (*ServiceAccountDelegationInfo) GetPrincipalSubject

func (x *ServiceAccountDelegationInfo) GetPrincipalSubject() string

func (*ServiceAccountDelegationInfo) GetThirdPartyPrincipal

func (*ServiceAccountDelegationInfo) ProtoMessage

func (*ServiceAccountDelegationInfo) ProtoMessage()

func (*ServiceAccountDelegationInfo) ProtoReflect

func (*ServiceAccountDelegationInfo) Reset

func (x *ServiceAccountDelegationInfo) Reset()

func (*ServiceAccountDelegationInfo) String

type ServiceAccountDelegationInfo_FirstPartyPrincipal

type ServiceAccountDelegationInfo_FirstPartyPrincipal struct {

	// The email address of a Google account.
	PrincipalEmail string `protobuf:"bytes,1,opt,name=principal_email,json=principalEmail,proto3" json:"principal_email,omitempty"`
	// Metadata about the service that uses the service account.
	ServiceMetadata *structpb.Struct `protobuf:"bytes,2,opt,name=service_metadata,json=serviceMetadata,proto3" json:"service_metadata,omitempty"`
	// contains filtered or unexported fields
}

First party identity principal.

func (*ServiceAccountDelegationInfo_FirstPartyPrincipal) Descriptor deprecated

Deprecated: Use ServiceAccountDelegationInfo_FirstPartyPrincipal.ProtoReflect.Descriptor instead.

func (*ServiceAccountDelegationInfo_FirstPartyPrincipal) GetPrincipalEmail

func (*ServiceAccountDelegationInfo_FirstPartyPrincipal) GetServiceMetadata

func (*ServiceAccountDelegationInfo_FirstPartyPrincipal) ProtoMessage

func (*ServiceAccountDelegationInfo_FirstPartyPrincipal) ProtoReflect

func (*ServiceAccountDelegationInfo_FirstPartyPrincipal) Reset

func (*ServiceAccountDelegationInfo_FirstPartyPrincipal) String

type ServiceAccountDelegationInfo_FirstPartyPrincipal_

type ServiceAccountDelegationInfo_FirstPartyPrincipal_ struct {
	// First party (Google) identity as the real authority.
	FirstPartyPrincipal *ServiceAccountDelegationInfo_FirstPartyPrincipal `protobuf:"bytes,1,opt,name=first_party_principal,json=firstPartyPrincipal,proto3,oneof"`
}

type ServiceAccountDelegationInfo_ThirdPartyPrincipal

type ServiceAccountDelegationInfo_ThirdPartyPrincipal struct {

	// Metadata about third party identity.
	ThirdPartyClaims *structpb.Struct `protobuf:"bytes,1,opt,name=third_party_claims,json=thirdPartyClaims,proto3" json:"third_party_claims,omitempty"`
	// contains filtered or unexported fields
}

Third party identity principal.

func (*ServiceAccountDelegationInfo_ThirdPartyPrincipal) Descriptor deprecated

Deprecated: Use ServiceAccountDelegationInfo_ThirdPartyPrincipal.ProtoReflect.Descriptor instead.

func (*ServiceAccountDelegationInfo_ThirdPartyPrincipal) GetThirdPartyClaims

func (*ServiceAccountDelegationInfo_ThirdPartyPrincipal) ProtoMessage

func (*ServiceAccountDelegationInfo_ThirdPartyPrincipal) ProtoReflect

func (*ServiceAccountDelegationInfo_ThirdPartyPrincipal) Reset

func (*ServiceAccountDelegationInfo_ThirdPartyPrincipal) String

type ServiceAccountDelegationInfo_ThirdPartyPrincipal_

type ServiceAccountDelegationInfo_ThirdPartyPrincipal_ struct {
	// Third party identity as the real authority.
	ThirdPartyPrincipal *ServiceAccountDelegationInfo_ThirdPartyPrincipal `protobuf:"bytes,2,opt,name=third_party_principal,json=thirdPartyPrincipal,proto3,oneof"`
}

type ViolationInfo

type ViolationInfo struct {

	// Optional. Constraint name
	Constraint string `protobuf:"bytes,1,opt,name=constraint,proto3" json:"constraint,omitempty"`
	// Optional. Error message that policy is indicating.
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// Optional. Value that is being checked for the policy.
	// This could be in encrypted form (if pii sensitive).
	// This field will only be emitted in LIST_POLICY types
	CheckedValue string `protobuf:"bytes,3,opt,name=checked_value,json=checkedValue,proto3" json:"checked_value,omitempty"`
	// Optional. Indicates the type of the policy.
	PolicyType ViolationInfo_PolicyType `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

Provides information about the Policy violation info for this request.

func (*ViolationInfo) Descriptor deprecated

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

Deprecated: Use ViolationInfo.ProtoReflect.Descriptor instead.

func (*ViolationInfo) GetCheckedValue

func (x *ViolationInfo) GetCheckedValue() string

func (*ViolationInfo) GetConstraint

func (x *ViolationInfo) GetConstraint() string

func (*ViolationInfo) GetErrorMessage

func (x *ViolationInfo) GetErrorMessage() string

func (*ViolationInfo) GetPolicyType

func (x *ViolationInfo) GetPolicyType() ViolationInfo_PolicyType

func (*ViolationInfo) ProtoMessage

func (*ViolationInfo) ProtoMessage()

func (*ViolationInfo) ProtoReflect

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

func (*ViolationInfo) Reset

func (x *ViolationInfo) Reset()

func (*ViolationInfo) String

func (x *ViolationInfo) String() string

type ViolationInfo_PolicyType

type ViolationInfo_PolicyType int32

Policy Type enum

const (
	// Default value. This value should not be used.
	ViolationInfo_POLICY_TYPE_UNSPECIFIED ViolationInfo_PolicyType = 0
	// Indicates boolean policy constraint
	ViolationInfo_BOOLEAN_CONSTRAINT ViolationInfo_PolicyType = 1
	// Indicates list policy constraint
	ViolationInfo_LIST_CONSTRAINT ViolationInfo_PolicyType = 2
	// Indicates custom policy constraint
	ViolationInfo_CUSTOM_CONSTRAINT ViolationInfo_PolicyType = 3
)

func (ViolationInfo_PolicyType) Descriptor

func (ViolationInfo_PolicyType) Enum

func (ViolationInfo_PolicyType) EnumDescriptor deprecated

func (ViolationInfo_PolicyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ViolationInfo_PolicyType.Descriptor instead.

func (ViolationInfo_PolicyType) Number

func (ViolationInfo_PolicyType) String

func (x ViolationInfo_PolicyType) String() string

func (ViolationInfo_PolicyType) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL