platform

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IdempotencyService_ProcessIdempotencyKey_FullMethodName     = "/platform.IdempotencyService/ProcessIdempotencyKey"
	IdempotencyService_SetIdempotencyKeyResponse_FullMethodName = "/platform.IdempotencyService/SetIdempotencyKeyResponse"
	IdempotencyService_ReleaseIdempotencyKey_FullMethodName     = "/platform.IdempotencyService/ReleaseIdempotencyKey"
	IdempotencyService_AdvanceRecoveryPoint_FullMethodName      = "/platform.IdempotencyService/AdvanceRecoveryPoint"
	IdempotencyService_GetRecoveryPoint_FullMethodName          = "/platform.IdempotencyService/GetRecoveryPoint"
)
View Source
const (
	LoggingService_CreateRequestLog_FullMethodName = "/platform.LoggingService/CreateRequestLog"
	LoggingService_ListRequestLogs_FullMethodName  = "/platform.LoggingService/ListRequestLogs"
	LoggingService_GetRequestLog_FullMethodName    = "/platform.LoggingService/GetRequestLog"
)
View Source
const (
	AuditService_CreateAuditEvent_FullMethodName            = "/platform.AuditService/CreateAuditEvent"
	AuditService_ListAuditEvents_FullMethodName             = "/platform.AuditService/ListAuditEvents"
	AuditService_GetAuditEvent_FullMethodName               = "/platform.AuditService/GetAuditEvent"
	AuditService_ListAuditEventResourceTypes_FullMethodName = "/platform.AuditService/ListAuditEventResourceTypes"
	AuditService_BatchGetResourceCreators_FullMethodName    = "/platform.AuditService/BatchGetResourceCreators"
)

Variables

View Source
var (
	ProcessIdempotencyKeyResult_name = map[int32]string{
		0: "PROCESS_RESULT_UNSPECIFIED",
		1: "PROCESS_RESULT_NEW",
		2: "PROCESS_RESULT_REPLAY",
		3: "PROCESS_RESULT_IN_PROGRESS",
		4: "PROCESS_RESULT_HASH_MISMATCH",
	}
	ProcessIdempotencyKeyResult_value = map[string]int32{
		"PROCESS_RESULT_UNSPECIFIED":   0,
		"PROCESS_RESULT_NEW":           1,
		"PROCESS_RESULT_REPLAY":        2,
		"PROCESS_RESULT_IN_PROGRESS":   3,
		"PROCESS_RESULT_HASH_MISMATCH": 4,
	}
)

Enum value maps for ProcessIdempotencyKeyResult.

View Source
var AuditService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "platform.AuditService",
	HandlerType: (*AuditServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateAuditEvent",
			Handler:    _AuditService_CreateAuditEvent_Handler,
		},
		{
			MethodName: "ListAuditEvents",
			Handler:    _AuditService_ListAuditEvents_Handler,
		},
		{
			MethodName: "GetAuditEvent",
			Handler:    _AuditService_GetAuditEvent_Handler,
		},
		{
			MethodName: "ListAuditEventResourceTypes",
			Handler:    _AuditService_ListAuditEventResourceTypes_Handler,
		},
		{
			MethodName: "BatchGetResourceCreators",
			Handler:    _AuditService_BatchGetResourceCreators_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "platform/platform.proto",
}

AuditService_ServiceDesc is the grpc.ServiceDesc for AuditService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_platform_platform_proto protoreflect.FileDescriptor
View Source
var IdempotencyService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "platform.IdempotencyService",
	HandlerType: (*IdempotencyServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ProcessIdempotencyKey",
			Handler:    _IdempotencyService_ProcessIdempotencyKey_Handler,
		},
		{
			MethodName: "SetIdempotencyKeyResponse",
			Handler:    _IdempotencyService_SetIdempotencyKeyResponse_Handler,
		},
		{
			MethodName: "ReleaseIdempotencyKey",
			Handler:    _IdempotencyService_ReleaseIdempotencyKey_Handler,
		},
		{
			MethodName: "AdvanceRecoveryPoint",
			Handler:    _IdempotencyService_AdvanceRecoveryPoint_Handler,
		},
		{
			MethodName: "GetRecoveryPoint",
			Handler:    _IdempotencyService_GetRecoveryPoint_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "platform/platform.proto",
}

IdempotencyService_ServiceDesc is the grpc.ServiceDesc for IdempotencyService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var LoggingService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "platform.LoggingService",
	HandlerType: (*LoggingServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateRequestLog",
			Handler:    _LoggingService_CreateRequestLog_Handler,
		},
		{
			MethodName: "ListRequestLogs",
			Handler:    _LoggingService_ListRequestLogs_Handler,
		},
		{
			MethodName: "GetRequestLog",
			Handler:    _LoggingService_GetRequestLog_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "platform/platform.proto",
}

LoggingService_ServiceDesc is the grpc.ServiceDesc for LoggingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAuditServiceServer

func RegisterAuditServiceServer(s grpc.ServiceRegistrar, srv AuditServiceServer)

func RegisterIdempotencyServiceServer

func RegisterIdempotencyServiceServer(s grpc.ServiceRegistrar, srv IdempotencyServiceServer)

func RegisterLoggingServiceServer

func RegisterLoggingServiceServer(s grpc.ServiceRegistrar, srv LoggingServiceServer)

Types

type AdvanceRecoveryPointRequest

type AdvanceRecoveryPointRequest struct {
	IdempotencyKeyId string `protobuf:"bytes,1,opt,name=idempotency_key_id,json=idempotencyKeyId,proto3" json:"idempotency_key_id,omitempty"`
	RecoveryPoint    string `protobuf:"bytes,2,opt,name=recovery_point,json=recoveryPoint,proto3" json:"recovery_point,omitempty"`
	// JSON-serialized intermediate data produced by this step, available on retry.
	StepData []byte `protobuf:"bytes,3,opt,name=step_data,json=stepData,proto3,oneof" json:"step_data,omitempty"`
	// contains filtered or unexported fields
}

func (*AdvanceRecoveryPointRequest) Descriptor deprecated

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

Deprecated: Use AdvanceRecoveryPointRequest.ProtoReflect.Descriptor instead.

func (*AdvanceRecoveryPointRequest) GetIdempotencyKeyId

func (x *AdvanceRecoveryPointRequest) GetIdempotencyKeyId() string

func (*AdvanceRecoveryPointRequest) GetRecoveryPoint

func (x *AdvanceRecoveryPointRequest) GetRecoveryPoint() string

func (*AdvanceRecoveryPointRequest) GetStepData

func (x *AdvanceRecoveryPointRequest) GetStepData() []byte

func (*AdvanceRecoveryPointRequest) ProtoMessage

func (*AdvanceRecoveryPointRequest) ProtoMessage()

func (*AdvanceRecoveryPointRequest) ProtoReflect

func (*AdvanceRecoveryPointRequest) Reset

func (x *AdvanceRecoveryPointRequest) Reset()

func (*AdvanceRecoveryPointRequest) String

func (x *AdvanceRecoveryPointRequest) String() string

type AdvanceRecoveryPointResponse

type AdvanceRecoveryPointResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*AdvanceRecoveryPointResponse) Descriptor deprecated

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

Deprecated: Use AdvanceRecoveryPointResponse.ProtoReflect.Descriptor instead.

func (*AdvanceRecoveryPointResponse) GetSuccess

func (x *AdvanceRecoveryPointResponse) GetSuccess() bool

func (*AdvanceRecoveryPointResponse) ProtoMessage

func (*AdvanceRecoveryPointResponse) ProtoMessage()

func (*AdvanceRecoveryPointResponse) ProtoReflect

func (*AdvanceRecoveryPointResponse) Reset

func (x *AdvanceRecoveryPointResponse) Reset()

func (*AdvanceRecoveryPointResponse) String

type AuditActor

type AuditActor struct {
	Id           string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ActorType    string  `protobuf:"bytes,2,opt,name=actor_type,json=actorType,proto3" json:"actor_type,omitempty"`
	Type         string  `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	IdentityType string  `protobuf:"bytes,4,opt,name=identity_type,json=identityType,proto3" json:"identity_type,omitempty"`
	Name         *string `protobuf:"bytes,5,opt,name=name,proto3,oneof" json:"name,omitempty"`
	// Email for users, redacted value for API keys.
	Handle *string `protobuf:"bytes,6,opt,name=handle,proto3,oneof" json:"handle,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditActor) Descriptor deprecated

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

Deprecated: Use AuditActor.ProtoReflect.Descriptor instead.

func (*AuditActor) GetActorType

func (x *AuditActor) GetActorType() string

func (*AuditActor) GetHandle

func (x *AuditActor) GetHandle() string

func (*AuditActor) GetId

func (x *AuditActor) GetId() string

func (*AuditActor) GetIdentityType

func (x *AuditActor) GetIdentityType() string

func (*AuditActor) GetName

func (x *AuditActor) GetName() string

func (*AuditActor) GetType

func (x *AuditActor) GetType() string

func (*AuditActor) ProtoMessage

func (*AuditActor) ProtoMessage()

func (*AuditActor) ProtoReflect

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

func (*AuditActor) Reset

func (x *AuditActor) Reset()

func (*AuditActor) String

func (x *AuditActor) String() string

type AuditEventInfo

type AuditEventInfo struct {
	Id           string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Action       string      `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	ResourceType string      `protobuf:"bytes,3,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	ResourceId   string      `protobuf:"bytes,4,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	Actor        *AuditActor `protobuf:"bytes,5,opt,name=actor,proto3,oneof" json:"actor,omitempty"`
	// Field-level before/after values; typically empty for create/delete.
	Changes        []*AuditFieldChange    `protobuf:"bytes,6,rep,name=changes,proto3" json:"changes,omitempty"`
	MetadataJson   *string                `protobuf:"bytes,7,opt,name=metadata_json,json=metadataJson,proto3,oneof" json:"metadata_json,omitempty"`
	ServiceName    *string                `protobuf:"bytes,8,opt,name=service_name,json=serviceName,proto3,oneof" json:"service_name,omitempty"`
	RequestId      *string                `protobuf:"bytes,9,opt,name=request_id,json=requestId,proto3,oneof" json:"request_id,omitempty"`
	IdempotencyKey *string                `protobuf:"bytes,10,opt,name=idempotency_key,json=idempotencyKey,proto3,oneof" json:"idempotency_key,omitempty"`
	SourceIp       *string                `protobuf:"bytes,11,opt,name=source_ip,json=sourceIp,proto3,oneof" json:"source_ip,omitempty"`
	OccurredAt     *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"`
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Target account the mutation was performed against (audit_event.target_account_id),
	// resolved against the account table for the `account` sub-resource.
	AccountId        *string                `protobuf:"bytes,14,opt,name=account_id,json=accountId,proto3,oneof" json:"account_id,omitempty"`
	AccountName      *string                `protobuf:"bytes,15,opt,name=account_name,json=accountName,proto3,oneof" json:"account_name,omitempty"`
	AccountCreatedAt *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=account_created_at,json=accountCreatedAt,proto3,oneof" json:"account_created_at,omitempty"`
	AccountUpdatedAt *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=account_updated_at,json=accountUpdatedAt,proto3,oneof" json:"account_updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditEventInfo) Descriptor deprecated

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

Deprecated: Use AuditEventInfo.ProtoReflect.Descriptor instead.

func (*AuditEventInfo) GetAccountCreatedAt

func (x *AuditEventInfo) GetAccountCreatedAt() *timestamppb.Timestamp

func (*AuditEventInfo) GetAccountId

func (x *AuditEventInfo) GetAccountId() string

func (*AuditEventInfo) GetAccountName

func (x *AuditEventInfo) GetAccountName() string

func (*AuditEventInfo) GetAccountUpdatedAt

func (x *AuditEventInfo) GetAccountUpdatedAt() *timestamppb.Timestamp

func (*AuditEventInfo) GetAction

func (x *AuditEventInfo) GetAction() string

func (*AuditEventInfo) GetActor

func (x *AuditEventInfo) GetActor() *AuditActor

func (*AuditEventInfo) GetChanges

func (x *AuditEventInfo) GetChanges() []*AuditFieldChange

func (*AuditEventInfo) GetCreatedAt

func (x *AuditEventInfo) GetCreatedAt() *timestamppb.Timestamp

func (*AuditEventInfo) GetId

func (x *AuditEventInfo) GetId() string

func (*AuditEventInfo) GetIdempotencyKey

func (x *AuditEventInfo) GetIdempotencyKey() string

func (*AuditEventInfo) GetMetadataJson

func (x *AuditEventInfo) GetMetadataJson() string

func (*AuditEventInfo) GetOccurredAt

func (x *AuditEventInfo) GetOccurredAt() *timestamppb.Timestamp

func (*AuditEventInfo) GetRequestId

func (x *AuditEventInfo) GetRequestId() string

func (*AuditEventInfo) GetResourceId

func (x *AuditEventInfo) GetResourceId() string

func (*AuditEventInfo) GetResourceType

func (x *AuditEventInfo) GetResourceType() string

func (*AuditEventInfo) GetServiceName

func (x *AuditEventInfo) GetServiceName() string

func (*AuditEventInfo) GetSourceIp

func (x *AuditEventInfo) GetSourceIp() string

func (*AuditEventInfo) ProtoMessage

func (*AuditEventInfo) ProtoMessage()

func (*AuditEventInfo) ProtoReflect

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

func (*AuditEventInfo) Reset

func (x *AuditEventInfo) Reset()

func (*AuditEventInfo) String

func (x *AuditEventInfo) String() string

type AuditFieldChange

type AuditFieldChange struct {
	Field        string  `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	OldValueJson *string `protobuf:"bytes,2,opt,name=old_value_json,json=oldValueJson,proto3,oneof" json:"old_value_json,omitempty"`
	NewValueJson *string `protobuf:"bytes,3,opt,name=new_value_json,json=newValueJson,proto3,oneof" json:"new_value_json,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditFieldChange) Descriptor deprecated

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

Deprecated: Use AuditFieldChange.ProtoReflect.Descriptor instead.

func (*AuditFieldChange) GetField

func (x *AuditFieldChange) GetField() string

func (*AuditFieldChange) GetNewValueJson

func (x *AuditFieldChange) GetNewValueJson() string

func (*AuditFieldChange) GetOldValueJson

func (x *AuditFieldChange) GetOldValueJson() string

func (*AuditFieldChange) ProtoMessage

func (*AuditFieldChange) ProtoMessage()

func (*AuditFieldChange) ProtoReflect

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

func (*AuditFieldChange) Reset

func (x *AuditFieldChange) Reset()

func (*AuditFieldChange) String

func (x *AuditFieldChange) String() string

type AuditServiceClient

type AuditServiceClient interface {
	// Inserts a single audit event record.
	CreateAuditEvent(ctx context.Context, in *CreateAuditEventRequest, opts ...grpc.CallOption) (*CreateAuditEventResponse, error)
	// Returns a paginated, filterable list of audit events for the target account.
	ListAuditEvents(ctx context.Context, in *ListAuditEventsRequest, opts ...grpc.CallOption) (*ListAuditEventsResponse, error)
	// Returns a single audit event by ID.
	GetAuditEvent(ctx context.Context, in *GetAuditEventRequest, opts ...grpc.CallOption) (*GetAuditEventResponse, error)
	// Returns the full set of resource types that may appear on audit events.
	ListAuditEventResourceTypes(ctx context.Context, in *ListAuditEventResourceTypesRequest, opts ...grpc.CallOption) (*ListAuditEventResourceTypesResponse, error)
	// Returns the creating actor for a batch of resources, derived from each
	// resource's `create` audit event. Scoped to the caller's account; unlike the
	// full audit-event reads this requires only an assigned actor (not the audit
	// read permission), so it can back a `created_by` include on those resources.
	BatchGetResourceCreators(ctx context.Context, in *BatchGetResourceCreatorsRequest, opts ...grpc.CallOption) (*BatchGetResourceCreatorsResponse, error)
}

AuditServiceClient is the client API for AuditService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

AuditService persists immutable audit events produced via the transactional outbox.

type AuditServiceServer

type AuditServiceServer interface {
	// Inserts a single audit event record.
	CreateAuditEvent(context.Context, *CreateAuditEventRequest) (*CreateAuditEventResponse, error)
	// Returns a paginated, filterable list of audit events for the target account.
	ListAuditEvents(context.Context, *ListAuditEventsRequest) (*ListAuditEventsResponse, error)
	// Returns a single audit event by ID.
	GetAuditEvent(context.Context, *GetAuditEventRequest) (*GetAuditEventResponse, error)
	// Returns the full set of resource types that may appear on audit events.
	ListAuditEventResourceTypes(context.Context, *ListAuditEventResourceTypesRequest) (*ListAuditEventResourceTypesResponse, error)
	// Returns the creating actor for a batch of resources, derived from each
	// resource's `create` audit event. Scoped to the caller's account; unlike the
	// full audit-event reads this requires only an assigned actor (not the audit
	// read permission), so it can back a `created_by` include on those resources.
	BatchGetResourceCreators(context.Context, *BatchGetResourceCreatorsRequest) (*BatchGetResourceCreatorsResponse, error)
	// contains filtered or unexported methods
}

AuditServiceServer is the server API for AuditService service. All implementations must embed UnimplementedAuditServiceServer for forward compatibility.

AuditService persists immutable audit events produced via the transactional outbox.

type BatchGetResourceCreatorsRequest

type BatchGetResourceCreatorsRequest struct {
	ResourceType string   `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	ResourceIds  []string `protobuf:"bytes,2,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetResourceCreatorsRequest) Descriptor deprecated

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

Deprecated: Use BatchGetResourceCreatorsRequest.ProtoReflect.Descriptor instead.

func (*BatchGetResourceCreatorsRequest) GetResourceIds

func (x *BatchGetResourceCreatorsRequest) GetResourceIds() []string

func (*BatchGetResourceCreatorsRequest) GetResourceType

func (x *BatchGetResourceCreatorsRequest) GetResourceType() string

func (*BatchGetResourceCreatorsRequest) ProtoMessage

func (*BatchGetResourceCreatorsRequest) ProtoMessage()

func (*BatchGetResourceCreatorsRequest) ProtoReflect

func (*BatchGetResourceCreatorsRequest) Reset

func (*BatchGetResourceCreatorsRequest) String

type BatchGetResourceCreatorsResponse

type BatchGetResourceCreatorsResponse struct {

	// One entry per resource that has a `create` audit event visible to the
	// caller. Resources with no create event are simply absent.
	Creators []*ResourceCreator `protobuf:"bytes,1,rep,name=creators,proto3" json:"creators,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchGetResourceCreatorsResponse) Descriptor deprecated

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

Deprecated: Use BatchGetResourceCreatorsResponse.ProtoReflect.Descriptor instead.

func (*BatchGetResourceCreatorsResponse) GetCreators

func (*BatchGetResourceCreatorsResponse) ProtoMessage

func (*BatchGetResourceCreatorsResponse) ProtoMessage()

func (*BatchGetResourceCreatorsResponse) ProtoReflect

func (*BatchGetResourceCreatorsResponse) Reset

func (*BatchGetResourceCreatorsResponse) String

type CreateAuditEventRequest

type CreateAuditEventRequest struct {
	AuditEvent *AuditEventInfo `protobuf:"bytes,1,opt,name=audit_event,json=auditEvent,proto3" json:"audit_event,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAuditEventRequest) Descriptor deprecated

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

Deprecated: Use CreateAuditEventRequest.ProtoReflect.Descriptor instead.

func (*CreateAuditEventRequest) GetAuditEvent

func (x *CreateAuditEventRequest) GetAuditEvent() *AuditEventInfo

func (*CreateAuditEventRequest) ProtoMessage

func (*CreateAuditEventRequest) ProtoMessage()

func (*CreateAuditEventRequest) ProtoReflect

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

func (*CreateAuditEventRequest) Reset

func (x *CreateAuditEventRequest) Reset()

func (*CreateAuditEventRequest) String

func (x *CreateAuditEventRequest) String() string

type CreateAuditEventResponse

type CreateAuditEventResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAuditEventResponse) Descriptor deprecated

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

Deprecated: Use CreateAuditEventResponse.ProtoReflect.Descriptor instead.

func (*CreateAuditEventResponse) GetSuccess

func (x *CreateAuditEventResponse) GetSuccess() bool

func (*CreateAuditEventResponse) ProtoMessage

func (*CreateAuditEventResponse) ProtoMessage()

func (*CreateAuditEventResponse) ProtoReflect

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

func (*CreateAuditEventResponse) Reset

func (x *CreateAuditEventResponse) Reset()

func (*CreateAuditEventResponse) String

func (x *CreateAuditEventResponse) String() string

type CreateRequestLogRequest

type CreateRequestLogRequest struct {
	RequestLog *RequestLog `protobuf:"bytes,1,opt,name=request_log,json=requestLog,proto3" json:"request_log,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRequestLogRequest) Descriptor deprecated

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

Deprecated: Use CreateRequestLogRequest.ProtoReflect.Descriptor instead.

func (*CreateRequestLogRequest) GetRequestLog

func (x *CreateRequestLogRequest) GetRequestLog() *RequestLog

func (*CreateRequestLogRequest) ProtoMessage

func (*CreateRequestLogRequest) ProtoMessage()

func (*CreateRequestLogRequest) ProtoReflect

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

func (*CreateRequestLogRequest) Reset

func (x *CreateRequestLogRequest) Reset()

func (*CreateRequestLogRequest) String

func (x *CreateRequestLogRequest) String() string

type CreateRequestLogResponse

type CreateRequestLogResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRequestLogResponse) Descriptor deprecated

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

Deprecated: Use CreateRequestLogResponse.ProtoReflect.Descriptor instead.

func (*CreateRequestLogResponse) GetSuccess

func (x *CreateRequestLogResponse) GetSuccess() bool

func (*CreateRequestLogResponse) ProtoMessage

func (*CreateRequestLogResponse) ProtoMessage()

func (*CreateRequestLogResponse) ProtoReflect

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

func (*CreateRequestLogResponse) Reset

func (x *CreateRequestLogResponse) Reset()

func (*CreateRequestLogResponse) String

func (x *CreateRequestLogResponse) String() string

type GetAuditEventRequest

type GetAuditEventRequest struct {
	Id       string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Includes []string `protobuf:"bytes,2,rep,name=includes,proto3" json:"includes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAuditEventRequest) Descriptor deprecated

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

Deprecated: Use GetAuditEventRequest.ProtoReflect.Descriptor instead.

func (*GetAuditEventRequest) GetId

func (x *GetAuditEventRequest) GetId() string

func (*GetAuditEventRequest) GetIncludes

func (x *GetAuditEventRequest) GetIncludes() []string

func (*GetAuditEventRequest) ProtoMessage

func (*GetAuditEventRequest) ProtoMessage()

func (*GetAuditEventRequest) ProtoReflect

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

func (*GetAuditEventRequest) Reset

func (x *GetAuditEventRequest) Reset()

func (*GetAuditEventRequest) String

func (x *GetAuditEventRequest) String() string

type GetAuditEventResponse

type GetAuditEventResponse struct {
	AuditEvent *AuditEventInfo `protobuf:"bytes,1,opt,name=audit_event,json=auditEvent,proto3" json:"audit_event,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAuditEventResponse) Descriptor deprecated

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

Deprecated: Use GetAuditEventResponse.ProtoReflect.Descriptor instead.

func (*GetAuditEventResponse) GetAuditEvent

func (x *GetAuditEventResponse) GetAuditEvent() *AuditEventInfo

func (*GetAuditEventResponse) ProtoMessage

func (*GetAuditEventResponse) ProtoMessage()

func (*GetAuditEventResponse) ProtoReflect

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

func (*GetAuditEventResponse) Reset

func (x *GetAuditEventResponse) Reset()

func (*GetAuditEventResponse) String

func (x *GetAuditEventResponse) String() string

type GetRecoveryPointRequest

type GetRecoveryPointRequest struct {
	IdempotencyKeyId string `protobuf:"bytes,1,opt,name=idempotency_key_id,json=idempotencyKeyId,proto3" json:"idempotency_key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRecoveryPointRequest) Descriptor deprecated

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

Deprecated: Use GetRecoveryPointRequest.ProtoReflect.Descriptor instead.

func (*GetRecoveryPointRequest) GetIdempotencyKeyId

func (x *GetRecoveryPointRequest) GetIdempotencyKeyId() string

func (*GetRecoveryPointRequest) ProtoMessage

func (*GetRecoveryPointRequest) ProtoMessage()

func (*GetRecoveryPointRequest) ProtoReflect

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

func (*GetRecoveryPointRequest) Reset

func (x *GetRecoveryPointRequest) Reset()

func (*GetRecoveryPointRequest) String

func (x *GetRecoveryPointRequest) String() string

type GetRecoveryPointResponse

type GetRecoveryPointResponse struct {
	RecoveryPoint string `protobuf:"bytes,1,opt,name=recovery_point,json=recoveryPoint,proto3" json:"recovery_point,omitempty"`
	StepData      []byte `protobuf:"bytes,2,opt,name=step_data,json=stepData,proto3,oneof" json:"step_data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRecoveryPointResponse) Descriptor deprecated

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

Deprecated: Use GetRecoveryPointResponse.ProtoReflect.Descriptor instead.

func (*GetRecoveryPointResponse) GetRecoveryPoint

func (x *GetRecoveryPointResponse) GetRecoveryPoint() string

func (*GetRecoveryPointResponse) GetStepData

func (x *GetRecoveryPointResponse) GetStepData() []byte

func (*GetRecoveryPointResponse) ProtoMessage

func (*GetRecoveryPointResponse) ProtoMessage()

func (*GetRecoveryPointResponse) ProtoReflect

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

func (*GetRecoveryPointResponse) Reset

func (x *GetRecoveryPointResponse) Reset()

func (*GetRecoveryPointResponse) String

func (x *GetRecoveryPointResponse) String() string

type GetRequestLogRequest

type GetRequestLogRequest struct {
	Id       string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Includes []string `protobuf:"bytes,2,rep,name=includes,proto3" json:"includes,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequestLogRequest) Descriptor deprecated

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

Deprecated: Use GetRequestLogRequest.ProtoReflect.Descriptor instead.

func (*GetRequestLogRequest) GetId

func (x *GetRequestLogRequest) GetId() string

func (*GetRequestLogRequest) GetIncludes

func (x *GetRequestLogRequest) GetIncludes() []string

func (*GetRequestLogRequest) ProtoMessage

func (*GetRequestLogRequest) ProtoMessage()

func (*GetRequestLogRequest) ProtoReflect

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

func (*GetRequestLogRequest) Reset

func (x *GetRequestLogRequest) Reset()

func (*GetRequestLogRequest) String

func (x *GetRequestLogRequest) String() string

type GetRequestLogResponse

type GetRequestLogResponse struct {
	RequestLog *RequestLogInfo `protobuf:"bytes,1,opt,name=request_log,json=requestLog,proto3" json:"request_log,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequestLogResponse) Descriptor deprecated

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

Deprecated: Use GetRequestLogResponse.ProtoReflect.Descriptor instead.

func (*GetRequestLogResponse) GetRequestLog

func (x *GetRequestLogResponse) GetRequestLog() *RequestLogInfo

func (*GetRequestLogResponse) ProtoMessage

func (*GetRequestLogResponse) ProtoMessage()

func (*GetRequestLogResponse) ProtoReflect

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

func (*GetRequestLogResponse) Reset

func (x *GetRequestLogResponse) Reset()

func (*GetRequestLogResponse) String

func (x *GetRequestLogResponse) String() string

type IdempotencyServiceClient

type IdempotencyServiceClient interface {
	// Looks up or creates an idempotency key and returns NEW, REPLAY, IN_PROGRESS, or HASH_MISMATCH.
	ProcessIdempotencyKey(ctx context.Context, in *ProcessIdempotencyKeyRequest, opts ...grpc.CallOption) (*ProcessIdempotencyKeyResponse, error)
	// Caches the final HTTP response for a completed idempotent request.
	SetIdempotencyKeyResponse(ctx context.Context, in *SetIdempotencyKeyResponseRequest, opts ...grpc.CallOption) (*SetIdempotencyKeyResponseResponse, error)
	// Releases the lock on a key without caching a response, used for transient errors.
	ReleaseIdempotencyKey(ctx context.Context, in *ReleaseIdempotencyKeyRequest, opts ...grpc.CallOption) (*ReleaseIdempotencyKeyResponse, error)
	// Advances a multi-step idempotent operation to its next recovery point.
	AdvanceRecoveryPoint(ctx context.Context, in *AdvanceRecoveryPointRequest, opts ...grpc.CallOption) (*AdvanceRecoveryPointResponse, error)
	// Reads the current recovery point and step data for a multi-step operation.
	GetRecoveryPoint(ctx context.Context, in *GetRecoveryPointRequest, opts ...grpc.CallOption) (*GetRecoveryPointResponse, error)
}

IdempotencyServiceClient is the client API for IdempotencyService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

IdempotencyService manages the lifecycle of idempotency keys. The api-gateway calls ProcessIdempotencyKey at the start of every mutating request to determine whether to process, replay, or reject. Backend services call SetIdempotencyKeyResponse to cache the result, and AdvanceRecoveryPoint / GetRecoveryPoint for multi-step atomic workflows.

type IdempotencyServiceServer

type IdempotencyServiceServer interface {
	// Looks up or creates an idempotency key and returns NEW, REPLAY, IN_PROGRESS, or HASH_MISMATCH.
	ProcessIdempotencyKey(context.Context, *ProcessIdempotencyKeyRequest) (*ProcessIdempotencyKeyResponse, error)
	// Caches the final HTTP response for a completed idempotent request.
	SetIdempotencyKeyResponse(context.Context, *SetIdempotencyKeyResponseRequest) (*SetIdempotencyKeyResponseResponse, error)
	// Releases the lock on a key without caching a response, used for transient errors.
	ReleaseIdempotencyKey(context.Context, *ReleaseIdempotencyKeyRequest) (*ReleaseIdempotencyKeyResponse, error)
	// Advances a multi-step idempotent operation to its next recovery point.
	AdvanceRecoveryPoint(context.Context, *AdvanceRecoveryPointRequest) (*AdvanceRecoveryPointResponse, error)
	// Reads the current recovery point and step data for a multi-step operation.
	GetRecoveryPoint(context.Context, *GetRecoveryPointRequest) (*GetRecoveryPointResponse, error)
	// contains filtered or unexported methods
}

IdempotencyServiceServer is the server API for IdempotencyService service. All implementations must embed UnimplementedIdempotencyServiceServer for forward compatibility.

IdempotencyService manages the lifecycle of idempotency keys. The api-gateway calls ProcessIdempotencyKey at the start of every mutating request to determine whether to process, replay, or reject. Backend services call SetIdempotencyKeyResponse to cache the result, and AdvanceRecoveryPoint / GetRecoveryPoint for multi-step atomic workflows.

type ListAuditEventResourceTypesRequest

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

func (*ListAuditEventResourceTypesRequest) Descriptor deprecated

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

Deprecated: Use ListAuditEventResourceTypesRequest.ProtoReflect.Descriptor instead.

func (*ListAuditEventResourceTypesRequest) ProtoMessage

func (*ListAuditEventResourceTypesRequest) ProtoMessage()

func (*ListAuditEventResourceTypesRequest) ProtoReflect

func (*ListAuditEventResourceTypesRequest) Reset

func (*ListAuditEventResourceTypesRequest) String

type ListAuditEventResourceTypesResponse

type ListAuditEventResourceTypesResponse struct {
	ResourceTypes []string `protobuf:"bytes,1,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAuditEventResourceTypesResponse) Descriptor deprecated

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

Deprecated: Use ListAuditEventResourceTypesResponse.ProtoReflect.Descriptor instead.

func (*ListAuditEventResourceTypesResponse) GetResourceTypes

func (x *ListAuditEventResourceTypesResponse) GetResourceTypes() []string

func (*ListAuditEventResourceTypesResponse) ProtoMessage

func (*ListAuditEventResourceTypesResponse) ProtoMessage()

func (*ListAuditEventResourceTypesResponse) ProtoReflect

func (*ListAuditEventResourceTypesResponse) Reset

func (*ListAuditEventResourceTypesResponse) String

type ListAuditEventsRequest

type ListAuditEventsRequest struct {
	StartDate     *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3,oneof" json:"start_date,omitempty"`
	EndDate       *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3,oneof" json:"end_date,omitempty"`
	ResourceTypes []string               `protobuf:"bytes,3,rep,name=resource_types,json=resourceTypes,proto3" json:"resource_types,omitempty"`
	ResourceIds   []string               `protobuf:"bytes,4,rep,name=resource_ids,json=resourceIds,proto3" json:"resource_ids,omitempty"`
	// account_user.id when identity_type=user, or api_key.id when identity_type=api_key.
	ActorIds []string `protobuf:"bytes,5,rep,name=actor_ids,json=actorIds,proto3" json:"actor_ids,omitempty"`
	Actions  []string `protobuf:"bytes,6,rep,name=actions,proto3" json:"actions,omitempty"`
	Cursor   *string  `protobuf:"bytes,8,opt,name=cursor,proto3,oneof" json:"cursor,omitempty"`
	Limit    int32    `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"`
	Includes []string `protobuf:"bytes,10,rep,name=includes,proto3" json:"includes,omitempty"`
	Query    *string  `protobuf:"bytes,11,opt,name=query,proto3,oneof" json:"query,omitempty"`
	// Filter by the acting account (audit_event.account_id): the account that
	// performed the mutation. Narrows within the caller's actor-or-target scope.
	ActorAccountIds []string `protobuf:"bytes,13,rep,name=actor_account_ids,json=actorAccountIds,proto3" json:"actor_account_ids,omitempty"`
	// Filter by the target account (audit_event.target_account_id): the account
	// the mutation was performed against. Narrows within the caller's
	// actor-or-target scope.
	TargetAccountIds []string `protobuf:"bytes,14,rep,name=target_account_ids,json=targetAccountIds,proto3" json:"target_account_ids,omitempty"`
	// Filter by the actor identity_type (user/api_key/agent/group).
	ActorTypes []string `protobuf:"bytes,15,rep,name=actor_types,json=actorTypes,proto3" json:"actor_types,omitempty"`
	// Scope results to a root record's entire tree: all events whose
	// root_resource_type/root_resource_id match (e.g. a sales_order and all of its
	// lines, picks, shipments, and invoices). Both must be set together to apply.
	RootResourceType *string `protobuf:"bytes,16,opt,name=root_resource_type,json=rootResourceType,proto3,oneof" json:"root_resource_type,omitempty"`
	RootResourceId   *string `protobuf:"bytes,17,opt,name=root_resource_id,json=rootResourceId,proto3,oneof" json:"root_resource_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAuditEventsRequest) Descriptor deprecated

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

Deprecated: Use ListAuditEventsRequest.ProtoReflect.Descriptor instead.

func (*ListAuditEventsRequest) GetActions

func (x *ListAuditEventsRequest) GetActions() []string

func (*ListAuditEventsRequest) GetActorAccountIds

func (x *ListAuditEventsRequest) GetActorAccountIds() []string

func (*ListAuditEventsRequest) GetActorIds

func (x *ListAuditEventsRequest) GetActorIds() []string

func (*ListAuditEventsRequest) GetActorTypes

func (x *ListAuditEventsRequest) GetActorTypes() []string

func (*ListAuditEventsRequest) GetCursor

func (x *ListAuditEventsRequest) GetCursor() string

func (*ListAuditEventsRequest) GetEndDate

func (x *ListAuditEventsRequest) GetEndDate() *timestamppb.Timestamp

func (*ListAuditEventsRequest) GetIncludes

func (x *ListAuditEventsRequest) GetIncludes() []string

func (*ListAuditEventsRequest) GetLimit

func (x *ListAuditEventsRequest) GetLimit() int32

func (*ListAuditEventsRequest) GetQuery

func (x *ListAuditEventsRequest) GetQuery() string

func (*ListAuditEventsRequest) GetResourceIds

func (x *ListAuditEventsRequest) GetResourceIds() []string

func (*ListAuditEventsRequest) GetResourceTypes

func (x *ListAuditEventsRequest) GetResourceTypes() []string

func (*ListAuditEventsRequest) GetRootResourceId

func (x *ListAuditEventsRequest) GetRootResourceId() string

func (*ListAuditEventsRequest) GetRootResourceType

func (x *ListAuditEventsRequest) GetRootResourceType() string

func (*ListAuditEventsRequest) GetStartDate

func (x *ListAuditEventsRequest) GetStartDate() *timestamppb.Timestamp

func (*ListAuditEventsRequest) GetTargetAccountIds

func (x *ListAuditEventsRequest) GetTargetAccountIds() []string

func (*ListAuditEventsRequest) ProtoMessage

func (*ListAuditEventsRequest) ProtoMessage()

func (*ListAuditEventsRequest) ProtoReflect

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

func (*ListAuditEventsRequest) Reset

func (x *ListAuditEventsRequest) Reset()

func (*ListAuditEventsRequest) String

func (x *ListAuditEventsRequest) String() string

type ListAuditEventsResponse

type ListAuditEventsResponse struct {
	AuditEvents []*AuditEventInfo `protobuf:"bytes,1,rep,name=audit_events,json=auditEvents,proto3" json:"audit_events,omitempty"`
	PageInfo    *PageInfo         `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAuditEventsResponse) Descriptor deprecated

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

Deprecated: Use ListAuditEventsResponse.ProtoReflect.Descriptor instead.

func (*ListAuditEventsResponse) GetAuditEvents

func (x *ListAuditEventsResponse) GetAuditEvents() []*AuditEventInfo

func (*ListAuditEventsResponse) GetPageInfo

func (x *ListAuditEventsResponse) GetPageInfo() *PageInfo

func (*ListAuditEventsResponse) ProtoMessage

func (*ListAuditEventsResponse) ProtoMessage()

func (*ListAuditEventsResponse) ProtoReflect

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

func (*ListAuditEventsResponse) Reset

func (x *ListAuditEventsResponse) Reset()

func (*ListAuditEventsResponse) String

func (x *ListAuditEventsResponse) String() string

type ListRequestLogsRequest

type ListRequestLogsRequest struct {
	StartDate   *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3,oneof" json:"start_date,omitempty"`
	EndDate     *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_date,json=endDate,proto3,oneof" json:"end_date,omitempty"`
	Methods     []string               `protobuf:"bytes,3,rep,name=methods,proto3" json:"methods,omitempty"`
	StatusCodes []int32                `protobuf:"varint,4,rep,packed,name=status_codes,json=statusCodes,proto3" json:"status_codes,omitempty"`
	ErrorCodes  []string               `protobuf:"bytes,5,rep,name=error_codes,json=errorCodes,proto3" json:"error_codes,omitempty"`
	// account_user.id when identity_type=user, or api_key.id when identity_type=api_key.
	ActorIds         []string `protobuf:"bytes,7,rep,name=actor_ids,json=actorIds,proto3" json:"actor_ids,omitempty"`
	ActorTypes       []string `protobuf:"bytes,8,rep,name=actor_types,json=actorTypes,proto3" json:"actor_types,omitempty"`
	Cursor           *string  `protobuf:"bytes,11,opt,name=cursor,proto3,oneof" json:"cursor,omitempty"`
	Limit            int32    `protobuf:"varint,12,opt,name=limit,proto3" json:"limit,omitempty"`
	Query            *string  `protobuf:"bytes,13,opt,name=query,proto3,oneof" json:"query,omitempty"`
	Includes         []string `protobuf:"bytes,14,rep,name=includes,proto3" json:"includes,omitempty"`
	NormalizedRoutes []string `protobuf:"bytes,15,rep,name=normalized_routes,json=normalizedRoutes,proto3" json:"normalized_routes,omitempty"`
	Hosts            []string `protobuf:"bytes,16,rep,name=hosts,proto3" json:"hosts,omitempty"`
	MinLatencyUs     *int64   `protobuf:"varint,17,opt,name=min_latency_us,json=minLatencyUs,proto3,oneof" json:"min_latency_us,omitempty"`
	// Filter by user-provided idempotency key string (matches idempotency_key.idempotency_key).
	IdempotencyKey *string `protobuf:"bytes,18,opt,name=idempotency_key,json=idempotencyKey,proto3,oneof" json:"idempotency_key,omitempty"`
	// Filter by HTTP status class: 1–5 for 1xx–5xx. OR'd with status_codes.
	StatusCodeClasses []int32 `protobuf:"varint,19,rep,packed,name=status_code_classes,json=statusCodeClasses,proto3" json:"status_code_classes,omitempty"`
	// Filter by the acting account (request_log.account_id): the account the
	// actor belongs to. Narrows within the caller's actor-or-target scope.
	ActorAccountIds []string `protobuf:"bytes,20,rep,name=actor_account_ids,json=actorAccountIds,proto3" json:"actor_account_ids,omitempty"`
	// Filter by the target account (request_log.target_account_id): the account
	// the request acted upon. Narrows within the caller's actor-or-target scope.
	TargetAccountIds []string `protobuf:"bytes,21,rep,name=target_account_ids,json=targetAccountIds,proto3" json:"target_account_ids,omitempty"`
	// Exclude logs whose error_code is in this set (AND'd with the rest as a
	// NOT IN). Used to hide routine noise such as expired_token 401s.
	ExcludeErrorCodes []string `protobuf:"bytes,22,rep,name=exclude_error_codes,json=excludeErrorCodes,proto3" json:"exclude_error_codes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRequestLogsRequest) Descriptor deprecated

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

Deprecated: Use ListRequestLogsRequest.ProtoReflect.Descriptor instead.

func (*ListRequestLogsRequest) GetActorAccountIds

func (x *ListRequestLogsRequest) GetActorAccountIds() []string

func (*ListRequestLogsRequest) GetActorIds

func (x *ListRequestLogsRequest) GetActorIds() []string

func (*ListRequestLogsRequest) GetActorTypes

func (x *ListRequestLogsRequest) GetActorTypes() []string

func (*ListRequestLogsRequest) GetCursor

func (x *ListRequestLogsRequest) GetCursor() string

func (*ListRequestLogsRequest) GetEndDate

func (x *ListRequestLogsRequest) GetEndDate() *timestamppb.Timestamp

func (*ListRequestLogsRequest) GetErrorCodes

func (x *ListRequestLogsRequest) GetErrorCodes() []string

func (*ListRequestLogsRequest) GetExcludeErrorCodes

func (x *ListRequestLogsRequest) GetExcludeErrorCodes() []string

func (*ListRequestLogsRequest) GetHosts

func (x *ListRequestLogsRequest) GetHosts() []string

func (*ListRequestLogsRequest) GetIdempotencyKey

func (x *ListRequestLogsRequest) GetIdempotencyKey() string

func (*ListRequestLogsRequest) GetIncludes

func (x *ListRequestLogsRequest) GetIncludes() []string

func (*ListRequestLogsRequest) GetLimit

func (x *ListRequestLogsRequest) GetLimit() int32

func (*ListRequestLogsRequest) GetMethods

func (x *ListRequestLogsRequest) GetMethods() []string

func (*ListRequestLogsRequest) GetMinLatencyUs

func (x *ListRequestLogsRequest) GetMinLatencyUs() int64

func (*ListRequestLogsRequest) GetNormalizedRoutes

func (x *ListRequestLogsRequest) GetNormalizedRoutes() []string

func (*ListRequestLogsRequest) GetQuery

func (x *ListRequestLogsRequest) GetQuery() string

func (*ListRequestLogsRequest) GetStartDate

func (x *ListRequestLogsRequest) GetStartDate() *timestamppb.Timestamp

func (*ListRequestLogsRequest) GetStatusCodeClasses

func (x *ListRequestLogsRequest) GetStatusCodeClasses() []int32

func (*ListRequestLogsRequest) GetStatusCodes

func (x *ListRequestLogsRequest) GetStatusCodes() []int32

func (*ListRequestLogsRequest) GetTargetAccountIds

func (x *ListRequestLogsRequest) GetTargetAccountIds() []string

func (*ListRequestLogsRequest) ProtoMessage

func (*ListRequestLogsRequest) ProtoMessage()

func (*ListRequestLogsRequest) ProtoReflect

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

func (*ListRequestLogsRequest) Reset

func (x *ListRequestLogsRequest) Reset()

func (*ListRequestLogsRequest) String

func (x *ListRequestLogsRequest) String() string

type ListRequestLogsResponse

type ListRequestLogsResponse struct {
	RequestLogs []*RequestLogInfo `protobuf:"bytes,1,rep,name=request_logs,json=requestLogs,proto3" json:"request_logs,omitempty"`
	PageInfo    *PageInfo         `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRequestLogsResponse) Descriptor deprecated

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

Deprecated: Use ListRequestLogsResponse.ProtoReflect.Descriptor instead.

func (*ListRequestLogsResponse) GetPageInfo

func (x *ListRequestLogsResponse) GetPageInfo() *PageInfo

func (*ListRequestLogsResponse) GetRequestLogs

func (x *ListRequestLogsResponse) GetRequestLogs() []*RequestLogInfo

func (*ListRequestLogsResponse) ProtoMessage

func (*ListRequestLogsResponse) ProtoMessage()

func (*ListRequestLogsResponse) ProtoReflect

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

func (*ListRequestLogsResponse) Reset

func (x *ListRequestLogsResponse) Reset()

func (*ListRequestLogsResponse) String

func (x *ListRequestLogsResponse) String() string

type LoggingServiceClient

type LoggingServiceClient interface {
	// Inserts a request log record after every HTTP request completes.
	CreateRequestLog(ctx context.Context, in *CreateRequestLogRequest, opts ...grpc.CallOption) (*CreateRequestLogResponse, error)
	// Returns a paginated, filterable list of request logs for the target account.
	ListRequestLogs(ctx context.Context, in *ListRequestLogsRequest, opts ...grpc.CallOption) (*ListRequestLogsResponse, error)
	// Returns a single request log by ID for the target account.
	GetRequestLog(ctx context.Context, in *GetRequestLogRequest, opts ...grpc.CallOption) (*GetRequestLogResponse, error)
}

LoggingServiceClient is the client API for LoggingService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

LoggingService persists structured request logs for auditing and analytics.

type LoggingServiceServer

type LoggingServiceServer interface {
	// Inserts a request log record after every HTTP request completes.
	CreateRequestLog(context.Context, *CreateRequestLogRequest) (*CreateRequestLogResponse, error)
	// Returns a paginated, filterable list of request logs for the target account.
	ListRequestLogs(context.Context, *ListRequestLogsRequest) (*ListRequestLogsResponse, error)
	// Returns a single request log by ID for the target account.
	GetRequestLog(context.Context, *GetRequestLogRequest) (*GetRequestLogResponse, error)
	// contains filtered or unexported methods
}

LoggingServiceServer is the server API for LoggingService service. All implementations must embed UnimplementedLoggingServiceServer for forward compatibility.

LoggingService persists structured request logs for auditing and analytics.

type PageInfo

type PageInfo struct {
	NextCursor  *string `protobuf:"bytes,1,opt,name=next_cursor,json=nextCursor,proto3,oneof" json:"next_cursor,omitempty"`
	PrevCursor  *string `protobuf:"bytes,2,opt,name=prev_cursor,json=prevCursor,proto3,oneof" json:"prev_cursor,omitempty"`
	HasNextPage bool    `protobuf:"varint,3,opt,name=has_next_page,json=hasNextPage,proto3" json:"has_next_page,omitempty"`
	HasPrevPage bool    `protobuf:"varint,4,opt,name=has_prev_page,json=hasPrevPage,proto3" json:"has_prev_page,omitempty"`
	// contains filtered or unexported fields
}

func (*PageInfo) Descriptor deprecated

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

Deprecated: Use PageInfo.ProtoReflect.Descriptor instead.

func (*PageInfo) GetHasNextPage

func (x *PageInfo) GetHasNextPage() bool

func (*PageInfo) GetHasPrevPage

func (x *PageInfo) GetHasPrevPage() bool

func (*PageInfo) GetNextCursor

func (x *PageInfo) GetNextCursor() string

func (*PageInfo) GetPrevCursor

func (x *PageInfo) GetPrevCursor() string

func (*PageInfo) ProtoMessage

func (*PageInfo) ProtoMessage()

func (*PageInfo) ProtoReflect

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

func (*PageInfo) Reset

func (x *PageInfo) Reset()

func (*PageInfo) String

func (x *PageInfo) String() string

type ProcessIdempotencyKeyRequest

type ProcessIdempotencyKeyRequest struct {
	ActorId         *string `protobuf:"bytes,1,opt,name=actor_id,json=actorId,proto3,oneof" json:"actor_id,omitempty"`
	IdentityType    string  `protobuf:"bytes,2,opt,name=identity_type,json=identityType,proto3" json:"identity_type,omitempty"`
	RequestId       string  `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	RequestMethod   string  `protobuf:"bytes,4,opt,name=request_method,json=requestMethod,proto3" json:"request_method,omitempty"`
	NormalizedRoute string  `protobuf:"bytes,5,opt,name=normalized_route,json=normalizedRoute,proto3" json:"normalized_route,omitempty"`
	IdempotencyKey  string  `protobuf:"bytes,6,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
	RequestParams   []byte  `protobuf:"bytes,7,opt,name=request_params,json=requestParams,proto3" json:"request_params,omitempty"`
	// SHA-256(actor_id + target_account_id + method + route + idempotency_key) to scope keys per actor/route.
	ScopeHash string `protobuf:"bytes,8,opt,name=scope_hash,json=scopeHash,proto3" json:"scope_hash,omitempty"`
	// SHA-256(canonicalized request body) to detect hash mismatches on reuse.
	RequestBodyHash string  `protobuf:"bytes,9,opt,name=request_body_hash,json=requestBodyHash,proto3" json:"request_body_hash,omitempty"`
	TargetAccountId *string `protobuf:"bytes,10,opt,name=target_account_id,json=targetAccountId,proto3,oneof" json:"target_account_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ProcessIdempotencyKeyRequest) Descriptor deprecated

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

Deprecated: Use ProcessIdempotencyKeyRequest.ProtoReflect.Descriptor instead.

func (*ProcessIdempotencyKeyRequest) GetActorId

func (x *ProcessIdempotencyKeyRequest) GetActorId() string

func (*ProcessIdempotencyKeyRequest) GetIdempotencyKey

func (x *ProcessIdempotencyKeyRequest) GetIdempotencyKey() string

func (*ProcessIdempotencyKeyRequest) GetIdentityType

func (x *ProcessIdempotencyKeyRequest) GetIdentityType() string

func (*ProcessIdempotencyKeyRequest) GetNormalizedRoute

func (x *ProcessIdempotencyKeyRequest) GetNormalizedRoute() string

func (*ProcessIdempotencyKeyRequest) GetRequestBodyHash

func (x *ProcessIdempotencyKeyRequest) GetRequestBodyHash() string

func (*ProcessIdempotencyKeyRequest) GetRequestId

func (x *ProcessIdempotencyKeyRequest) GetRequestId() string

func (*ProcessIdempotencyKeyRequest) GetRequestMethod

func (x *ProcessIdempotencyKeyRequest) GetRequestMethod() string

func (*ProcessIdempotencyKeyRequest) GetRequestParams

func (x *ProcessIdempotencyKeyRequest) GetRequestParams() []byte

func (*ProcessIdempotencyKeyRequest) GetScopeHash

func (x *ProcessIdempotencyKeyRequest) GetScopeHash() string

func (*ProcessIdempotencyKeyRequest) GetTargetAccountId

func (x *ProcessIdempotencyKeyRequest) GetTargetAccountId() string

func (*ProcessIdempotencyKeyRequest) ProtoMessage

func (*ProcessIdempotencyKeyRequest) ProtoMessage()

func (*ProcessIdempotencyKeyRequest) ProtoReflect

func (*ProcessIdempotencyKeyRequest) Reset

func (x *ProcessIdempotencyKeyRequest) Reset()

func (*ProcessIdempotencyKeyRequest) String

type ProcessIdempotencyKeyResponse

type ProcessIdempotencyKeyResponse struct {
	Result           ProcessIdempotencyKeyResult `protobuf:"varint,1,opt,name=result,proto3,enum=platform.ProcessIdempotencyKeyResult" json:"result,omitempty"`
	IdempotencyKeyId string                      `protobuf:"bytes,2,opt,name=idempotency_key_id,json=idempotencyKeyId,proto3" json:"idempotency_key_id,omitempty"`
	// Present only for REPLAY results.
	ResponseCode *int32 `protobuf:"varint,3,opt,name=response_code,json=responseCode,proto3,oneof" json:"response_code,omitempty"`
	// Present only for REPLAY results.
	ResponseBody []byte `protobuf:"bytes,4,opt,name=response_body,json=responseBody,proto3,oneof" json:"response_body,omitempty"`
	// Present for REPLAY and NEW (initial "started" point).
	RecoveryPoint *string `protobuf:"bytes,5,opt,name=recovery_point,json=recoveryPoint,proto3,oneof" json:"recovery_point,omitempty"`
	// Present only for REPLAY results.
	ResponseHeaders []byte `protobuf:"bytes,6,opt,name=response_headers,json=responseHeaders,proto3,oneof" json:"response_headers,omitempty"`
	// contains filtered or unexported fields
}

func (*ProcessIdempotencyKeyResponse) Descriptor deprecated

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

Deprecated: Use ProcessIdempotencyKeyResponse.ProtoReflect.Descriptor instead.

func (*ProcessIdempotencyKeyResponse) GetIdempotencyKeyId

func (x *ProcessIdempotencyKeyResponse) GetIdempotencyKeyId() string

func (*ProcessIdempotencyKeyResponse) GetRecoveryPoint

func (x *ProcessIdempotencyKeyResponse) GetRecoveryPoint() string

func (*ProcessIdempotencyKeyResponse) GetResponseBody

func (x *ProcessIdempotencyKeyResponse) GetResponseBody() []byte

func (*ProcessIdempotencyKeyResponse) GetResponseCode

func (x *ProcessIdempotencyKeyResponse) GetResponseCode() int32

func (*ProcessIdempotencyKeyResponse) GetResponseHeaders

func (x *ProcessIdempotencyKeyResponse) GetResponseHeaders() []byte

func (*ProcessIdempotencyKeyResponse) GetResult

func (*ProcessIdempotencyKeyResponse) ProtoMessage

func (*ProcessIdempotencyKeyResponse) ProtoMessage()

func (*ProcessIdempotencyKeyResponse) ProtoReflect

func (*ProcessIdempotencyKeyResponse) Reset

func (x *ProcessIdempotencyKeyResponse) Reset()

func (*ProcessIdempotencyKeyResponse) String

type ProcessIdempotencyKeyResult

type ProcessIdempotencyKeyResult int32
const (
	ProcessIdempotencyKeyResult_PROCESS_RESULT_UNSPECIFIED ProcessIdempotencyKeyResult = 0
	// PROCESS_RESULT_NEW means this key has not been seen before. The caller
	// should process the request normally and call SetIdempotencyKeyResponse
	// when done.
	ProcessIdempotencyKeyResult_PROCESS_RESULT_NEW ProcessIdempotencyKeyResult = 1
	// PROCESS_RESULT_REPLAY means this key was already processed successfully.
	// The caller should return the cached response from the response fields.
	ProcessIdempotencyKeyResult_PROCESS_RESULT_REPLAY ProcessIdempotencyKeyResult = 2
	// PROCESS_RESULT_IN_PROGRESS means another request with this key is
	// currently being processed. The caller should return HTTP 409 and ask
	// the client to retry later.
	ProcessIdempotencyKeyResult_PROCESS_RESULT_IN_PROGRESS ProcessIdempotencyKeyResult = 3
	// PROCESS_RESULT_HASH_MISMATCH means the key was used before but with
	// different request parameters. The caller should return HTTP 409 since
	// the same idempotency key cannot be reused for different operations.
	ProcessIdempotencyKeyResult_PROCESS_RESULT_HASH_MISMATCH ProcessIdempotencyKeyResult = 4
)

func (ProcessIdempotencyKeyResult) Descriptor

func (ProcessIdempotencyKeyResult) Enum

func (ProcessIdempotencyKeyResult) EnumDescriptor deprecated

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

Deprecated: Use ProcessIdempotencyKeyResult.Descriptor instead.

func (ProcessIdempotencyKeyResult) Number

func (ProcessIdempotencyKeyResult) String

func (ProcessIdempotencyKeyResult) Type

type ReleaseIdempotencyKeyRequest

type ReleaseIdempotencyKeyRequest struct {
	IdempotencyKeyId string `protobuf:"bytes,1,opt,name=idempotency_key_id,json=idempotencyKeyId,proto3" json:"idempotency_key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseIdempotencyKeyRequest) Descriptor deprecated

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

Deprecated: Use ReleaseIdempotencyKeyRequest.ProtoReflect.Descriptor instead.

func (*ReleaseIdempotencyKeyRequest) GetIdempotencyKeyId

func (x *ReleaseIdempotencyKeyRequest) GetIdempotencyKeyId() string

func (*ReleaseIdempotencyKeyRequest) ProtoMessage

func (*ReleaseIdempotencyKeyRequest) ProtoMessage()

func (*ReleaseIdempotencyKeyRequest) ProtoReflect

func (*ReleaseIdempotencyKeyRequest) Reset

func (x *ReleaseIdempotencyKeyRequest) Reset()

func (*ReleaseIdempotencyKeyRequest) String

type ReleaseIdempotencyKeyResponse

type ReleaseIdempotencyKeyResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseIdempotencyKeyResponse) Descriptor deprecated

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

Deprecated: Use ReleaseIdempotencyKeyResponse.ProtoReflect.Descriptor instead.

func (*ReleaseIdempotencyKeyResponse) GetSuccess

func (x *ReleaseIdempotencyKeyResponse) GetSuccess() bool

func (*ReleaseIdempotencyKeyResponse) ProtoMessage

func (*ReleaseIdempotencyKeyResponse) ProtoMessage()

func (*ReleaseIdempotencyKeyResponse) ProtoReflect

func (*ReleaseIdempotencyKeyResponse) Reset

func (x *ReleaseIdempotencyKeyResponse) Reset()

func (*ReleaseIdempotencyKeyResponse) String

type RequestLog

type RequestLog struct {
	Id              string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Method          string  `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	Host            string  `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	Path            string  `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	NormalizedRoute string  `protobuf:"bytes,5,opt,name=normalized_route,json=normalizedRoute,proto3" json:"normalized_route,omitempty"`
	QueryJson       *string `protobuf:"bytes,6,opt,name=query_json,json=queryJson,proto3,oneof" json:"query_json,omitempty"`
	StatusCode      int32   `protobuf:"varint,7,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
	// Total request duration in microseconds.
	LatencyUs       int64   `protobuf:"varint,8,opt,name=latency_us,json=latencyUs,proto3" json:"latency_us,omitempty"`
	AccountId       *string `protobuf:"bytes,9,opt,name=account_id,json=accountId,proto3,oneof" json:"account_id,omitempty"`
	TargetAccountId *string `protobuf:"bytes,10,opt,name=target_account_id,json=targetAccountId,proto3,oneof" json:"target_account_id,omitempty"`
	// Binary IP address (4 or 16 bytes).
	ClientIp         []byte                 `protobuf:"bytes,11,opt,name=client_ip,json=clientIp,proto3,oneof" json:"client_ip,omitempty"`
	ClientIpString   *string                `protobuf:"bytes,12,opt,name=client_ip_string,json=clientIpString,proto3,oneof" json:"client_ip_string,omitempty"`
	UserAgent        *string                `protobuf:"bytes,13,opt,name=user_agent,json=userAgent,proto3,oneof" json:"user_agent,omitempty"`
	Referrer         *string                `protobuf:"bytes,14,opt,name=referrer,proto3,oneof" json:"referrer,omitempty"`
	ErrorCode        *string                `protobuf:"bytes,15,opt,name=error_code,json=errorCode,proto3,oneof" json:"error_code,omitempty"`
	ErrorMessage     *string                `protobuf:"bytes,16,opt,name=error_message,json=errorMessage,proto3,oneof" json:"error_message,omitempty"`
	OccurredAt       *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"`
	IdempotencyKeyId *string                `protobuf:"bytes,18,opt,name=idempotency_key_id,json=idempotencyKeyId,proto3,oneof" json:"idempotency_key_id,omitempty"`
	ActorId          *string                `protobuf:"bytes,19,opt,name=actor_id,json=actorId,proto3,oneof" json:"actor_id,omitempty"`
	ActorType        *string                `protobuf:"bytes,20,opt,name=actor_type,json=actorType,proto3,oneof" json:"actor_type,omitempty"`
	// Detailed error message for 5xx errors, not exposed to the client.
	InternalErrorMessage *string `` /* 130-byte string literal not displayed */
	// Goroutine stack trace captured for 5xx errors.
	StackTrace   *string                `protobuf:"bytes,22,opt,name=stack_trace,json=stackTrace,proto3,oneof" json:"stack_trace,omitempty"`
	IdentityType *string                `protobuf:"bytes,23,opt,name=identity_type,json=identityType,proto3,oneof" json:"identity_type,omitempty"`
	CreatedAt    *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	ApiVersion   *string                `protobuf:"bytes,25,opt,name=api_version,json=apiVersion,proto3,oneof" json:"api_version,omitempty"`
	TraceId      *string                `protobuf:"bytes,26,opt,name=trace_id,json=traceId,proto3,oneof" json:"trace_id,omitempty"`
	// Non-public endpoints (internal, automation) are filtered from default listings.
	PublicEndpoint bool `protobuf:"varint,27,opt,name=public_endpoint,json=publicEndpoint,proto3" json:"public_endpoint,omitempty"`
	// Absent for shielded endpoints and requests with no body.
	BodyJson *string `protobuf:"bytes,28,opt,name=body_json,json=bodyJson,proto3,oneof" json:"body_json,omitempty"`
	// Absent for shielded endpoints and responses exceeding 256 KB.
	ResponseJson *string `protobuf:"bytes,29,opt,name=response_json,json=responseJson,proto3,oneof" json:"response_json,omitempty"`
	// When true, the log is persisted but omitted from the default request-log listing.
	Hidden bool `protobuf:"varint,30,opt,name=hidden,proto3" json:"hidden,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestLog) Descriptor deprecated

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

Deprecated: Use RequestLog.ProtoReflect.Descriptor instead.

func (*RequestLog) GetAccountId

func (x *RequestLog) GetAccountId() string

func (*RequestLog) GetActorId

func (x *RequestLog) GetActorId() string

func (*RequestLog) GetActorType

func (x *RequestLog) GetActorType() string

func (*RequestLog) GetApiVersion

func (x *RequestLog) GetApiVersion() string

func (*RequestLog) GetBodyJson

func (x *RequestLog) GetBodyJson() string

func (*RequestLog) GetClientIp

func (x *RequestLog) GetClientIp() []byte

func (*RequestLog) GetClientIpString

func (x *RequestLog) GetClientIpString() string

func (*RequestLog) GetCreatedAt

func (x *RequestLog) GetCreatedAt() *timestamppb.Timestamp

func (*RequestLog) GetErrorCode

func (x *RequestLog) GetErrorCode() string

func (*RequestLog) GetErrorMessage

func (x *RequestLog) GetErrorMessage() string

func (*RequestLog) GetHidden

func (x *RequestLog) GetHidden() bool

func (*RequestLog) GetHost

func (x *RequestLog) GetHost() string

func (*RequestLog) GetId

func (x *RequestLog) GetId() string

func (*RequestLog) GetIdempotencyKeyId

func (x *RequestLog) GetIdempotencyKeyId() string

func (*RequestLog) GetIdentityType

func (x *RequestLog) GetIdentityType() string

func (*RequestLog) GetInternalErrorMessage

func (x *RequestLog) GetInternalErrorMessage() string

func (*RequestLog) GetLatencyUs

func (x *RequestLog) GetLatencyUs() int64

func (*RequestLog) GetMethod

func (x *RequestLog) GetMethod() string

func (*RequestLog) GetNormalizedRoute

func (x *RequestLog) GetNormalizedRoute() string

func (*RequestLog) GetOccurredAt

func (x *RequestLog) GetOccurredAt() *timestamppb.Timestamp

func (*RequestLog) GetPath

func (x *RequestLog) GetPath() string

func (*RequestLog) GetPublicEndpoint

func (x *RequestLog) GetPublicEndpoint() bool

func (*RequestLog) GetQueryJson

func (x *RequestLog) GetQueryJson() string

func (*RequestLog) GetReferrer

func (x *RequestLog) GetReferrer() string

func (*RequestLog) GetResponseJson

func (x *RequestLog) GetResponseJson() string

func (*RequestLog) GetStackTrace

func (x *RequestLog) GetStackTrace() string

func (*RequestLog) GetStatusCode

func (x *RequestLog) GetStatusCode() int32

func (*RequestLog) GetTargetAccountId

func (x *RequestLog) GetTargetAccountId() string

func (*RequestLog) GetTraceId

func (x *RequestLog) GetTraceId() string

func (*RequestLog) GetUserAgent

func (x *RequestLog) GetUserAgent() string

func (*RequestLog) ProtoMessage

func (*RequestLog) ProtoMessage()

func (*RequestLog) ProtoReflect

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

func (*RequestLog) Reset

func (x *RequestLog) Reset()

func (*RequestLog) String

func (x *RequestLog) String() string

type RequestLogActor

type RequestLogActor struct {
	Id            string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ActorType     string  `protobuf:"bytes,2,opt,name=actor_type,json=actorType,proto3" json:"actor_type,omitempty"`
	Name          *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Email         *string `protobuf:"bytes,4,opt,name=email,proto3,oneof" json:"email,omitempty"`
	RedactedValue *string `protobuf:"bytes,5,opt,name=redacted_value,json=redactedValue,proto3,oneof" json:"redacted_value,omitempty"`
	RoleId        *string `protobuf:"bytes,6,opt,name=role_id,json=roleId,proto3,oneof" json:"role_id,omitempty"`
	RoleName      *string `protobuf:"bytes,7,opt,name=role_name,json=roleName,proto3,oneof" json:"role_name,omitempty"`
	RoleTypeCode  *string `protobuf:"bytes,8,opt,name=role_type_code,json=roleTypeCode,proto3,oneof" json:"role_type_code,omitempty"`
	// contains filtered or unexported fields
}

Fields are populated based on whether the actor is a user or API key.

func (*RequestLogActor) Descriptor deprecated

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

Deprecated: Use RequestLogActor.ProtoReflect.Descriptor instead.

func (*RequestLogActor) GetActorType

func (x *RequestLogActor) GetActorType() string

func (*RequestLogActor) GetEmail

func (x *RequestLogActor) GetEmail() string

func (*RequestLogActor) GetId

func (x *RequestLogActor) GetId() string

func (*RequestLogActor) GetName

func (x *RequestLogActor) GetName() string

func (*RequestLogActor) GetRedactedValue

func (x *RequestLogActor) GetRedactedValue() string

func (*RequestLogActor) GetRoleId

func (x *RequestLogActor) GetRoleId() string

func (*RequestLogActor) GetRoleName

func (x *RequestLogActor) GetRoleName() string

func (*RequestLogActor) GetRoleTypeCode

func (x *RequestLogActor) GetRoleTypeCode() string

func (*RequestLogActor) ProtoMessage

func (*RequestLogActor) ProtoMessage()

func (*RequestLogActor) ProtoReflect

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

func (*RequestLogActor) Reset

func (x *RequestLogActor) Reset()

func (*RequestLogActor) String

func (x *RequestLogActor) String() string

type RequestLogInfo

type RequestLogInfo struct {
	Id               string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Method           string                 `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	Path             string                 `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Host             string                 `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"`
	NormalizedRoute  string                 `protobuf:"bytes,5,opt,name=normalized_route,json=normalizedRoute,proto3" json:"normalized_route,omitempty"`
	QueryJson        *string                `protobuf:"bytes,6,opt,name=query_json,json=queryJson,proto3,oneof" json:"query_json,omitempty"`
	StatusCode       int32                  `protobuf:"varint,7,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
	LatencyUs        int64                  `protobuf:"varint,8,opt,name=latency_us,json=latencyUs,proto3" json:"latency_us,omitempty"`
	ApiVersion       *string                `protobuf:"bytes,9,opt,name=api_version,json=apiVersion,proto3,oneof" json:"api_version,omitempty"`
	IdentityType     *string                `protobuf:"bytes,10,opt,name=identity_type,json=identityType,proto3,oneof" json:"identity_type,omitempty"`
	ClientIp         *string                `protobuf:"bytes,11,opt,name=client_ip,json=clientIp,proto3,oneof" json:"client_ip,omitempty"`
	UserAgent        *string                `protobuf:"bytes,12,opt,name=user_agent,json=userAgent,proto3,oneof" json:"user_agent,omitempty"`
	Referrer         *string                `protobuf:"bytes,13,opt,name=referrer,proto3,oneof" json:"referrer,omitempty"`
	ErrorCode        *string                `protobuf:"bytes,14,opt,name=error_code,json=errorCode,proto3,oneof" json:"error_code,omitempty"`
	ErrorMessage     *string                `protobuf:"bytes,15,opt,name=error_message,json=errorMessage,proto3,oneof" json:"error_message,omitempty"`
	OccurredAt       *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"`
	CreatedAt        *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	AccountId        *string                `protobuf:"bytes,18,opt,name=account_id,json=accountId,proto3,oneof" json:"account_id,omitempty"`
	AccountName      *string                `protobuf:"bytes,19,opt,name=account_name,json=accountName,proto3,oneof" json:"account_name,omitempty"`
	Actor            *RequestLogActor       `protobuf:"bytes,20,opt,name=actor,proto3,oneof" json:"actor,omitempty"`
	IdempotencyKey   *string                `protobuf:"bytes,21,opt,name=idempotency_key,json=idempotencyKey,proto3,oneof" json:"idempotency_key,omitempty"`
	BodyJson         *string                `protobuf:"bytes,22,opt,name=body_json,json=bodyJson,proto3,oneof" json:"body_json,omitempty"`
	ResponseJson     *string                `protobuf:"bytes,23,opt,name=response_json,json=responseJson,proto3,oneof" json:"response_json,omitempty"`
	AccountCreatedAt *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=account_created_at,json=accountCreatedAt,proto3,oneof" json:"account_created_at,omitempty"`
	AccountUpdatedAt *timestamppb.Timestamp `protobuf:"bytes,25,opt,name=account_updated_at,json=accountUpdatedAt,proto3,oneof" json:"account_updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestLogInfo) Descriptor deprecated

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

Deprecated: Use RequestLogInfo.ProtoReflect.Descriptor instead.

func (*RequestLogInfo) GetAccountCreatedAt

func (x *RequestLogInfo) GetAccountCreatedAt() *timestamppb.Timestamp

func (*RequestLogInfo) GetAccountId

func (x *RequestLogInfo) GetAccountId() string

func (*RequestLogInfo) GetAccountName

func (x *RequestLogInfo) GetAccountName() string

func (*RequestLogInfo) GetAccountUpdatedAt

func (x *RequestLogInfo) GetAccountUpdatedAt() *timestamppb.Timestamp

func (*RequestLogInfo) GetActor

func (x *RequestLogInfo) GetActor() *RequestLogActor

func (*RequestLogInfo) GetApiVersion

func (x *RequestLogInfo) GetApiVersion() string

func (*RequestLogInfo) GetBodyJson

func (x *RequestLogInfo) GetBodyJson() string

func (*RequestLogInfo) GetClientIp

func (x *RequestLogInfo) GetClientIp() string

func (*RequestLogInfo) GetCreatedAt

func (x *RequestLogInfo) GetCreatedAt() *timestamppb.Timestamp

func (*RequestLogInfo) GetErrorCode

func (x *RequestLogInfo) GetErrorCode() string

func (*RequestLogInfo) GetErrorMessage

func (x *RequestLogInfo) GetErrorMessage() string

func (*RequestLogInfo) GetHost

func (x *RequestLogInfo) GetHost() string

func (*RequestLogInfo) GetId

func (x *RequestLogInfo) GetId() string

func (*RequestLogInfo) GetIdempotencyKey

func (x *RequestLogInfo) GetIdempotencyKey() string

func (*RequestLogInfo) GetIdentityType

func (x *RequestLogInfo) GetIdentityType() string

func (*RequestLogInfo) GetLatencyUs

func (x *RequestLogInfo) GetLatencyUs() int64

func (*RequestLogInfo) GetMethod

func (x *RequestLogInfo) GetMethod() string

func (*RequestLogInfo) GetNormalizedRoute

func (x *RequestLogInfo) GetNormalizedRoute() string

func (*RequestLogInfo) GetOccurredAt

func (x *RequestLogInfo) GetOccurredAt() *timestamppb.Timestamp

func (*RequestLogInfo) GetPath

func (x *RequestLogInfo) GetPath() string

func (*RequestLogInfo) GetQueryJson

func (x *RequestLogInfo) GetQueryJson() string

func (*RequestLogInfo) GetReferrer

func (x *RequestLogInfo) GetReferrer() string

func (*RequestLogInfo) GetResponseJson

func (x *RequestLogInfo) GetResponseJson() string

func (*RequestLogInfo) GetStatusCode

func (x *RequestLogInfo) GetStatusCode() int32

func (*RequestLogInfo) GetUserAgent

func (x *RequestLogInfo) GetUserAgent() string

func (*RequestLogInfo) ProtoMessage

func (*RequestLogInfo) ProtoMessage()

func (*RequestLogInfo) ProtoReflect

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

func (*RequestLogInfo) Reset

func (x *RequestLogInfo) Reset()

func (*RequestLogInfo) String

func (x *RequestLogInfo) String() string

type ResourceCreator

type ResourceCreator struct {
	ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// The create-event actor. `actor.type` carries the relation
	// (internal/customer/supplier); `actor.identity_type` the kind (user/api_key).
	Actor *AuditActor `protobuf:"bytes,2,opt,name=actor,proto3" json:"actor,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceCreator) Descriptor deprecated

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

Deprecated: Use ResourceCreator.ProtoReflect.Descriptor instead.

func (*ResourceCreator) GetActor

func (x *ResourceCreator) GetActor() *AuditActor

func (*ResourceCreator) GetResourceId

func (x *ResourceCreator) GetResourceId() string

func (*ResourceCreator) ProtoMessage

func (*ResourceCreator) ProtoMessage()

func (*ResourceCreator) ProtoReflect

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

func (*ResourceCreator) Reset

func (x *ResourceCreator) Reset()

func (*ResourceCreator) String

func (x *ResourceCreator) String() string

type SetIdempotencyKeyResponseRequest

type SetIdempotencyKeyResponseRequest struct {
	IdempotencyKeyId string `protobuf:"bytes,1,opt,name=idempotency_key_id,json=idempotencyKeyId,proto3" json:"idempotency_key_id,omitempty"`
	ResponseCode     int32  `protobuf:"varint,2,opt,name=response_code,json=responseCode,proto3" json:"response_code,omitempty"`
	ResponseBody     []byte `protobuf:"bytes,3,opt,name=response_body,json=responseBody,proto3" json:"response_body,omitempty"`
	ResponseHeaders  []byte `protobuf:"bytes,4,opt,name=response_headers,json=responseHeaders,proto3,oneof" json:"response_headers,omitempty"`
	// Overrides the default expiry (typically 24 hours) for this key.
	TtlSeconds *int32 `protobuf:"varint,5,opt,name=ttl_seconds,json=ttlSeconds,proto3,oneof" json:"ttl_seconds,omitempty"`
	// contains filtered or unexported fields
}

func (*SetIdempotencyKeyResponseRequest) Descriptor deprecated

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

Deprecated: Use SetIdempotencyKeyResponseRequest.ProtoReflect.Descriptor instead.

func (*SetIdempotencyKeyResponseRequest) GetIdempotencyKeyId

func (x *SetIdempotencyKeyResponseRequest) GetIdempotencyKeyId() string

func (*SetIdempotencyKeyResponseRequest) GetResponseBody

func (x *SetIdempotencyKeyResponseRequest) GetResponseBody() []byte

func (*SetIdempotencyKeyResponseRequest) GetResponseCode

func (x *SetIdempotencyKeyResponseRequest) GetResponseCode() int32

func (*SetIdempotencyKeyResponseRequest) GetResponseHeaders

func (x *SetIdempotencyKeyResponseRequest) GetResponseHeaders() []byte

func (*SetIdempotencyKeyResponseRequest) GetTtlSeconds

func (x *SetIdempotencyKeyResponseRequest) GetTtlSeconds() int32

func (*SetIdempotencyKeyResponseRequest) ProtoMessage

func (*SetIdempotencyKeyResponseRequest) ProtoMessage()

func (*SetIdempotencyKeyResponseRequest) ProtoReflect

func (*SetIdempotencyKeyResponseRequest) Reset

func (*SetIdempotencyKeyResponseRequest) String

type SetIdempotencyKeyResponseResponse

type SetIdempotencyKeyResponseResponse struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (*SetIdempotencyKeyResponseResponse) Descriptor deprecated

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

Deprecated: Use SetIdempotencyKeyResponseResponse.ProtoReflect.Descriptor instead.

func (*SetIdempotencyKeyResponseResponse) GetSuccess

func (x *SetIdempotencyKeyResponseResponse) GetSuccess() bool

func (*SetIdempotencyKeyResponseResponse) ProtoMessage

func (*SetIdempotencyKeyResponseResponse) ProtoMessage()

func (*SetIdempotencyKeyResponseResponse) ProtoReflect

func (*SetIdempotencyKeyResponseResponse) Reset

func (*SetIdempotencyKeyResponseResponse) String

type UnimplementedAuditServiceServer

type UnimplementedAuditServiceServer struct{}

UnimplementedAuditServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedAuditServiceServer) CreateAuditEvent

func (UnimplementedAuditServiceServer) GetAuditEvent

func (UnimplementedAuditServiceServer) ListAuditEvents

type UnimplementedIdempotencyServiceServer

type UnimplementedIdempotencyServiceServer struct{}

UnimplementedIdempotencyServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedIdempotencyServiceServer) AdvanceRecoveryPoint

func (UnimplementedIdempotencyServiceServer) GetRecoveryPoint

type UnimplementedLoggingServiceServer

type UnimplementedLoggingServiceServer struct{}

UnimplementedLoggingServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedLoggingServiceServer) CreateRequestLog

func (UnimplementedLoggingServiceServer) GetRequestLog

func (UnimplementedLoggingServiceServer) ListRequestLogs

type UnsafeAuditServiceServer

type UnsafeAuditServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAuditServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuditServiceServer will result in compilation errors.

type UnsafeIdempotencyServiceServer

type UnsafeIdempotencyServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeIdempotencyServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IdempotencyServiceServer will result in compilation errors.

type UnsafeLoggingServiceServer

type UnsafeLoggingServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeLoggingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LoggingServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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